Ticket #4961: gdb.bt

File gdb.bt, 16.0 KB (added by Mindaugas N., 11 years ago)

GDB output

Line 
1backtrace:
2#0 0xb7759b8c in __kernel_vsyscall ()
3No symbol table info available.
4#1 0x44d95cdf in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
5 resultvar = <optimized out>
6 resultvar = <optimized out>
7 pid = 1156636672
8 selftid = 7628
9#2 0x44d97526 in __GI_abort () at abort.c:89
10 save_stage = 2
11 act = {__sigaction_handler = {sa_handler = 0x20303030, sa_sigaction = 0x20303030}, sa_mask = {__val = {809119792, 540024880, 909599242, 808466789, 929180976, 811676471, 1914712112, 544241709, 808464432, 808464432, 976760864, 924856624, 943273528, 538982454, 1966022688, 1815048819, 1815044713, 1279681129, 1932411713, 775433839, 170929715, 859256674, 808464481, 926376493, 808477235, 2003968048, 807432237, 808792112, 540028976, 809121840, 3, 4096}}, sa_flags = 1155008631, sa_restorer = 0x44f0e000}
12 sigs = {__val = {32, 0 <repeats 31 times>}}
13#3 0x44dd73ef in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x44ed0b14 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
14 ap = <optimized out>
15 fd = <optimized out>
16 on_2 = <optimized out>
17 list = <optimized out>
18 nlist = <optimized out>
19 cp = <optimized out>
20 written = <optimized out>
21#4 0x44ddd9d0 in malloc_printerr (action=<optimized out>, str=0x44eccd9c "free(): invalid pointer", ptr=0xb213f0bc) at malloc.c:4991
22 buf = "b213f0bc"
23 cp = <optimized out>
24#5 0x44dde1a4 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3837
25 size = <optimized out>
26 fb = <optimized out>
27 nextchunk = <optimized out>
28 nextsize = <optimized out>
29 nextinuse = <optimized out>
30 prevsize = <optimized out>
31 bck = <optimized out>
32 fwd = <optimized out>
33 errstr = <optimized out>
34 locked = <optimized out>
35 __func__ = "_int_free"
36#6 0xb729a370 in ?? () from /home/minde/.bin/root/lib/libavformat.so.57
37No symbol table info available.
38#7 0xb731dc2d in ?? () from /home/minde/.bin/root/lib/libavformat.so.57
39No symbol table info available.
40#8 0xb73ad2ed in avformat_open_input () from /home/minde/.bin/root/lib/libavformat.so.57
41No symbol table info available.
42#9 0x08091cf7 in FfmpegOpenInput (fmt=<optimized out>, filename=<optimized out>, pb=<optimized out>) at src/decoder/plugins/FfmpegDecoderPlugin.cxx:72
43 context = 0xb0a196a0
44#10 ffmpeg_decode (decoder=..., input=...) at src/decoder/plugins/FfmpegDecoderPlugin.cxx:605
45 input_format = 0xb747f940
46 stream = {decoder = 0xb21411e8, input = @0xb0a08fb0, io = 0xb0a19620, buffer = "\024:\b)\304~\353;j\200A+\335ܓ\314B\343\217\345闀U\207\261\022\031\a\340\242Ԡ\a\fj\374\025R\233\230\\\302\317\353\017\211[\220\fG\321_m\215\273\321M\263\252\347>\272{\274\214\343]Lf\aA\256,\356\214\366\262\062\021P\320\352z|k\367\265\205R\202\272qtJ\300\206\223E\273md\324\354G\332\035\351\325%7\377h>~I\205\341Kb8\366\005L9a#\210$\312\005!\247\017H\236'\215C\376^L,/ݶ-\245jLAME3.99.5\252\252\252\252\252\252\252\252\252\252\004\207ul\300\a\003\310gFF\206h\024L\002\237\031\031\071\207\v\217\034\002O\205NA\300\341\317B0Q\b"...}
47 format_context = 0x0
48#11 0x080772f4 in StreamDecode (this=<optimized out>, is=..., decoder=...) at src/decoder/DecoderPlugin.hxx:132
49No locals.
50#12 decoder_stream_decode (plugin=..., decoder=..., input_stream=...) at src/decoder/DecoderThread.cxx:150
51No locals.
52#13 0x08077a79 in __call<bool, DecoderPlugin const&, 0u, 1u, 2u, 3u, 4u> (__args=<optimized out>, this=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/g++-v4/functional:1264
53No locals.
54#14 operator()<const DecoderPlugin&, bool> (this=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/g++-v4/functional:1323
55No locals.
56#15 decoder_plugins_try<std::_Bind<bool (*(std::reference_wrapper<Decoder>, std::reference_wrapper<InputStream>, char const*, std::_Placeholder<1>, std::reference_wrapper<bool>))(Decoder&, InputStream&, char const*, const DecoderPlugin&, bool&)> > (f=...) at src/decoder/DecoderList.hxx:60
57 i = 0
58#16 decoder_run_stream_locked (tried_r=<optimized out>, uri=<optimized out>, is=..., decoder=...) at src/decoder/DecoderThread.cxx:247
59 suffix_buffer = {data = "\000\000\000\000\223", <incomplete sequence \342\263>}
60#17 decoder_run_stream (uri=<optimized out>, decoder=...) at src/decoder/DecoderThread.cxx:284
61 dc = @0xb21411e8: {thread = {handle = 2996052412, defined = false, f = 0x0, ctx = 0x0}, mutex = @0x0, cond = {<PosixCond> = {cond = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 12831902575967276800, __woken_seq = 580984195834548208, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0}, __size = '\000' <repeats 17 times>, "\017\363\020h\023\024\262\360\217\325D\f\022\020\b", '\000' <repeats 12 times>, "\f\022\020\b", __align = 0}}, <No data fields>}, client_cond = @0xb29421bc, state = 80, command = 34, error = {domain = 0xb294224c, code = -1307307160, message = <error reading variable: Cannot access memory at address 0x10f30ef4>}, quit = 80, client_is_waiting = 34, seek_error = 148, seekable = 178, seek_time = {<std::chrono::duration<unsigned int, std::ratio<1ll, 1000ll> >> = {__r = 0}, <No data fields>}, in_audio_format = {sample_rate = 0, format = 188, channels = 33 '!'}, out_audio_format = {sample_rate = 2996052432, format = SampleFormat::UNDEFINED, channels = 15 '\017'}, song = 0xb2141368, start_time = {<std::chrono::duration<unsigned int, std::ratio<1ll, 1000ll> >> = {__r = 134708294}, <No data fields>}, end_time = {<std::chrono::duration<unsigned int, std::ratio<1ll, 1000ll> >> = {__r = 2996052412}, <No data fields>}, total_time = {<std::chrono::duration<int, std::ratio<1ll, 1000ll> >> = {__r = 138071784}, <No data fields>}, buffer = 0x0, pipe = 0x8077b9e <decoder_task(void*)+14>, replay_gain_db = 0, replay_gain_prev_db = 1996.5, mix_ramp = {start = <error reading variable: Cannot access memory at address 0xfffffff4>, end = "1\300\203\304\034\303", '\000' <repeats 13 times>, "S\203\354\b\213\\$\020\213D$\024\211C\b\213D$\030\211C\fSh@\024\v\bj\000S\350\374\035\372\377\203\304\020\205\300u\025\306C\004\001\203\304\b\270\001\000\000\000[Í\264&\000\000\000\000\203\354\004h_\371\v\bP\377t$(\350\316B\000\000\203\304\020\061\300\203\304\b[\303\000\000\000\000S\203\354\020\213\\$\030j\000\377\063\350\277\035\372\377\306C\004\000\203\304\030[\303\000\000\000\000\000\000UWVS\201\354<\004\000\000\213\224$T\004\000\000\213\234$P\004\000\000e\213\r\024\000\000\000\211\214$,\004\000\000\061ɋ\204$X\004\000\000f\203:\001\017\204"...}, previous_mix_ramp = {start = "", end = <error reading variable: Cannot access memory at address 0xfffffff4>}}
62 tried = true
63#18 decoder_run_song (path_fs=..., uri=<optimized out>, song=..., dc=...) at src/decoder/DecoderThread.cxx:393
64 decoder = {dc = @0xb29421bc, convert = 0x0, timestamp = 0, initial_seek_pending = false, initial_seek_running = false, seeking = false, song_tag = 0x0, stream_tag = 0x0, decoder_tag = 0x0, chunk = 0x0, replay_gain_info = {tuples = {{gain = 9.58697111e-29, peak = -8.61914629e-09}, {gain = 1708.49805, peak = 4.33546377e-34}}}, replay_gain_serial = 0, error = {domain = 0x0, code = 0, message = ""}}
65#19 decoder_run (dc=...) at src/decoder/DecoderThread.cxx:449
66 path_buffer = {value = ""}
67#20 0x08077c46 in decoder_task (arg=0xb29421bc) at src/decoder/DecoderThread.cxx:472
68 dc = @0xb29421bc: {thread = {handle = 2987662144, defined = true, f = 0x8077b90 <decoder_task(void*)>, ctx = 0xb29421bc}, mutex = @0x83acee8, cond = {<PosixCond> = {cond = {__data = {__lock = 0, __futex = 6, __total_seq = 3, __wakeup_seq = 3, __woken_seq = 3, __mutex = 0x83acee8, __nwaiters = 0, __broadcast_seq = 2}, __size = "\000\000\000\000\006\000\000\000\003\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\350\316:\b\000\000\000\000\002\000\000\000\000\000\000", __align = 25769803776}}, <No data fields>}, client_cond = @0x83acf00, state = DecoderState::START, command = DecoderCommand::NONE, error = {domain = 0x0, code = 0, message = ""}, quit = false, client_is_waiting = true, seek_error = false, seekable = false, seek_time = {<std::chrono::duration<unsigned int, std::ratio<1ll, 1000ll> >> = {__r = 0}, <No data fields>}, in_audio_format = {sample_rate = 0, format = 96, channels = 215 '\327'}, out_audio_format = {sample_rate = 1154899860, format = 144, channels = 15 '\017'}, song = 0xb1800600, start_time = {<std::chrono::duration<unsigned int, std::ratio<1ll, 1000ll> >> = {__r = 0}, <No data fields>}, end_time = {<std::chrono::duration<unsigned int, std::ratio<1ll, 1000ll> >> = {__r = 0}, <No data fields>}, total_time = {<std::chrono::duration<int, std::ratio<1ll, 1000ll> >> = {__r = -1246436936}, <No data fields>}, buffer = 0xb294215c, pipe = 0xb18005d8, replay_gain_db = 0, replay_gain_prev_db = 0, mix_ramp = {start = "", end = ""}, previous_mix_ramp = {start = "", end = ""}}
69#21 0x080b144d in Thread::ThreadProc (ctx=0xb29421bc) at src/thread/Thread.cxx:108
70 thread = @0xb29421bc: {handle = 2987662144, defined = true, f = 0x8077b90 <decoder_task(void*)>, ctx = 0xb29421bc}
71#22 0x44f861b5 in start_thread (arg=0xb2141b40) at pthread_create.c:309
72 __res = <optimized out>
73 pd = 0xb2141b40
74 now = <optimized out>
75 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1157206016, -1307305152, 4001536, -1307307160, -1652833861, 1167959126}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
76 not_first_call = <optimized out>
77 robust = <optimized out>
78 pagesize_m1 = <optimized out>
79 sp = <optimized out>
80 freesize = <optimized out>
81 __PRETTY_FUNCTION__ = "start_thread"
82#23 0x44e5982e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
83No locals.
84
85
86registers:
87eax 0x0 0
88ecx 0x1dcc 7628
89edx 0x6 6
90ebx 0x1dc9 7625
91esp 0xb213ea64 0xb213ea64
92ebp 0xb213ed38 0xb213ed38
93esi 0x3c 60
94edi 0x44f0e000 1156636672
95eip 0xb7759b8c 0xb7759b8c <__kernel_vsyscall+16>
96eflags 0x200206 [ PF IF ID ]
97cs 0x73 115
98ss 0x7b 123
99ds 0x7b 123
100es 0x7b 123
101fs 0x0 0
102gs 0x33 51
103
104
105current instructions:
106=> 0xb7759b8c <__kernel_vsyscall+16>: pop %ebp
107 0xb7759b8d <__kernel_vsyscall+17>: pop %edx
108 0xb7759b8e <__kernel_vsyscall+18>: pop %ecx
109 0xb7759b8f <__kernel_vsyscall+19>: ret
110 0xb7759b90: and %edi,%ebx
111 0xb7759b92: (bad)
112 0xb7759b93: call *(%eax,%eax,1)
113 0xb7759b96: add %al,(%eax)
114 0xb7759b98: jno 0xb7759b9a
115 0xb7759b9a: add (%ebx),%eax
116 0xb7759b9c: sbb %bh,%bl
117 0xb7759b9e: (bad)
118 0xb7759b9f: decl (%ebx)
119 0xb7759ba1: add %al,(%eax)
120 0xb7759ba3: add %dh,0x0(%edx)
121 0xb7759ba6: add (%ebx),%eax
122
123
124threads backtrace:
125
126Thread 5 (Thread 0xb3143b40 (LWP 7626)):
127#0 0xb7759b8c in __kernel_vsyscall ()
128#1 0x44e5a316 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
129#2 0x080b12ce in Wait (timeout=<optimized out>, maxevents=16, events=0x83a5fb8, this=0x83a5fb4) at ./src/system/EPollFD.hxx:53
130#3 ReadEvents (timeout_ms=<optimized out>, result=..., this=0x83a5fb4) at src/event/PollGroupEPoll.hxx:68
131#4 EventLoop::Run (this=0x83a5f58) at src/event/Loop.cxx:193
132#5 0x080b144d in Thread::ThreadProc (ctx=0x80fb0cc <io+76>) at src/thread/Thread.cxx:108
133#6 0x44f861b5 in start_thread (arg=0xb3143b40) at pthread_create.c:309
134#7 0x44e5982e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
135
136Thread 4 (Thread 0xb2942b40 (LWP 7627)):
137#0 0xb7759b8c in __kernel_vsyscall ()
138#1 0x44f8ab9c in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
139#2 0x08077fb7 in wait (mutex=..., this=<optimized out>) at ./src/thread/PosixCond.hxx:72
140#3 DecoderControl::WaitForDecoder (this=0xb29421bc) at src/decoder/DecoderControl.cxx:48
141#4 0x0805f69c in Run (this=0xb2942188) at src/player/Thread.cxx:965
142#5 do_play (buffer=..., dc=..., pc=...) at src/player/Thread.cxx:1109
143#6 player_task (arg=0x83acec8) at src/player/Thread.cxx:1133
144#7 0x080b144d in Thread::ThreadProc (ctx=0x83aced8) at src/thread/Thread.cxx:108
145#8 0x44f861b5 in start_thread (arg=0xb2942b40) at pthread_create.c:309
146#9 0x44e5982e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
147
148Thread 3 (Thread 0xb2141b40 (LWP 7628)):
149#0 0xb7759b8c in __kernel_vsyscall ()
150#1 0x44d95cdf in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
151#2 0x44d97526 in __GI_abort () at abort.c:89
152#3 0x44dd73ef in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x44ed0b14 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
153#4 0x44ddd9d0 in malloc_printerr (action=<optimized out>, str=0x44eccd9c "free(): invalid pointer", ptr=0xb213f0bc) at malloc.c:4991
154#5 0x44dde1a4 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3837
155#6 0xb729a370 in ?? () from /home/minde/.bin/root/lib/libavformat.so.57
156#7 0xb731dc2d in ?? () from /home/minde/.bin/root/lib/libavformat.so.57
157#8 0xb73ad2ed in avformat_open_input () from /home/minde/.bin/root/lib/libavformat.so.57
158#9 0x08091cf7 in FfmpegOpenInput (fmt=<optimized out>, filename=<optimized out>, pb=<optimized out>) at src/decoder/plugins/FfmpegDecoderPlugin.cxx:72
159#10 ffmpeg_decode (decoder=..., input=...) at src/decoder/plugins/FfmpegDecoderPlugin.cxx:605
160#11 0x080772f4 in StreamDecode (this=<optimized out>, is=..., decoder=...) at src/decoder/DecoderPlugin.hxx:132
161#12 decoder_stream_decode (plugin=..., decoder=..., input_stream=...) at src/decoder/DecoderThread.cxx:150
162#13 0x08077a79 in __call<bool, DecoderPlugin const&, 0u, 1u, 2u, 3u, 4u> (__args=<optimized out>, this=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/g++-v4/functional:1264
163#14 operator()<const DecoderPlugin&, bool> (this=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/g++-v4/functional:1323
164#15 decoder_plugins_try<std::_Bind<bool (*(std::reference_wrapper<Decoder>, std::reference_wrapper<InputStream>, char const*, std::_Placeholder<1>, std::reference_wrapper<bool>))(Decoder&, InputStream&, char const*, const DecoderPlugin&, bool&)> > (f=...) at src/decoder/DecoderList.hxx:60
165#16 decoder_run_stream_locked (tried_r=<optimized out>, uri=<optimized out>, is=..., decoder=...) at src/decoder/DecoderThread.cxx:247
166#17 decoder_run_stream (uri=<optimized out>, decoder=...) at src/decoder/DecoderThread.cxx:284
167#18 decoder_run_song (path_fs=..., uri=<optimized out>, song=..., dc=...) at src/decoder/DecoderThread.cxx:393
168#19 decoder_run (dc=...) at src/decoder/DecoderThread.cxx:449
169#20 0x08077c46 in decoder_task (arg=0xb29421bc) at src/decoder/DecoderThread.cxx:472
170#21 0x080b144d in Thread::ThreadProc (ctx=0xb29421bc) at src/thread/Thread.cxx:108
171#22 0x44f861b5 in start_thread (arg=0xb2141b40) at pthread_create.c:309
172#23 0x44e5982e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
173
174Thread 2 (Thread 0xb13f4b40 (LWP 7629)):
175#0 0xb7759b8c in __kernel_vsyscall ()
176#1 0x44f8ab9c in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
177#2 0x080758e5 in wait (mutex=..., this=<optimized out>) at ./src/thread/PosixCond.hxx:72
178#3 AudioOutput::Task (this=0x83cf680) at src/output/OutputThread.cxx:690
179#4 0x080b144d in Thread::ThreadProc (ctx=0x83cf6e4) at src/thread/Thread.cxx:108
180#5 0x44f861b5 in start_thread (arg=0xb13f4b40) at pthread_create.c:309
181#6 0x44e5982e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
182
183Thread 1 (Thread 0xb3384a00 (LWP 7625)):
184#0 0xb7759b8c in __kernel_vsyscall ()
185#1 0x44e5a316 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
186#2 0x080b12ce in Wait (timeout=<optimized out>, maxevents=16, events=0x83acd78, this=0x83acd74) at ./src/system/EPollFD.hxx:53
187#3 ReadEvents (timeout_ms=<optimized out>, result=..., this=0x83acd74) at src/event/PollGroupEPoll.hxx:68
188#4 EventLoop::Run (this=0x83acd18) at src/event/Loop.cxx:193
189#5 0x0805426d in mpd_main_after_fork (options=...) at src/Main.cxx:664
190#6 mpd_main (argc=4, argv=0xbffdacd0) at src/Main.cxx:531
191#7 0x0805368b in main (argc=4, argv=0xbffdadc4) at src/Main.cxx:410