Ticket #11993: gdb-out

File gdb-out, 15.5 KB (added by myth@…, 11 years ago)

gdb backtrace

Line 
1$ gdb --args mythcommflag --chanid 1621 --starttime 20131224000000
2
3GNU gdb (GDB) 7.6.1-ubuntu
4Copyright (C) 2013 Free Software Foundation, Inc.
5License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
6This is free software: you are free to change and redistribute it.
7There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
8and "show warranty" for details.
9This GDB was configured as "arm-linux-gnueabihf".
10For bug reporting instructions, please see:
11<http://www.gnu.org/software/gdb/bugs/>...
12Reading symbols from /usr/bin/mythcommflag...(no debugging symbols found)...done.
13(gdb) run
14Starting program: /usr/bin/mythcommflag --chanid 1621 --starttime 20131224000000
15[Thread debugging using libthread_db enabled]
16Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
17
18Program received signal SIGILL, Illegal instruction.
190x422293c8 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
20(gdb) continue
21Continuing.
22Cannot access memory at address 0x0
23[New Thread 0x46a2b420 (LWP 1444)]
24[New Thread 0x473ff420 (LWP 1445)]
25[New Thread 0x47cff420 (LWP 1446)]
262013-12-30 13:02:25.105848 C  mythcommflag version: master [v0.28-pre-651-g3d91559] www.mythtv.org
272013-12-30 13:02:25.105946 C  Qt version: compile: 4.8.4, runtime: 4.8.4
28[New Thread 0x488e0420 (LWP 1447)]
29[Thread 0x488e0420 (LWP 1447) exited]
30MythTV Commercial Flagger, flagging commercials for:
31    Modern Family - Disneyland
32[New Thread 0x488e0420 (LWP 1448)]
332013-12-30 13:02:25.436055 E  Error Loading en_us translation for module mythfrontend
342013-12-30 13:02:25.464270 E  Filter dir '/usr/lib/mythtv/filters' doesn't exist?
35[New Thread 0x491ff420 (LWP 1449)]
36[New Thread 0x49aff420 (LWP 1450)]
37[New Thread 0x4a8bc420 (LWP 1451)]
38[New Thread 0x4b1ff420 (LWP 1453)]
39[New Thread 0x4b9ff420 (LWP 1454)]
40Finding Logo[New Thread 0x4c6f1420 (LWP 1457)]
41*** Error in `/usr/bin/mythcommflag': malloc(): memory corruption: 0x00474598 ***
42
43Program received signal SIGABRT, Aborted.
44__libc_do_syscall ()
45    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
4644      ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
47(gdb) thread apply all bt full
48
49Thread 12 (Thread 0x4c6f1420 (LWP 1457)):
50#0  0x40287ae2 in ?? () from /usr/lib/libmythavcodec.so.54
51No symbol table info available.
52#1  0x402600e6 in ?? () from /usr/lib/libmythavcodec.so.54
53No symbol table info available.
54#2  0x402600e6 in ?? () from /usr/lib/libmythavcodec.so.54
55No symbol table info available.
56Backtrace stopped: previous frame identical to this frame (corrupt stack?)
57
58Thread 11 (Thread 0x4b9ff420 (LWP 1454)):
59#0  __libc_do_syscall ()
60    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
61No locals.
62#1  0x41590000 in __pthread_cond_timedwait (cond=0x4890ae28,
63    mutex=0x4890ae10, abstime=<optimized out>) at pthread_cond_timedwait.c:167
64        _v2tmp = -1
65        _a2tmp = 393
66        _a2 = <optimized out>
67        _v2 = <optimized out>
68        _nametmp = 240
69        _a3tmp = 1
70        _a3 = <optimized out>
71        _a1 = 1217441324
72        _v1tmp = 0
73        _a4tmp = 1268772112
74        _a1tmp = 1217441324
75        _a4 = <optimized out>
76        _v1 = <optimized out>
77        _name = <optimized out>
78        __ret = <optimized out>
79        futex_val = 1
80        buffer = {__routine = 0x4158fb91 <__condvar_cleanup>,
81          __arg = 0x4b9fecc0, __canceltype = 1268772104, __prev = 0x0}
82        cbuffer = {oldtype = 1, cond = 0x4890ae28, mutex = 0x4890ae10,
83          bc_seq = 0}
84        result = 0
85        pshared = 0
86        err = <optimized out>
87        val = <optimized out>
88        seq = 0
89#2  0x41627740 in QWaitCondition::wait(QMutex*, unsigned long) ()
90   from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
91No symbol table info available.
92#3  0x411b8510 in ?? () from /usr/lib/libmythbase-0.28.so.0
93No symbol table info available.
94#4  0x411b8510 in ?? () from /usr/lib/libmythbase-0.28.so.0
95No symbol table info available.
96Backtrace stopped: previous frame identical to this frame (corrupt stack?)
97
98Thread 10 (Thread 0x4b1ff420 (LWP 1453)):
99#0  0x419952b4 in poll () at ../sysdeps/unix/syscall-template.S:81
100No locals.
101#1  0x42f8ad96 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
102No symbol table info available.
103#2  0x42f8ad96 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
104No symbol table info available.
105Backtrace stopped: previous frame identical to this frame (corrupt stack?)
106
107Thread 9 (Thread 0x4a8bc420 (LWP 1451)):
108#0  0x419952b4 in poll () at ../sysdeps/unix/syscall-template.S:81
109No locals.
110#1  0x42f8ad96 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
111No symbol table info available.
112#2  0x42f8ad96 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
113No symbol table info available.
114Backtrace stopped: previous frame identical to this frame (corrupt stack?)
115
116Thread 8 (Thread 0x49aff420 (LWP 1450)):
117#0  __libc_do_syscall ()
118    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
119No locals.
120#1  0x41590000 in __pthread_cond_timedwait (cond=0x9f5b8, mutex=0x9f5a0,
121    abstime=<optimized out>) at pthread_cond_timedwait.c:167
122        _v2tmp = -1
123        _a2tmp = 393
124        _a2 = <optimized out>
125        _v2 = <optimized out>
126        _nametmp = 240
127        _a3tmp = 6167
128        _a3 = <optimized out>
129        _a1 = 652732
130        _v1tmp = 0
131        _a4tmp = 1236265856
132        _a1tmp = 652732
133        _a4 = <optimized out>
134        _v1 = <optimized out>
135        _name = <optimized out>
136        __ret = <optimized out>
137        futex_val = 6167
138        buffer = {__routine = 0x4158fb91 <__condvar_cleanup>,
139          __arg = 0x49afeb28, __canceltype = 1000000001, __prev = 0x0}
140        cbuffer = {oldtype = 1, cond = 0x9f5b8, mutex = 0x9f5a0,
141          bc_seq = 3081}
142        result = 0
143        pshared = 0
144        err = <optimized out>
145        val = <optimized out>
146        seq = 3083
147#2  0x416278c4 in QWaitCondition::wait(QReadWriteLock*, unsigned long) ()
148   from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
149No symbol table info available.
150#3  0x40c3a030 in RingBuffer::run() () from /usr/lib/libmythtv-0.28.so.0
151No symbol table info available.
152#4  0x49aff420 in ?? ()
153No symbol table info available.
154#5  0x49aff420 in ?? ()
155No symbol table info available.
156Backtrace stopped: previous frame identical to this frame (corrupt stack?)
157
158Thread 7 (Thread 0x491ff420 (LWP 1449)):
159#0  __libc_do_syscall ()
160    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
161No locals.
162#1  0x41590000 in __pthread_cond_timedwait (cond=0xa9908, mutex=0xa98f0,
163    abstime=<optimized out>) at pthread_cond_timedwait.c:167
164        _v2tmp = -1
165        _a2tmp = 393
166        _a2 = <optimized out>
167        _v2 = <optimized out>
168        _nametmp = 240
169        _a3tmp = 1
170        _a3 = <optimized out>
171        _a1 = 694540
172        _v1tmp = 0
173        _a4tmp = 1226829072
174        _a1tmp = 694540
175        _a4 = <optimized out>
176        _v1 = <optimized out>
177        _name = <optimized out>
178        __ret = <optimized out>
179        futex_val = 1
180        buffer = {__routine = 0x4158fb91 <__condvar_cleanup>,
181          __arg = 0x491fecc0, __canceltype = 1226829064, __prev = 0x0}
182        cbuffer = {oldtype = 1, cond = 0xa9908, mutex = 0xa98f0, bc_seq = 0}
183        result = 0
184        pshared = 0
185        err = <optimized out>
186        val = <optimized out>
187        seq = 0
188#2  0x41627740 in QWaitCondition::wait(QMutex*, unsigned long) ()
189   from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
190No symbol table info available.
191#3  0x411b8510 in ?? () from /usr/lib/libmythbase-0.28.so.0
192No symbol table info available.
193#4  0x411b8510 in ?? () from /usr/lib/libmythbase-0.28.so.0
194No symbol table info available.
195Backtrace stopped: previous frame identical to this frame (corrupt stack?)
196
197Thread 6 (Thread 0x488e0420 (LWP 1448)):
198#0  __libc_do_syscall ()
199    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
200No locals.
201#1  0x41590000 in __pthread_cond_timedwait (cond=0xd14e0, mutex=0xd14c8,
202    abstime=<optimized out>) at pthread_cond_timedwait.c:167
203        _v2tmp = -1
204        _a2tmp = 393
205        _a2 = <optimized out>
206        _v2 = <optimized out>
207        _nametmp = 240
208        _a3tmp = 1
209        _a3 = <optimized out>
210        _a1 = 857316
211        _v1tmp = 0
212        _a4tmp = 1217264912
213        _a1tmp = 857316
214        _a4 = <optimized out>
215        _v1 = <optimized out>
216        _name = <optimized out>
217        __ret = <optimized out>
218        futex_val = 1
219        buffer = {__routine = 0x4158fb91 <__condvar_cleanup>,
220          __arg = 0x488dfcc0, __canceltype = 1217264904, __prev = 0x0}
221        cbuffer = {oldtype = 1, cond = 0xd14e0, mutex = 0xd14c8, bc_seq = 0}
222        result = 0
223        pshared = 0
224        err = <optimized out>
225        val = <optimized out>
226        seq = 0
227#2  0x41627740 in QWaitCondition::wait(QMutex*, unsigned long) ()
228   from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
229No symbol table info available.
230#3  0x411b8510 in ?? () from /usr/lib/libmythbase-0.28.so.0
231No symbol table info available.
232#4  0x411b8510 in ?? () from /usr/lib/libmythbase-0.28.so.0
233No symbol table info available.
234Backtrace stopped: previous frame identical to this frame (corrupt stack?)
235
236Thread 4 (Thread 0x47cff420 (LWP 1446)):
237#0  __libc_do_syscall ()
238    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
239No locals.
240#1  0x41590000 in __pthread_cond_timedwait (cond=0x9fc60, mutex=0x9fc48,
241    abstime=<optimized out>) at pthread_cond_timedwait.c:167
242        _v2tmp = -1
243        _a2tmp = 393
244        _a2 = <optimized out>
245        _v2 = <optimized out>
246        _nametmp = 240
247        _a3tmp = 805
248        _a3 = <optimized out>
249        _a1 = 654436
250        _v1tmp = 0
251        _a4tmp = 1204808976
252        _a1tmp = 654436
253        _a4 = <optimized out>
254        _v1 = <optimized out>
255        _name = <optimized out>
256        __ret = <optimized out>
257        futex_val = 805
258        buffer = {__routine = 0x4158fb91 <__condvar_cleanup>,
259          __arg = 0x47cfecc0, __canceltype = 2147483647, __prev = 0x0}
260        cbuffer = {oldtype = 1, cond = 0x9fc60, mutex = 0x9fc48, bc_seq = 0}
261        result = 0
262        pshared = 0
263        err = <optimized out>
264        val = <optimized out>
265        seq = 402
266#2  0x41627740 in QWaitCondition::wait(QMutex*, unsigned long) ()
267   from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
268No symbol table info available.
269#3  0x41226230 in ?? () from /usr/lib/libmythbase-0.28.so.0
270No symbol table info available.
271#4  0x41226230 in ?? () from /usr/lib/libmythbase-0.28.so.0
272No symbol table info available.
273Backtrace stopped: previous frame identical to this frame (corrupt stack?)
274
275Thread 3 (Thread 0x473ff420 (LWP 1445)):
276#0  __libc_do_syscall ()
277    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
278No locals.
279#1  0x41590000 in __pthread_cond_timedwait (cond=0x72358, mutex=0x72340,
280    abstime=<optimized out>) at pthread_cond_timedwait.c:167
281        _v2tmp = -1
282        _a2tmp = 393
283        _a2 = <optimized out>
284        _v2 = <optimized out>
285        _nametmp = 240
286        _a3tmp = 925
287        _a3 = <optimized out>
288        _a1 = 467804
289        _v1tmp = 0
290        _a4tmp = 1195371784
291        _a1tmp = 467804
292        _a4 = <optimized out>
293        _v1 = <optimized out>
294        _name = <optimized out>
295        __ret = <optimized out>
296        futex_val = 925
297        buffer = {__routine = 0x4158fb91 <__condvar_cleanup>,
298          __arg = 0x473fecb8, __canceltype = 2147483647, __prev = 0x0}
299        cbuffer = {oldtype = 1, cond = 0x72358, mutex = 0x72340, bc_seq = 15}
300        result = 0
301        pshared = 0
302        err = <optimized out>
303        val = <optimized out>
304        seq = 462
305#2  0x41627740 in QWaitCondition::wait(QMutex*, unsigned long) ()
306   from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
307No symbol table info available.
308#3  0x4122e6be in ?? () from /usr/lib/libmythbase-0.28.so.0
309No symbol table info available.
310#4  0x4122e6be in ?? () from /usr/lib/libmythbase-0.28.so.0
311No symbol table info available.
312Backtrace stopped: previous frame identical to this frame (corrupt stack?)
313
314Thread 2 (Thread 0x46a2b420 (LWP 1444)):
315#0  0x419952b4 in poll () at ../sysdeps/unix/syscall-template.S:81
316No locals.
317#1  0x42f8ad96 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
318No symbol table info available.
319#2  0x42f8ad96 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
320No symbol table info available.
321Backtrace stopped: previous frame identical to this frame (corrupt stack?)
322
323Thread 1 (Thread 0x44c8c3e0 (LWP 1441)):
324#0  __libc_do_syscall ()
325    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
326No locals.
327#1  0x419325fe in __GI_raise (sig=sig@entry=6)
328    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
329        _a1 = <optimized out>
330        _a3tmp = 6
331        _a1tmp = 0
332        _a3 = <optimized out>
333        _nametmp = 268
334        _a2tmp = 1441
335        _a2 = <optimized out>
336        _name = <optimized out>
337        _sys_result = <optimized out>
338        pd = 0x44c8c3e0
339        pid = 0
340        selftid = 1441
341#2  0x41934e1a in __GI_abort () at abort.c:90
342        save_stage = 2
343        act = {__sigaction_handler = {sa_handler = 0xbeffeb34,
344            sa_sigaction = 0xbeffeb34}, sa_mask = {__val = {214, 16771880, 0,
345              64, 2, 82, 3204442928, 7, 56, 1099968871, 2147483647, 0,
346              1100659517, 3204442932, 2147483647, 1099968845, 64, 2, 82,
347              3204442928, 7, 56, 28, 7, 3204442928, 3204442928, 1100659731,
348              1100659731, 2, 3204443224, 1, 64}}, sa_flags = 82,
349          sa_restorer = 0x2}
350        sigs = {__val = {32, 0 <repeats 31 times>}}
351#3  0x419589dc in __libc_message (do_abort=2,
352    fmt=0x419d77d8 "*** Error in `%s': %s: 0x%s ***\n")
353    at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
354        ap = {__ap = 0xbefff18c}
355        ap_copy = {__ap = 0xbefff180}
356        fd = 28
357        on_2 = <optimized out>
358        list = <optimized out>
359        nlist = <optimized out>
360        cp = <optimized out>
361        written = <optimized out>
362#4  0x4195f73a in malloc_printerr (action=3,
363    str=0x419d7c90 "malloc(): memory corruption", ptr=<optimized out>)
364    at malloc.c:4923
365        buf = "00474598"
366        cp = <optimized out>
367#5  0x41960c3e in _int_malloc (av=av@entry=0x419ed4cc <main_arena>,
368    bytes=bytes@entry=512) at malloc.c:3402
369        iters = <optimized out>
370        nb = 520
371        idx = 64
372        bin = <optimized out>
373        victim = 0x474590
374        size = <optimized out>
375        victim_index = <optimized out>
376        remainder = <optimized out>
377        remainder_size = <optimized out>
378        block = <optimized out>
379        bit = <optimized out>
380        map = <optimized out>
381        fwd = <optimized out>
382        bck = 0x24232640
383        errstr = 0x0
384        __func__ = "_int_malloc"
385#6  0x41962324 in __GI___libc_malloc (bytes=512) at malloc.c:2859
386        ar_ptr = 0x419ed4cc <main_arena>
387        victim = <optimized out>
388        hook = <optimized out>
389        __func__ = "__libc_malloc"
390#7  0x4181e84c in operator new(unsigned int) ()
391   from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
392No symbol table info available.
393#8  0x40e3c330 in ?? () from /usr/lib/libmythtv-0.28.so.0
394No symbol table info available.
395#9  0x40e3b012 in ?? () from /usr/lib/libmythtv-0.28.so.0
396No symbol table info available.
397#10 0x40e39f72 in ?? () from /usr/lib/libmythtv-0.28.so.0
398No symbol table info available.
399#11 0x40e38e1a in ?? () from /usr/lib/libmythtv-0.28.so.0
400No symbol table info available.
401#12 0x40e38124 in ?? () from /usr/lib/libmythtv-0.28.so.0
402No symbol table info available.
403#13 0x40e3566a in ?? () from /usr/lib/libmythtv-0.28.so.0
404No symbol table info available.
405#14 0x40e35812 in ?? () from /usr/lib/libmythtv-0.28.so.0
406No symbol table info available.
407#15 0x40e35812 in ?? () from /usr/lib/libmythtv-0.28.so.0
408No symbol table info available.
409Backtrace stopped: previous frame identical to this frame (corrupt stack?)
410(gdb)