Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19527 - [vlc] libebml segfault on opening mkv files

Attached to Project: Arch Linux
Opened by Anonymous Submitter - Wednesday, 19 May 2010, 13:23 GMT
Last edited by Ionut Biru (wonder) - Thursday, 20 May 2010, 23:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

VLC on opening any mkv video file just crashes (just mkv files as of now). dmesg gives the following error :-

vlc[3400]: segfault at 7 ip 00007fcb2a639026 sp 00007fcb2b08a570 error 4 in libebml.so.0[7fcb2a626000+22000]

Additional info:

libebml 0.8.0-1
libmatroska 0.9.0-1
vlc 1.0.6-3

All other dependencies version as on 19 May 2010, 13:20:00 UTC. All are x86_64 versions.

Steps to reproduce:

Open a mkv video file using vlc.

After vlc crashes, check dmesg output.
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 20 May 2010, 23:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  vlc 1.0.6-4
Comment by Thomas Dziedzic (tomd123) - Wednesday, 19 May 2010, 13:31 GMT
can you please provide a backtrace
Comment by Vladimir Korsun (amigo) - Wednesday, 19 May 2010, 14:58 GMT
Hi! I have same problem on i686 and x86_64. Here is vlc --verbose output http://dpaste.org/NPUQ/
vlc just not playing mkv. But not crash.
Comment by Andrea Scarpino (BaSh) - Wednesday, 19 May 2010, 15:11 GMT
  • Field changed: Summary (vlc libebml segfault on opening mkv files → [vlc] libebml segfault on opening mkv files)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Giovanni Scafora (giovanni)
I think VLC needs a rebuild cause of libebml new version
Comment by antonello (antonello) - Wednesday, 19 May 2010, 17:25 GMT
same on x86_64 (libebml 0.8.0-1 libmatroska 0.9.0-1 vlc 1.0.6-3).
Here's an example:

user ~ $ vlc
VLC media player 1.0.6 Goldeneye
[0x24ab098] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
(31469) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-user/ksycoca4"
[0x2a76178] mkv demux error: cannot find KaxSegment
[0x7fe71c0296e8] libmpeg2 decoder error: invalid picture encountered
[0x7fe71c01e008] libmpeg2 decoder error: invalid picture encountered
[0x7fe71c02b758] libmpeg2 decoder error: invalid picture encountered
[0x7fe71c0312c8] libmpeg2 decoder error: invalid picture encountered
[0x7fe71c021798] libmpeg2 decoder error: invalid picture encountered
[0x7fe71c0050d8] libmpeg2 decoder error: invalid picture encountered
^C[0x2608378] signals interface error: Caught Interrupt signal, exiting...
Segmentation fault
Comment by Thomas Dziedzic (tomd123) - Wednesday, 19 May 2010, 17:38 GMT
Can someone who is experiencing this, try to rebuild vlc and see if it breaks?
Comment by stqn (stqn) - Wednesday, 19 May 2010, 21:54 GMT
I just tried and rebuilding from abs fixes the problem for me.

With vlc 1.0.6-3 from extra, opening an mkv gives this error in dmesg:
vlc[5185]: segfault at 2d766b79 ip b4c1ec84 sp b2169d10 error 4 in libebml.so.0[b4c0f000+20000]

After rebuilding (abs extra/vlc, makepkg -rs, pacman -U vlc...), vlc can play it.

(All this with an up-to-date system, except the kernel which is a custom 2.6.33-1.)

Just in case, my CFLAGS:
CFLAGS="-march=pentium-m -O3 -fomit-frame-pointer -pipe"
CXXFLAGS="-march=pentium-m -O3 -fomit-frame-pointer -pipe"
Comment by Thomas Dziedzic (tomd123) - Thursday, 20 May 2010, 03:13 GMT
@stqn
just an fyi, having -O3 doesn't ensure the best performance.
-O2 is usually the highest you would want to go.
-O3 is usually slower, larger binary files, and an increased chance of creating bad binaries
Comment by Vladimir Korsun (amigo) - Thursday, 20 May 2010, 03:40 GMT
@tom, I rebuild vlc 1.0.6-3. It's work fine!

Loading...