[vlc-devel] memory corruption / vlc in valgrind
Gilles Sabourin
gilles.sabourin at free.fr
Sun Nov 4 16:41:39 CET 2007
OK, I have continued with vlc in valgrind.
I have opened my playlist and selected a TV channel. vlc crashes short after
0.5 second playing.
valgrind --tool=memcheck --leak-check=yes --db-attach=yes /usr/bin/vlc
==2904== Memcheck, a memory error detector.
==2904== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==2904== Using LibVEX rev 1732, a library for dynamic binary translation.
==2904== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==2904== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==2904== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==2904== For more details, rerun with: -v
==2904==
VLC media player 0.9.0-svn Grishenko
vex amd64->IR: unhandled instruction bytes: 0xF 0xF 0xC0 0x9E
==2904== valgrind: Unrecognised instruction at address 0x4EE8BC1.
==2904== Your program just tried to execute an instruction that Valgrind
==2904== did not recognise. There are two possible reasons for this.
==2904== 1. Your program has a bug and erroneously jumped to a non-code
==2904== location. If you are running Memcheck and you just saw a
==2904== warning about a bad jump, it's probably your program's fault.
==2904== 2. The instruction is legitimate but Valgrind doesn't handle it,
==2904== i.e. it's Valgrind's fault. If you think this is the case or
==2904== you are not sure, please let us know and we'll try to fix it.
==2904== Either way, Valgrind will now raise a SIGILL signal which will
==2904== probably kill your program.
[00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko -
(c) 1996-2007 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured
with ./configure '--prefix=/usr' '--libdir=/usr/lib64' '--enable-fast-install' '--enable-shout' '--enable-skins2' '--disable-pda' '--disable-macosx' '--disable-qnx' '--enable-ncurses' '--enable-xosd' '--enable-visual' '--disable-goom' '--enable-slp' '--enable-lirc' '--disable-joystick' '--disable-corba' '--enable-dvdread' '--enable-dvdnav' '--disable-dshow' '--enable-v4l' '--enable-pvr' '--enable-vcd' '--enable-satellite' '--enable-ogg' '--enable-mkv' '--enable-mod' '--enable-libcdio' '--enable-vcdx' '--enable-cddax' '--enable-libcddb' '--enable-x11' '--enable-xvideo' '--enable-glx' '--enable-fb' '--enable-mga' '--enable-freetype' '--enable-fribidi' '--enable-svg' '--disable-hd1000v' '--disable-directx' '--disable-wingdi' '--disable-glide' '--enable-aa' '--enable-caca' '--enable-oss' '--enable-esd' '--enable-arts' '--enable-waveout' '--enable-portaudio' '--disable-coreaudio' '--disable-hd1000a' '--enable-mad' '--enable-ffmpeg' '--enable-faad' '--enable-a52' '--enable-dca' '--enable-flac' '--enable-libmpeg2' '--enable-vorbis' '--enable-tremor' '--enable-speex' '--disable-tarkin' '--enable-theora' '--enable-cmml' '--enable-utf8' '--disable-pth' '--enable-st' '--disable-gprof' '--disable-cprof' '--disable-testsuite' '--disable-optimizations' '--disable-altivec' '--enable-debug' '--enable-release' '--enable-sout' '--with-ffmpeg-faac' '--disable-galaktos' '--enable-httpd' '--disable-jack' '--enable-mozilla' '--enable-alsa' '--enable-real' '--enable-realrtsp' '--enable-live555' '--with-live555-tree=/usr/lib64/live' '--enable-dvbpsi' '--enable-dvb'
[00000001] main libvlc debug: translation test: code is "Fr"
==2904== Thread 9:
==2904== Syscall param write(buf) points to uninitialised byte(s)
==2904== at 0x5795DEB: (within /lib64/libpthread-2.5.so)
==2904== by 0xFF5F6DE: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF6467E: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF64770: _XReply (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF4B3AD: XInternAtom (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF5F0C2: XSetWMProperties (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD62DBA9: QWidgetPrivate::create_sys(unsigned long, bool,
bool) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD604906: QWidget::create(unsigned long, bool, bool)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD6052B9: QWidgetPrivate::setWindowTitle_helper(QString
const&) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD6054EA: QWidget::setWindowTitle(QString const&)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD138435: MainInterface::setVLCWindowsTitle(QString)
(main_interface.cpp:305)
==2904== by 0xD13A215: MainInterface::MainInterface(intf_thread_t*)
(main_interface.cpp:126)
==2904== Address 0x4121AD4 is 4,460 bytes inside a block of size 16,384
alloc'd
==2904== at 0x4C21DEF: calloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0xFF50316: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD61910D: qt_init(QApplicationPrivate*, int, _XDisplay*,
unsigned long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CEE18: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CF768: QApplication::QApplication(int&, char**, bool, int)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD12CD72: Init(intf_thread_t*) (qt4.cpp:234)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- C
==2904==
==2904== Syscall param write(buf) points to uninitialised byte(s)
==2904== at 0x5795DEB: (within /lib64/libpthread-2.5.so)
==2904== by 0xFF5F6DE: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF6467E: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF41339: XFlush (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD8F8D58:
QWidgetResizeHandler::setMouseCursor(QWidgetResizeHandler::MousePosition)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD87706E: QDockWidgetPrivate::init()
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD877A72: QDockWidget::QDockWidget(QString const&, QWidget*,
QFlags<Qt::WindowType>) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD13A293: MainInterface::MainInterface(intf_thread_t*)
(main_interface.cpp:130)
==2904== by 0xD12D10E: Init(intf_thread_t*) (qt4.cpp:244)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904== Address 0x4120A58 is 240 bytes inside a block of size 16,384 alloc'd
==2904== at 0x4C21DEF: calloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0xFF50316: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD61910D: qt_init(QApplicationPrivate*, int, _XDisplay*,
unsigned long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CEE18: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CF768: QApplication::QApplication(int&, char**, bool, int)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD12CD72: Init(intf_thread_t*) (qt4.cpp:234)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== Syscall param write(buf) points to uninitialised byte(s)
==2904== at 0x5795DEB: (within /lib64/libpthread-2.5.so)
==2904== by 0xE1CD69E: (within /usr/lib64/libICE.so.6.3.0)
==2904== by 0xE1D1367: _IceWrite (in /usr/lib64/libICE.so.6.3.0)
==2904== by 0xE1D1443: IceFlush (in /usr/lib64/libICE.so.6.3.0)
==2904== by 0xD60B484: sm_setProperty(char const*, char const*, int,
SmPropValue*) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD60DC46: sm_setProperty(QString const&, QString const&)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD610C70: sm_performSaveYourself(QSessionManagerPrivate*)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD6113D6: sm_saveYourselfCallback(_SmcConn*, void*, int, int,
int, int) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xDFBFE77: _SmcProcessMessage (in /usr/lib64/libSM.so.6.0.0)
==2904== by 0xE1D5F6D: IceProcessMessages (in /usr/lib64/libICE.so.6.3.0)
==2904== by 0xD60B79F: QSmSocketReceiver::qt_metacall(QMetaObject::Call,
int, void**) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xE4D3D71: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== Address 0x73F19D4 is 12 bytes inside a block of size 1,024 alloc'd
==2904== at 0x4C21DEF: calloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0xE1CA07B: IceOpenConnection (in /usr/lib64/libICE.so.6.3.0)
==2904== by 0xDFBD5A3: SmcOpenConnection (in /usr/lib64/libSM.so.6.0.0)
==2904== by 0xD6105BF: QSessionManager::QSessionManager(QApplication*,
QString&, QString&) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CEDA2: QApplicationPrivate::initialize()
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CEE20: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CF768: QApplication::QApplication(int&, char**, bool, int)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD12CD72: Init(intf_thread_t*) (qt4.cpp:234)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== Syscall param write(buf) points to uninitialised byte(s)
==2904== at 0x5795DEB: (within /lib64/libpthread-2.5.so)
==2904== by 0xFF5F6DE: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF6467E: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF39E43: XCheckIfEvent (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD60D75E: QETWidget::translatePaintEvent(_XEvent const*)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD616B94: QApplication::x11ProcessEvent(_XEvent*)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD637384: x11EventSourceDispatch(_GSource*, int (*)(void*),
void*) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xE992D02: g_main_context_dispatch
(in /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE99600C: (within /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE99651D: g_main_context_iteration
(in /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE4E264F:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== by 0xD63719E:
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== Address 0x412098D is 37 bytes inside a block of size 16,384 alloc'd
==2904== at 0x4C21DEF: calloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0xFF50316: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD61910D: qt_init(QApplicationPrivate*, int, _XDisplay*,
unsigned long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CEE18: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CF768: QApplication::QApplication(int&, char**, bool, int)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD12CD72: Init(intf_thread_t*) (qt4.cpp:234)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== Syscall param write(buf) points to uninitialised byte(s)
==2904== at 0x5795DEB: (within /lib64/libpthread-2.5.so)
==2904== by 0xFF5F6DE: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF6467E: (within /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF652B4: _XEventsQueued (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xFF51C3A: XEventsQueued (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD6372AB: x11EventSourceDispatch(_GSource*, int (*)(void*),
void*) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xE992D02: g_main_context_dispatch
(in /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE99600C: (within /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE99651D: g_main_context_iteration
(in /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE4E264F:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== by 0xD63719E:
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xE4C36EF:
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== Address 0x4120991 is 41 bytes inside a block of size 16,384 alloc'd
==2904== at 0x4C21DEF: calloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0xFF50316: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
==2904== by 0xD61910D: qt_init(QApplicationPrivate*, int, _XDisplay*,
unsigned long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CEE18: QApplicationPrivate::construct(_XDisplay*, unsigned
long, unsigned long) (in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD5CF768: QApplication::QApplication(int&, char**, bool, int)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xD12CD72: Init(intf_thread_t*) (qt4.cpp:234)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for
PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for
PID 1285
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for
PID 1285
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 13) for
PID 0
==2904==
==2904== Thread 16:
==2904== Invalid read of size 8
==2904== at 0x1B1DB878: (within /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1B1DC1EE: fribidi_log2vis (in /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1AFD212E: RenderText (freetype.c:1161)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904== Address 0x870EEB0 is 32 bytes inside a block of size 36 alloc'd
==2904== at 0x4C22AC6: malloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0x1AFD1E63: RenderText (freetype.c:1088)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== Invalid read of size 8
==2904== at 0x1B1DC005: (within /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1B1DC1EE: fribidi_log2vis (in /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1AFD212E: RenderText (freetype.c:1161)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904== Address 0x870EEC8 is not stack'd, malloc'd or (recently) free'd
==2904==
==2904== Invalid read of size 8
==2904== at 0x1B1DC233: fribidi_log2vis (in /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1AFD212E: RenderText (freetype.c:1161)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904== Address 0x870EEB0 is 32 bytes inside a block of size 36 alloc'd
==2904== at 0x4C22AC6: malloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0x1AFD1E63: RenderText (freetype.c:1088)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== Invalid write of size 8
==2904== at 0x1B1DC23C: fribidi_log2vis (in /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1AFD212E: RenderText (freetype.c:1161)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904== Address 0x86636B8 is 32 bytes inside a block of size 36 alloc'd
==2904== at 0x4C22AC6: malloc
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0x1AFD2012: RenderText (freetype.c:1134)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904==
==2904== Invalid write of size 8
==2904== at 0x1B1DC254: fribidi_log2vis (in /usr/lib64/libfribidi.so.0.0.0)
==2904== by 0x1AFD212E: RenderText (freetype.c:1161)
==2904== by 0x4EAD7C9: spu_RenderSubpictures (vout_subpictures.c:787)
==2904== by 0x4EA96E1: vout_RenderPicture (vout_pictures.c:320)
==2904== by 0x4EA761C: RunThread (video_output.c:1064)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
==2904== Address 0x86636D8 is not stack'd, malloc'd or (recently) free'd
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 12) for
PID 1285
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for
PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 2) for
PID 1285
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 6) for
PID 1285
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 3) for
PID 0
valgrind: m_mallocfree.c:178 (mk_plain_bszB): Assertion 'bszB != 0' failed.
==2904== at 0x38017803: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x38017B66: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x380207B5: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x380358D0: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x38001819: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x38035F77: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x38037662: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x38052FC9: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x380531AB: (within /usr/lib64/valgrind/amd64-linux/memcheck)
==2904== by 0x380550BD: (within /usr/lib64/valgrind/amd64-linux/memcheck)
sched status:
running_tid=14
Thread 1: status = VgTs_WaitSys
==2904== at 0x57905D5: pthread_join (in /lib64/libpthread-2.5.so)
==2904== by 0x4EE68DC: __vlc_thread_join (threads.c:875)
==2904== by 0x4E46059: libvlc_InternalAddIntf (libvlc-common.c:1151)
==2904== by 0x4E42A3F: VLC_AddIntf (libvlc.c:141)
==2904== by 0x4010D4: main (vlc.c:194)
Thread 2: status = VgTs_WaitSys
==2904== at 0x5796E18: do_sigwait (in /lib64/libpthread-2.5.so)
==2904== by 0x5796EBC: sigwait (in /lib64/libpthread-2.5.so)
==2904== by 0x4011AC: SigHandler (vlc.c:239)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 3: status = VgTs_WaitSys
==2904== at 0x5793746: pthread_cond_wait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4E75CEE: __vlc_cond_wait (vlc_threads_funcs.h:523)
==2904== by 0x4E755AC: playlist_PreparseLoop (engine.c:475)
==2904== by 0x4E71C98: RunPreparse (thread.c:216)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 4: status = VgTs_WaitSys
==2904== at 0x5793746: pthread_cond_wait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4E75CEE: __vlc_cond_wait (vlc_threads_funcs.h:523)
==2904== by 0x4E7622C: playlist_FetcherLoop (engine.c:577)
==2904== by 0x4E71CB8: RunFetcher (thread.c:223)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 5: status = VgTs_WaitSys
==2904== at 0x5793746: pthread_cond_wait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4E71C09: __vlc_cond_wait (vlc_threads_funcs.h:523)
==2904== by 0x4E71B0D: RunControlThread (thread.c:202)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 6: status = VgTs_WaitSys
==2904== at 0x5793746: pthread_cond_wait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4EF4F8C: __vlc_cond_wait (vlc_threads_funcs.h:523)
==2904== by 0x4EF4EA4: __vlc_object_wait (objects.c:528)
==2904== by 0xB2CC48E: __vlc_object_lock_and_wait (vlc_objects.h:162)
==2904== by 0xB2CA6A8: Run (hotkeys.c:207)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 7: status = VgTs_WaitSys
==2904== at 0x5793937: pthread_cond_timedwait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4EF5115: __vlc_cond_timedwait (vlc_threads_funcs.h:686)
==2904== by 0x4EF5066: __vlc_object_timedwait (objects.c:548)
==2904== by 0xBCD25C8: Run (inhibit.c:230)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 8: status = VgTs_WaitSys
==2904== at 0x5793937: pthread_cond_timedwait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4EF5115: __vlc_cond_timedwait (vlc_threads_funcs.h:686)
==2904== by 0x4EF5066: __vlc_object_timedwait (objects.c:548)
==2904== by 0xC6D61AC: Run (screensaver.c:147)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 9: status = VgTs_WaitSys
==2904== at 0x5C613B6: poll (in /lib64/libc-2.5.so)
==2904== by 0xE995E5D: (within /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE99651D: g_main_context_iteration
(in /usr/lib64/libglib-2.0.so.0.1400.1)
==2904== by 0xE4E264F:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== by 0xD63719E:
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtGui.so.4.3.2)
==2904== by 0xE4C36EF:
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== by 0xE4C380C:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== by 0xE4C5A53: QCoreApplication::exec()
(in /usr/lib64/libQtCore.so.4.3.2)
==2904== by 0xD12CFD6: Init(intf_thread_t*) (qt4.cpp:281)
==2904== by 0x4E6F5CB: RunInterface (interface.c:270)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 10: status = VgTs_Runnable
==2904== at 0x5C634C2: (within /lib64/libc-2.5.so)
==2904== by 0x150C1FBD: BasicTaskScheduler::SingleStep(unsigned)
(in /usr/lib64/vlc/demux/liblive555_plugin.so)
==2904== by 0x150C13EB: BasicTaskScheduler0::doEventLoop(char*)
(in /usr/lib64/vlc/demux/liblive555_plugin.so)
==2904== by 0x150BA314: Demux(demux_t*) (live555.cpp:1027)
==2904== by 0x4E9289C: MainLoop (input.c:596)
==2904== by 0x4E925A3: Run (input.c:500)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 11: status = VgTs_WaitSys
==2904== at 0x5793937: pthread_cond_timedwait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4EDDE6E: __vlc_cond_wait (vlc_threads_funcs.h:512)
==2904== by 0x4EDDD0F: block_FifoGet (block.c:258)
==2904== by 0x4E89239: DStreamRead (demux.c:399)
==2904== by 0x4EA0CF3: stream_Read (stream.c:1829)
==2904== by 0x4EA0ED7: stream_Block (stream.c:1892)
==2904== by 0x15B85345: Demux (ts.c:1061)
==2904== by 0x4E89986: DStreamThread (demux.c:540)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 12: status = VgTs_WaitSys
==2904== at 0x5584AFF: clock_nanosleep (in /lib64/librt-2.5.so)
==2904== by 0x4EDD0A3: msleep (mtime.c:318)
==2904== by 0x150B80A4: TimeoutPrevention(timeout_thread_t*)
(live555.cpp:1588)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 13: status = VgTs_WaitSys
==2904== at 0x5793937: pthread_cond_timedwait@@GLIBC_2.3.2
(in /lib64/libpthread-2.5.so)
==2904== by 0x4EDDE6E: __vlc_cond_wait (vlc_threads_funcs.h:512)
==2904== by 0x4EDDD0F: block_FifoGet (block.c:258)
==2904== by 0x4E85245: DecoderThread (decoder.c:579)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 14: status = VgTs_Runnable
==2904== at 0x4C226DB: free
(in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==2904== by 0x4EB8815: inputDrop (input.c:718)
==2904== by 0x4EB7E80: aout_InputPlay (input.c:544)
==2904== by 0x4EB5828: aout_DecPlay (dec.c:388)
==2904== by 0x4E8543C: DecoderDecodeAudio (decoder.c:638)
==2904== by 0x4E85FCA: DecoderDecode (decoder.c:875)
==2904== by 0x4E8526D: DecoderThread (decoder.c:584)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 15: status = VgTs_WaitSys
==2904== at 0x5584AFF: clock_nanosleep (in /lib64/librt-2.5.so)
==2904== by 0x4EDD0A3: msleep (mtime.c:318)
==2904== by 0x7659A93: ALSAFill (alsa.c:870)
==2904== by 0x76596FC: ALSAThread (alsa.c:772)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Thread 16: status = VgTs_Runnable
==2904== at 0x5584AFF: clock_nanosleep (in /lib64/librt-2.5.so)
==2904== by 0x4EDD0A3: msleep (mtime.c:318)
==2904== by 0x4EDCFDF: mwait (mtime.c:298)
==2904== by 0x4EA775A: RunThread (video_output.c:1103)
==2904== by 0x578F09D: start_thread (in /lib64/libpthread-2.5.so)
==2904== by 0x5C6968C: clone (in /lib64/libc-2.5.so)
Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.
If that doesn't help, please report this bug to: www.valgrind.org
In the bug report, send all the above text, the valgrind
version, and what Linux distro you are using. Thanks.
More information about the vlc-devel
mailing list