Ticket #6767: mpv_gdb.txt

File mpv_gdb.txt, 6.7 KB (added by sfan5, 9 years ago)

GDB log

Line 
1Starting program: /var/tmp/mpv/build/mpv --no-config ../01\ Bad\ Apple\!\!.flac
2[Thread debugging using libthread_db enabled]
3Using host libthread_db library "/usr/lib/libthread_db.so.1".
4[New Thread 0x7fffeac9b700 (LWP 576)]
5[New Thread 0x7fffea49a700 (LWP 581)]
6[New Thread 0x7fffe9c99700 (LWP 584)]
7[New Thread 0x7fffe9327700 (LWP 585)]
8Playing: ../01 Bad Apple!!.flac
9[New Thread 0x7fffe8a5d700 (LWP 589)]
10[Thread 0x7fffe8a5d700 (LWP 589) exited]
11[New Thread 0x7fffe8a5d700 (LWP 593)]
12 (+) Video --vid=1 [P] (mjpeg 500x500)
13 Video --vid=2 [P] (mjpeg 594x500)
14 (+) Audio --aid=1 (flac 2ch 44100Hz)
15File tags:
16 Artist: nomico
17 Album: EXSERENS - A selection of Alstroemeria Records
18 Album_Artist: Masayoshi Minoshima
19 Comment: 2008年05月25日 ・ ARCD0024 ・ EXSERENS - A selection of Alstroemeria Records
20 Composer: Masayoshi Minoshima
21 Genre: Jpop
22 Title: Bad Apple!!
23 Track: 1
24[New Thread 0x7fffdbfff700 (LWP 594)]
25[New Thread 0x7fffdb7fe700 (LWP 595)]
26Displaying attached picture. Use --no-audio-display to prevent this.
27VO: [gpu] 500x500 yuv444p
28[New Thread 0x7fffcffff700 (LWP 596)]
29[New Thread 0x7fffcb7fe700 (LWP 597)]
30AO: [pulse] 44100Hz stereo 2ch s16
31(...) AV: 00:01:02 / 00:05:19 (19%)
32Thread 1 "mpv" received signal SIGINT, Interrupt.
330x00007ffff362f756 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
34(gdb) info threads
35 Id Target Id Frame
36* 1 Thread 0x7ffff7f9e440 (LWP 566) "mpv" 0x00007ffff362f756 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
37 2 Thread 0x7fffeac9b700 (LWP 576) "mpv/terminal" 0x00007ffff2f1bd4b in poll ()
38 from /usr/lib/libc.so.6
39 3 Thread 0x7fffea49a700 (LWP 581) "mpv/lua script " 0x00007ffff362f756 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
40 4 Thread 0x7fffe9c99700 (LWP 584) "mpv/lua script " 0x00007ffff362f756 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
41 5 Thread 0x7fffe9327700 (LWP 585) "mpv/lua script " 0x00007ffff362f756 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
42 7 Thread 0x7fffe8a5d700 (LWP 593) "mpv/demux" 0x00007ffff3632958 in read ()
43 from /usr/lib/libpthread.so.0
44 8 Thread 0x7fffdbfff700 (LWP 594) "mpv/vo" 0x00007ffff2f1bd4b in poll ()
45 from /usr/lib/libc.so.6
46 9 Thread 0x7fffdb7fe700 (LWP 595) "mpv/vo" 0x00007ffff3631cc6 in do_futex_wait.constprop ()
47 from /usr/lib/libpthread.so.0
48 10 Thread 0x7fffcffff700 (LWP 596) "threaded-ml" 0x00007ffff2f1bd4b in poll ()
49 from /usr/lib/libc.so.6
50 11 Thread 0x7fffcb7fe700 (LWP 597) "mpv/ao" 0x00007ffff362f38d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
51(gdb) thread 7
52[Switching to thread 7 (Thread 0x7fffe8a5d700 (LWP 593))]
53#0 0x00007ffff3632958 in read () from /usr/lib/libpthread.so.0
54(gdb) bt
55#0 0x00007ffff3632958 in read () from /usr/lib/libpthread.so.0
56#1 0x000055555574def2 in fill_buffer (s=<optimized out>,
57 buffer=0x7fffd42317e0 "\377\377\377\246fd\364̟\346ffO\377\377\231\223\377\377\371\231\375>\231\223\377\363?2t\314\311\377\363?\377L\237\377\231\231<\314\317\374\237\377\377\363\063\062\177\244\377\372g\351?\377L\311\346fza\231'\245\063\311\377\377\377\371\223\377\363\063\374\314\311\374ϙ\231?\377\377\377\346\177\377\314̟\377\377\377\364\314\311\377\376fd\351\231\374\314\314", <incomplete sequence \375>, max_len=32768) at ../stream/stream_file.c:81
58#2 0x000055555574bb6f in stream_read_unbuffered (s=0x7fffd4001440, buf=0x7fffd42317e0, len=32768)
59 at ../stream/stream.c:376
60#3 0x00005555556f496e in mp_read (opaque=0x7fffd420a010,
61 buf=0x7fffd42317e0 "\377\377\377\246fd\364̟\346ffO\377\377\231\223\377\377\371\231\375>\231\223\377\363?2t\314\311\377\363?\377L\237\377\231\231<\314\317\374\237\377\377\363\063\062\177\244\377\372g\351?\377L\311\346fza\231'\245\063\311\377\377\377\371\223\377\363\063\374\314\311\374ϙ\231?\377\377\377\346\177\377\314̟\377\377\377\364\314\311\377\376fd\351\231\374\314\314", <incomplete sequence \375>, size=32768) at ../demux/demux_lavf.c:239
62#4 0x00005555560981fb in fill_buffer (s=0x7fffd421f200) at libavformat/aviobuf.c:573
63#5 0x0000555556099e78 in avio_read_partial (s=0x7fffd421f200, buf=0x7fffd00023d0 "H\005",
64 size=size@entry=1024) at libavformat/aviobuf.c:733
65#6 0x000055555615e4fa in ff_raw_read_partial_packet (s=s@entry=0x7fffd42037e0,
66 pkt=pkt@entry=0x7fffe8a5c7b0) at libavformat/rawdec.c:46
67#7 0x00005555560b5703 in flac_read_timestamp (s=s@entry=0x7fffd42037e0,
68 stream_index=stream_index@entry=0, ppos=ppos@entry=0x7fffe8a5c8e8,
69 pos_limit=pos_limit@entry=43813931) at libavformat/flacdec.c:277
70#8 0x00005555561a1ec3 in ff_read_timestamp (read_timestamp=0x5555560b5670 <flac_read_timestamp>,
71 pos_limit=<optimized out>, ppos=0x7fffe8a5c8e8, stream_index=0, s=0x7fffd42037e0)
72 at libavformat/utils.c:2100
73#9 ff_find_last_ts (s=s@entry=0x7fffd42037e0, stream_index=stream_index@entry=0,
74 ts=ts@entry=0x7fffe8a5caf8, pos=pos@entry=0x7fffe8a5c9a0, read_timestamp=read_timestamp@entry=
75---Type <return> to continue, or q <return> to quit---
76 0x5555560b5670 <flac_read_timestamp>) at libavformat/utils.c:2184
77#10 0x00005555561a2966 in ff_gen_search (s=s@entry=0x7fffd42037e0,
78 stream_index=stream_index@entry=0, target_ts=target_ts@entry=2748424, pos_min=<optimized out>,
79 pos_min@entry=731680, pos_max=<optimized out>, pos_max@entry=6, pos_limit=-1, ts_min=156672,
80 ts_max=<optimized out>, flags=0, ts_ret=0x7fffe8a5cb58, read_timestamp=
81 0x5555560b5670 <flac_read_timestamp>) at libavformat/utils.c:2239
82#11 0x00005555561a2ba4 in ff_seek_frame_binary (s=s@entry=0x7fffd42037e0,
83 stream_index=stream_index@entry=0, target_ts=target_ts@entry=2748424, flags=flags@entry=0)
84 at libavformat/utils.c:2159
85#12 0x00005555561a5cb0 in seek_frame_internal (flags=0, timestamp=2748424, stream_index=0,
86 s=0x7fffd42037e0) at libavformat/utils.c:2441
87#13 av_seek_frame (s=0x7fffd42037e0, stream_index=stream_index@entry=-1,
88 timestamp=timestamp@entry=62322532, flags=flags@entry=0) at libavformat/utils.c:2464
89#14 0x00005555556f44ac in demux_seek_lavf (demuxer=0x7fffd420a010, seek_pts=<optimized out>,
90 flags=<optimized out>) at ../demux/demux_lavf.c:1039
91#15 0x00005555556ed287 in execute_seek (in=0x7fffd42104f0) at ../demux/demux.c:845
92#16 0x00005555556ede08 in demux_thread (pctx=0x7fffd42104f0) at ../demux/demux.c:869
93#17 0x00007ffff362908a in start_thread () from /usr/lib/libpthread.so.0
94#18 0x00007ffff2f2624f in clone () from /usr/lib/libc.so.6
95(gdb) frame 14
96#14 0x00005555556f44ac in demux_seek_lavf (demuxer=0x7fffd420a010, seek_pts=<optimized out>,
97 flags=<optimized out>) at ../demux/demux_lavf.c:1039
981039 int r = av_seek_frame(priv->avfc, -1, seek_pts_av, avsflags);
99(gdb) break
100Breakpoint 1 at 0x5555556f44ac: file ../demux/demux_lavf.c, line 1040.
101(gdb) c
102Continuing.
103