[vlc-devel] Interesting VLC crash ...

j.zorko at att.net j.zorko at att.net
Fri Sep 12 19:30:53 CEST 2003


Hello, all ...

I've been chasing a VLC 0.6.0 crash that we often see -- turns out ours has nothing to do with 
--fullscreen (we ran it windowed this time), but the output before it crashed was very 
interesting:

[00000158] main private debug: stream periodicity changed from P[4] to P[3]
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (11181)
[00000154] main video output warning: late picture skipped (10839)
[00000154] main video output warning: late picture skipped (10055)
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (11073)
[00000154] main video output warning: late picture skipped (9766)
[00000154] main video output warning: late picture skipped (3872)
[00000154] main video output warning: late picture skipped (11282)   
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (8037)
[00000158] main private debug: stream periodicity changed from B[2] to B[1]
[00000158] main private debug: stream periodicity changed from B[1] to B[2]
[00000158] main private debug: stream periodicity changed from P[3] to P[2]   
[00000158] main private debug: stream periodicity changed from P[2] to P[3]  
[00000158] main private debug: decoded 109/109 pictures
[00000154] main video output warning: late picture skipped (32893)
[00000150] mpeg_system input warning: packet lost by TS demux for PID 69: current 13, 
packet 7
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 13, 
packet 9
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
[00000154] main video output warning: late picture skipped (1063341847418056)
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 12, 
packet 5
[00000150] mpeg_system input warning: packet lost by TS demux for PID 69: current 3, packet 
14
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
[00000158] main private debug: stream periodicity changed from B[2] to B[1]   
[00000158] main private warning: backward_pts != current_pts (-34421)
[00000154] main video output warning: late picture skipped (1063341848928093)
[00000158] main private debug: stream periodicity changed from B[1] to B[2]
[00000154] main video output warning: late picture skipped (4109)
[00000158] main private debug: decoded 82/107 pictures
[00000154] main video output warning: late picture skipped (23208)   
[00000154] main video output warning: late picture skipped (58268)   
[00000154] main video output warning: late picture skipped (24939)   
[00000158] main private debug: decoded 108/108 pictures
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 7, packet 
4
[00000150] mpeg_system input warning: packet lost by TS demux for PID 69: current 1, packet 
12
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
[00000154] main video output warning: late picture skipped (6914)
[00000158] main private debug: stream periodicity changed from B[2] to B[1]
[00000158] main private warning: backward_pts != current_pts (-33976)
[00000154] main video output warning: late picture skipped (1063341855928259)
[00000158] main private debug: stream periodicity changed from B[1] to B[2]
[00000150] mpeg_system input warning: packet lost by TS demux for PID 69: current 7, packet 
15
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 9, packet 
13
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
[00000154] main video output warning: late picture skipped (1063341857428514)
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 15, 
packet 7
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 0, packet 
13
[00000150] mpeg_system input warning: packet lost by TS demux for PID 69: current 13, 
packet 5
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
[00000154] main video output warning: late picture skipped (1063341858428421)
[00000158] main private debug: decoded 69/107 pictures
[00000154] main video output warning: late picture skipped (37410)
[00000150] mpeg_system input warning: packet lost by TS demux for PID 69: current 13, 
packet 5
[00000150] mpeg_system input warning: packet lost by TS demux for PID 68: current 14, 
packet 3
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
.
.
.
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (11536)
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (20190)
[00000154] main video output warning: late picture skipped (14387)
[00000154] main video output warning: late picture skipped (20217)
[00000154] main video output warning: late picture skipped (16302)
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (14878)
[00000154] main video output warning: late picture skipped (10924)
[00000154] main video output warning: late picture skipped (7705) 
[00000154] main video output warning: late picture skipped (12181)
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (8696)
[00000154] main video output warning: late picture skipped (5515) 
[00000154] main video output warning: late picture skipped (2551)
[00000158] main private debug: decoded 108/108 pictures
[00000154] main video output warning: late picture skipped (10003)
[00000154] main video output warning: late picture skipped (5723)
[00000154] main video output warning: late picture skipped (7292) 
[00000150] mpeg_system input warning: packet lost by TS demux for PID 0: current 13, packet 
0
[00000150] mpeg_system input warning: packet lost by TS demux for PID 66: current 13, 
packet 0
[00000150] main input debug: unselecting ES 0x45
[00000035] main module debug: unlocking module "a52tofloat32"
[00000034] main module debug: unlocking module "bandlimited_resampler"
[Thread 1142106688 (LWP 3536) exited]
[00000153] main audio output debug: thread 1142106688 joined (modules/audio_output/
oss.c:544)
[00000062] main module debug: unlocking module "oss"   
[00000041] main module debug: unlocking module "float32tos16"     
[00000058] main module debug: unlocking module "trivial_mixer"    
[Thread 1133718208 (LWP 3535) exited]
[00000152] main decoder debug: thread 1133718208 joined (src/input/input_dec.c:152)
[00000152] main decoder debug: killing decoder for 0x45, fourcc `a52 ', 0 PES in FIFO
[00000064] main module debug: unlocking module "a52"
[00000150] main input debug: unselecting ES 0x44
[Thread 1125329728 (LWP 3534) exited]
[00000151] main decoder debug: thread 1125329728 joined (src/input/input_dec.c:152)
[00000151] main decoder debug: killing decoder for 0x44, fourcc `mpgv', 9 PES in FIFO
[00000067] main module debug: unlocking module "libmpeg2"
[00000150] main input debug: no more selected ES
[00000150] main input debug: ES 42 has unknown type
[00000150] main input debug: selecting ES 44
[00000150] main input debug: selecting ES 0x44
[00000159] main decoder debug: looking for decoder module
[00000159] main decoder debug: probing 13 candidates
[00000067] main module debug: using decoder module "libmpeg2"
[00000159] main decoder debug: thread 1125329728 (decoder) created at priority 0 (src/input/
input_dec.c:113)
[00000150] main input warning: clock gap, unexpected stream discontinuity
[00000159] libmpeg2 decoder debug: 720x480, aspect 768000, 29.971 fps
[00000150] mpeg_system input warning: Oversized PES packet for PID 68: expected
46996, actual 47096
[00000150] mpeg_system input warning: packet corrupted, PES sizes do not match
[00000154] main video output warning: late picture skipped (1063342098600828)
[00000150] main input debug: unselecting ES 0x44
Couldn't get registers: No such process.
(gdb)

I was running this under gdb under Red Hat Linux 9 in hopes of getting a stack trace, but alas 
-- it's never that easy, is it? :-)  Anyway, I think the interesting thing here is that VLC, after n 
errors with the PES and TS packets, looks like it decided to shut down the entire graph 
(libmpeg2 decoder, other modules), then try to restart it.  Then, the first PES packet error that it 
encountered after restarting the graph, made it bomb (trashing the stack it looks like in the 
process).

So i'm going to look for VLC code that shuts down the graph and restarts it, but I wanted to post 
it here as well (in case anyone much more familiar with these aspects of VLC has an idea what 
the problem is).

Regards,

John

--
Falling You - exploring the beauty 
of voice and sound
http://www.mp3.com/fallingyou

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list