glium icon indicating copy to clipboard operation
glium copied to clipboard

Sometimes my program just randomly crashes?

Open eboatwright opened this issue 4 years ago • 3 comments

When my program, sometimes it works, and sometimes it crashes with this error

[xcb] Unknown sequence number while processing queue                                  
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.                                                                   
testing: ../../src/xcb_io.c:269: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

eboatwright avatar Mar 18 '22 16:03 eboatwright

Could you give more information on your environment? Driver versions, X or Wayland, GPU. Could you open the program with rust-gdb and get a backtrace when the error takes place?

Does this happen with any of the examples as well?

fayalalebrun avatar May 12 '22 07:05 fayalalebrun

I'm on Pop! OS 21.04 (an Ubuntu based Linux distro), but I don't know (or know how to check) driver versions. It's fine though, as I'm not using this anymore. Though thanks for your help :smile: :+1:

eboatwright avatar May 12 '22 15:05 eboatwright

It's probably just my old laptop's graphics card. It's a Macbook Pro mid-2012

eboatwright avatar May 12 '22 15:05 eboatwright

I don't think it's just your laptop: https://github.com/rust-windowing/glutin/issues/1034

It happens to me too on a modern-ish 2018 HP ZBook 15 G4 laptop.

mostthingsweb avatar Aug 27 '22 15:08 mostthingsweb

Hrmm seems like a glutin issue? Or maybe the bug lurks in the driver, but I don't think this is a glium issue.

est31 avatar Aug 27 '22 15:08 est31