Bug 249960 - VLC core dump in libtag - free(): invalid pointer
Summary: VLC core dump in libtag - free(): invalid pointer
Status: RESOLVED DOWNSTREAM
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
: 260346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-03 02:27 UTC by Kerry N
Modified: 2011-04-27 21:33 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
log start vlc with valgrind and debuginfo packages (10.00 KB, application/octet-stream)
2010-09-11 22:52 UTC, Alexei Panov
Details
log start vlc with strace (173.62 KB, application/octet-stream)
2010-09-11 22:56 UTC, Alexei Panov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kerry N 2010-09-03 02:27:12 UTC
Version:           1.6.3 (using KDE 4.4.5) 
OS:                Linux

# rpm -q kdebase taglib vlc
kdebase-4.4.5-1.fc13.i686
taglib-1.6.3-1.fc13.i686
vlc-1.1.3-1.fc13.i686

Running vlc results in an immediate crash. Valgrind points to Invalid free() / delete / delete[] in libtaglib.

Reproducible: Always

Steps to Reproduce:
Run vlc.

Actual Results:  
$ vlc
VLC media player 1.1.3 The Luggage (revision exported)
*** glibc detected *** vlc: free(): invalid pointer: 0x002c2ff0 ***
======= Backtrace: =========
/lib/libc.so.6[0x468fe1]
/usr/lib/libstdc++.so.6(_ZdlPv+0x22)[0x28a632]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_destroyERKS1_+0x1e)[0x2814be]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE7reserveEj+0x9a)[0x282cba]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE6appendEjw+0x76)[0x282dd6]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE6resizeEjw+0x7d)[0x28436d]
/usr/lib/libtag.so.1(_ZN6TagLib6StringC2EPKcNS0_4TypeE+0xc2)[0x6d2b7c2]
/usr/lib/libtag.so.1[0x6d0a557]
/usr/lib/libtag.so.1[0x6d4c77d]
/usr/lib/libtag.so.1[0x6d02cdc]
/lib/ld-linux.so.2[0x3e6da0]
/lib/ld-linux.so.2[0x3eb17f]
/lib/ld-linux.so.2[0x3e6966]
/lib/ld-linux.so.2[0x3ea9c6]
/lib/libdl.so.2[0x5b4c3b]
/lib/ld-linux.so.2[0x3e6966]
/lib/libdl.so.2[0x5b503c]
/lib/libdl.so.2(dlopen+0x41)[0x5b4b71]
/usr/lib/libvlccore.so.4[0x6ad429]
======= Memory map: ========
00110000-00122000 r-xp 00000000 fd:00 4099337    /usr/lib/vlc/plugins/video_filter/libdeinterlace_plugin.so
00122000-00123000 rw-p 00011000 fd:00 4099337    /usr/lib/vlc/plugins/video_filter/libdeinterlace_plugin.so
00123000-00125000 r-xp 00000000 fd:00 4099332    /usr/lib/vlc/plugins/video_filter/libchain_plugin.so
00125000-00126000 rw-p 00001000 fd:00 4099332    /usr/lib/vlc/plugins/video_filter/libchain_plugin.so
00126000-0012a000 r-xp 00000000 fd:00 4099389    /usr/lib/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
0012a000-0012b000 rw-p 00003000 fd:00 4099389    /usr/lib/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
0012b000-0012f000 r-xp 00000000 fd:00 49445      /usr/lib/libXfixes.so.3.1.0
0012f000-00130000 rw-p 00003000 fd:00 49445      /usr/lib/libXfixes.so.3.1.0
00130000-00132000 r-xp 00000000 fd:00 77907      /usr/lib/libXcomposite.so.1.0.0
00132000-00133000 rw-p 00001000 fd:00 77907      /usr/lib/libXcomposite.so.1.0.0
00133000-00134000 r-xp 00000000 00:00 0          [vdso]
00134000-00173000 r-xp 00000000 fd:00 51639      /usr/lib/libhighgui.so.2.0.0
00173000-00176000 rw-p 0003e000 fd:00 51639      /usr/lib/libhighgui.so.2.0.0
00176000-00177000 rw-p 00000000 00:00 0 
00177000-001d9000 r-xp 00000000 fd:00 28585      /usr/lib/libml.so.2.0.0
001d9000-001db000 rw-p 00062000 fd:00 28585      /usr/lib/libml.so.2.0.0
001db000-002bc000 r-xp 00000000 fd:00 49403      /usr/lib/libstdc++.so.6.0.13
002bc000-002c0000 r--p 000e0000 fd:00 49403      /usr/lib/libstdc++.so.6.0.13
002c0000-002c2000 rw-p 000e4000 fd:00 49403      /usr/lib/libstdc++.so.6.0.13
002c2000-002c8000 rw-p 00000000 00:00 0 
002c8000-002ef000 r-xp 00000000 fd:00 49441      /usr/lib/libpng12.so.0.44.0
002ef000-002f0000 rw-p 00027000 fd:00 49441      /usr/lib/libpng12.so.0.44.0
002f0000-003a8000 r-xp 00000000 fd:00 67476      /lib/libgio-2.0.so.0.2400.1
003a8000-003aa000 rw-p 000b8000 fd:00 67476      /lib/libgio-2.0.so.0.2400.1
003aa000-003ac000 r-xp 00000000 fd:00 49421      /usr/lib/libXau.so.6.0.0
003ac000-003ad000 rw-p 00001000 fd:00 49421      /usr/lib/libXau.so.6.0.0
003ad000-003af000 r-xp 00000000 fd:00 4099329    /usr/lib/vlc/plugins/video_filter/libblendbench_plugin.so
003af000-003b0000 rw-p 00001000 fd:00 4099329    /usr/lib/vlc/plugins/video_filter/libblendbench_plugin.so
003b0000-003b2000 r-xp 00000000 fd:00 4099364    /usr/lib/vlc/plugins/video_filter/libsharpen_plugin.so
003b2000-003b3000 rw-p 00001000 fd:00 4099364    /usr/lib/vlc/plugins/video_filter/libsharpen_plugin.so
003b4000-003d1000 r-xp 00000000 fd:00 67568      /usr/lib/libatk-1.0.so.0.3009.1
003d1000-003d3000 rw-p 0001d000 fd:00 67568      /usr/lib/libatk-1.0.so.0.3009.1
003d3000-003d5000 r-xp 00000000 fd:00 4099369    /usr/lib/vlc/plugins/video_filter/libwave_plugin.so
003d5000-003d6000 rw-p 00001000 fd:00 4099369    /usr/lib/vlc/plugins/video_filter/libwave_plugin.so
003d6000-003d7000 r-xp 00000000 fd:00 4099361    /usr/lib/vlc/plugins/video_filter/librv32_plugin.so
003d7000-003d8000 rw-p 00000000 fd:00 4099361    /usr/lib/vlc/plugins/video_filter/librv32_plugin.so
003d8000-003f6000 r-xp 00000000 fd:00 6342       /lib/ld-2.12.so
003f6000-003f7000 r--p 0001d000 fd:00 6342       /lib/ld-2.12.so
003f7000-003f8000 rw-p 0001e000 fd:00 6342       /lib/ld-2.12.so
003f8000-003f9000 r-xp 00000000 fd:00 4099370    /usr/lib/vlc/plugins/video_filter/libyuvp_plugin.so
003f9000-003fa000 rw-p 00001000 fd:00 4099370    /usr/lib/vlc/plugins/video_filter/libyuvp_plugin.so
003fa000-0057f000 r-xp 00000000 fd:00 8179       /lib/libc-2.12.so
0057f000-00580000 ---p 00185000 fd:00 8179       /lib/libc-2.12.so
00580000-00582000 r--p 00185000 fd:00 8179       /lib/libc-2.12.so
00582000-00583000 rw-p 00187000 fd:00 8179       /lib/libc-2.12.so
00583000-00586000 rw-p 00000000 00:00 0 
00586000-00587000 r-xp 00000000 fd:00 4099344    /usr/lib/vlc/plugins/video_filter/libinvert_plugin.so
00587000-00588000 rw-p 00001000 fd:00 4099344    /usr/lib/vlc/plugins/video_filter/libinvert_plugin.so
00588000-005b0000 r-xp 00000000 fd:00 49401      /lib/libm-2.12.so
005b0000-005b1000 r--p 00027000 fd:00 49401      /lib/libm-2.12.so
005b1000-005b2000 rw-p 00028000 fd:00 49401      /lib/libm-2.12.so
005b2000-005b3000 r-xp 00000000 fd:00 4099352    /usr/lib/vlc/plugins/video_filter/libnoise_plugin.so
005b3000-005b4000 rw-p 00001000 fd:00 4099352    /usr/lib/vlc/plugins/video_filter/libnoise_plugin.so
005b4000-005b7000 r-xp 00000000 fd:00 49390      /lib/libdl-2.12.so
005b7000-005b8000 r--p 00002000 fd:00 49390      /lib/libdl-2.12.so
005b8000-005b9000 rw-p 00003000 fd:00 49390      /lib/libdl-2.12.so
005b9000-005ba000 r-xp 00000000 fd:00 4099147    /usr/lib/vlc/plugins/audio_filter/libugly_resampler_plugin.so
005ba000-005bb000 rw-p 00000000 fd:00 4099147    /usr/lib/vlc/plugins/audio_filter/libugly_resampler_plugin.so
005bb000-005d2000 r-xp 00000000 fd:00 26963      /lib/libpthread-2.12.so
005d2000-005d3000 r--p 00016000 fd:00 26963      /lib/libpthread-2.12.so
005d3000-005d4000 rw-p 00017000 fd:00 26963      /lib/libpthread-2.12.so
005d4000-005d6000 rw-p 00000000 00:00 0 
005d6000-005d7000 r-xp 00000000 fd:00 4099128    /usr/lib/vlc/plugins/audio_filter/liba52tospdif_plugin.so
005d7000-005d8000 rw-p 00000000 fd:00 4099128    /usr/lib/vlc/plugins/audio_filter/liba52tospdif_plugin.so
005d8000-005ea000 r-xp 00000000 fd:00 49389      /lib/libz.so.1.2.3
005ea000-005eb000 rw-p 00011000 fd:00 49389      /lib/libz.so.1.2.3
005eb000-005ec000 r-xp 00000000 fd:00 4099304    /usr/lib/vlc/plugins/stream_out/libstream_out_dummy_plugin.so
005ec000-005ed000 rw-p 00000000 fd:00 4099304    /usr/lib/vlc/plugins/stream_out/libstream_out_dummy_plugin.so
005ed000-005f4000 r-xp 00000000 fd:00 27620      /lib/librt-2.12.so
005f4000-005f5000 r--p 00006000 fd:00 27620      /lib/librt-2.12.so
005f5000-005f6000 rw-p 00007000 fd:00 27620      /lib/librt-2.12.so
005f8000-00611000 r-xp 00000000 fd:00 99714      /usr/lib/libvlc.so.5.1.0
00611000-00612000 rw-p 00018000 fd:00 99714      /usr/lib/libvlc.so.5.1.0
00614000-00705000 r-xp 00000000 fd:00 27766      /usr/lib/libvlccore.so.4.0.0
00705000-0070b000 rw-p 000f0000 fd:00 27766      /usr/lib/libvlccore.so.4.0.0
0070b000-0073e000 r-xp 00000000 fd:00 49425      /usr/lib/libfontconfig.so.1.4.4
0073e000-00740000 rw-p 00032000 fd:00 49425      /usr/lib/libfontconfig.so.1.4.4
00740000-00754000 r-xp 00000000 fd:00 130485     /usr/lib/libucil.so.2.1.11
00754000-00756000 rw-p 00014000 fd:00 130485     /usr/lib/libucil.so.2.1.11
00756000-00766000 r-xp 00000000 fd:00 28064      /usr/lib/libXext.so.6.4.0
00766000-00767000 rw-p 00010000 fd:00 28064      /usr/lib/libXext.so.6.4.0
00767000-0078d000 r-xp 00000000 fd:00 49424      /lib/libexpat.so.1.5.2
0078d000-0078f000 rw-p 00025000 fd:00 49424      /lib/libexpat.so.1.5.2
0078f000-00795000 r-xp 00000000 fd:00 4099338    /usr/lib/vlc/plugins/video_filter/libdynamicoverlay_plugin.so
00795000-00796000 rw-p 00005000 fd:00 4099338    /usr/lib/vlc/plugins/video_filter/libdynamicoverlay_plugin.so
00796000-0079e000 r-xp 00000000 fd:00 4099390    /usr/lib/vlc/plugins/video_filter/libpanoramix_plugin.so
0079e000-0079f000 rw-p 00007000 fd:00 4099390    /usr/lib/vlc/plugins/video_filter/libpanoramix_plugin.so
007a0000-007a3000 r-xp 00000000 fd:00 4099334    /usr/lib/vlc/plugins/video_filter/libcolorthres_plugin.so
007a3000-007a4000 rw-p 00002000 fd:00 4099334    /usr/lib/vlc/plugins/video_filter/libcolorthres_plugin.so
007a4000-00838000 r-xp 00000000 fd:00 3150718    /usr/lib/freetype-freeworld/libfreetype.so.6.3.22
00838000-0083c000 rw-p 00094000 fd:00 3150718    /usr/lib/freetype-freeworld/libfreetype.so.6.3.22
0083c000-00845000 r-xp 00000000 fd:00 7835       /usr/lib/libxcb-randr.so.0.1.0
00845000-00846000 rw-p 00008000 fd:00 7835       /usr/lib/libxcb-randr.so.0.1.0
00846000-0084a000 r-xp 00000000 fd:00 4099366    /usr/lib/vlc/plugins/video_filter/libtransform_plugin.so
0084a000-0084b000 rw-p 00003000 fd:00 4099366    /usr/lib/vlc/plugins/video_filter/libtransform_plugin.so
0084b000-00850000 r-xp 00000000 fd:00 4099342    /usr/lib/vlc/plugins/video_filter/libgradient_plugin.so
00850000-00851000 rw-p 00004000 fd:00 4099342    /usr/lib/vlc/plugins/video_filter/libgradient_plugin.so
00851000-00853000 r-xp 00000000 fd:00 4099343    /usr/lib/vlc/plugins/video_filter/libgrain_plugin.so
00853000-00854000 rw-p 00001000 fd:00 4099343    /usr/lib/vlc/plugins/video_filter/libgrain_plugin.so
00854000-00856000 r-xp 00000000 fd:00 4099388    /usr/lib/vlc/plugins/video_filter/libopencv_example_plugin.so
00856000-00857000 rw-p 00001000 fd:00 4099388    /usr/lib/vlc/plugins/video_filter/libopencv_example_plugin.so
00859000-00875000 r-xp 00000000 fd:00 49393      /lib/libselinux.so.1
00875000-00876000 r--p 0001b000 fd:00 49393      /lib/libselinux.so.1
00876000-00877000 rw-p 0001c000 fd:00 49393      /lib/libselinux.so.1
00877000-00878000 r-xp 00000000 fd:00 7828       /usr/lib/libX11-xcb.so.1.0.0
00878000-00879000 rw-p 00000000 fd:00 7828       /usr/lib/libX11-xcb.so.1.0.0
00879000-0088e000 r-xp 00000000 fd:00 49392      /lib/libresolv-2.12.so
0088e000-0088f000 r--p 00014000 fd:00 49392      /lib/libresolv-2.12.so
0088f000-00890000 rw-p 00015000 fd:00 49392      /lib/libresolv-2.12.so
00890000-00892000 rw-p 00000000 00:00 0 
00892000-00894000 r-xp 00000000 fd:00 4099341    /usr/lib/vlc/plugins/video_filter/libgaussianblur_plugin.so
00894000-00895000 rw-p 00001000 fd:00 4099341    /usr/lib/vlc/plugins/video_filter/libgaussianblur_plugin.so
00895000-0089c000 r-xp 00000000 fd:00 4099357    /usr/lib/vlc/plugins/video_filter/libremoteosd_plugin.so
0089c000-0089d000 rw-p 00007000 fd:00 4099357    /usr/lib/vlc/plugins/video_filter/libremoteosd_plugin.so
0089d000-0089f000 r-xp 00000000 fd:00 4099350    /usr/lib/vlc/plugins/video_filter/libmotionblur_plugin.so
0089f000-008a0000 rw-p 00001000 fd:00 4099350    /usr/lib/vlc/plugins/video_filter/libmotionblur_plugin.so
008a0000-008a3000 r-xp 00000000 fd:00 4099353    /usr/lib/vlc/plugins/video_filter/libosdmenu_plugin.so
008a3000-008a4000 rw-p 00002000 fd:00 4099353    /usr/lib/vlc/plugins/video_filter/libosdmenu_plugin.so
008a4000-008a6000 r-xp 00000000 fd:00 4099355    /usr/lib/vlc/plugins/video_filter/libpsychedelic_plugin.so
008a6000-008a7000 rw-p 00001000 fd:00 4099355    /usr/lib/vlc/plugins/video_filter/libpsychedelic_plugin.so
008a7000-008ab000 r-xp 00000000 fd:00 28564      /lib/libgthread-2.0.so.0.2400.1
008ab000-008ac000 rw-p 00003000 fd:00 28564      /lib/libgthread-2.0.so.0.2400.1
008ae000-008cb000 r-xp 00000000 fd:00 49402      /lib/libgcc_s-4.4.4-20100630.so.1
008cb000-008cc000 rw-p 0001d000 fd:00 49402      /lib/libgcc_s-4.4.4-20100630.so.1
008ce000-00912000 r-xp 00000000 fd:00 49432      /lib/libgobject-2.0.so.0.2400.1
00912000-00913000 rw-p 00044000 fd:00 49432      /lib/libgobject-2.0.so.0.2400.1
00913000-00a12000 r-xp 00000000 fd:00 9719       /lib/libglib-2.0.so.0.2400.1
00a12000-00a13000 rw-p 000ff000 fd:00 9719       /lib/libglib-2.0.so.0.2400.1
00a15000-00a19000 r-xp 00000000 fd:00 4099351    /usr/lib/vlc/plugins/video_filter/libmotiondetect_plugin.so
00a19000-00a1a000 rw-p 00003000 fd:00 4099351    /usr/lib/vlc/plugins/video_filter/libmotiondetect_plugin.so
00a1a000-00a1d000 r-xp 00000000 fd:00 4099363    /usr/lib/vlc/plugins/video_filter/libscene_plugin.so
00a1d000-00a1e000 rw-p 00002000 fd:00 4099363    /usr/lib/vlc/plugins/video_filter/libscene_plugin.so
00a1e000-00a21000 r-xp 00000000 fd:00 4099336    /usr/lib/vlc/plugins/video_filter/libcroppadd_plugin.so
00a21000-00a22000 rw-p 00002000 fd:00 4099336    /usr/lib/vlc/plugins/video_filter/libcroppadd_plugin.so
00a22000-00a24000 r-xp 00000000 fd:00 4099324    /usr/lib/vlc/plugins/video_filter/libalphamask_plugin.so
00a24000-00a25000 rw-p 00001000 fd:00 4099324    /usr/lib/vlc/plugins/video_filter/libalphamask_plugin.so
00a25000-00b28000 r-xp 00000000 fd:00 55717      /usr/lib/libcvaux.so.2.0.0
00b28000-00b2b000 rw-p 00102000 fd:00 55717      /usr/lib/libcvaux.so.2.0.0
00b2b000-00b2c000 rw-p 00000000 00:00 0 
00b2c000-00b30000 r-xp 00000000 fd:00 4099367    /usr/lib/vlc/plugins/video_filter/libvideo_filter_wrapper_plugin.so
00b30000-00b31000 rw-p 00003000 fd:00 4099367    /usr/lib/vlc/plugins/video_filter/libvideo_filter_wrapper_plugin.so
00b31000-00b34000 r-xp 00000000 fd:00 4099330    /usr/lib/vlc/plugins/video_filter/libbluescreen_plugin.so
00b34000-00b35000 rw-p 00002000 fd:00 4099330    /usr/lib/vlc/plugins/video_filter/libbluescreen_plugin.so
00b35000-00b38000 r-xp 00000000 fd:00 4099359    /usr/lib/vlc/plugins/video_filter/librotate_plugin.so
00b38000-00b39000 rw-p 00002000 fd:00 4099359    /usr/lib/vlc/plugins/video_filter/librotate_plugin.so
00b39000-00b3f000 r-xp 00000000 fd:00 4099323    /usr/lib/vlc/plugins/video_filter/libadjust_plugin.soAborted (core dumped)
[nice@politemadness Log]$ 


