Ticket #8547: gdb

File gdb, 10.8 KB (added by km@…, 14 years ago)

gdb output showing segfaults at different frames

Line 
1GNU gdb (GDB) 7.1-ubuntu
2Reading symbols from /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag...done.
3(gdb) run --force -f 3874_20100604230000.mpg
4
5Starting program: /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag --force -f 3874_20100604230000.mpg
6[Thread debugging using libthread_db enabled]
72010-06-09 11:42:25.946 Using runtime prefix = /usr/local
82010-06-09 11:42:25.946 Using configuration directory = /home/km/.mythtv
92010-06-09 11:42:25.953 Empty LocalHostName.
10[New Thread 0xb7e68b70 (LWP 23987)]
11[Thread 0xb7e68b70 (LWP 23987) exited]
122010-06-09 11:42:26.119 New DB connection, total: 1
132010-06-09 11:42:26.137 Closing DB connection named 'DBManager0'
142010-06-09 11:42:26.140 mythcommflag version: 0.23.201000606-1 www.mythtv.org
152010-06-09 11:42:26.140 Enabled verbose msgs: important
16
17MythTV Commercial Flagger, started at Wed Jun  9 11:42:26 2010
18Flagging commercial breaks for:
19ChanID  Start Time      Title                                      Breaks
20------  --------------  -----------------------------------------  ------
213874   20100604230000 Stargate Universe                         [New Thread 0xb7e68b70 (LWP 23988)]
222010-06-09 11:42:26.702 Using protocol version 57
23[New Thread 0xb7664b70 (LWP 23989)]
24[New Thread 0xb6e63b70 (LWP 23990)]
25Finding Logo[New Thread 0xaa449b70 (LWP 23991)]
262010-06-09 11:42:27.818 audio stream changed
272010-06-09 11:42:30.769 AFD Error: Unknown audio decoding error
282010-06-09 11:42:34.578 AFD Error: Unknown audio decoding error
292010-06-09 11:42:42.110 AFD Error: Unknown audio decoding error
302010-06-09 11:42:49.261 AFD Error: Unknown audio decoding error
312010-06-09 11:42:53.125 AFD Error: Unknown audio decoding error
322010-06-09 11:42:56.596 AFD Error: Unknown audio decoding error
332010-06-09 11:42:56.680 AFD Error: Unknown audio decoding error
34[Thread 0xb7e68b70 (LWP 23988) exited]
352010-06-09 11:43:05.253 AFD Error: Unknown audio decoding error
362010-06-09 11:43:08.561 AFD Error: Unknown audio decoding error
372010-06-09 11:43:11.134 AFD Error: Unknown audio decoding error
382010-06-09 11:43:11.421 AFD Error: Unknown audio decoding error
392010-06-09 11:43:22.416 AFD Error: Unknown audio decoding error
402010-06-09 11:43:22.530 AFD Error: Unknown audio decoding error
412010-06-09 11:43:23.371 AFD Error: Unknown audio decoding error
422010-06-09 11:43:23.668 AFD Error: Unknown audio decoding error
43 20%/ 54fps
44Program received signal SIGSEGV, Segmentation fault.
450x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x818bcd0, frame=0x0,
46    frame_number=8156142895124) at ClassicCommDetector.cpp:724
47724     void ClassicCommDetector::ProcessFrame(VideoFrame *frame,
48(gdb) where
49#0  0x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x818bcd0,
50    frame=0x0, frame_number=8156142895124) at ClassicCommDetector.cpp:724
51#1  0x08072210 in ClassicCommDetector::go (this=0x818bcd0)
52    at ClassicCommDetector.cpp:529
53#2  0x080b713b in DoFlagCommercials (program_info=0xbfffef20,
54    showPercentage=true, fullSpeed=true, inJobQueue=false, cfp=0x8144880,
55    commDetectMethod=COMM_DETECT_OFF, outputfilename=..., useDB=true)
56    at main.cpp:611
57#3  0x080b7b89 in FlagCommercials (program_info=0xbfffef20,
58    outputfilename=..., useDB=true) at main.cpp:824
59#4  0x080b9c6d in FlagCommercials (chanid=3874, starttime=...,
60    outputfilename=..., useDB=true) at main.cpp:857
61#5  0x080bd584 in main (argc=4, argv=0xbffff724) at main.cpp:1393
62(gdb) up
63#1  0x08072210 in ClassicCommDetector::go (this=0x818bcd0)
64    at ClassicCommDetector.cpp:529
65529             ProcessFrame(currentFrame, currentFrameNumber);
66(gdb) print currentFrame
67$1 = (VideoFrame *) 0x8216c28
68(gdb) print currentFrameNumber
69$2 = 22001
70(gdb) run
71The program being debugged has been started already.
72Start it from the beginning? (y or n) y
73
74Starting program: /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag --force -f 3874_20100604230000.mpg
75[Thread debugging using libthread_db enabled]
762010-06-09 11:53:30.710 Using runtime prefix = /usr/local
772010-06-09 11:53:30.710 Using configuration directory = /home/km/.mythtv
782010-06-09 11:53:30.718 Empty LocalHostName.
79[New Thread 0xb7e68b70 (LWP 23998)]
80[Thread 0xb7e68b70 (LWP 23998) exited]
812010-06-09 11:53:30.842 New DB connection, total: 1
822010-06-09 11:53:30.860 Closing DB connection named 'DBManager0'
832010-06-09 11:53:30.863 mythcommflag version: 0.23.201000606-1 www.mythtv.org
842010-06-09 11:53:30.864 Enabled verbose msgs: important
85
86MythTV Commercial Flagger, started at Wed Jun  9 11:53:30 2010
87Flagging commercial breaks for:
88ChanID  Start Time      Title                                      Breaks
89------  --------------  -----------------------------------------  ------
903874   20100604230000 Stargate Universe                         [New Thread 0xb7e68b70 (LWP 23999)]
912010-06-09 11:53:31.272 Using protocol version 57
92[New Thread 0xb7664b70 (LWP 24000)]
93[New Thread 0xb6e63b70 (LWP 24001)]
94Finding Logo[New Thread 0xaa449b70 (LWP 24002)]
952010-06-09 11:53:32.039 audio stream changed
962010-06-09 11:53:34.964 AFD Error: Unknown audio decoding error
972010-06-09 11:53:38.608 AFD Error: Unknown audio decoding error
982010-06-09 11:53:45.904 AFD Error: Unknown audio decoding error
992010-06-09 11:53:53.212 AFD Error: Unknown audio decoding error
1002010-06-09 11:53:57.166 AFD Error: Unknown audio decoding error
1012010-06-09 11:54:00.955 AFD Error: Unknown audio decoding error
102[Thread 0xb7e68b70 (LWP 23999) exited]
1032010-06-09 11:54:09.437 AFD Error: Unknown audio decoding error
1042010-06-09 11:54:12.766 AFD Error: Unknown audio decoding error
1052010-06-09 11:54:15.333 AFD Error: Unknown audio decoding error
1062010-06-09 11:54:15.639 AFD Error: Unknown audio decoding error
1072010-06-09 11:54:26.832 AFD Error: Unknown audio decoding error
1082010-06-09 11:54:26.985 AFD Error: Unknown audio decoding error
1092010-06-09 11:54:27.824 AFD Error: Unknown audio decoding error
1102010-06-09 11:54:28.136 AFD Error: Unknown audio decoding error
111 35%/ 53fps2010-06-09 12:06:17.175 AFD Error: Unknown audio decoding error
112 35%/ 53fps2010-06-09 12:06:18.794 AFD Error: Unknown audio decoding error
1132010-06-09 12:06:18.883 AFD Error: Unknown audio decoding error
114 48%/ 51fps
115Program received signal SIGSEGV, Segmentation fault.
1160x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x818a9c0, frame=0x0,
117    frame_number=8156142895124) at ClassicCommDetector.cpp:724
118724     void ClassicCommDetector::ProcessFrame(VideoFrame *frame,
119(gdb) where
120#0  0x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x818a9c0,
121    frame=0x0, frame_number=8156142895124) at ClassicCommDetector.cpp:724
122#1  0x08072210 in ClassicCommDetector::go (this=0x818a9c0)
123    at ClassicCommDetector.cpp:529
124#2  0x080b713b in DoFlagCommercials (program_info=0xbfffef20,
125    showPercentage=true, fullSpeed=true, inJobQueue=false, cfp=0x8144880,
126    commDetectMethod=COMM_DETECT_OFF, outputfilename=..., useDB=true)
127    at main.cpp:611
128#3  0x080b7b89 in FlagCommercials (program_info=0xbfffef20,
129    outputfilename=..., useDB=true) at main.cpp:824
130#4  0x080b9c6d in FlagCommercials (chanid=3874, starttime=...,
131    outputfilename=..., useDB=true) at main.cpp:857
132#5  0x080bd584 in main (argc=4, argv=0xbffff724) at main.cpp:1393
133(gdb) up
134#1  0x08072210 in ClassicCommDetector::go (this=0x818a9c0)
135    at ClassicCommDetector.cpp:529
136529             ProcessFrame(currentFrame, currentFrameNumber);
137(gdb) print currentFrame
138$3 = (VideoFrame *) 0x821f16c
139(gdb) print currentFrameNumber
140$4 = 52367
141(gdb) run
142The program being debugged has been started already.
143Start it from the beginning? (y or n) y
144
145Starting program: /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag --force -f 3874_20100604230000.mpg
146[Thread debugging using libthread_db enabled]
1472010-06-09 12:12:16.447 Using runtime prefix = /usr/local
1482010-06-09 12:12:16.447 Using configuration directory = /home/km/.mythtv
1492010-06-09 12:12:16.460 Empty LocalHostName.
150[New Thread 0xb7e68b70 (LWP 24022)]
151[Thread 0xb7e68b70 (LWP 24022) exited]
1522010-06-09 12:12:16.650 New DB connection, total: 1
1532010-06-09 12:12:16.668 Closing DB connection named 'DBManager0'
1542010-06-09 12:12:16.681 mythcommflag version: 0.23.201000606-1 www.mythtv.org
1552010-06-09 12:12:16.681 Enabled verbose msgs: important
156
157MythTV Commercial Flagger, started at Wed Jun  9 12:12:16 2010
158Flagging commercial breaks for:
159ChanID  Start Time      Title                                      Breaks
160------  --------------  -----------------------------------------  ------
1613874   20100604230000 Stargate Universe                         [New Thread 0xb7e68b70 (LWP 24023)]
1622010-06-09 12:12:17.080 Using protocol version 57
163[New Thread 0xb7664b70 (LWP 24024)]
164[New Thread 0xb6e63b70 (LWP 24025)]
165Finding Logo[New Thread 0xaa449b70 (LWP 24026)]
1662010-06-09 12:12:18.172 audio stream changed
1672010-06-09 12:12:20.971 AFD Error: Unknown audio decoding error
1682010-06-09 12:12:24.864 AFD Error: Unknown audio decoding error
1692010-06-09 12:12:32.191 AFD Error: Unknown audio decoding error
1702010-06-09 12:12:39.396 AFD Error: Unknown audio decoding error
1712010-06-09 12:12:43.301 AFD Error: Unknown audio decoding error
1722010-06-09 12:12:47.037 AFD Error: Unknown audio decoding error
173[Thread 0xb7e68b70 (LWP 24023) exited]
1742010-06-09 12:12:55.458 AFD Error: Unknown audio decoding error
1752010-06-09 12:12:58.864 AFD Error: Unknown audio decoding error
1762010-06-09 12:13:01.530 AFD Error: Unknown audio decoding error
1772010-06-09 12:13:01.817 AFD Error: Unknown audio decoding error
1782010-06-09 12:13:12.987 AFD Error: Unknown audio decoding error
1792010-06-09 12:13:13.111 AFD Error: Unknown audio decoding error
1802010-06-09 12:13:13.966 AFD Error: Unknown audio decoding error
1812010-06-09 12:13:14.307 AFD Error: Unknown audio decoding error
182 22%/ 53fps
183Program received signal SIGSEGV, Segmentation fault.
1840x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x818bcd0, frame=0x0,
185    frame_number=8156142895124) at ClassicCommDetector.cpp:724
186724     void ClassicCommDetector::ProcessFrame(VideoFrame *frame,
187(gdb) where
188#0  0x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x818bcd0,
189    frame=0x0, frame_number=8156142895124) at ClassicCommDetector.cpp:724
190#1  0x08072210 in ClassicCommDetector::go (this=0x818bcd0)
191    at ClassicCommDetector.cpp:529
192#2  0x080b713b in DoFlagCommercials (program_info=0xbfffef20,
193    showPercentage=true, fullSpeed=true, inJobQueue=false, cfp=0x8144880,
194    commDetectMethod=COMM_DETECT_OFF, outputfilename=..., useDB=true)
195    at main.cpp:611
196#3  0x080b7b89 in FlagCommercials (program_info=0xbfffef20,
197    outputfilename=..., useDB=true) at main.cpp:824
198#4  0x080b9c6d in FlagCommercials (chanid=3874, starttime=...,
199    outputfilename=..., useDB=true) at main.cpp:857
200#5  0x080bd584 in main (argc=4, argv=0xbffff724) at main.cpp:1393
201(gdb) up
202#1  0x08072210 in ClassicCommDetector::go (this=0x818bcd0)
203    at ClassicCommDetector.cpp:529
204529             ProcessFrame(currentFrame, currentFrameNumber);
205(gdb) print currentFrame
206$5 = (VideoFrame *) 0x8218030
207(gdb) print currentFrameNumber
208$6 = 24572
209(gdb)