pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zathura-pdf-mupdf: Always fz_close_device() before calling fz_drop_device().



Leonardo Taccari writes:
> [...]
> Leonardo Taccari writes:
> > [...] Unfortunately zathura still SIGSEGV when it is closed but it seems
> > that happens indipendently of zathura-pdf-mupdf.
> > [...]
>
> JFTR, rebuilding graphics/cairo fixed that!
>
> (However, I really do not know why!, another interesting point is that
> gtk3-demo didn't exposed any problems!)

And, always FTR, this was the `bt' of the `zathura.core' (on a Dec
4 NetBSD/amd64 8.99.8 machine, with a mostly pkgsrc-current set of
packages as today):

% gdb -core zathura.core `which zathura`
Reading symbols from /usr/pkg/bin/zathura...(no debugging symbols found)...done.
[New process 1]
[New process 4]
[New process 3]
[New process 2]
Core was generated by `zathura'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000071c214408d80 in ?? ()
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x000071c214408d80 in ?? ()
#1  0x000071c213802645 in ?? () from /usr/lib/libgcc_s.so.1
#2  0x000071c213810610 in ?? () from /usr/lib/libgcc_s.so.1
#3  0x000071c213810619 in _fini () from /usr/lib/libgcc_s.so.1
#4  0x000071c213810610 in ?? () from /usr/lib/libgcc_s.so.1
#5  0x00007f7e93e01d09 in _rtld_call_function_void (obj=<optimized out>, addr=125078366924832) at /usr/src/libexec/ld.elf_so/rtld.h:504
#6  _rtld_call_initfini_function (obj=<optimized out>, mask=0x7f7fff0cef80, func=125078366924832)
    at /usr/src/libexec/ld.elf_so/rtld.c:142
#7  _rtld_call_fini_function (obj=<optimized out>, mask=mask@entry=0x7f7fff0cef80, cur_objgen=10)
    at /usr/src/libexec/ld.elf_so/rtld.c:157
#8  0x00007f7e93e01dc9 in _rtld_call_fini_functions (mask=mask@entry=0x7f7fff0cef80, force=force@entry=1)
    at /usr/src/libexec/ld.elf_so/rtld.c:203
#9  0x00007f7e93e0206a in _rtld_exit () at /usr/src/libexec/ld.elf_so/rtld.c:412
#10 0x000071c224f00422 in __cxa_finalize (dso=dso@entry=0x0) at /usr/src/lib/libc/stdlib/atexit.c:222
#11 0x000071c224efffc3 in exit (status=0) at /usr/src/lib/libc/stdlib/exit.c:60
#12 0x000000000040eca5 in _start ()
(gdb) quit

Please note though that after rebuilding cairo I can no longer reproduce
that!


Home | Main Index | Thread Index | Old Index