Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 11:10:33



Reply to topic  [ 4 posts ] 
Known bug: crash on startup with 2 or more GL image threads 
Author Message

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I have just discovered this random crash bug, that seems to be occurring relatively consistently under Windows, on first viewer start after boot, and much more rarely after that (strange, really)...

I have not seen any crash under Linux, but maybe some render glitches (rare failed texture rezzing) could be related with it.

It occurs when using two or more GL image threads (the more threads the more likely to happen), and is due to the use of a non-thread-safe counter for retrieving the per-thread OpenGL shared context on threads initialization, the problem being that this initialization process is itself threaded (meaning you could end up having two different threads using the same OpenGL context, which is illegal) !

This bug is fixed for tomorrow's releases.


2022-11-18 13:52:40
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Fixed in today's releases.


2022-11-19 13:57:44
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Well, it's embarrassing... :oops:

I'm still seeing (rarer) crashes under Windows, and indeed there was a second race condition (on making the GL context current to the thread being initialized) in that code...

I fully reworked the code and will publish fixed releases today.


2022-11-20 09:28:57
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
v1.30.2.28 and v1.30.1.11 released with the fix.


2022-11-20 15:39:50
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.