Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Core dump when running Chapter 1

Aperta
#168 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
linux, rust
Ambito
desktop, game-dev

Direzione di ricerca

Inizia riproducendo il crash del progetto clonato del Capitolo 1 e del progetto indipendente del tutorial su Manjaro Linux con i3. Ispeziona il bterm builder e l’entry point chapter-01-hellorust, quindi traccia l’errore XCB/Xlib per determinare se la configurazione della finestra ne è responsabile. Il lavoro è completato quando il Capitolo 1 viene compilato ed eseguito senza core dump.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi, I'm new to Rust and gamedev, and unfortunately I've stuck at the very first chapter. Both an independent project following the tutorial and the cloned repo yield the same error when I run them after building. Other rust programs and rust projects I've written build and run fine; I am not sure if it is caused by an issue with the bterm builder creating a window that my system does not like. I would greatly appreciate the help!

Finished dev [optimized + debuginfo] target(s) in 0.10s
     Running `[MY_DIRECTORY}/rustrogueliketutorial/target/debug/chapter-01-hellorust`
[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.
chapter-01-hellorust: xcb_io.c:269: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

Journalctl yields the core dump as:

Process 24894 (chapter-01-hell) of user 1000 dumped core.
                                                Stack trace of thread 24894:
                                                #0  0x00007f32fdba8d22 raise (libc.so.6 + 0x3cd22)
                                                #1  0x00007f32fdb92862 abort (libc.so.6 + 0x26862)
                                                #2  0x00007f32fdb92747 __assert_fail_base.cold (libc.so.6 + 0x26747)
                                                #3  0x00007f32fdba1616 __assert_fail (libc.so.6 + 0x35616)
                                                #4  0x00007f32fda3ad2d n/a (libX11.so.6 + 0x40d2d)
                                                #5  0x00007f32fda3adc8 n/a (libX11.so.6 + 0x40dc8)
                                                #6  0x00007f32fda3b182 _XEventsQueued (libX11.so.6 + 0x41182)
                                                #7  0x00007f32fda3e176 _XGetRequest (libX11.so.6 + 0x44176)
                                                #8  0x00007f32fda29395 XNoOp (libX11.so.6 + 0x2f395)
                                                #9  0x00007f32fd3376e3 n/a (libGLX_mesa.so.0 + 0x306e3)
                                                #10 0x00007f32fd4cb428 n/a (libGLX.so.0 + 0x1b428)
                                                #11 0x000055a6cbdbefa5 n/a (/[MY_DIRECTORY]/rustrogueliketutorial/target/debug/chapter-01-hel>

My system is Manjaro Linux , x86_64 with i3 as the windows manager.

Lingua principale
Rust
Stelle
968
Fork
166
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di amethyst/rustrogueliketutorial

Tutte le issue di amethyst/rustrogueliketutorial

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.