Xorg crashes when application using OpenGL exits

Bug #291303 reported by Groogy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm a developer so I play around a little with my code on my free time to try new methods to do stuff. Was just about to test what I could do with Ruby and OpenGL that I can't do in C++(Since it's more dynamic). So I do the basic stuff that I've done thousands of times before with Ruby: Open up a window, fetch events and process them and setup OpenGL and paint a triangle.

I've done it many times before and it has worked every time flawless. I thought it would do that now too but I always test stuff senseless. I thought everything worked alright but when I gave the application the "exit" signal(By pressing the X symbol) the program exits and shortly after(like 0.5s) X server crashes I think. The screen turns black and I come back to the login screen.

I just remembered also that there is a difference, Before I usually had ruby-opengl installed trough apt while now I got it as a gem. But still even if it's a gem it should work as normal.

I'm using Ruby MRI version 1.8.7 running on Ubuntu 8.10 Intrepid Ibex amd64.
If there's any other system specific info you need then let me know what it is.
Do you guys want the source code? There isn't anything special in it as I said and shouldn't mess anything up.

Revision history for this message
Groogy (groogy) wrote :

Tested turning of Compiz and then it didn't crash, can be the problem is on compiz part. But that leaves it at that the fault isn't at Ruby(and it's gems) part.

description: updated
Revision history for this message
Groogy (groogy) wrote :

Sorry, a correction. Turning of compiz didn't do anything. I just got lucky once when turning of my application and Xorg didn't crash.

Though I tested my theory from before that the difference was the source(Using apt or a gem) and it seems like thats it. Installed ruby-opengl using apt and uninstalled the gem version. I was able to start and close my program 5 times without Xorg crashing. But this is quite bad according to me. Ruby is supposed to be cross-platform with help of managing it's 'plugins' with rubygem.

What's the difference between the debian package and the gem?

Revision history for this message
Sebastien Bacher (seb128) wrote :

reassigning to xorg-server

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi groogy,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

Changed in xorg-server:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xorg-server:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.