Ticket #10405: readyRead.txt

File readyRead.txt, 11.4 KB (added by danielk, 12 years ago)

BT of frontend crash. Looks like a tear-down order problem.

Line 
1Program terminated with signal 11, Segmentation fault.
2#0  0x00007f07c8ea2cc4 in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib/libQtCore.so.4
3(gdb) bt
4#0  0x00007f07c8ea2cc4 in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib/libQtCore.so.4
5#1  0x00007f07d0dab5b8 in MythObservable::dispatch (this=0x7f07b8000df0, event=...) at mythobservable.cpp:86
6#2  0x00007f07d0dd63f9 in MythCoreContext::dispatch (this=0x7f07b8000df0, event=...) at mythcorecontext.cpp:1187
7#3  0x00007f07d0dd75e6 in MythCoreContext::readyRead (this=<value optimized out>, sock=0x2c35b50) at mythcorecontext.cpp:1106
8#4  0x00007f07d0d8b20e in MythSocketThread::ReadyToBeRead (this=<value optimized out>, sock=0x2c35b50) at mythsocketthread.cpp:170
9#5  0x00007f07d0d8d224 in MythSocketThread::run (this=0x276e120) at mythsocketthread.cpp:364
10#6  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
11#7  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
12#8  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
13#9  0x00007f07c82ea70d in clone () from /lib/libc.so.6
14#10 0x0000000000000000 in ?? ()
15(gdb) thread apply all bt
16
17Thread 17 (Thread 26978):
18#0  0x00007f07c82ae39d in nanosleep () from /lib/libc.so.6
19#1  0x00007f07c82e3844 in usleep () from /lib/libc.so.6
20#2  0x00007f07d1145c53 in UPnpNotifyTask::SendNotifyMsg (this=<value optimized out>, pSocket=0x2705980, sNT=<value optimized out>,
21    sUDN=<value optimized out>) at upnptasknotify.cpp:129
22#3  0x00007f07d1146b7d in UPnpNotifyTask::ProcessDevice (this=0x27381e0, pSocket=0x2705980, pDevice=0x7f07d13da4a8)
23    at upnptasknotify.cpp:198
24#4  0x00007f07d1146f23 in UPnpNotifyTask::Execute (this=0x27381e0, pQueue=0x0) at upnptasknotify.cpp:156
25#5  0x00007f07d112c2bd in UPnp::CleanUp (this=<value optimized out>) at upnp.cpp:156
26#6  0x00007f07d112c669 in ~UPnp (this=0x2708860, __in_chrg=<value optimized out>) at upnp.cpp:51
27#7  0x0000000000531d36 in ~MediaRenderer (this=0x2708860, __in_chrg=<value optimized out>) at mediarenderer.cpp:343
28#8  0x0000000000438b18 in cleanup () at main.cpp:245
29#9  0x000000000043b9c5 in ~CleanupGuard (argc=1, argv=<value optimized out>) at main.cpp:276
30#10 main (argc=1, argv=<value optimized out>) at main.cpp:1768
31
32Thread 16 (Thread 27010):
33#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
34#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
35#2  0x00007f07d0d7db84 in MPoolThread::run (this=0x28d1710) at mthreadpool.cpp:70
36#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
37#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
38#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
39#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
40#7  0x0000000000000000 in ?? ()
41
42Thread 15 (Thread 27001):
43#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
44#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
45#2  0x00007f07d0d7db84 in MPoolThread::run (this=0x7f07b8064e60) at mthreadpool.cpp:70
46#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
47#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
48#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
49#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
50#7  0x0000000000000000 in ?? ()
51
52Thread 14 (Thread 26980):
53---Type <return> to continue, or q <return> to quit---
54#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
55#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
56#2  0x00007f07d0e71dfc in LoggerThread::run (this=0x25cc060) at logging.cpp:812
57#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
58#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
59#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
60#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
61#7  0x0000000000000000 in ?? ()
62
63Thread 13 (Thread 26979):
64#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
65#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
66#2  0x00007f07d0e6e9f6 in DBLoggerThread::run (this=0x26df270) at logging.cpp:635
67#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
68#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
69#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
70#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
71#7  0x0000000000000000 in ?? ()
72
73Thread 12 (Thread 26981):
74#0  0x00007f07cc65a11d in nanosleep () from /lib/libpthread.so.0
75#1  0x00007f07d0ea2e9d in MythSystemManager::run (this=<value optimized out>) at system-unix.cpp:272
76#2  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
77#3  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
78#4  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
79#5  0x00007f07c82ea70d in clone () from /lib/libc.so.6
80#6  0x0000000000000000 in ?? ()
81
82Thread 11 (Thread 26982):
83#0  0x00007f07cc65a11d in nanosleep () from /lib/libpthread.so.0
84#1  0x00007f07d0ea4722 in MythSystemSignalManager::run (this=<value optimized out>) at system-unix.cpp:491
85#2  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
86#3  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
87#4  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
88#5  0x00007f07c82ea70d in clone () from /lib/libc.so.6
89#6  0x0000000000000000 in ?? ()
90
91---Type <return> to continue, or q <return> to quit---
92Thread 10 (Thread 26983):
93#0  0x00007f07cc65685c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
94#1  0x00007f07c8daf72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
95#2  0x00007f07d0ea8f7c in MythSystemIOHandler::run (this=0x7f07b800ec40) at system-unix.cpp:100
96#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
97#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
98#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
99#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
100#7  0x0000000000000000 in ?? ()
101
102Thread 9 (Thread 26984):
103#0  0x00007f07cc65685c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
104#1  0x00007f07c8daf72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
105#2  0x00007f07d0ea8f7c in MythSystemIOHandler::run (this=0x7f07b801ed10) at system-unix.cpp:100
106#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
107#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
108#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
109#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
110#7  0x0000000000000000 in ?? ()
111
112Thread 8 (Thread 26989):
113#0  0x00007f07cc65685c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
114#1  0x00007f07caa132a6 in ?? () from /usr/lib/libQtScript.so.4
115#2  0x00007f07caa132e9 in ?? () from /usr/lib/libQtScript.so.4
116#3  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
117#4  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
118#5  0x00007f07c82ea70d in clone () from /lib/libc.so.6
119#6  0x0000000000000000 in ?? ()
120
121Thread 7 (Thread 26990):
122#0  0x00007f07c82e2ff3 in select () from /lib/libc.so.6
123#1  0x00007f07d1134e37 in SSDP::run (this=0x2736f70) at ssdp.cpp:295
124#2  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
125#3  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
126#4  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
127#5  0x00007f07c82ea70d in clone () from /lib/libc.so.6
128#6  0x0000000000000000 in ?? ()
129---Type <return> to continue, or q <return> to quit---
130
131Thread 6 (Thread 26996):
132#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
133#1  0x00007f07c8dae0e5 in ?? () from /usr/lib/libQtCore.so.4
134#2  0x00007f07c8dae250 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
135#3  0x00007f07d113788a in TaskQueue::run (this=0x7f07b003a6e0) at taskqueue.cpp:150
136#4  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
137#5  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
138#6  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
139#7  0x00007f07c82ea70d in clone () from /lib/libc.so.6
140#8  0x0000000000000000 in ?? ()
141
142Thread 5 (Thread 26998):
143#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
144#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
145#2  0x00007f07d0d7db84 in MPoolThread::run (this=0x26d3c80) at mthreadpool.cpp:70
146#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
147#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
148#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
149#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
150#7  0x0000000000000000 in ?? ()
151
152Thread 4 (Thread 26999):
153#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
154#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
155#2  0x00007f07d0d7db84 in MPoolThread::run (this=0x7f07b0cdf3e0) at mthreadpool.cpp:70
156#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
157#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
158#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
159#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
160#7  0x0000000000000000 in ?? ()
161
162Thread 3 (Thread 27000):
163#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
164#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
165#2  0x00007f07d0d7db84 in MPoolThread::run (this=0x7f07b8039770) at mthreadpool.cpp:70
166#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
167---Type <return> to continue, or q <return> to quit---
168#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
169#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
170#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
171#7  0x0000000000000000 in ?? ()
172
173Thread 2 (Thread 27003):
174#0  0x00007f07cc656bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
175#1  0x00007f07c8daf692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
176#2  0x00007f07d0d7db84 in MPoolThread::run (this=0x7f07b807b650) at mthreadpool.cpp:70
177#3  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
178#4  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
179#5  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
180#6  0x00007f07c82ea70d in clone () from /lib/libc.so.6
181#7  0x0000000000000000 in ?? ()
182
183Thread 1 (Thread 27004):
184#0  0x00007f07c8ea2cc4 in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib/libQtCore.so.4
185#1  0x00007f07d0dab5b8 in MythObservable::dispatch (this=0x7f07b8000df0, event=...) at mythobservable.cpp:86
186#2  0x00007f07d0dd63f9 in MythCoreContext::dispatch (this=0x7f07b8000df0, event=...) at mythcorecontext.cpp:1187
187#3  0x00007f07d0dd75e6 in MythCoreContext::readyRead (this=<value optimized out>, sock=0x2c35b50) at mythcorecontext.cpp:1106
188#4  0x00007f07d0d8b20e in MythSocketThread::ReadyToBeRead (this=<value optimized out>, sock=0x2c35b50) at mythsocketthread.cpp:170
189#5  0x00007f07d0d8d224 in MythSocketThread::run (this=0x276e120) at mythsocketthread.cpp:364
190#6  0x00007f07c8dae775 in ?? () from /usr/lib/libQtCore.so.4
191#7  0x00007f07cc16c893 in ?? () from /usr/lib/libGL.so.1
192#8  0x00007f07cc6519ca in start_thread () from /lib/libpthread.so.0
193#9  0x00007f07c82ea70d in clone () from /lib/libc.so.6
194#10 0x0000000000000000 in ?? ()
195(gdb)