pkgsrc-Users archive

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

Segfaults on program exit



Hi,

For a while, I've seen segfaults and core dumps when exiting some programs (on 
NetBSD-current / amd64). The programs in question are vlc and octave, both 
from pkgsrc. Not sure if this is a NetBSD problem or a pkgsrc issue, hence the 
cross post.

Here are the gdb back traces:

Core was generated by `vlc'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ff42c7ce0 in ?? ()
(gdb) bt
#0  0x00007f7ff42c7ce0 in ?? ()
#1  0x00007f7ff0fad6ba in QList<QObject*>::clear ()
   from /usr/pkg/qt4/lib/libQtCore.so.4
#2  0x00007f7ff0facd40 in QObject::~QObject ()
   from /usr/pkg/qt4/lib/libQtCore.so.4
#3  0x00007f7ff0eaab9d in QThreadPool::~QThreadPool ()
   from /usr/pkg/qt4/lib/libQtCore.so.4
#4  0x00007f7ff0ea9a95 in __tcf_0 () from /usr/pkg/qt4/lib/libQtCore.so.4
#5  0x00007f7ffc0c3bcd in __cxa_finalize () from /usr/lib/libc.so.12
#6  0x00007f7ffc0c3a4a in exit () from /usr/lib/libc.so.12
#7  0x0000000000400d59 in ?? ()
#8  0x00007f7ffdffa000 in ?? ()
#9  0x0000000000000001 in ?? ()
#10 0x00007f7ffffff7f0 in ?? ()
#11 0x0000000000000000 in ?? ()

Core was generated by `octave-3.2.4'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000000a9c7 in ?? ()
   from /usr/pkg/libexec/octave/3.2.4/oct/x86_64--netbsd/find.oct
(gdb) bt
#0  0x000000000000a9c7 in ?? ()
   from /usr/pkg/libexec/octave/3.2.4/oct/x86_64--netbsd/find.oct
#1  0x00007f7fffffd070 in ?? ()
#2  0x000000000001a7e9 in _fini ()
   from /usr/pkg/libexec/octave/3.2.4/oct/x86_64--netbsd/find.oct
#3  0x00007f7fffffd070 in ?? ()
#4  0x00007f7ffdc04b49 in _rtld_call_fini_functions ()
   from /usr/libexec/ld.elf_so
#5  0x00007f7ff74c3c14 in __cxa_finalize () from /usr/lib/libc.so.12
#6  0x00007f7ff74c3a4a in exit () from /usr/lib/libc.so.12
#7  0x00007f7ffd17ea46 in clean_up_and_exit ()
   from /usr/pkg/lib/liboctinterp.so.3
#8  0x00007f7ffd17eec5 in main_loop () from /usr/pkg/lib/liboctinterp.so.3
#9  0x00007f7ffd106b60 in octave_main () from /usr/pkg/lib/liboctinterp.so.3
#10 0x00000000004009a2 in ___start ()
#11 0x0000000000000001 in ?? ()
#12 0x00007f7ffffff7e8 in ?? ()
#13 0x0000000000000000 in ?? ()

(Octave complains about "error: find undefined" at startup which may or may not 
be relevant).

I'm curious if anyone else is seeing similar behavior and also if there are 
thoughts as to what might be causing this. Could it be calls to objects that 
have already been "removed"?

Regards,
Sverre


Home | Main Index | Thread Index | Old Index