[mythtv] SEGV when quitting frontend (4/30 CVS)

Dan Wilga dwilga at MtHolyoke.edu
Mon May 2 14:30:49 UTC 2005


Sometime between 4/15 and 4/30, a change was 
introduced which causes a reproducible segfault 
when quitting the frontend. All I have to do is 
run the frontend and immediately quit for it to 
happen.

Here's what little of a backtrace I can produce. 
For some reason, symbols seem to be stripped from 
libmyth, despite the fact that I compiled with 
debug after distclean.

Since it seems to be Qt-related, I should mention 
that I'm using libqt3-3.3.4-5mdk.

(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) r
Starting program: /usr/bin/mythfrontend
[Thread debugging using libthread_db enabled]
[New Thread -1243584768 (LWP 27958)]
Session management error: Authentication 
Rejected, reason : None of the authentication 
protocols specified are supported and host-based 
authentication failed
2005-05-01 13:28:05.184 New DB connection, total: 1
Total desktop width=640, height=480, numscreens=1
2005-05-01 13:28:05.188 Using screen 0, 640x480 at 0,0
[New Thread -1247347792 (LWP 27962)]
2005-05-01 13:28:05.195 mythfrontend version: 0.18.20050423-1 www.mythtv.org
2005-05-01 13:28:05.195 Enabled verbose msgs : important general
2005-05-01 13:28:05.394 Switching to square mode (blue)
[New Thread -1257268304 (LWP 27963)]
2005-05-01 13:28:05.621 New DB connection, total: 2
2005-05-01 13:28:05.661 Registering Internal as a media playback plugin.
2005-05-01 13:28:05.711 Registering MythDVD DVD 
Media Handler as a media handlerDetaching after 
fork from child process 27965.
Failed to run 'cdrecord --scanbus'
2005-05-01 13:28:05.882 Registering MythMusic Media Handler as a media handler
Unable to initialize plugin 'mythstream'.
Unable to initialize plugin 'mythv4lradio'.
lcddevice: WARNING: Something is getting passed 
to LCDd that it doesn't understand
last command: widget_set Generic progressBar 1 2 11
lcddevice: Connection to LCDd died unexpectedly. 
Trying to reconnect every 10 seconds. . .
2005-05-01 13:28:06.400 Mediamonitor: Adding /dev/hda
2005-05-01 13:28:06.400 Starting media monitor.
[New Thread -1273869392 (LWP 27966)]
2005-05-01 13:28:08.785 Connecting to backend 
server: 192.168.64.22:6543 (try 1 of 5)
2005-05-01 13:28:08.793 Using protocol version 15
[Thread -1273869392 (LWP 27966) exited]
[Thread -1247347792 (zombie) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1243584768 (LWP 27958)]
0x00000028 in ?? ()
Current language:  auto; currently c
(gdb) thread apply all bt full

Thread 3 (Thread -1257268304 (LWP 27963)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb50f99a8 in ?? ()
No symbol table info available.
#2  0x00000064 in ?? ()
No symbol table info available.
#3  0xb4700690 in ?? ()
No symbol table info available.
#4  0xb69863bb in __read_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb6745cfd in lirc_nextcode (code=0xb50f9a18) at lirc_client.c:1493
         new_buffer = 0xfffffe00 <Address 0xfffffe00 out of bounds>
         packet_size = 100
         end_len = 0
         len = -512
         end = 0x0
         c = -74 ''
#6  0xb763529e in LircClient::Process (this=0x822cc58) at lirc.cpp:67
         code = 0x0
         ir = 0x0
         ret = -1207997568
#7  0xb75be7ba in SpawnLirc (param=0x829d3b0) at mythdialogs.cpp:53
         main_window = (MythMainWindow *) 0x829d3b0
         config_file = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x815d2d8, static shared_null = 0x815d2d8}, d = 0x8216300,
   static shared_null = 0x815d2d8}
         program = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x815d2d8, static shared_null = 0x815d2d8}, d = 0x8216458,
   static shared_null = 0x815d2d8}
         cl = (class LircClient *) 0x822cc58
#8  0xb6981b3c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0xb681e92a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -1243584768 (LWP 27958)):
#0  0x00000028 in ?? ()
No symbol table info available.
#1  0xb6fa2158 in QMutex::~QMutex () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb76f45d0 in __JCR_LIST__ () from /usr/local/lib/libmyth-0.18.so.0
No symbol table info available.
#3  0xb76f45d0 in __JCR_LIST__ () from /usr/local/lib/libmyth-0.18.so.0
No symbol table info available.
#4  0xb76258f0 in __tcf_1 () at util-x11.h:21
No locals.
#5  0xb678974f in __cxa_finalize () from /lib/tls/libc.so.6
No symbol table info available.
#6  0xb74f5423 in __do_global_dtors_aux ()
    from /usr/local/lib/libmyth-0.18.so.0
No symbol table info available.
#7  0xb7661686 in _fini () from /usr/local/lib/libmyth-0.18.so.0
No symbol table info available.
#8  0xb7ff7437 in _dl_fini () at dl-fini.c:177
         runp = (struct link_map **) 0x815f0e8
         j = 13
         k = 73
         i = 5
         nloaded = 73
         l = (struct link_map *) 0xb79e2568
#9  0xb67894d7 in exit () from /lib/tls/libc.so.6
No symbol table info available.
#10 0xb6773eaa in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
#11 0x080698c1 in _start () at ../sysdeps/i386/elf/start.S:102
No locals.


-- 
Dan Wilga                                         dwilga at mtholyoke.edu
Web Administrator                             http://www.mtholyoke.edu
Mount Holyoke College                                Tel: 413-538-3027
South Hadley, MA  01075            "Who left the cake out in the rain?"


More information about the mythtv-dev mailing list