Page 1 of 1

vlc crash in libhttp_plugin.so(EvaluateRPN)

Posted: 06 Aug 2006 10:06
by fazer
Hi to all,

I created a simple html page to control vlc thru his http interface (with RPN functions calls). Although it works correctly on my 3 configurations, it makes vlc crash on the configuration of a friend.

Here is some log he gets

Code: Select all

[00000514] http interface debug: redir= -> / [00000514] http interface debug: redir=/index.html -> / [00000514] main interface debug: using interface module "http" [00000514] main interface debug: thread 2985544608 (manager) created at priority 0 (interface/interface.c:216) [00000516] main http server debug: creating statistics handler [00000516] main http server debug: Connection from 127.0.0.1 *** glibc detected *** /usr/bin/vlc: munmap_chunk(): invalid pointer: 0x0840906f ***
As written above, vlc http interface is starting with no problem, but the crash occurs when an incoming connection arrives like : (http://host:port/file.html?cmd=param&option=param2)

The only difference I could see between our configurations was vlc chooses memcpy in one configuration (mine, OK, only 1 candidate module for memcpy), and memcpymmxext in the other (friend, crash, 5 candidates modules for memcpy).
Anyway, we tried to launch vlc with '-A memcpy' with no more success.

Does anyone have an idea about this issue ?
Thanks in advance.

Posted: 08 Aug 2006 21:35
by The DJ
sounds like an issue with the available cpu optimizations.
What kind of cpu does he have ?

Posted: 31 Aug 2006 14:18
by Mr_Smoke
**Bump**

Hi,

Bumping this up because I have the same problem. VLC crashes when trying to play/enqueue any MRL from withing the HTTP interface. Same error (munmap_chunk() and libhttp_plugin.so(EvaluateRPN)).

CPU is AMD Athlon XP 2600+
The system is running gentoo, so vlc was compiled with "-march=athlon-xp -O2 -pipe -fomit-frame-pointer"

Thanks for your help :-)

Cheerio,
Mr_Smoke

Posted: 11 Sep 2006 21:12
by Mr_Smoke
I'm really willing to help with this issue, if it involves some testing or whatever, please let me know what to do.

Cheers.

Posted: 24 Oct 2006 18:06
by jonny-blts
I have the same problem with a gentoo machine;
the strange thing is that the same sources (vlc-0.8.5), same config,
compiled on two similar machines, one exposes the glibc error, and the other
is ok.

I think the (big) difference is gcc version:

machine ok: p4 3GHz / 512Mb gentoo-release: 1.6.14 (gcc version 3.3.6)
machine ko: p4 3GHz / 1Gb gentoo-release: 1.12.1 (gcc version 4.1.1)