[mythtv-users] mytharchivehelper segfaulting

tom roth rawdlite at googlemail.com
Fri Jun 2 08:30:28 UTC 2006


Finally i got mytharchive to compile. It was trying to link against older
libmyth libraries found in /usr/X11/lib, although i specified prefix to be
/usr/local. i deleted the old libaries, which were probably put there by
emerge (i use gentoo). After that compilation went smooth.

Now mytharchivehelper segfaults when called with -i or -t. I can query db
parameter with mytharchivehelper. (-p i think, i am at work and cant reach
my machine)



the backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1252444448 (LWP 756)]
0xb6709c09 in __gnu_cxx::__exchange_and_add(int volatile*, int) ()
   from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6
(gdb) bt
#0  0xb6709c09 in __gnu_cxx::__exchange_and_add(int volatile*, int) ()
   from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6
#1  0xb66adeed in std::locale::~locale() () from
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6
#2  0x0804cd62 in getFileInfo(QString, QString) ()
#3  0x08063976 in main ()

i assume the segfault is happening when mytharchivehelper ist trying to
access the video file, so it could be one of the libaries like
libmythavutil.

i suspect this could be a libstdc++.so.6 vs libstdc++.so.5 issue. I had
switched from gcc 3.3.6 to 3.4.5 when i struggled with compiling
mytharchive. I recompiled mythtv several times after that. I have emerged
glibc before as written in the gentoo howto. Now i am stuck.

Please can somebody tell me wether i am on the right track here. How can i
identify the misbehaving part ?

TIA

rawdlite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060602/02791b79/attachment.htm 


More information about the mythtv-users mailing list