Page 1 of 1

libvlc crash when libass is used

Posted: 17 Aug 2009 21:41
by XilasZ
Hi, i noticed that the last version of my program (updated to libvlc 1.0.1) crash when playing anything with a.s.s subtitles.
I tested, it worked with libvlc 0.9.9.

It doesn't crash if the libass plugin is removed. I read somewhere that it uses another plugin to do the job instead, but without anything specific to a.s.s format (font, color, position, ...).

There no crash when using vlc player. The only difference is the font cache, that is created once since v1.0.0.
Font cache works great with vlc player, but what about libvlc ?

Thanks

Re: libvlc crash when libass is used

Posted: 22 Aug 2009 00:59
by Jean-Baptiste Kempf
Can you provide a backtrace?

Re: libvlc crash when libass is used

Posted: 22 Aug 2009 16:14
by XilasZ
I don't know how to get a backtrace on windows.

But while i was trying to get it, i tried with the debug version (from nightly builds), last one before release 1.0.1.
It crash, but i got an assertion first, in interface/dialog.c ("assert(dialog);", line 250).

But then i saw this : http://git.videolan.org/?p=vlc.git;a=co ... 15a9869586
It seems to be the same issue. i tried again, but this time with the last 1.0.x build, and no more crash, so it's already fixed :D

Anyway, how can i get a backtrace when using libvlc.dll from a .NET program on windows ?

Edit: i did it. I tried windbg, and the callstack confirms that it crashes inside dialog_ProgressSet, in interface/dialog.c. So problem solved :)