After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 306641 - gst-compprep segfaults when mpeg2enc plugin is installed after xvid plugin
gst-compprep segfaults when mpeg2enc plugin is installed after xvid plugin
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other All
: High critical
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-06 11:28 UTC by Jan de Groot
Modified: 2005-06-09 09:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Declares xvid struct static (291 bytes, patch)
2005-06-06 11:30 UTC, Jan de Groot
none Details | Review

Description Jan de Groot 2005-06-06 11:28:11 UTC
Steps to reproduce:
1. Use a distro with split-up plugins that have both mpeg2enc and xvid plugin
linked dynamic
2. install xvid plugin, install mpeg2enc plugin
3. run gst-compprep, watch it segfault


Stack trace:


Other information:
Comment 1 Jan de Groot 2005-06-06 11:30:49 UTC
Created attachment 47311 [details] [review]
Declares xvid struct static

After a conversation with Ronald, we found out init is called twice. The 2nd
init is returned with false without init, but the declaration of the
xvid_gbl_init_t struct in the 2nd run makes it crash. Declaring this struct
static fixes the crasher when xvidcore is linked in dynamic
Comment 2 Ronald Bultje 2005-06-09 09:56:14 UTC
Applied, thanks.