Page 1 of 1

FreeBSD: vlc in free(): error: modified (chunk-) pointer

Posted: 04 Nov 2006 18:07
by Humperdinck
Dear Forum,

FreeBSD 6.2 and vlc-0.8.5_7. It rocks, I tell you.

The new http interface triggers a bug that most likely is FreeBSD related but I'll post it here anyway in case anyone knows a quick fix for it.

When running "vlc -I http" and using a browser to add a file, clicking 'play' for that file gives the following error message with a core dump:

vlc in free(): error: modified (chunk-) pointer

If anyone has a solution, please let me and the forum know!

Thanks In Advance

/Humperdinck

Posted: 05 Nov 2006 23:17
by xtophe
gdb backtrace please

Posted: 06 Nov 2006 00:02
by Humperdinck
(gdb) bt
#0 0x2875a537 in pthread_testcancel () from /lib/libpthread.so.2
#1 0x2874989a in sigaction () from /lib/libpthread.so.2
#2 0x2874388d in pthread_kill () from /lib/libpthread.so.2
#3 0x28743256 in raise () from /lib/libpthread.so.2
#4 0x2881cb9c in abort () from /lib/libc.so.6
#5 0x287b9fdb in _UTF8_init () from /lib/libc.so.6
#6 0xbfbfed84 in ?? ()
#7 0x28823df3 in sys_nsig () from /lib/libc.so.6
#8 0x28823cf3 in sys_nsig () from /lib/libc.so.6
#9 0x28823d1e in sys_nsig () from /lib/libc.so.6
#10 0x00000000 in ?? ()
#11 0x2882ed80 in ?? () from /lib/libc.so.6
#12 0xbf4f47c8 in ?? ()
#13 0x287ba009 in _UTF8_init () from /lib/libc.so.6
#14 0x2882ed80 in ?? () from /lib/libc.so.6
#15 0x0812cf58 in libmatroska::KaxAttachments::ClassInfos ()
#16 0xbf4f4878 in ?? ()
#17 0x287bad69 in _UTF8_init () from /lib/libc.so.6
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x2882ed80 in ?? () from /lib/libc.so.6
#38 0x0000008a in ?? ()
#39 0x0827eb00 in ?? ()
#40 0x0000008a in ?? ()
#41 0x28802282 in strdup () from /lib/libc.so.6
Previous frame inner to this frame (corrupt stack?)

Posted: 08 Nov 2006 18:02
by Humperdinck
The issue seems to be resolved in the devel version (VLC media player 0.9.0-svn Grishenko).

Posted: 12 Nov 2006 21:42
by RĂ©mi Denis-Courmont
Looks like a heap corruption (could also be a bug in libmatroska btw). Unfortunately, our matroska maintainer left :(