Expected Results:  
vlc starts normally.

valgrind results:

==28282==    by 0x4119ED: iconv_open (iconv_open.c:72)
==28282==    by 0x7740680: QStateMachinePrivate::stateExitLessThan(QAbstractState*, QAbstractState*) (qstatemachine.cpp:282)
==28282==    by 0x7740EDD: QStateMachinePrivate::dequeueInternalEvent() (qmutex.h:109)
==28282==    by 0x7666EB1: QString::fromLocal8Bit(char const*, int) (qstring.h:269)
==28282==    by 0x76DF3FD: ??? (qhash.h:299)
==28282==    by 0x76E7914: QProcessPrivate::createChannel(QProcessPrivate::Channel&) (qprocess_unix.cpp:423)
==28282==    by 0x76A2836: ??? (qatomic_i386.h:132)
==28282==    by 0x76A308C: QFileInfo::canonicalFilePath() const (qiodevice.cpp:1799)
==28282==    by 0x770E065: QEvent::~QEvent() (qcoreevent.cpp:295)
==28282==    by 0x770E5F5: QCoreApplication::applicationDirPath() (qmutex.h:111)
==28282== 
==28282== 40,096 bytes in 60 blocks are still reachable in loss record 9,044 of 9,050
==28282==    at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==28282==    by 0x3E2CD2: _dl_new_object (dl-object.c:52)
==28282==    by 0x3DED36: _dl_map_object_from_fd (dl-load.c:972)
==28282==    by 0x3DFFB6: _dl_map_object (dl-load.c:2251)
==28282==    by 0x3EAF1B: dl_open_worker (dl-open.c:255)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3EA9C5: _dl_open (dl-open.c:584)
==28282==    by 0x5B4C3A: dlopen_doit (dlopen.c:67)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x5B503B: _dlerror_run (dlerror.c:164)
==28282==    by 0x5B4B70: dlopen@@GLIBC_2.1 (dlopen.c:88)
==28282==    by 0x6AD428: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282== 
==28282== 47,712 bytes in 1 blocks are still reachable in loss record 9,045 of 9,050
==28282==    at 0x4005CD2: realloc (vg_replace_malloc.c:476)
==28282==    by 0x6AD147: vlc_plugin_set (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x63C745: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A8350: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x626770: libvlc_InternalInit (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x5FD6EE: libvlc_new (in /usr/lib/libvlc.so.5.1.0)
==28282==    by 0x8049056: ??? (in /usr/bin/vlc)
==28282==    by 0x410CC5: (below main) (libc-start.c:226)
==28282== 
==28282== 53,504 bytes in 304 blocks are still reachable in loss record 9,046 of 9,050
==28282==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
==28282==    by 0x6AD27D: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A6EAF: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A7E8F: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A7D9C: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A87C4: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6269AF: libvlc_InternalInit (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x5FD6EE: libvlc_new (in /usr/lib/libvlc.so.5.1.0)
==28282==    by 0x8049056: ??? (in /usr/bin/vlc)
==28282==    by 0x410CC5: (below main) (libc-start.c:226)
==28282== 
==28282== 56,400 bytes in 479 blocks are possibly lost in loss record 9,047 of 9,050
==28282==    at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==28282==    by 0x3E82B1: _dl_check_map_versions (dl-version.c:299)
==28282==    by 0x3EB208: dl_open_worker (dl-open.c:298)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3EA9C5: _dl_open (dl-open.c:584)
==28282==    by 0x5B4C3A: dlopen_doit (dlopen.c:67)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x5B503B: _dlerror_run (dlerror.c:164)
==28282==    by 0x5B4B70: dlopen@@GLIBC_2.1 (dlopen.c:88)
==28282==    by 0x6AD428: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A6E86: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282==    by 0x6A7E8F: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282== 
==28282== 58,194 bytes in 92 blocks are still reachable in loss record 9,048 of 9,050
==28282==    at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==28282==    by 0x3E2CD2: _dl_new_object (dl-object.c:52)
==28282==    by 0x3DED36: _dl_map_object_from_fd (dl-load.c:972)
==28282==    by 0x3DFFB6: _dl_map_object (dl-load.c:2251)
==28282==    by 0x3E4E45: openaux (dl-deps.c:65)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3E5401: _dl_map_object_deps (dl-deps.c:247)
==28282==    by 0x3EAF7A: dl_open_worker (dl-open.c:292)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3EA9C5: _dl_open (dl-open.c:584)
==28282==    by 0x5B4C3A: dlopen_doit (dlopen.c:67)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282== 
==28282== 70,730 bytes in 112 blocks are possibly lost in loss record 9,049 of 9,050
==28282==    at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==28282==    by 0x3E2CD2: _dl_new_object (dl-object.c:52)
==28282==    by 0x3DED36: _dl_map_object_from_fd (dl-load.c:972)
==28282==    by 0x3DFFB6: _dl_map_object (dl-load.c:2251)
==28282==    by 0x3E4E45: openaux (dl-deps.c:65)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3E5401: _dl_map_object_deps (dl-deps.c:247)
==28282==    by 0x3EAF7A: dl_open_worker (dl-open.c:292)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3EA9C5: _dl_open (dl-open.c:584)
==28282==    by 0x5B4C3A: dlopen_doit (dlopen.c:67)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282== 
==28282== 163,200 bytes in 244 blocks are possibly lost in loss record 9,050 of 9,050
==28282==    at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==28282==    by 0x3E2CD2: _dl_new_object (dl-object.c:52)
==28282==    by 0x3DED36: _dl_map_object_from_fd (dl-load.c:972)
==28282==    by 0x3DFFB6: _dl_map_object (dl-load.c:2251)
==28282==    by 0x3EAF1B: dl_open_worker (dl-open.c:255)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x3EA9C5: _dl_open (dl-open.c:584)
==28282==    by 0x5B4C3A: dlopen_doit (dlopen.c:67)
==28282==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28282==    by 0x5B503B: _dlerror_run (dlerror.c:164)
==28282==    by 0x5B4B70: dlopen@@GLIBC_2.1 (dlopen.c:88)
==28282==    by 0x6AD428: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28282== 
==28282== LEAK SUMMARY:
==28282==    definitely lost: 15 bytes in 1 blocks
==28282==    indirectly lost: 0 bytes in 0 blocks
==28282==      possibly lost: 1,296,639 bytes in 13,635 blocks
==28282==    still reachable: 966,992 bytes in 9,377 blocks
==28282==         suppressed: 0 bytes in 0 blocks
==28282== 
==28282== For counts of detected and suppressed errors, rerun with: -v
==28282== Use --track-origins=yes to see where uninitialised values come from
==28282== ERROR SUMMARY: 5680 errors from 4764 contexts (suppressed: 2318 from 13)
Killed
[nice@politemadness Log]$ vlc 
VLC media player 1.1.3 The Luggage (revision exported)
*** glibc detected *** vlc: free(): invalid pointer: 0x00a26ff0 ***
======= Backtrace: =========
/lib/libc.so.6[0x468fe1]
/usr/lib/libstdc++.so.6(_ZdlPv+0x22)[0x9ee632]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_destroyERKS1_+0x1e)[0x9e54be]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE7reserveEj+0x9a)[0x9e6cba]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE6appendEjw+0x76)[0x9e6dd6]
/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE6resizeEjw+0x7d)[0x9e836d]
/usr/lib/libtag.so.1(_ZN6TagLib6StringC2EPKcNS0_4TypeE+0xc2)[0x626b7c2]
/usr/lib/libtag.so.1(-0xf92f5aa9)[0x624a557]
/usr/lib/libtag.so.1(-0xf92b3883)[0x628c77d]
/usr/lib/libtag.so.1(-0xf92fd324)[0x6242cdc]
/lib/ld-linux.so.2[0x3e6da0]
/lib/ld-linux.so.2[0x3eb17f]
/lib/ld-linux.so.2[0x3e6966]
/lib/ld-linux.so.2[0x3ea9c6]
/lib/libdl.so.2[0x5b4c3b]
/lib/ld-linux.so.2[0x3e6966]
/lib/libdl.so.2[0x5b503c]
/lib/libdl.so.2(dlopen+0x41)[0x5b4b71]
/usr/lib/libvlccore.so.4[0x6ad429]
======= Memory map: ========
00101000-00140000 r-xp 00000000 fd:00 51639      /usr/lib/libhighgui.so.2.0.0
00140000-00143000 rw-p 0003e000 fd:00 51639      /usr/lib/libhighgui.so.2.0.0
00143000-00144000 rw-p 00000000 00:00 0 
00144000-00247000 r-xp 00000000 fd:00 55717      /usr/lib/libcvaux.so.2.0.0
00247000-0024a000 rw-p 00102000 fd:00 55717      /usr/lib/libcvaux.so.2.0.0
0024a000-0024b000 rw-p 00000000 00:00 0 
0024b000-0025f000 r-xp 00000000 fd:00 130485     /usr/lib/libucil.so.2.1.11
0025f000-00261000 rw-p 00014000 fd:00 130485     /usr/lib/libucil.so.2.1.11
00261000-00263000 r-xp 00000000 fd:00 77907      /usr/lib/libXcomposite.so.1.0.0
00263000-00264000 rw-p 00001000 fd:00 77907      /usr/lib/libXcomposite.so.1.0.0
00264000-00267000 r-xp 00000000 fd:00 4099353    /usr/lib/vlc/plugins/video_filter/libosdmenu_plugin.so
00267000-00268000 rw-p 00002000 fd:00 4099353    /usr/lib/vlc/plugins/video_filter/libosdmenu_plugin.so
00268000-002ca000 r-xp 00000000 fd:00 28585      /usr/lib/libml.so.2.0.0
002ca000-002cc000 rw-p 00062000 fd:00 28585      /usr/lib/libml.so.2.0.0
002cc000-00384000 r-xp 00000000 fd:00 67476      /lib/libgio-2.0.so.0.2400.1
00384000-00386000 rw-p 000b8000 fd:00 67476      /lib/libgio-2.0.so.0.2400.1
00386000-003a3000 r-xp 00000000 fd:00 49422      /usr/lib/libxcb.so.1.1.0
003a3000-003a4000 rw-p 0001c000 fd:00 49422      /usr/lib/libxcb.so.1.1.0
003a4000-003a6000 r-xp 00000000 fd:00 49421      /usr/lib/libXau.so.6.0.0
003a6000-003a7000 rw-p 00001000 fd:00 49421      /usr/lib/libXau.so.6.0.0
003a7000-003a9000 r-xp 00000000 fd:00 4099329    /usr/lib/vlc/plugins/video_filter/libblendbench_plugin.so
003a9000-003aa000 rw-p 00001000 fd:00 4099329    /usr/lib/vlc/plugins/video_filter/libblendbench_plugin.so
003aa000-003b0000 r-xp 00000000 fd:00 4099338    /usr/lib/vlc/plugins/video_filter/libdynamicoverlay_plugin.so
003b0000-003b1000 rw-p 00005000 fd:00 4099338    /usr/lib/vlc/plugins/video_filter/libdynamicoverlay_plugin.so
003b1000-003b3000 r-xp 00000000 fd:00 4099369    /usr/lib/vlc/plugins/video_filter/libwave_plugin.so
003b3000-003b4000 rw-p 00001000 fd:00 4099369    /usr/lib/vlc/plugins/video_filter/libwave_plugin.so
003b4000-003d1000 r-xp 00000000 fd:00 67568      /usr/lib/libatk-1.0.so.0.3009.1
003d1000-003d3000 rw-p 0001d000 fd:00 67568      /usr/lib/libatk-1.0.so.0.3009.1
003d3000-003d7000 r-xp 00000000 fd:00 4099366    /usr/lib/vlc/plugins/video_filter/libtransform_plugin.so
003d7000-003d8000 rw-p 00003000 fd:00 4099366    /usr/lib/vlc/plugins/video_filter/libtransform_plugin.so
003d8000-003f6000 r-xp 00000000 fd:00 6342       /lib/ld-2.12.so
003f6000-003f7000 r--p 0001d000 fd:00 6342       /lib/ld-2.12.so
003f7000-003f8000 rw-p 0001e000 fd:00 6342       /lib/ld-2.12.so
003f8000-003f9000 r-xp 00000000 fd:00 4099370    /usr/lib/vlc/plugins/video_filter/libyuvp_plugin.so
003f9000-003fa000 rw-p 00001000 fd:00 4099370    /usr/lib/vlc/plugins/video_filter/libyuvp_plugin.so
003fa000-0057f000 r-xp 00000000 fd:00 8179       /lib/libc-2.12.so
0057f000-00580000 ---p 00185000 fd:00 8179       /lib/libc-2.12.so
00580000-00582000 r--p 00185000 fd:00 8179       /lib/libc-2.12.so
00582000-00583000 rw-p 00187000 fd:00 8179       /lib/libc-2.12.so
00583000-00586000 rw-p 00000000 00:00 0 
00586000-00587000 r-xp 00000000 fd:00 4099344    /usr/lib/vlc/plugins/video_filter/libinvert_plugin.so
00587000-00588000 rw-p 00001000 fd:00 4099344    /usr/lib/vlc/plugins/video_filter/libinvert_plugin.so
00588000-005b0000 r-xp 00000000 fd:00 49401      /lib/libm-2.12.so
005b0000-005b1000 r--p 00027000 fd:00 49401      /lib/libm-2.12.so
005b1000-005b2000 rw-p 00028000 fd:00 49401      /lib/libm-2.12.so
005b2000-005b3000 r-xp 00000000 fd:00 4099352    /usr/lib/vlc/plugins/video_filter/libnoise_plugin.so
005b3000-005b4000 rw-p 00001000 fd:00 4099352    /usr/lib/vlc/plugins/video_filter/libnoise_plugin.so
005b4000-005b7000 r-xp 00000000 fd:00 49390      /lib/libdl-2.12.so
005b7000-005b8000 r--p 00002000 fd:00 49390      /lib/libdl-2.12.so
005b8000-005b9000 rw-p 00003000 fd:00 49390      /lib/libdl-2.12.so
005b9000-005ba000 r-xp 00000000 fd:00 4099147    /usr/lib/vlc/plugins/audio_filter/libugly_resampler_plugin.so
005ba000-005bb000 rw-p 00000000 fd:00 4099147    /usr/lib/vlc/plugins/audio_filter/libugly_resampler_plugin.so
005bb000-005d2000 r-xp 00000000 fd:00 26963      /lib/libpthread-2.12.so
005d2000-005d3000 r--p 00016000 fd:00 26963      /lib/libpthread-2.12.so
005d3000-005d4000 rw-p 00017000 fd:00 26963      /lib/libpthread-2.12.so
005d4000-005d6000 rw-p 00000000 00:00 0 
005d6000-005d7000 r-xp 00000000 fd:00 4099128    /usr/lib/vlc/plugins/audio_filter/liba52tospdif_plugin.so
005d7000-005d8000 rw-p 00000000 fd:00 4099128    /usr/lib/vlc/plugins/audio_filter/liba52tospdif_plugin.so
005d8000-005ea000 r-xp 00000000 fd:00 49389      /lib/libz.so.1.2.3
005ea000-005eb000 rw-p 00011000 fd:00 49389      /lib/libz.so.1.2.3
005eb000-005ec000 r-xp 00000000 fd:00 4099304    /usr/lib/vlc/plugins/stream_out/libstream_out_dummy_plugin.so
005ec000-005ed000 rw-p 00000000 fd:00 4099304    /usr/lib/vlc/plugins/stream_out/libstream_out_dummy_plugin.so
005ed000-005f4000 r-xp 00000000 fd:00 27620      /lib/librt-2.12.so
005f4000-005f5000 r--p 00006000 fd:00 27620      /lib/librt-2.12.so
005f5000-005f6000 rw-p 00007000 fd:00 27620      /lib/librt-2.12.so
005f6000-005f7000 r-xp 00000000 fd:00 7828       /usr/lib/libX11-xcb.so.1.0.0
005f7000-005f8000 rw-p 00000000 fd:00 7828       /usr/lib/libX11-xcb.so.1.0.0
005f8000-00611000 r-xp 00000000 fd:00 99714      /usr/lib/libvlc.so.5.1.0
00611000-00612000 rw-p 00018000 fd:00 99714      /usr/lib/libvlc.so.5.1.0
00614000-00705000 r-xp 00000000 fd:00 27766      /usr/lib/libvlccore.so.4.0.0
00705000-0070b000 rw-p 000f0000 fd:00 27766      /usr/lib/libvlccore.so.4.0.0
0070b000-0073e000 r-xp 00000000 fd:00 49425      /usr/lib/libfontconfig.so.1.4.4
0073e000-00740000 rw-p 00032000 fd:00 49425      /usr/lib/libfontconfig.so.1.4.4
00740000-00776000 r-xp 00000000 fd:00 129643     /usr/lib/libtheora.so.0.3.10
00776000-00777000 rw-p 00035000 fd:00 129643     /usr/lib/libtheora.so.0.3.10
00777000-00795000 r-xp 00000000 fd:00 4099325    /usr/lib/vlc/plugins/video_filter/libatmo_plugin.so
00795000-00796000 rw-p 0001d000 fd:00 4099325    /usr/lib/vlc/plugins/video_filter/libatmo_plugin.so
00796000-0079b000 r-xp 00000000 fd:00 4099342    /usr/lib/vlc/plugins/video_filter/libgradient_plugin.so
0079b000-0079c000 rw-p 00004000 fd:00 4099342    /usr/lib/vlc/plugins/video_filter/libgradient_plugin.so
0079e000-007a0000 r-xp 00000000 fd:00 4099332    /usr/lib/vlc/plugins/video_filter/libchain_plugin.so
007a0000-007a1000 rw-p 00001000 fd:00 4099332    /usr/lib/vlc/plugins/video_filter/libchain_plugin.so
007a1000-007a9000 r-xp 00000000 fd:00 4099390    /usr/lib/vlc/plugins/video_filter/libpanoramix_plugin.so
007a9000-007aa000 rw-p 00007000 fd:00 4099390    /usr/lib/vlc/plugins/video_filter/libpanoramix_plugin.so
007aa000-007b3000 r-xp 00000000 fd:00 7835       /usr/lib/libxcb-randr.so.0.1.0
007b3000-007b4000 rw-p 00008000 fd:00 7835       /usr/lib/libxcb-randr.so.0.1.0
007b4000-007b6000 r-xp 00000000 fd:00 4099343    /usr/lib/vlc/plugins/video_filter/libgrain_plugin.so
007b6000-007b7000 rw-p 00001000 fd:00 4099343    /usr/lib/vlc/plugins/video_filter/libgrain_plugin.so
007b7000-007b9000 r-xp 00000000 fd:00 4099388    /usr/lib/vlc/plugins/video_filter/libopencv_example_plugin.so
007b9000-007ba000 rw-p 00001000 fd:00 4099388    /usr/lib/vlc/plugins/video_filter/libopencv_example_plugin.so
007ba000-007bc000 r-xp 00000000 fd:00 4099341    /usr/lib/vlc/plugins/video_filter/libgaussianblur_plugin.so
007bc000-007bd000 rw-p 00001000 fd:00 4099341    /usr/lib/vlc/plugins/video_filter/libgaussianblur_plugin.so
007bd000-007c4000 r-xp 00000000 fd:00 4099357    /usr/lib/vlc/plugins/video_filter/libremoteosd_plugin.so
007c4000-007c5000 rw-p 00007000 fd:00 4099357    /usr/lib/vlc/plugins/video_filter/libremoteosd_plugin.so
007c5000-007c9000 r-xp 00000000 fd:00 4099351    /usr/lib/vlc/plugins/video_filter/libmotiondetect_plugin.so
007c9000-007ca000 rw-p 00003000 fd:00 4099351    /usr/lib/vlc/plugins/video_filter/libmotiondetect_plugin.so
007ca000-007cd000 r-xp 00000000 fd:00 4099363    /usr/lib/vlc/plugins/video_filter/libscene_plugin.so
007cd000-007ce000 rw-p 00002000 fd:00 4099363    /usr/lib/vlc/plugins/video_filter/libscene_plugin.so
007ce000-007d2000 r-xp 00000000 fd:00 4099367    /usr/lib/vlc/plugins/video_filter/libvideo_filter_wrapper_plugin.so
007d2000-007d3000 rw-p 00003000 fd:00 4099367    /usr/lib/vlc/plugins/video_filter/libvideo_filter_wrapper_plugin.so
007d3000-007d6000 r-xp 00000000 fd:00 4099330    /usr/lib/vlc/plugins/video_filter/libbluescreen_plugin.so
007d6000-007d7000 rw-p 00002000 fd:00 4099330    /usr/lib/vlc/plugins/video_filter/libbluescreen_plugin.so
007d7000-007da000 r-xp 00000000 fd:00 4099359    /usr/lib/vlc/plugins/video_filter/librotate_plugin.so
007da000-007db000 rw-p 00002000 fd:00 4099359    /usr/lib/vlc/plugins/video_filter/librotate_plugin.so
007db000-007dd000 r-xp 00000000 fd:00 4099355    /usr/lib/vlc/plugins/video_filter/libpsychedelic_plugin.so
007dd000-007de000 rw-p 00001000 fd:00 4099355    /usr/lib/vlc/plugins/video_filter/libpsychedelic_plugin.so
007de000-007e4000 r-xp 00000000 fd:00 4099323    /usr/lib/vlc/plugins/video_filter/libadjust_plugin.so
007e4000-007e5000 rw-p 00005000 fd:00 4099323    /usr/lib/vlc/plugins/video_filter/libadjust_plugin.so
007e5000-007e9000 r-xp 00000000 fd:00 4099340    /usr/lib/vlc/plugins/video_filter/libextract_plugin.so
007e9000-007ea000 rw-p 00003000 fd:00 4099340    /usr/lib/vlc/plugins/video_filter/libextract_plugin.so
007ea000-007ee000 r-xp 00000000 fd:00 4099345    /usr/lib/vlc/plugins/video_filter/liblogo_plugin.so
007ee000-007ef000 rw-p 00003000 fd:00 4099345    /usr/lib/vlc/plugins/video_filter/liblogo_plugin.so
007ef000-007f1000 r-xp 00000000 fd:00 4099324    /usr/lib/vlc/plugins/video_filter/libalphamask_plugin.so
007f1000-007f2000 rw-p 00001000 fd:00 4099324    /usr/lib/vlc/plugins/video_filter/libalphamask_plugin.so
007f4000-007f7000 r-xp 00000000 fd:00 4099368    /usr/lib/vlc/plugins/video_filter/libwall_plugin.so
007f7000-007f8000 rw-p 00002000 fd:00 4099368    /usr/lib/vlc/plugins/video_filter/libwall_plugin.so
007f8000-00800000 r-xp 00000000 fd:00 4099328    /usr/lib/vlc/plugins/video_filter/libblend_plugin.so
00800000-00801000 rw-p 00008000 fd:00 4099328    /usr/lib/vlc/plugins/video_filter/libblend_plugin.so
00801000-00804000 r-xp 00000000 fd:00 4099346    /usr/lib/vlc/plugins/video_filter/libmagnify_plugin.so
00804000-00805000 rw-p 00002000 fd:00 4099346    /usr/lib/vlc/plugins/video_filter/libmagnify_plugin.soAborted (core dumped)
[nice@politemadness Log]$ 
[nice@politemadness Log]$ 
[nice@politemadness Log]$ 
[nice@politemadness Log]$ 
[nice@politemadness Log]$ env LC_ALL=C valgrind vlc
==28315== Memcheck, a memory error detector
==28315== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==28315== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==28315== Command: vlc
==28315== 
VLC media player 1.1.3 The Luggage (revision exported)
==28315== 
==28315== HEAP SUMMARY:
==28315==     in use at exit: 72 bytes in 2 blocks
==28315==   total heap usage: 2 allocs, 0 frees, 72 bytes allocated
==28315== 
==28315== LEAK SUMMARY:
==28315==    definitely lost: 0 bytes in 0 blocks
==28315==    indirectly lost: 0 bytes in 0 blocks
==28315==      possibly lost: 0 bytes in 0 blocks
==28315==    still reachable: 72 bytes in 2 blocks
==28315==         suppressed: 0 bytes in 0 blocks
==28315== Rerun with --leak-check=full to see details of leaked memory
==28315== 
==28315== For counts of detected and suppressed errors, rerun with: -v
==28315== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 20 from 8)
==28315== 
==28315== HEAP SUMMARY:
==28315==     in use at exit: 72 bytes in 2 blocks
==28315==   total heap usage: 2 allocs, 0 frees, 72 bytes allocated
==28315== 
==28315== LEAK SUMMARY:
==28315==    definitely lost: 0 bytes in 0 blocks
==28315==    indirectly lost: 0 bytes in 0 blocks
==28315==      possibly lost: 0 bytes in 0 blocks
==28315==    still reachable: 72 bytes in 2 blocks
==28315==         suppressed: 0 bytes in 0 blocks
==28315== Rerun with --leak-check=full to see details of leaked memory
==28315== 
==28315== For counts of detected and suppressed errors, rerun with: -v
==28315== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 20 from 8)
==28315== 
==28315== HEAP SUMMARY:
==28315==     in use at exit: 72 bytes in 2 blocks
==28315==   total heap usage: 2 allocs, 0 frees, 72 bytes allocated
==28315== 
==28315== LEAK SUMMARY:
==28315==    definitely lost: 0 bytes in 0 blocks
==28315==    indirectly lost: 0 bytes in 0 blocks
==28315==      possibly lost: 0 bytes in 0 blocks
==28315==    still reachable: 72 bytes in 2 blocks
==28315==         suppressed: 0 bytes in 0 blocks
==28315== Rerun with --leak-check=full to see details of leaked memory
==28315== 
==28315== For counts of detected and suppressed errors, rerun with: -v
==28315== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 20 from 8)
==28315== 
==28315== HEAP SUMMARY:
==28315==     in use at exit: 72 bytes in 2 blocks
==28315==   total heap usage: 2 allocs, 0 frees, 72 bytes allocated
==28315== 
==28315== LEAK SUMMARY:
==28315==    definitely lost: 0 bytes in 0 blocks
==28315==    indirectly lost: 0 bytes in 0 blocks
==28315==      possibly lost: 0 bytes in 0 blocks
==28315==    still reachable: 72 bytes in 2 blocks
==28315==         suppressed: 0 bytes in 0 blocks
==28315== Rerun with --leak-check=full to see details of leaked memory
==28315== 
==28315== For counts of detected and suppressed errors, rerun with: -v
==28315== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 20 from 8)
==28315== Invalid free() / delete / delete[]
==28315==    at 0x400550D: operator delete(void*) (vg_replace_malloc.c:346)
==28315==    by 0x9E54BD: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&) (basic_string.tcc:404)
==28315==    by 0x9E6CB9: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned int) (codecvt_members.cc:291)
==28315==    by 0x9E6DD5: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(unsigned int, wchar_t) (codecvt_members.cc:196)
==28315==    by 0x9E836C: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned int, wchar_t) (monetary_members.cc:331)
==28315==    by 0x62547C1: TagLib::String::String(char const*, TagLib::String::Type) (basic_string.h:913)
==28315==    by 0x6233556: ??? (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x627577C: ??? (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x622BCDB: ??? (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x3E6D9F: _dl_init (dl-init.c:70)
==28315==    by 0x3EB17E: dl_open_worker (dl-open.c:493)
==28315==    by 0x3E6965: _dl_catch_error (dl-error.c:178)
==28315==  Address 0xa26ff0 is 0 bytes inside data symbol "_ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE"
==28315== 
==28315== Invalid free() / delete / delete[]
==28315==    at 0x400550D: operator delete(void*) (vg_replace_malloc.c:346)
==28315==    by 0x9E54BD: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&) (basic_string.tcc:404)
==28315==    by 0x9E6BAF: std::codecvt<wchar_t, char, __mbstate_t>::do_length(__mbstate_t&, char const*, char const*, unsigned int) const (codecvt_members.cc:250)
==28315==    by 0x625341D: TagLib::String::substr(unsigned int, unsigned int) const (basic_string.h:297)
==28315==    by 0x62747FC: TagLib::FileRef::create(char const*, bool, TagLib::AudioProperties::ReadStyle) (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x6275572: TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle) (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x5A4DCEE: ??? (in /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so)
==28315==    by 0x6D9E52: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28315==  Address 0xa26ff0 is 0 bytes inside data symbol "_ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE"
==28315== 
==28315== Invalid free() / delete / delete[]
==28315==    at 0x400550D: operator delete(void*) (vg_replace_malloc.c:346)
==28315==    by 0x9E54BD: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&) (basic_string.tcc:404)
==28315==    by 0x9E6CB9: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned int) (codecvt_members.cc:291)
==28315==    by 0x62536A9: TagLib::String::String(char const*, TagLib::String::Type) (tstring.cpp:121)
==28315==    by 0x6274815: TagLib::FileRef::create(char const*, bool, TagLib::AudioProperties::ReadStyle) (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x6275572: TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle) (in /usr/lib/libtag.so.1.6.3)
==28315==    by 0x5A4DCEE: ??? (in /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so)
==28315==    by 0x6D9E52: ??? (in /usr/lib/libvlccore.so.4.0.0)
==28315==  Address 0xa26ff0 is 0 bytes inside data symbol "_ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE"
==28315== 
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[0x4037154] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0xa8d90c4, 0xa8d9038)
==28315== Thread 5:
==28315== Conditional jump or move depends on uninitialised value(s)
==28315==    at 0x69DFDDC: QInotifyFileSystemWatcherEngine::addPaths(QStringList const&, QStringList*, QStringList*) (qbasicatomic.h:75)
==28315==    by 0x69DFFB7: QInotifyFileSystemWatcherEngine::addPaths(QStringList const&, QStringList*, QStringList*) (qfilesystemwatcher_inotify.cpp:299)
==28315==    by 0x6A058B1: QMetaMethod::parameterTypes() const (qmetaobject.cpp:1254)
==28315==    by 0x6A05974: QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) (qatomic_i386.h:132)
==28315==    by 0x21470DC: QApplication::QApplication(int&, char**, bool, int) (qformlayout.cpp:809)
==28315==    by 0x65479F8: ??? (in /usr/lib/vlc/plugins/gui/libqt4_plugin.so)
==28315==    by 0x40D3D5F: ???
==28315== 
Warning: call to signal(13, 0x1)
Warning: call to srand(1283969504)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:28315): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
==28315== Conditional jump or move depends on uninitialised value(s)
==28315==    at 0x21386FD: QAction::setChecked(bool) (qdnd.cpp:435)
==28315==    by 0x6552772: QVLCMenu::ViewMenu(intf_thread_t*, QMenu*, MainInterface*) (in /usr/lib/vlc/plugins/gui/libqt4_plugin.so)
==28315==    by 0x6553D17: QVLCMenu::createMenuBar(MainInterface*, intf_thread_t*) (in /usr/lib/vlc/plugins/gui/libqt4_plugin.so)
==28315==    by 0x9E02F67: ???
==28315== 
Blocked: call to setlocale(6, "")
Comment 1 Alexei Panov 2010-09-11 22:52:52 UTC
Created attachment 51554 [details]
log start vlc with valgrind and debuginfo packages

