Summary: | glutSwapBuffers() cause application exit. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Zeng Zhaoming <xiaozhaoz> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | critical | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
xorg.conf
xorg.0.log |
Created attachment 26059 [details]
xorg.0.log
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 26057 [details] xorg.conf Not quite sure this problem related to mesa. Env: linux kernel: 2.6.28.9 OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090114 x86/MMX/SSE2 OpenGL version string: 2.1 Mesa 7.6-devel // until some commit at Apr.14 xf86-intel-video: // until some commit at Apr.14 Xserver: X.Org X Server 1.6.1 xrandr: latest for git respority Description: An application use opengl render video stream, 25fps. When doing something like switch monitor using xrandr, or upload RGBA texel. Will cause application exit. And it hard to reproduce, need a few day or even a week to trigger. Because appliction begin to run when system startup, Xserver output may omit. Have ever saw something like: X Error of failed request: BadRegion. After add hooker to exit(), and backtrace, get following info: ... 0xb76848c9 in exit () from /lib/libc.so.6 0xb72f5b00 in _XDefaultError () from /opt/xorg/lib/libX11.so.6 0xb72f5bd3 in _XError () from /opt/xorg/lib/libX11.so.6 0xb72fcb1a in process_responses () from /opt/xorg/lib/libX11.so.6 0xb72fd145 in _XReply () from /opt/xorg/lib/libX11.so.6 0xb78e2b11 in DRI2CopyRegion () from /opt/xorg/lib/libGL.so.1 0xb78e27fc in dri2CopySubBuffer () from /opt/xorg/lib/libGL.so.1 0xb78e2855 in dri2SwapBuffers () from /opt/xorg/lib/libGL.so.1 0xb78bdcfb in glXSwapBuffers () from /opt/xorg/lib/libGL.so.1 0xb7874121 in glutSwapBuffers () from /opt/xorg/lib/libglut.so.3 ... After check the code, I think it maybe relate to mesa or Xserver. If need more information. Please let me know. Thanks all.