Also it occurs to me that it's possible that the crash is happening
inside the OpenGL driver itself (perhaps in whatever initialization
code it does at load time). It would be useful to ensure that you have
the latest driver installed and confirm that this bug also occurs on
other Linux platforms using different graphics drivers.

The gdb backtrace may also tell you if the driver is where the crash
happens (though it does not rule it our even if the eventual crash
happens somewhere else). But if the crash happens inside of the driver
code, that could be a smoking gun.

-Casey

On Sun, Feb 21, 2010 at 11:16 AM, Casey Duncan <[email protected]> wrote:
> It would probably be worthwhile to file a general Python bug report on
> this. I'm not sure how many folks here are knowledgeable enough about
> how dlopen works on Linux to be of much help.
>
> One thing that would likely be helpful to include is a gdb backtrace
> at the time of the crash.
>
> Also, you should confirm this happens with the latest 2.7 alpha of
> python, to confirm that it is not already a known and fixed issue.
>
> -Casey
>
> On Sun, Feb 21, 2010 at 1:01 AM, Florian Bösch <[email protected]> wrote:
>> Basically, dlopen seems to crash the process its running in
>> occasionally, but only if loading GL, and only when using /usr/bin/
>> python, /usr/bin/env python works. It also happens when dlopen is run
>> by a C program (though far less frequently). Here's a test case:
>>
>> http://paste.pocoo.org/show/180701/
>>
>> It's not a pyglet bug, but pyglet will be affected by this heavily.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "pyglet-users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/pyglet-users?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to