I'm confirming this bug.  This bug reproduced randomly. Bug present on Fedora 12/13 and architectures i386 and x86_64. And I'm attaching my strace and valgrind with debug info.
Comment 2 Alexei Panov 2010-09-11 22:56:01 UTC
Created attachment 51555 [details]
log start vlc with strace 

taglib 1.6.3-1.fc13
libstdc++ 4.4.4-10.fc13
kde 4.4.5
vlc 1.1.3-1.fc13
Comment 3 Scott Wheeler 2010-09-12 00:00:15 UTC
I would be *very* surprised if this turns out to be a TagLib bug since the line that's crashing is just attempting to instantiate a string, which is naturally extensively tested (and valgrind-clean).  The crash actually happens inside of the STL.

Unfortunately without some file that this can be reproduced on or some simple case that just involves TagLib and not VLC, the chances of this getting tracked down are slim.
Comment 4 Alexei Panov 2010-09-12 16:24:47 UTC
I'm not sure that this bug in taglib or STL. 
But if I moving vlc-plugin for taglib from library directory, vlc executed without bugs. 
With other side - k3b, kdemultimedia depends on taglib and not having this bug.
Maybe I'm stupid, but not understand this bug.
Comment 5 Scott Wheeler 2010-10-17 21:45:26 UTC
*** Bug 251913 has been marked as a duplicate of this bug. ***
Comment 6 Scott Wheeler 2010-10-17 21:49:51 UTC
I'm pretty certain this is a bug in the VLC / TagLib connector since we've seen a number of crashes coming across from that combo.  All of the crashes are in really well traversed paths within TagLib's code (mostly creating or destroying strings, or doing simple things to them like converting them to C strings).  From that pattern I'd be very surprised if this is not some memory corruption inside of VLC where it's either got dangling pointers to TagLib objects that are being dereferenced or is passing in invalid data to the TagLib::String constructor.

