Ticket #140 (closed crash: fixed)
AIGLX: XQuartz 2.2.3 crash when managing multiple OpenGL rendering contexts
|Reported by:||DonE33333@…||Owned by:||jeremyhu@…|
|Priority:||Nice to Have||Milestone:||2.4.0|
|Keywords:||Cc:||rwoodsmall@…, fredrik@…, mark.moorcroft@…|
Large application with Motif GUI causes XQuartz crash when managing multiple OpenGL rendering contexts. Reported to Apple - Apple Bug Tracker ID # 5979038.
The XQuartz carsh looks to be the same as your ticket #135.
Summary: A large X11/Motif based application has multiple windows where OpenGL w/GLX API is used to do graphics rendering. One window along with it's Motif GUI panel is dismissed. When attempting to make this window visible again, we crash.
We see also similar, but intermittent, crashes when exiting the application.
We don't crash if our application is run under gdb. We *do* crash if our application is started and gdb is subsequently attached. Couldn't find a reliable way to repeat this crash until recently and a hanging problem was eliminated by upgrading to X11 2.2.1. The crashing goes back for several version of X11.
Notes: Previously reported this crash as part of bug #5853028.
Crash logs indicate we're trying to set the OpenGL context from the window manager. Running in X sync mode was no help. Inserting glFinish calls prior to glxMakeCurrentContext was no help.
A crash log of X11 is attached below. Here's a gdb tracenback of our app... Call graph:
2499 Thread_2503 2499 start 2499 main 2499 DisplayWaitForEvent 2499 XtAppNextEvent 2499 DoOtherSources 2499 FVUpdateTimerRtn 2499 fv_update_screen 2499 update_plots 2499 GraphSetDriver 2499 GraphCalcLayout 2499 GraphGetSize 2499 DoreGraphGetSize 2499 DdInqExtent 2499 dor_device_inq_extent 2499 dor_device_set_current_device 2499 Pr_togl_device_become_current_driver 2499 MakeContextCurrent 2499 _XReply 2499 _XRead 2499 poll$UNIX2003
The XQuartz dump is the same as ticket #135's.
- Version set to 2.3.0 (xserver-1.4)
- Milestone set to 2.3.2
- Owner changed from gstaplin@… to jeremyhu@…
- Summary changed from XQuartz 2.2.3 crash when managing multiple OpenGL rendering contexts to AIGLX: XQuartz 2.2.3 crash when managing multiple OpenGL rendering contexts