Bug 21850 - glutSwapBuffers() cause application exit.
Summary: glutSwapBuffers() cause application exit.
Status: RESOLVED DUPLICATE of bug 22082
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 04:56 UTC by Zeng Zhaoming
Modified: 2009-06-04 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (1.95 KB, text/plain)
2009-05-21 04:56 UTC, Zeng Zhaoming
Details
xorg.0.log (198.55 KB, application/octet-stream)
2009-05-21 04:57 UTC, Zeng Zhaoming
Details

Description Zeng Zhaoming 2009-05-21 04:56:55 UTC
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.
Comment 1 Zeng Zhaoming 2009-05-21 04:57:56 UTC
Created attachment 26059 [details]
xorg.0.log
Comment 2 Zeng Zhaoming 2009-06-04 20:00:04 UTC

*** This bug has been marked as a duplicate of bug 22082 ***


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.