RTSP stream resolution changes cause VLClib to crash app.
Posted: 18 May 2017 23:03
I am using VLCLib in my application to display an RTSP stream.
If my app is displaying the stream and then the stream source changes its resolution my app crashes.
I have this issue with 2.2.4, 2.2.5.1, 2.2.6 latest nightly build.
If I use the latest nightly build of 3.0.0 then it does not crash on a stream resolution change but I have other problems so I am trying to see if there is some straight forward solution to the 2.2.X version before trying to track down all of the 3.0.0 issues.
I used the debug version of 2.2.6 and had it save logs and also tried running it in WinDbg and GDB.
After it crashed with GDB I did the bt for backtrace and it is shown in the GDB info below but it did not show much.
If I ran VLC.exe for 2.2.6 I could not get it to crash. So I have no idea why my app has problems using LibVLC but VLC does not.
Log - some similar lines remove to reduce character count.
****************************
-- logger module started --
core debug: VLC media player - 2.2.6 Umbrella
core debug: Copyright © 1996-2017 the VideoLAN team
core debug: revision 2.2.5.1-1-g1a9361c1ff
core debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--enable-debug' 'host_alias=i686-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-nightly/vlc-stable-nightly-win32-x86/vlc/contrib/i686-w64-mingw32/lib/pkgconfig'
core debug: using interface module "logger"
core debug: adding item `vlc-2.2.6' ( file:///C:/ajunk/vlctest/Win32/Debug/vlc-2.2.6 )
core debug: Creating an input for 'vlc-2.2.6'
core debug: meta ok for (null), need to fetch art
core debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\tom\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\fetcher\tvrage.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\fetcher\tvrage.luac
core debug: no meta fetcher modules matched
core debug: searching art for vlc-2.2.6
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\tom\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for vlc-2.2.6
core debug: creating audio output
core debug: looking for audio output module matching "any": 6 candidates
directsound debug: found 3 devices
core debug: using audio output module "directsound"
core debug: keeping audio output
core debug: Creating an input for 'rtsp://192.168.7.23:8554/0'
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\tom\AppData\Local\Temp'
core debug: `rtsp://@192.168.7.23:8554/0' gives access `rtsp' demux `' path `@192.168.7.23:8554/0'
core debug: specified demux `any'
core debug: creating demux: access='rtsp' demux='any' location='@192.168.7.23:8554/0' file='\\@192.168.7.23:8554\0'
core debug: looking for access_demux module matching "rtsp": 12 candidates
live555 debug: version 2016.02.22
live555 debug: RTP subsession 'video/H264'
core debug: selecting program id=0
live555 debug: RTP subsession 'audio/MPEG4-GENERIC'
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
core debug: using access_demux module "live555"
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x010013db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec warning: threaded frame decoding is not compatible with DXVA2, disabled
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using slice thread mode with 4 threads
core debug: using decoder module "avcodec"
core debug: looking for packetizer module matching "any": 23 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
core debug: using packetizer module "packetizer_h264"
core debug: looking for decoder module matching "any": 43 candidates
core debug: using decoder module "faad"
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\tom\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\reader
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\reader\filename.luac
core debug: no meta reader modules matched
core debug: `rtsp://@192.168.7.23:8554/0' successfully opened
core debug: Buffering 0%
core debug: Buffering 6%
core debug: Buffering 6%
core debug: Buffering 10%
core debug: Buffering 14%
core debug: Buffering 19%
faad warning: decoded zero sample
core debug: Buffering 23%
core debug: Buffering 27%
core debug: Buffering 34%
core debug: Buffering 38%
core debug: Buffering 42%
faad debug: AAC SBR (channels: 2, samplerate: 44100)
core debug: Buffering 42%
core debug: reusing audio output
core debug: Buffering 46%
directsound debug: Opening DirectSound Audio Output
core debug: Buffering 51%
core debug: Buffering 57%
core debug: Buffering 61%
core debug: Buffering 66%
core debug: Buffering 70%
core debug: Buffering 74%
core debug: Buffering 78%
core debug: Buffering 78%
core debug: Buffering 85%
core debug: Buffering 89%
core debug: Buffering 93%
core debug: Buffering 98%
core debug: Stream buffering done (1024 ms in 141 ms)
directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels
core debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
core debug: looking for audio volume module matching "any": 2 candidates
core debug: using audio volume module "float_mixer"
core debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
core debug: looking for audio filter module matching "scaletempo": 14 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
core debug: using audio filter module "scaletempo"
core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core debug: conversion pipeline complete
core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core debug: conversion pipeline complete
core debug: looking for audio resampler module matching "any": 3 candidates
core debug: using audio resampler module "samplerate"
core debug: End of audio preroll
core debug: Decoder wait done in 267 ms
live555 debug: lost 42181 bytes
live555 debug: increasing buffer size to 200000
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available hardware decoder output format 128 (d3d11va_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
core warning: playback too late (75730): up-sampling
core debug: looking for hw decoder module matching "any": 1 candidates
core debug: no hw decoder modules matched
core debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\Windows\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
core debug: looking for video filter2 module matching "any": 58 candidates
core warning: buffer too late (-519128 us): dropped
core warning: buffer too late (-595453 us): dropped
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
core debug: using video filter2 module "swscale"
core debug: looking for video filter2 module matching "any": 58 candidates
core warning: buffer too late (-553417 us): dropped
core warning: buffer too late (-635625 us): dropped
core warning: buffer too late (-713703 us): dropped
core warning: buffer too late (-847683 us): dropped
core warning: buffer too late (-936917 us): dropped
core warning: buffer too late (-918517 us): dropped
core warning: buffer too late (-1027498 us): dropped
yuvp debug: YUVP to YUVA converter
core debug: using video filter2 module "yuvp"
core warning: buffer too late (-999440 us): dropped
core debug: Deinterlacing available
core warning: buffer too late (-968148 us): dropped
core debug: deinterlace 0, mode blend, is_needed 0
core debug: Opening vout display wrapper
core debug: looking for vout display module matching "any": 11 candidates
core warning: buffer too late (-949291 us): dropped
core warning: buffer too late (-1089599 us): dropped
core warning: buffer too late (-807082 us): dropped
core warning: buffer too late (-855926 us): dropped
core warning: buffer too late (-819069 us): dropped
core warning: buffer too late (-782167 us): dropped
core warning: buffer too late (-723607 us): dropped
direct3d debug: creating Vout EventThread
core warning: buffer too late (-773773 us): dropped
direct3d debug: Win32VoutCreateWindow
core debug: looking for vout window hwnd module matching "embed-hwnd,any": 3 candidates
core warning: buffer too late (-742279 us): dropped
core debug: using vout window hwnd module "drawable"
core warning: buffer too late (-817438 us): dropped
core warning: buffer too late (-861921 us): dropped
core warning: buffer too late (-825110 us): dropped
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: ATI Radeon HD 4300/4500 Series 4098 38223 0
core warning: buffer too late (-778691 us): dropped
core warning: buffer too late (-742580 us): dropped
core warning: buffer too late (-722723 us): dropped
core warning: buffer too late (-686252 us): dropped
core warning: buffer too late (-197304 us): dropped
core warning: buffer too late (-143178 us): dropped
core warning: buffer too late (-105256 us): dropped
core warning: buffer too late (-67964 us): dropped
core debug: playback too late (32153): flushing buffers
core debug: VoutDisplayEvent 'resize' 1298x765 window
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
core warning: playback too late (71774): up-sampling
core warning: playback way too late (228107): flushing buffers
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
core debug: using vout display module "direct3d"
core debug: original format sz 1280x738, of (0,0), vsz 1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: removing module "freetype"
core debug: VoutDisplayEvent 'resize' 931x541 window
core debug: looking for text renderer module matching "any": 2 candidates
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\Windows\Fonts\cour.ttf
core warning: playback way too early (-193169): playing silence
core debug: inserting 8518 zeroes
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
core warning: playback way too late (370612): flushing buffers
core error: Failed to set on top
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
core warning: playback way too late (183338): flushing buffers
core warning: buffer too late (-384209 us): dropped
core warning: buffer too late (-1068140 us): dropped
core warning: buffer too late (-1010331 us): dropped
core warning: buffer too late (-740816 us): dropped
core warning: buffer too late (-709637 us): dropped
core warning: buffer too late (-671803 us): dropped
avcodec warning: cannot decode one frame (228710 bytes)
core warning: buffer too late (-637309 us): dropped
core warning: buffer too late (-599112 us): dropped
core warning: buffer too late (-548507 us): dropped
core warning: buffer too late (-107652 us): dropped
core warning: buffer too late (-68818 us): dropped
core debug: playback too late (34301): flushing buffers
core debug: End of video preroll
core warning: playback way too late (317499): flushing buffers
core warning: picture is too late to be displayed (missing 4693 ms)
core warning: picture is too late to be displayed (missing 4667 ms)
core warning: picture is too late to be displayed (missing 4642 ms)
core warning: picture is too late to be displayed (missing 4616 ms)
core warning: playback way too early (-204272): playing silence
core debug: inserting 9008 zeroes
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
core debug: auto hiding mouse cursor
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
core warning: playback too late (60278): up-sampling
core debug: resampling stopped (drift: 20966 us)
core warning: picture is too late to be displayed (missing 53 ms)
core warning: buffer too late (-98005 us): dropped
core warning: buffer too late (-72829 us): dropped
core debug: playback too late (46381): flushing buffers
core warning: picture is too late to be displayed (missing 179 ms)
core warning: picture is too late to be displayed (missing 155 ms)
core warning: picture is too late to be displayed (missing 126 ms)
core warning: picture is too late to be displayed (missing 96 ms)
core warning: picture is too late to be displayed (missing 68 ms)
core warning: playback too late (85414): up-sampling
live555 debug: lost 70839 bytes
live555 debug: increasing buffer size to 400000
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available hardware decoder output format 128 (d3d11va_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
core debug: looking for hw decoder module matching "any": 1 candidates
core debug: no hw decoder modules matched
core debug: resampling stopped (drift: 1185 us)
core debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
core warning: playback way too late (365427): flushing buffers
direct3d debug: Win32 Vout EventThread terminating
direct3d debug: Win32VoutCloseWindow
direct3d debug: WinProc WM_DESTROY
core warning: buffer too late (-163789 us): dropped
core warning: buffer too late (-126363 us): dropped
core warning: buffer too late (-470800 us): dropped
core debug: Opening vout display wrapper
core debug: looking for vout display module matching "any": 11 candidates
core warning: buffer too late (-515003 us): dropped
core warning: buffer too late (-395470 us): dropped
direct3d debug: creating Vout EventThread
direct3d debug: Win32VoutCreateWindow
core debug: Reusing previous vout window
core warning: buffer too late (-443902 us): dropped
core warning: buffer too late (-403481 us): dropped
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
core warning: buffer too late (-356964 us): dropped
direct3d debug: Direct3d Device: ATI Radeon HD 4300/4500 Series 4098 38223 0
core warning: buffer too late (-322769 us): dropped
core warning: buffer too late (-285636 us): dropped
core warning: buffer too late (-248210 us): dropped
core warning: buffer too late (-208607 us): dropped
core warning: buffer too late (-172428 us): dropped
core warning: buffer too late (-114438 us): dropped
core warning: buffer too late (-77012 us): dropped
core debug: playback too late (41133): flushing buffers
core debug: VoutDisplayEvent 'resize' 1938x1125 window
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: playback way too late (245639): flushing buffers
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
core warning: buffer too late (-126552 us): dropped
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
core warning: buffer too late (-101471 us): dropped
core debug: using vout display module "direct3d"
core debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: reusing provided vout
core warning: buffer too late (-72793 us): dropped
core debug: VoutDisplayEvent 'resize' 931x541 window
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: buffer too late (-123786 us): dropped
core warning: buffer too late (-244582 us): dropped
core debug: auto hiding mouse cursor
core error: Failed to set on top
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: buffer too late (-430810 us): dropped
core warning: buffer too late (-641271 us): dropped
core warning: buffer too late (-846309 us): dropped
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: buffer too late (-890005 us): dropped
core warning: buffer too late (-1009538 us): dropped
core warning: buffer too late (-1212547 us): dropped
core warning: buffer too late (-1152879 us): dropped
core warning: buffer too late (-1116678 us): dropped
core debug: reusing provided vout
*******************
Last part of GDB output.
********************************
warning: direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
warning: core audio output warning: buffer too late (-430810 us): dropped
warning: core audio output warning: buffer too late (-641271 us): dropped
warning: core audio output warning: buffer too late (-846309 us): dropped
warning: direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
warning: core audio output warning: buffer too late (-890005 us): dropped
warning: core audio output warning: buffer too late (-1009538 us): dropped
warning: core audio output warning: buffer too late (-1212547 us): dropped
warning: core audio output warning: buffer too late (-1152879 us): dropped
warning: core audio output warning: buffer too late (-1116678 us): dropped
warning: core generic debug: reusing provided vout
Thread 15 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4624.0x118c]
0x7692a06e in ?? ()
(gdb) bt
#0 0x7692a06e in ?? ()
#1 0x7692a00b in ?? ()
#2 0x050439b9 in ?? ()
#3 0x00000000 in ?? ()
(gdb)
********************
Last part of WinDBg output
*************************************
core vout display debug: using vout display module "direct3d"
core video output debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core generic debug: reusing provided vout
core vout display debug: VoutDisplayEvent 'resize' 931x541 window
direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
ModLoad: 6d620000 6d790000 C:\Windows\SysWOW64\explorerframe.dll
ModLoad: 737d0000 737ff000 C:\Windows\SysWOW64\DUser.dll
ModLoad: 703e0000 70492000 C:\Windows\SysWOW64\DUI70.dll
core vout display error: Failed to set on top
direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
ModLoad: 6d620000 6d790000 C:\Windows\SysWOW64\explorerframe.dll
ModLoad: 737d0000 737ff000 C:\Windows\SysWOW64\DUser.dll
ModLoad: 703e0000 70492000 C:\Windows\SysWOW64\DUI70.dll
direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
ModLoad: 6d620000 6d790000 C:\Windows\SysWOW64\explorerframe.dll
ModLoad: 737d0000 737ff000 C:\Windows\SysWOW64\DUser.dll
ModLoad: 703e0000 70492000 C:\Windows\SysWOW64\DUI70.dll
core generic debug: reusing provided vout
(1d88.1f4c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\syswow64\msvcrt.dll -
eax=0fbca6b0 ebx=11096f40 ecx=00000009 edx=00000000 esi=11096fc0 edi=0fbca730
eip=7692a06e esp=0b50fcf0 ebp=0b50fcf8 iopl=0 nv up ei pl nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206
msvcrt!memmove+0x214:
7692a06e 660f6f6640 movdqa xmm4,xmmword ptr [esi+40h] ds:002b:11097000=????????????????????????????????
*****************************
Tom
If my app is displaying the stream and then the stream source changes its resolution my app crashes.
I have this issue with 2.2.4, 2.2.5.1, 2.2.6 latest nightly build.
If I use the latest nightly build of 3.0.0 then it does not crash on a stream resolution change but I have other problems so I am trying to see if there is some straight forward solution to the 2.2.X version before trying to track down all of the 3.0.0 issues.
I used the debug version of 2.2.6 and had it save logs and also tried running it in WinDbg and GDB.
After it crashed with GDB I did the bt for backtrace and it is shown in the GDB info below but it did not show much.
If I ran VLC.exe for 2.2.6 I could not get it to crash. So I have no idea why my app has problems using LibVLC but VLC does not.
Log - some similar lines remove to reduce character count.
****************************
-- logger module started --
core debug: VLC media player - 2.2.6 Umbrella
core debug: Copyright © 1996-2017 the VideoLAN team
core debug: revision 2.2.5.1-1-g1a9361c1ff
core debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--enable-debug' 'host_alias=i686-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-nightly/vlc-stable-nightly-win32-x86/vlc/contrib/i686-w64-mingw32/lib/pkgconfig'
core debug: using interface module "logger"
core debug: adding item `vlc-2.2.6' ( file:///C:/ajunk/vlctest/Win32/Debug/vlc-2.2.6 )
core debug: Creating an input for 'vlc-2.2.6'
core debug: meta ok for (null), need to fetch art
core debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\tom\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\fetcher\tvrage.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\fetcher\tvrage.luac
core debug: no meta fetcher modules matched
core debug: searching art for vlc-2.2.6
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\tom\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for vlc-2.2.6
core debug: creating audio output
core debug: looking for audio output module matching "any": 6 candidates
directsound debug: found 3 devices
core debug: using audio output module "directsound"
core debug: keeping audio output
core debug: Creating an input for 'rtsp://192.168.7.23:8554/0'
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\tom\AppData\Local\Temp'
core debug: `rtsp://@192.168.7.23:8554/0' gives access `rtsp' demux `' path `@192.168.7.23:8554/0'
core debug: specified demux `any'
core debug: creating demux: access='rtsp' demux='any' location='@192.168.7.23:8554/0' file='\\@192.168.7.23:8554\0'
core debug: looking for access_demux module matching "rtsp": 12 candidates
live555 debug: version 2016.02.22
live555 debug: RTP subsession 'video/H264'
core debug: selecting program id=0
live555 debug: RTP subsession 'audio/MPEG4-GENERIC'
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
core debug: using access_demux module "live555"
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x010013db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec warning: threaded frame decoding is not compatible with DXVA2, disabled
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using slice thread mode with 4 threads
core debug: using decoder module "avcodec"
core debug: looking for packetizer module matching "any": 23 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
core debug: using packetizer module "packetizer_h264"
core debug: looking for decoder module matching "any": 43 candidates
core debug: using decoder module "faad"
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\tom\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\reader
lua debug: Trying Lua playlist script C:\ajunk\vlctest\Win32\Debug\vlc-2.2.6\lua\meta\reader\filename.luac
core debug: no meta reader modules matched
core debug: `rtsp://@192.168.7.23:8554/0' successfully opened
core debug: Buffering 0%
core debug: Buffering 6%
core debug: Buffering 6%
core debug: Buffering 10%
core debug: Buffering 14%
core debug: Buffering 19%
faad warning: decoded zero sample
core debug: Buffering 23%
core debug: Buffering 27%
core debug: Buffering 34%
core debug: Buffering 38%
core debug: Buffering 42%
faad debug: AAC SBR (channels: 2, samplerate: 44100)
core debug: Buffering 42%
core debug: reusing audio output
core debug: Buffering 46%
directsound debug: Opening DirectSound Audio Output
core debug: Buffering 51%
core debug: Buffering 57%
core debug: Buffering 61%
core debug: Buffering 66%
core debug: Buffering 70%
core debug: Buffering 74%
core debug: Buffering 78%
core debug: Buffering 78%
core debug: Buffering 85%
core debug: Buffering 89%
core debug: Buffering 93%
core debug: Buffering 98%
core debug: Stream buffering done (1024 ms in 141 ms)
directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels
core debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
core debug: looking for audio volume module matching "any": 2 candidates
core debug: using audio volume module "float_mixer"
core debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
core debug: looking for audio filter module matching "scaletempo": 14 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
core debug: using audio filter module "scaletempo"
core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core debug: conversion pipeline complete
core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core debug: conversion pipeline complete
core debug: looking for audio resampler module matching "any": 3 candidates
core debug: using audio resampler module "samplerate"
core debug: End of audio preroll
core debug: Decoder wait done in 267 ms
live555 debug: lost 42181 bytes
live555 debug: increasing buffer size to 200000
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available hardware decoder output format 128 (d3d11va_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
core warning: playback too late (75730): up-sampling
core debug: looking for hw decoder module matching "any": 1 candidates
core debug: no hw decoder modules matched
core debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\Windows\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
core debug: looking for video filter2 module matching "any": 58 candidates
core warning: buffer too late (-519128 us): dropped
core warning: buffer too late (-595453 us): dropped
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
core debug: using video filter2 module "swscale"
core debug: looking for video filter2 module matching "any": 58 candidates
core warning: buffer too late (-553417 us): dropped
core warning: buffer too late (-635625 us): dropped
core warning: buffer too late (-713703 us): dropped
core warning: buffer too late (-847683 us): dropped
core warning: buffer too late (-936917 us): dropped
core warning: buffer too late (-918517 us): dropped
core warning: buffer too late (-1027498 us): dropped
yuvp debug: YUVP to YUVA converter
core debug: using video filter2 module "yuvp"
core warning: buffer too late (-999440 us): dropped
core debug: Deinterlacing available
core warning: buffer too late (-968148 us): dropped
core debug: deinterlace 0, mode blend, is_needed 0
core debug: Opening vout display wrapper
core debug: looking for vout display module matching "any": 11 candidates
core warning: buffer too late (-949291 us): dropped
core warning: buffer too late (-1089599 us): dropped
core warning: buffer too late (-807082 us): dropped
core warning: buffer too late (-855926 us): dropped
core warning: buffer too late (-819069 us): dropped
core warning: buffer too late (-782167 us): dropped
core warning: buffer too late (-723607 us): dropped
direct3d debug: creating Vout EventThread
core warning: buffer too late (-773773 us): dropped
direct3d debug: Win32VoutCreateWindow
core debug: looking for vout window hwnd module matching "embed-hwnd,any": 3 candidates
core warning: buffer too late (-742279 us): dropped
core debug: using vout window hwnd module "drawable"
core warning: buffer too late (-817438 us): dropped
core warning: buffer too late (-861921 us): dropped
core warning: buffer too late (-825110 us): dropped
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: ATI Radeon HD 4300/4500 Series 4098 38223 0
core warning: buffer too late (-778691 us): dropped
core warning: buffer too late (-742580 us): dropped
core warning: buffer too late (-722723 us): dropped
core warning: buffer too late (-686252 us): dropped
core warning: buffer too late (-197304 us): dropped
core warning: buffer too late (-143178 us): dropped
core warning: buffer too late (-105256 us): dropped
core warning: buffer too late (-67964 us): dropped
core debug: playback too late (32153): flushing buffers
core debug: VoutDisplayEvent 'resize' 1298x765 window
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
core warning: playback too late (71774): up-sampling
core warning: playback way too late (228107): flushing buffers
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
core debug: using vout display module "direct3d"
core debug: original format sz 1280x738, of (0,0), vsz 1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: removing module "freetype"
core debug: VoutDisplayEvent 'resize' 931x541 window
core debug: looking for text renderer module matching "any": 2 candidates
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\Windows\Fonts\cour.ttf
core warning: playback way too early (-193169): playing silence
core debug: inserting 8518 zeroes
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
core warning: playback way too late (370612): flushing buffers
core error: Failed to set on top
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,720
core warning: playback way too late (183338): flushing buffers
core warning: buffer too late (-384209 us): dropped
core warning: buffer too late (-1068140 us): dropped
core warning: buffer too late (-1010331 us): dropped
core warning: buffer too late (-740816 us): dropped
core warning: buffer too late (-709637 us): dropped
core warning: buffer too late (-671803 us): dropped
avcodec warning: cannot decode one frame (228710 bytes)
core warning: buffer too late (-637309 us): dropped
core warning: buffer too late (-599112 us): dropped
core warning: buffer too late (-548507 us): dropped
core warning: buffer too late (-107652 us): dropped
core warning: buffer too late (-68818 us): dropped
core debug: playback too late (34301): flushing buffers
core debug: End of video preroll
core warning: playback way too late (317499): flushing buffers
core warning: picture is too late to be displayed (missing 4693 ms)
core warning: picture is too late to be displayed (missing 4667 ms)
core warning: picture is too late to be displayed (missing 4642 ms)
core warning: picture is too late to be displayed (missing 4616 ms)
core warning: playback way too early (-204272): playing silence
core debug: inserting 9008 zeroes
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
core debug: auto hiding mouse cursor
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
avcodec warning: More than 4 late frames, dropping frame
core warning: playback too late (60278): up-sampling
core debug: resampling stopped (drift: 20966 us)
core warning: picture is too late to be displayed (missing 53 ms)
core warning: buffer too late (-98005 us): dropped
core warning: buffer too late (-72829 us): dropped
core debug: playback too late (46381): flushing buffers
core warning: picture is too late to be displayed (missing 179 ms)
core warning: picture is too late to be displayed (missing 155 ms)
core warning: picture is too late to be displayed (missing 126 ms)
core warning: picture is too late to be displayed (missing 96 ms)
core warning: picture is too late to be displayed (missing 68 ms)
core warning: playback too late (85414): up-sampling
live555 debug: lost 70839 bytes
live555 debug: increasing buffer size to 400000
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available hardware decoder output format 128 (d3d11va_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
core debug: looking for hw decoder module matching "any": 1 candidates
core debug: no hw decoder modules matched
core debug: resampling stopped (drift: 1185 us)
core debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
core warning: playback way too late (365427): flushing buffers
direct3d debug: Win32 Vout EventThread terminating
direct3d debug: Win32VoutCloseWindow
direct3d debug: WinProc WM_DESTROY
core warning: buffer too late (-163789 us): dropped
core warning: buffer too late (-126363 us): dropped
core warning: buffer too late (-470800 us): dropped
core debug: Opening vout display wrapper
core debug: looking for vout display module matching "any": 11 candidates
core warning: buffer too late (-515003 us): dropped
core warning: buffer too late (-395470 us): dropped
direct3d debug: creating Vout EventThread
direct3d debug: Win32VoutCreateWindow
core debug: Reusing previous vout window
core warning: buffer too late (-443902 us): dropped
core warning: buffer too late (-403481 us): dropped
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
core warning: buffer too late (-356964 us): dropped
direct3d debug: Direct3d Device: ATI Radeon HD 4300/4500 Series 4098 38223 0
core warning: buffer too late (-322769 us): dropped
core warning: buffer too late (-285636 us): dropped
core warning: buffer too late (-248210 us): dropped
core warning: buffer too late (-208607 us): dropped
core warning: buffer too late (-172428 us): dropped
core warning: buffer too late (-114438 us): dropped
core warning: buffer too late (-77012 us): dropped
core debug: playback too late (41133): flushing buffers
core debug: VoutDisplayEvent 'resize' 1938x1125 window
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: playback way too late (245639): flushing buffers
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
core warning: buffer too late (-126552 us): dropped
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
core warning: buffer too late (-101471 us): dropped
core debug: using vout display module "direct3d"
core debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: reusing provided vout
core warning: buffer too late (-72793 us): dropped
core debug: VoutDisplayEvent 'resize' 931x541 window
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: buffer too late (-123786 us): dropped
core warning: buffer too late (-244582 us): dropped
core debug: auto hiding mouse cursor
core error: Failed to set on top
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: buffer too late (-430810 us): dropped
core warning: buffer too late (-641271 us): dropped
core warning: buffer too late (-846309 us): dropped
direct3d debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
core warning: buffer too late (-890005 us): dropped
core warning: buffer too late (-1009538 us): dropped
core warning: buffer too late (-1212547 us): dropped
core warning: buffer too late (-1152879 us): dropped
core warning: buffer too late (-1116678 us): dropped
core debug: reusing provided vout
*******************
Last part of GDB output.
********************************
warning: direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
warning: core audio output warning: buffer too late (-430810 us): dropped
warning: core audio output warning: buffer too late (-641271 us): dropped
warning: core audio output warning: buffer too late (-846309 us): dropped
warning: direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
warning: core audio output warning: buffer too late (-890005 us): dropped
warning: core audio output warning: buffer too late (-1009538 us): dropped
warning: core audio output warning: buffer too late (-1212547 us): dropped
warning: core audio output warning: buffer too late (-1152879 us): dropped
warning: core audio output warning: buffer too late (-1116678 us): dropped
warning: core generic debug: reusing provided vout
Thread 15 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4624.0x118c]
0x7692a06e in ?? ()
(gdb) bt
#0 0x7692a06e in ?? ()
#1 0x7692a00b in ?? ()
#2 0x050439b9 in ?? ()
#3 0x00000000 in ?? ()
(gdb)
********************
Last part of WinDBg output
*************************************
core vout display debug: using vout display module "direct3d"
core video output debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core generic debug: reusing provided vout
core vout display debug: VoutDisplayEvent 'resize' 931x541 window
direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
ModLoad: 6d620000 6d790000 C:\Windows\SysWOW64\explorerframe.dll
ModLoad: 737d0000 737ff000 C:\Windows\SysWOW64\DUser.dll
ModLoad: 703e0000 70492000 C:\Windows\SysWOW64\DUI70.dll
core vout display error: Failed to set on top
direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
ModLoad: 6d620000 6d790000 C:\Windows\SysWOW64\explorerframe.dll
ModLoad: 737d0000 737ff000 C:\Windows\SysWOW64\DUser.dll
ModLoad: 703e0000 70492000 C:\Windows\SysWOW64\DUI70.dll
direct3d vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,1920,1080
ModLoad: 6d620000 6d790000 C:\Windows\SysWOW64\explorerframe.dll
ModLoad: 737d0000 737ff000 C:\Windows\SysWOW64\DUser.dll
ModLoad: 703e0000 70492000 C:\Windows\SysWOW64\DUI70.dll
core generic debug: reusing provided vout
(1d88.1f4c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\syswow64\msvcrt.dll -
eax=0fbca6b0 ebx=11096f40 ecx=00000009 edx=00000000 esi=11096fc0 edi=0fbca730
eip=7692a06e esp=0b50fcf0 ebp=0b50fcf8 iopl=0 nv up ei pl nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206
msvcrt!memmove+0x214:
7692a06e 660f6f6640 movdqa xmm4,xmmword ptr [esi+40h] ds:002b:11097000=????????????????????????????????
*****************************
Tom