-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segfault during window test with tiling window manager (i3) #8
Comments
Thanks for the report! Segfaults are considered bad (m'kay), and I'd anticipate this is easily remedied (possibly just by a Perl
and sharing results? |
huh! no error with running the t/* files or [also, way out of my domain w/gdb. I tried to get something for the initial report but didn't know the
|
told i3 to float the window. that didn't help. so something about how WIMP managers handle the window that i3 isn't? perl-opengl-glut-test-crash.mp4 |
I suspect this may be caused by some clash between OpenGL::GLUT and main OpenGL. The Also, does everything else appear to work apart from the |
I installed despite the test and haven't noticed anything crash. I only grabbed OpenGL::GLUT as a PDL dependency. And so far have only run matrix operations and PGPLOT Not sure if this gets at the useful version numbers:
same environment, but no errors with no windows manager: Xepher_perl-glut.mp4 |
Thank you for the further information. Could I ask you to try the OpenGL test.pl, and see if that crashes as well? |
crashes there too! Sorry I raised the issue here. seems to be upstream?
|
It does look a lot like |
I was able to compile and run the teapot example with solid and Another maybe not-so-strange wrinkle, I used ssh+x11 forwarding to run test.pl on the problematic desktop from a laptop with same OS/WM (arch/i3) but totally different graphics hardware and
|
It does seem like an extremely localised fault. It also sounds like if you have a very simple non-crashing script, and more-complicated crashing one, you could keep (depending on your preference) either deleting stuff from the complicated one, or adding stuff to the simple one from the complicated one (I think the first would be less effort) until the crashing stops, and report here what makes the difference? I really appreciate the assistance here! There's a certain irony that all this OpenGL 1 stuff is fairly obsolete and there are plans (PDLPorters/pdl#349) to update past them. However, those will likely take a while to come to pass, whereas solving this might highlight something valuable beyond this immediate point. |
Under Xorg+i3, the test segfaults.
Using Xepher (no window manager or w/fluxbox), there is no issue!
that is:
but when the test window is resized by i3 (or I think that's the issue), I get a segfault
Not sure there is anything
OpenGl::GLUT
could/should do about this (set something like_NET_WM_WINDOW_TYPE_DIALOG
?), but thought it was worth documenting.The text was updated successfully, but these errors were encountered: