libvlc crash when libass is used

This forum is about all development around libVLC.
XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

libvlc crash when libass is used

Postby XilasZ » 17 Aug 2009 21:41

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc crash when libass is used

Postby Jean-Baptiste Kempf » 22 Aug 2009 00:59

Can you provide a backtrace?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: libvlc crash when libass is used

Postby XilasZ » 22 Aug 2009 16:14

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 :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 54 guests