Ticket #1824: gdb.txt

File gdb.txt, 11.9 KB (added by kent, 18 years ago)

Backtrace of mythtranscode segfault

Line 
1GNU gdb 6.4-debian
2Copyright 2005 Free Software Foundation, Inc.
3GDB is free software, covered by the GNU General Public License, and you are
4welcome to change it and/or distribute copies of it under certain conditions.
5Type "show copying" to see the conditions.
6There is absolutely no warranty for GDB.  Type "show warranty" for details.
7This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
8
9[Thread debugging using libthread_db enabled]
10[New Thread -1245529888 (LWP 401)]
11Qt: gdb: -nograb added to command-line options.
12         Use the -dograb option to enforce grabbing.
132006-05-16 17:54:38.328 Using runtime prefix = /usr/local
142006-05-16 17:54:38.412 New DB connection, total: 1
152006-05-16 17:54:38.422 Connected to database 'mythconverg' at host: localhost
162006-05-16 17:54:38.427 Enabling Settings Cache.
172006-05-16 17:54:38.427 Clearing Settings Cache.
182006-05-16 17:54:38.427 Enabled verbose msgs: all
192006-05-16 17:54:38.432 MSqlQuery: SELECT recorded.chanid,starttime,endtime,title, subtitle,description,channel.channum, channel.callsign,channel.name,channel.commfree, channel.outputfilters,seriesid,programid,filesize, lastmodified,stars,previouslyshown,originalairdate, hostname,recordid,transcoder,playgroup, recorded.recpriority,progstart,progend,basename,recgroup FROM recorded LEFT JOIN channel ON recorded.chanid = channel.chanid WHERE recorded.chanid = '1001' AND starttime = '2006-05-07T20:00:00' ;
202006-05-16 17:54:38.436 New DB connection, total: 2
212006-05-16 17:54:38.437 Connected to database 'mythconverg' at host: localhost
222006-05-16 17:54:38.440 MSqlQuery: SELECT commflagged, cutlist, autoexpire, editing, bookmark, stereo, closecaptioned, hdtv FROM recorded LEFT JOIN recordedprogram ON (recorded.chanid = recordedprogram.chanid AND recorded.starttime = recordedprogram.starttime) WHERE recorded.chanid = '1001' AND recorded.starttime = '2006-05-07T20:00:00' ;
232006-05-16 17:54:38.441 Transcoding from /mythstore/recordings/1001_20060507200000.mpg to /mythstore/recordings/1001_20060507200000.mpg.tmp
24[New Thread -1249694800 (LWP 406)]
252006-05-16 17:54:38.463 Opening /mythstore/recordings/1001_20060507200000.mpg
262006-05-16 17:54:38.465 Could not find codec parameters (Video: mpeg2video)
272006-05-16 17:54:38.466 Parser not found for Codec Id: 94211 !
282006-05-16 17:54:38.466 Could not find codec parameters (Video: mpeg2video)
292006-05-16 17:54:38.467 Could not find codec parameters (Video: mpeg2video)
302006-05-16 17:54:38.467 Could not find codec parameters (Video: mpeg2video)
312006-05-16 17:54:38.468 Could not find codec parameters (Video: mpeg2video)
322006-05-16 17:54:38.468 Parser not found for Codec Id: 94212 !
332006-05-16 17:54:38.468 Could not find codec parameters (Video: mpeg2video)
342006-05-16 17:54:38.469 Could not find codec parameters (Video: mpeg2video)
352006-05-16 17:54:38.470 Could not find codec parameters (Video: mpeg2video)
362006-05-16 17:54:38.487 Could not find codec parameters (Audio: mp3)
372006-05-16 17:54:38.487 Could not find codec parameters (Audio: mp3)
382006-05-16 17:54:38.487 Could not find codec parameters (Audio: mp3)
392006-05-16 17:54:38.488 Could not find codec parameters (Audio: mp3)
402006-05-16 17:54:38.488 Could not find codec parameters (Audio: mp3)
412006-05-16 17:54:38.491 Could not find codec parameters (Audio: mp3)
422006-05-16 17:54:38.494 Could not find codec parameters (Audio: mp3)
432006-05-16 17:54:38.497 Could not find codec parameters (Audio: mp3)
442006-05-16 17:54:38.498 Could not find codec parameters (Audio: mp2, 256 kb/s)
452006-05-16 17:54:38.499 Could not find codec parameters (Audio: mp2, 256 kb/s)
462006-05-16 17:54:38.499 Could not find codec parameters (Audio: mp2, 256 kb/s)
472006-05-16 17:54:38.499 Could not find codec parameters (Audio: mp2, 256 kb/s)
482006-05-16 17:54:38.500 Could not find codec parameters (Audio: mp2, 256 kb/s)
492006-05-16 17:54:38.500 Could not find codec parameters (Audio: mp2, 256 kb/s)
502006-05-16 17:54:38.500 Could not find codec parameters (Audio: mp2, 256 kb/s)
512006-05-16 17:54:38.501 Input #0, mpegts, from '/mythstore/recordings/1001_20060507200000.mpg':
522006-05-16 17:54:38.501   Duration: N/A, bitrate: N/A
532006-05-16 17:54:38.502   Stream #0.0[0x207], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 10000 kb/s
542006-05-16 17:54:38.502   Stream #0.1[0x2d0](eng): Audio: mp2, 48000 Hz, stereo, 256 kb/s
552006-05-16 17:54:38.502   Stream #0.2[0x2d1](eng): Audio: ac3, 48000 Hz, stereo, 256 kb/s
562006-05-16 17:54:38.502   Stream #0.3[0x247](eng): Data: 0x0000
572006-05-16 17:54:38.502   Stream #0.4[0x903]: Data: 0x0000
582006-05-16 17:54:38.502 Skipping unsupported codec 2 on stream 3
592006-05-16 17:54:38.503 Skipping unsupported codec 2 on stream 4
602006-05-16 17:54:38.525 Warning: partial frame found!
61
62Program received signal SIGSEGV, Segmentation fault.
63[Switching to Thread -1245529888 (LWP 401)]
640x08067aa4 in MPEG2fixup::ProcessVideo (this=0x80c90b8, vf=0x80f2b78, dec=0x80d4440) at mpeg2fix.cpp:822
65822                         memcpy(&vf->mpeg2_gop, info->gop, sizeof(mpeg2_gop_t));
66
67Thread 2 (Thread -1249694800 (LWP 406)):
68#0  0xb6098b81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
69No symbol table info available.
70#1  0x080673ef in MPEG2replex::Start (this=0x80c90b8) at mpeg2fix.cpp:523
71        ext_ok = {0 <repeats 32 times>}
72        video_ok = 0
73        video_delay = 0
74        start = 1
75        mx = {fd_out = 0, otype = 0, startup = 0, finish = 0, video_delay = 0, audio_delay = 0, pack_size = 0, data_size = 0, audio_buffer_size = 0, video_buffer_size = 0, mux_rate = 0, muxr = 0, navpack = 0 '\0', frame_timestamps = 0, VBR = 0, reset_clocks = 0, write_end_codes = 0, set_broken_link = 0, vsize = 0, extsize = 0, extra_clock = 0, first_vpts = 0, first_extpts = {0 <repeats 32 times>}, SCR = 0, oldSCR = 0, SCRinc = 0, viu = {active = 0 '\0', length = 0, start = 0, pts = 0, dts = 0, seq_header = 0 '\0', seq_end = 0 '\0', gop = 0 '\0', end_seq = 0 '\0', frame = 0 '\0', gop_off = 0 '\0', frame_off = 0 '\0', frame_start = 0 '\0', err = 0 '\0', framesize = 0}, extiu = {{active = 0 '\0', length = 0, start = 0, pts = 0, dts = 0, seq_header = 0 '\0', seq_end = 0 '\0', gop = 0 '\0', end_seq = 0 '\0', frame = 0 '\0', gop_off = 0 '\0', frame_off = 0 '\0', frame_start = 0 '\0', err = 0 '\0', framesize = 0} <repeats 32 times>}, extpts = {0 <repeats 32 times>}, extpts_off = {0 <repeats 32 times>}, extframes = {0 <repeats 32 times>}, exttype = {0 <repeats 32 times>}, exttypcnt = {0 <repeats 32 times>}, extcnt = 0, vdbuf = {size = 0, fill = 0, time_index = {read_pos = 0, write_pos = 0, size = 0, buffer = 0x0}, data_index = {read_pos = 0, write_pos = 0, size = 0, buffer = 0x0}}, extdbuf = {{size = 0, fill = 0, time_index = {read_pos = 0, write_pos = 0, size = 0, buffer = 0x0}, data_index = {read_pos = 0, write_pos = 0, size = 0, buffer = 0x0}} <repeats 32 times>}, extrbuffer = 0x0, index_extrbuffer = 0x0, vrbuffer = 0x0, index_vrbuffer = 0x0, fill_buffers = 0, priv = 0x80c90b8}
76        audio_delay = 0
77        fd_out = 13
78#2  0x08067581 in MPEG2fixup::ReplexStart (data=0x80c90b8) at mpeg2fix.cpp:491
79        m2f = (MPEG2fixup *) 0x80c90b8
80#3  0xb6096ced in start_thread () from /lib/tls/libpthread.so.0
81No symbol table info available.
82#4  0xb5f1cdde in clone () from /lib/tls/libc.so.6
83No symbol table info available.
84
85Thread 1 (Thread -1245529888 (LWP 401)):
86#0  0x08067aa4 in MPEG2fixup::ProcessVideo (this=0x80c90b8, vf=0x80f2b78, dec=0x80d4440) at mpeg2fix.cpp:822
87        state = 4
88        last_pos = 0
89        info = (mpeg2_info_t *) 0x80d8640
90#1  0x0806e868 in MPEG2fixup::GetFrame (this=0x80c90b8, pkt=0xbfc370bc) at mpeg2fix.cpp:1177
91        done = true
92        tmpFrame = (MPEG2frame *) 0x80f2b78
93        ret = 0
94#2  0x08070399 in MPEG2fixup::FindStart (this=0x80c90b8) at mpeg2fix.cpp:1206
95        pkt = {pts = 2807880302, dts = 2807880302, data = 0x0, size = 0, stream_index = 0, flags = 0, duration = 2, destruct = 0, priv = 0x0, pos = 564}
96        state = 0
97        found = {sh = 0x81aba10}
98#3  0x0807139f in MPEG2fixup::Start (this=0x80c90b8) at mpeg2fix.cpp:1703
99        lastPTS = 0
100        frame_count = 0
101        new_discard_state = 0
102        af_dlta_cnt = {sh = 0x80ca9e8}
103        pkt = {pts = 8589934612, dts = -5293552983013624232, data = 0x80c9040 "ž\217\f\b\031", size = -1230899012, stream_index = -1077709160, flags = -1232539439, duration = 135041088, destruct = 0x80c9030, priv = 0x3, pos = 3}
104        expectedvPTS = 135042536
105        cutEndPTS = 0
106        poq = {offset = {sh = 0xb5e4e34c}, orig = {sh = 0xb5e56a1c}, keyList = {sh = 0xb5e5bb6e}, vid_id = 668}
107        expectedPTS = {71936734536, 101837179016, 579897860146630536, 4294967298, 8724975542, -5286671001083693556, -5293661838959740568, 7512225116, 1728893952, -5191775851835088364, 11666219965, 8589934594, 8589934594, 11642020372, 11642865848, 8589934594, 68719476738, 11642865800, 11642865848, 8589934594, 103079215106, 11642865804, 8589934594, 579996575539920898, 8589934594, 8589934594, 8589934594, 579996850417827842, -5334531402346004478, 28822734976, -5338104914998233576, 28822734976}
108        expectedDTS = 0
109        initPTS = 0
110        origvPTS = 0
111        cutStartPTS = 0
112        deltaPTS = 0
113        origaPTS = {-5294086399694209022, -5334504172253347838, 13019989824, -5289714566611394028, 3052931256, 580198301563879425, 68719476736, -5334504169200416632, -5293716333669119816, 281561010864320, 103079215104, -5286670998165780340, 578040818154304632, 580074469201889096, 11807192264, -4628727637986806596, -5293749383278136168, -5334504172118259896, -5334531402210945552, 37412669568, -5338104914998233912, 37412669568, -5334531399128746808, 88951429009, -5226895734824799016, -5286670998001452660, -5293674358789409480, 580074512151515058, -5330488480910802945, 4430008246, 3217258892, -5286670998001451152}
114        cutState = {sh = 0x80ca9f8}
115        lastRealvPkt = {pts = -5334504409718591500, dts = -4628726009116491756, data = 0xb5eb3ddc "\205À\211Ât:e\203=\f", size = -1242036096, stream_index = 20, flags = 2, duration = -1240957768, destruct = 0x14, priv = 0x80c9036, pos = -5330488481988512168}
116#4  0x08058c94 in main (argc=7, argv=0xbfc380b4) at main.cpp:484
117        err = 134758864
118        m2f = (MPEG2fixup *) 0x80c90b8
119        chanid = {static null = {static null = <same as static member of an already seen type>, d = 0x80900c0, static shared_null = 0x80900c0}, d = 0x80c3a58, static shared_null = 0x80900c0}
120        starttime = {static null = {static null = <same as static member of an already seen type>, d = 0x80900c0, static shared_null = 0x80900c0}, d = 0x80900c0, static shared_null = 0x80900c0}
121        infile = {static null = {static null = <same as static member of an already seen type>, d = 0x80900c0, static shared_null = 0x80900c0}, d = 0x80af990, static shared_null = 0x80900c0}
122        outfile = {static null = {static null = <same as static member of an already seen type>, d = 0x80900c0, static shared_null = 0x80900c0}, d = 0x80b50b0, static shared_null = 0x80900c0}
123        profilename = {static null = {static null = <same as static member of an already seen type>, d = 0x80900c0, static shared_null = 0x80900c0}, d = 0x80abea8, static shared_null = 0x80900c0}
124        fifodir = {static null = {static null = <same as static member of an already seen type>, d = 0x80900c0, static shared_null = 0x80900c0}, d = 0x80abec0, static shared_null = 0x80900c0}
125        jobID = -1
126        startts = {d = {jd = 0}, t = {ds = 0}}
127        jobType = 0
128        otype = 0
129        useCutlist = true
130        keyframesonly = false
131        build_index = false
132        fifosync = false
133        showprogress = false
134        mpeg2 = true
135        settingsOverride = {sh = 0x80abed8}
136        deleteMap = {sh = 0x80abf08}
137        posMap = {sh = 0x80abf38}
138        a = <incomplete type>
139        found_starttime = 0
140        found_chanid = 0
141        found_infile = 1
142        update_index = 1
143        pginfo = (ProgramInfo *) 0x80c5b18
144        transcode = (class Transcode *) 0x80c6598
145        result = 0
146        exitcode = 0
147(gdb)