Ticket #3284: gdb.txt

File gdb.txt, 9.4 KB (added by armin.buehler@…, 14 years ago)

Debug output

Line 
1[root@hera mythtranscode]# gdb ./mythtranscode -x /tmp/gdb.cmds.txt
2GNU gdb Red Hat Linux (6.5-15.fc6rh)
3Copyright (C) 2006 Free Software Foundation, Inc.
4GDB is free software, covered by the GNU General Public License, and you are
5welcome to change it and/or distribute copies of it under certain conditions.
6Type "show copying" to see the conditions.
7There is absolutely no warranty for GDB.  Type "show warranty" for details.
8This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
9
10[Thread debugging using libthread_db enabled]
11[New Thread -1209116448 (LWP 15692)]
122007-04-06 02:02:26.731 Using runtime prefix = /opt/myth
132007-04-06 02:02:26.789 New DB connection, total: 1
142007-04-06 02:02:26.794 Enabled verbose msgs: important
152007-04-06 02:02:26.796 New DB connection, total: 2
162007-04-06 02:02:26.799 New DB connection, total: 3
172007-04-06 02:02:26.938 Using protocol version 33
18[New Thread -1211217008 (LWP 15698)]
190: start_time: 0.027 duration: 0.011
201: start_time: 0.027 duration: 0.009
212: start_time: 0.027 duration: 0.011
22stream: start_time: 0.301 duration: 0.120 bitrate=2184 kb/s
232007-04-06 02:02:27.025 AFD: Warning, video codec 0x87ac4c0 id(MPEG2VIDEO) type (Video) already open.
242007-04-06 02:02:27.025 AFD: Warning, audio codec 0x87ac910 id(MP2) type (Audio) already open, leaving it alone.
252007-04-06 02:02:27.025 AFD: Warning, audio codec 0x87b1580 id(AC3) type (Audio) already open, leaving it alone.
262007-04-06 02:02:27.026 NVP: Disabling Audio, params(0,0,0)
272007-04-06 02:02:27.177 NVP: Disabling Audio, params(0,0,0)
28[New Thread -1275389040 (LWP 15699)]
29terminate called after throwing an instance of 'std::bad_alloc'
30  what():  St9bad_alloc
31
32Program received signal SIGABRT, Aborted.
33[Switching to Thread -1209116448 (LWP 15692)]
340x0092b402 in __kernel_vsyscall ()
35
36Thread 3 (Thread -1275389040 (LWP 15699)):
37#0  0x0092b402 in __kernel_vsyscall ()
38No symbol table info available.
39#1  0x008191a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
40No symbol table info available.
41#2  0x0117da78 in FIFOWriter::FIFOWriteThread () from /opt/myth/lib/libmythtv-0.20.so.0
42No symbol table info available.
43#3  0x0117da9b in FIFOWriter::FIFOStartThread () from /opt/myth/lib/libmythtv-0.20.so.0
44No symbol table info available.
45#4  0x008153db in start_thread () from /lib/libpthread.so.0
46No symbol table info available.
47#5  0x02dab26e in clone () from /lib/libc.so.6
48No symbol table info available.
49
50Thread 2 (Thread -1211217008 (LWP 15698)):
51#0  0x0092b402 in __kernel_vsyscall ()
52No symbol table info available.
53#1  0x02da40d1 in select () from /lib/libc.so.6
54No symbol table info available.
55#2  0x078c3a3c in MythSocket::readyReadThread () from /opt/myth/lib/libmyth-0.20.so.0
56No symbol table info available.
57#3  0x008153db in start_thread () from /lib/libpthread.so.0
58No symbol table info available.
59#4  0x02dab26e in clone () from /lib/libc.so.6
60No symbol table info available.
61
62Thread 1 (Thread -1209116448 (LWP 15692)):
63#0  0x0092b402 in __kernel_vsyscall ()
64No symbol table info available.
65#1  0x02d06d40 in raise () from /lib/libc.so.6
66No symbol table info available.
67#2  0x02d08591 in abort () from /lib/libc.so.6
68No symbol table info available.
69#3  0x06cb73a0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
70No symbol table info available.
71#4  0x06cb4e85 in std::set_unexpected () from /usr/lib/libstdc++.so.6
72No symbol table info available.
73#5  0x06cb4ec2 in std::terminate () from /usr/lib/libstdc++.so.6
74No symbol table info available.
75#6  0x06cb4ffa in __cxa_throw () from /usr/lib/libstdc++.so.6
76No symbol table info available.
77#7  0x06cb53fe in operator new () from /usr/lib/libstdc++.so.6
78No symbol table info available.
79#8  0x06cb54dd in operator new[] () from /usr/lib/libstdc++.so.6
80No symbol table info available.
81#9  0x0117efed in FIFOWriter::FIFOInit () from /opt/myth/lib/libmythtv-0.20.so.0
82No symbol table info available.
83#10 0x08068f10 in Transcode::TranscodeFile (this=0x875ac20, inputname=0x0, outputname=0x8732848 "/data/video/2010_20070331170700.mpg.tmp", profileName=@0x0, honorCutList=false, framecontrol=false, jobID=-1, fifodir=@0xbfb5a444) at transcode.cpp:630
84        dtmp = {d = {jd = 141856672}, t = {ds = 3216350296}}
85        dtime = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0xbfb59c68, static shared_null = 0x86a20c0}
86        verbose_macro_tmp = <incomplete type>
87        curtime = {d = {jd = 2454197}, t = {ds = 7346801}}
88        statustime = {d = {jd = 2454197}, t = {ds = 7346801}}
89        audioframesize = -1078616548
90        audioFrame = 408
91        total_frame_count = 134711
92        new_frame_count = 134711
93        encodingType = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x87b76c8, static shared_null = 0x86a20c0}
94        copyvideo = false
95        copyaudio = false
96        vidsetting = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x883d2c8, static shared_null = 0x86a20c0}
97        audsetting = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x87b95d8, static shared_null = 0x86a20c0}
98        vidfilters = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x87a3068, static shared_null = 0x86a20c0}
99        video_width = 142295544
100        video_height = 576
101        video_aspect = 1.33333337
102        video_frame_rate = 25
103        newWidth = 720
104        newHeight = 576
105        vidSize = 622080
106        frame = {codec = FMT_YV12, buf = 0x2d438a1 "\201ï¿œS7\r", width = 720, height = 576, bpp = 48328692, size = 622080, frameNumber = -4632625358243064960, timecode = 207589032322168560, priv = {0x10 <Address 0x10 out of bounds>, 0x87497d8 "0", 0x2dfff78 "double free or corruption (fasttop)", 0x2d438a1 "\201ï¿œS7\r"}, qscale_table = 0x8749378 "\030", qstride = 141858776, interlaced_frame = 141878840, top_field_first = -1078617144, repeat_pict = 114180084, forcekey = -1078616980, pitches = {1, -1078617128, 48}, offsets = {141857664, 48234360, -1078617112}}
107        forceKeyFrames = 68
108        dm_iter = {node = 0x6cb3ef1}
109        writekeyframe = 2
110        num_keyframes = 48333136
111        did_ff = -1078616984
112        curFrameNum = 47456779
113        lastKeyFrame = 48328692
114        totalAudio = 48333088
115        dropvideo = 16
116        lasttimecode = 203865895845861852
117        timecodeOffset = 35081340336289
118        rateTimeConv = 3.29137611e-37
119        vidFrameTime = -1.4187479
120        wait_recover = 58585483
121        videoOutput = (struct VideoOutput *) 0x8759d68
122        is_key = 163
123        first_loop = 28
124        newFrame = (unsigned char *) 0x2d441b1 "\201ï¿œC.\r"
125        imageIn = {data = {0x872ddf0 "x\223t\b", 0x28698f8 "ï¿œ\200\206\002ᅵᅵᅵᅵ\220\216ï¿œ", 0x0, 0xbfb59c18 "ï¿œ8ï¿œ\002ï¿œ\217t\bX\234ᅵᅵᅵr%"}, linesize = {39532612, -1078616980, 48328692, 47462561}}
126        imageOut = {data = {0x25acced "\203ï¿œ\004[]ï¿œ\220\215ï¿œ", 0x8749380 "ï¿œ\227t\b", 0x2e16ff4 "\234ᅵᅵ", 0x2e18120 ""}, linesize = {141745648, -1078617048, 47478512, 48333088}}
127        scontext = (ImgReSampleContext *) 0xbfb59e1c
128        flagTime = {ds = 3216350920}
129#11 0x08058b94 in main (argc=Cannot access memory at address 0x0
130) at main.cpp:469
131        dtmp = {d = {jd = 1}, t = {ds = 11403200}}
132        dtime = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x2d441b1, static shared_null = 0x86a20c0}
133        verbose_macro_tmp = <incomplete type>
134        chanid = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x86a20c0, static shared_null = 0x86a20c0}
135        starttime = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x86a20c0, static shared_null = 0x86a20c0}
136        infile = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x872c1c8, static shared_null = 0x86a20c0}
137        outfile = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x8732830, static shared_null = 0x86a20c0}
138        profilename = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x8727eb0, static shared_null = 0x86a20c0}
139        fifodir = {static null = {static null = <same as static member of an already seen type>, d = 0x86a20c0, static shared_null = 0x86a20c0}, d = 0x8727ec8, static shared_null = 0x86a20c0}
140        jobID = -1
141        startts = {d = {jd = 0}, t = {ds = 0}}
142        jobType = 0
143        otype = 0
144        useCutlist = false
145        keyframesonly = false
146        build_index = false
147        fifosync = false
148        showprogress = false
149        mpeg2 = false
150        settingsOverride = {sh = 0x8727ee0}
151        deleteMap = {sh = 0x8727f10}
152        posMap = {sh = 0x8727f40}
153        a = <incomplete type>
154        found_starttime = 0
155        found_chanid = 0
156        found_infile = 1
157        update_index = 1
158        pginfo = (ProgramInfo *) 0x8759408
159        transcode = (class Transcode *) 0x875ac20
160        result = -1078615568
161        exitcode = 56
162(gdb)