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 602771 - qglwtextureshare example crashes sometimes on startup
qglwtextureshare example crashes sometimes on startup
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
git master
Other All
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-23 20:15 UTC by Andrey Nechypurenko
Modified: 2010-02-09 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for the problems mentioned in the bug description (6.04 KB, patch)
2009-11-23 20:18 UTC, Andrey Nechypurenko
none Details | Review

Description Andrey Nechypurenko 2009-11-23 20:15:57 UTC
Qglwtextureshare example crashes sometimes on startup. It happens not on every start but sometimes. There is a bug where depending on the thread initialization (startup) sequence, access to the not yet uninitialized data could be made. 

Attached patch fixes this problem. Also, for some reasons, all sources in this example have permissions 755. This patch reset them to 644. In addition, the note about possible crashes on startup is removed from README file.
Comment 1 Andrey Nechypurenko 2009-11-23 20:18:45 UTC
Created attachment 148343 [details] [review]
fix for the problems mentioned in the bug description
Comment 2 Julien Isorce 2009-11-25 16:10:13 UTC
commit f7adaa4c0a0c246e6767d23e850e11c8fad96474
Author: Andrey Nechypurenko <andreynech@gmail.com>
Date:   Wed Nov 25 17:09:35 2009 +0100

    qglwtextureshare example: Fix several stability problems

    Fix some sporadic crashes during startup and shutdown.
    File permissions are changed from 755 to 644.
    Remove the statement about possible startup crashes from README.
    Fix #602771