Since there's no component for VLC itself, it was suggested on IRC that I bump this over to the Phonon-VLC component for now.  I'm adding myself to the CC list to see what comes of it.
Comment 7 Jean-Baptiste Kempf 2010-10-17 22:06:54 UTC
This free() issue happens in VLC/Taglib Only on Fedora systems, so far, as far as VLC upstream is concerned.
Comment 8 Scott Wheeler 2010-10-17 22:36:49 UTC
The bug which I just marked as a duplicate came from Debian.
Comment 9 Jean-Baptiste Kempf 2010-10-18 12:12:10 UTC
Then, those two bugs are different. I'll reopen the other one.

This one is a packaging bug from Fedora.
Comment 10 Kerry N 2010-11-10 02:04:58 UTC
Just tried VLC in Fedora 14
$ rpm -q kdebase taglib vlc
kdebase-4.5.2-2.fc14.i686
taglib-1.6.3-1.fc13.i686
vlc-1.1.4-4.fc14.i686


It seems to work now without the core dump.
Comment 11 Lukáš Lalinský 2010-12-17 09:50:28 UTC
*** Bug 260346 has been marked as a duplicate of this bug. ***
Comment 12 Simon Lewis 2010-12-17 10:02:47 UTC
This problem is not resovled - it causings a lot of users headaches - and neither kde, vlc, fedora or rpmfusion are taking any responsibility for it...
Comment 13 Waldo Cancino 2010-12-17 10:07:53 UTC
Hello:

