Forumchem - Forum with AI(ALICE BOT & HAL9000) and TTS

More dificult for us, more easy for you
It is currently Fri Apr 19, 2024 8:07 pm

All times are UTC





Post new topic Reply to topic  Page 1 of 1
 [ 2 posts ] 
Author Message
 Post subject: threads in opengl application - stack overflow
PostPosted: Fri Nov 08, 2013 9:08 am 
Offline
User avatar

Joined: Fri Apr 03, 2009 1:31 am
Posts: 1357
Those threads are not something specific to OpenGL; OpenGL doesnt know anything about threads, because technically its just a piece of text, namely the specification.



However in your case its very likely that those threads are created by the OpenGL implementation (aka your graphics driver). As you can see those threads seem to be tasked with copying some data. Which suggest they crash, because you either give OpenGL




  • some invalid pointer

  • or invalid metrics for the pointer (size of the buffer, stride, etc.)

  • or youre deallocating / freeing memory in a different thread while OpenGL still access it from the OpenGL context thread.



In either case its not the threads fault that the program crashes, but your lack of either supplying OpenGL with authorized data, or to properly lock/synchronize with OpenGL so that you dont invalidate the buffers in mid-operation.





Source



Top
 Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


 
Search for:
 
Jump to:  

cron
Click me:
Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009 phpBB Group
Chronicles phpBB3 theme by Jakob Persson. Stone textures by Patty Herford.
With special thanks to RuneVillage

This site have 4 type of tecnology in order to convert text to speech. By default you use the vozme tecnology. In order to know the other you need to sign for.


- Privacy Policy -