[vlc-devel] Mozilla plugin resize

Anthony Loiseau thannoy at actech-innovation.com
Wed Nov 18 11:02:32 CET 2009

Here is a method to help fixing the segfault of mozplugin.

1 - compile VLC with debug symbols
2 - install it as needed for this debug version to be bind with Firefox
3 - close all running Firefox processes

4 - start firefox program inside a gdb session:
     * on my fedora10, /usr/bin/firefox is a sh script which handle "-g"
parameter to easily start firefox in a gdb session, only have to type
"run" on gdb prompt.
     * otherwise you can attache a running process or run the real
binary after having set all env-vars.

5 - run and wait for the VLC plugin thread to segfault. 
Then extract backtraces from gdb prompt (commands "bt", "bt full",
"frame number", "print varname-or-expression").

If you use Windows, you can do roughly the same. For my own I have
cygwin installed with gdb and I start firefox in a gdb session using the
cygwin console.


On Wed, 2009-11-18 at 10:51 +0100, y.brehon at qiplay.com wrote:
> - concerning the toolbar option, we have a systematic Firefox segfault
> when using the toolbar, so could not test, even less understand how it
> is supposed to work. If someone cares to explain this, and how we can
> correct the segfault as soon as an embed is set with the toolbar, we
> will gladly look into it.

More information about the vlc-devel mailing list