Ticket #8590: gdb

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

gdb runs

Line 
1GNU gdb (GDB) 7.1-ubuntu
2Copyright (C) 2010 Free Software Foundation, Inc.
3License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
4This is free software: you are free to change and redistribute it.
5There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
6and "show warranty" for details.
7This GDB was configured as "i486-linux-gnu".
8For bug reporting instructions, please see:
9<http://www.gnu.org/software/gdb/bugs/>...
10Reading symbols from /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag...done.
11(gdb) run --force -f 3842_20100617220000.mpg -v playback >/tmp/play.log
12Starting program: /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag --force -f 3842_20100617220000.mpg -v playback >/tmp/play.log
13[Thread debugging using libthread_db enabled]
14[New Thread 0xb7e68b70 (LWP 21974)]
15[Thread 0xb7e68b70 (LWP 21974) exited]
16
17MythTV Commercial Flagger, started at Sun Jun 20 22:59:12 2010
18Flagging commercial breaks for:
19ChanID  Start Time      Title                                      Breaks
20------  --------------  -----------------------------------------  ------
213842   20100617220000 Royal Pains                               [New Thread 0xb7e68b70 (LWP 21975)]
22[New Thread 0xb7664b70 (LWP 21976)]
23[New Thread 0xb6e63b70 (LWP 21977)]
24Finding Logo[New Thread 0xaa449b70 (LWP 21978)]
25[Thread 0xb7e68b70 (LWP 21975) exited]
26 27%/ 41fps
27Program received signal SIGSEGV, Segmentation fault.
280x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x8189a00, frame=0x0,
29    frame_number=8156142895124) at ClassicCommDetector.cpp:724
30724     void ClassicCommDetector::ProcessFrame(VideoFrame *frame,
31(gdb) where
32#0  0x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x8189a00,
33    frame=0x0, frame_number=8156142895124) at ClassicCommDetector.cpp:724
34#1  0x08072210 in ClassicCommDetector::go (this=0x8189a00)
35    at ClassicCommDetector.cpp:529
36#2  0x080b713b in DoFlagCommercials (program_info=0xbfffeef0,
37    showPercentage=true, fullSpeed=true, inJobQueue=false, cfp=0x8153d00,
38    commDetectMethod=COMM_DETECT_OFF, outputfilename=..., useDB=true)
39    at main.cpp:611
40#3  0x080b7b89 in FlagCommercials (program_info=0xbfffeef0,
41    outputfilename=..., useDB=true) at main.cpp:824
42#4  0x080b9c6d in FlagCommercials (chanid=3842, starttime=...,
43    outputfilename=..., useDB=true) at main.cpp:857
44#5  0x080bd584 in main (argc=6, argv=0xbffff6f4) at main.cpp:1393
45(gdb) up
46#1  0x08072210 in ClassicCommDetector::go (this=0x8189a00)
47    at ClassicCommDetector.cpp:529
48529             ProcessFrame(currentFrame, currentFrameNumber);
49(gdb) print currentFrameNumber
50$1 = 30112
51(gdb) ^Z
52[1]+  Stopped                 gdb mythcommflag
53km@maclinux:~/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag$ mv /tmp/play.log /tmp/play.log.1
54km@maclinux:~/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag$ fg
55gdb mythcommflag
56
57$2 = 30112
58(gdb) run
59The program being debugged has been started already.
60Start it from the beginning? (y or n) y
61
62Starting program: /home/km/svn-myth.qt4.new/trunk/mythtv/programs/mythcommflag/mythcommflag --force -f 3842_20100617220000.mpg -v playback >/tmp/play.log
63[Thread debugging using libthread_db enabled]
64[New Thread 0xb7e68b70 (LWP 22147)]
65[Thread 0xb7e68b70 (LWP 22147) exited]
66
67MythTV Commercial Flagger, started at Sun Jun 20 23:16:44 2010
68Flagging commercial breaks for:
69ChanID  Start Time      Title                                      Breaks
70------  --------------  -----------------------------------------  ------
713842   20100617220000 Royal Pains                               [New Thread 0xb7e68b70 (LWP 22148)]
72[New Thread 0xb7664b70 (LWP 22149)]
73[New Thread 0xb6cffb70 (LWP 22150)]
74Finding Logo[New Thread 0xaa2e5b70 (LWP 22151)]
75[Thread 0xb7e68b70 (LWP 22148) exited]
76 33%/ 41fps
77Program received signal SIGSEGV, Segmentation fault.
780x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x8188b98, frame=0x0,
79    frame_number=8156142895124) at ClassicCommDetector.cpp:724
80724     void ClassicCommDetector::ProcessFrame(VideoFrame *frame,
81(gdb) where
82#0  0x0805ca63 in ClassicCommDetector::ProcessFrame (this=0x8188b98,
83    frame=0x0, frame_number=8156142895124) at ClassicCommDetector.cpp:724
84#1  0x08072210 in ClassicCommDetector::go (this=0x8188b98)
85    at ClassicCommDetector.cpp:529
86#2  0x080b713b in DoFlagCommercials (program_info=0xbfffeef0,
87    showPercentage=true, fullSpeed=true, inJobQueue=false, cfp=0x81529e0,
88    commDetectMethod=COMM_DETECT_OFF, outputfilename=..., useDB=true)
89    at main.cpp:611
90#3  0x080b7b89 in FlagCommercials (program_info=0xbfffeef0,
91    outputfilename=..., useDB=true) at main.cpp:824
92#4  0x080b9c6d in FlagCommercials (chanid=3842, starttime=...,
93    outputfilename=..., useDB=true) at main.cpp:857
94#5  0x080bd584 in main (argc=6, argv=0xbffff6f4) at main.cpp:1393
95(gdb) up
96#1  0x08072210 in ClassicCommDetector::go (this=0x8188b98)
97    at ClassicCommDetector.cpp:529
98529             ProcessFrame(currentFrame, currentFrameNumber);
99(gdb) print currentFrameNumber
100$3 = 36477
101(gdb)