In my case, upgrading to vlc 1.5.1 solves all my problems. I read somewhere that libtag is not thread-safe, so vlc fixed its interaction with libtag.
Comment 14 Kerry N 2010-12-17 10:09:02 UTC
I am no longer able to reproduce the problem on my machine. For me, whatever
changed in upgrading to Fedora 14 seems to have fixed it.
Comment 15 Waldo Cancino 2010-12-17 10:13:35 UTC
Sorry, I mean vlc 1.1.5 (debian sid)
Comment 16 Simon Lewis 2010-12-17 11:36:25 UTC
Oh well..

I did make the effort of installing Fedora 14 on my laptop and found that it kept feezing. As I needed a working system I went back to Fedora 13 which is rock-solid (as was the previous Fedora 12 installation).

The downside is that rpmfusion does not backport the current applications that they support to fc13. Especially the multi-media apps well behind the times.
 
Shame really as the support from red hat and planetccrma has been exemplary.

Why is it that openSUSE don't need any patchs for taglib yet every other rpm based distro needs to workaroung with multilib and utf8 compatibility?
Comment 17 Simon Lewis 2010-12-17 13:35:48 UTC
I am not a programm but could this problem be the result of lines 201 and 202 in tstring.cpp?

String::~String()
{
  if(d->deref())
    delete d;
}

deleting the StringPrivate of String::null
Comment 18 Myriam Schweingruber 2011-04-27 21:33:13 UTC
Reassigning to the new bugzilla product for better bug tracing of the various
backends. Sorry for the noise.