tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: vlc-2.2.1 crash in module loader
With current pkgsrc, wip/vlc loads and plays media, but gets SIGSEGV on
exit. Although I built it in an unprivileged pkgsrc tree with
CFLAGS+=-O0 -g
CXXFLAGS+=-O0 -g
INSTALL_UNSTRIPPED=yes
in the local /home/pkgdev/pkg/etc/mk.conf, the backtrace is rather
uninformative:
Reading symbols from /home/pkgdev/pkg/bin/vlc...done.
[New process 1]
[New process 3]
Core was generated by `vlc'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f7fcb8eab31 in ?? ()
(gdb) bt
#0 0x00007f7fcb8eab31 in ?? ()
#1 0x00007f7ff5ce8c59 in __cxa_finalize () from /usr/lib/libc.so.12
#2 0x00007f7ff5ce893a in exit () from /usr/lib/libc.so.12
#3 0x00000000004010dc in ___start ()
#4 0x00007f7ff7ffa000 in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x00007f7ffffffd00 in ?? ()
#7 0x0000000000000000 in ?? ()
That looks vaguely like a bad destructor or finalizer, but I'm not sure
how to proceed further. I have three questions at this stage:
1- Does anyone with more C++ experience have any energy to help debug
this?
2- In particular, any hints about getting a more informative
backtrace? I'm clearly doing something wrong. Note that file
indicates that the vlc binary is not stripped.
Lacking any better ideas, I'll probably start going through the
uncommented patches I brought over from multimedia/vlc21 and see if
they all still make sense.
--
IDL
Home |
Main Index |
Thread Index |
Old Index