Closed tmr83 closed 2 years ago
Here is the backtrace after compiling the dev version:
Program terminated with signal SIGABRT, Aborted.
[Current thread is 1 (Thread 0x7f700600b780 (LWP 22946))] (gdb) bt
at OFONT.cpp:232
at OSYS.cpp:473
at OSYS.cpp:251
at OSYS.cpp:195
at OSYS.cpp:194
--Type
this=this@entry=0x55c1bb4306c0 <vga>) at OVGA.cpp:361
at OSYS.cpp:1180
at OSYS.cpp:1228
at OGAMMAIN.cpp:456
this=this@entry=0x55c1bb429b40 <game>, optionId=optionId@entry=1)
at OGAMMAIN.cpp:304
at OGAMMAIN.cpp:256
There is an X Windows error, which calls exit, then crashes the game, since the game resources were corrupted before running the deconstructors, which should never happen. I run the game on Xorg fine. I think there is an issue with your Xorg environment.
Not sure if a log will contain the X windows error. But I would need to know more about your environment to move forward anyway.
If this is not a 7kaa issue, you can close this.
Even if it is not 7kaa at fault, knowing more info may help in case there are other people using your OS/environment. I'd rather have the game respond with some message as a fail-safe if I can prevent an outright crash.
You should consider reporting this to your distro upstream if you don't know what to do to figure it out. Is this Arch? Let me know where things are going wrong.
Yes, it's Arch. Xorg is seg faulting when 7kaa is run in full screen. I will see about reporting it there. Do you want the log file and journal output as well?
If the logs explain something about the crash/error. Only need that part.
From Xorg.0.log
[ 77525.236] (II) intel(0): EDID vendor "SEC", prod id 21569 [ 77525.236] (II) intel(0): Printing DDC gathered Modelines: [ 77525.236] (II) intel(0): Modeline "1366x768"x0.0 72.14 1366 1414 1446 1522 768 770 775 790 +hsync -vsync (47.4 kHz eP) [ 77525.236] (II) intel(0): Modeline "1366x768"x0.0 48.09 1366 1414 1446 1522 768 770 775 790 +hsync -vsync (31.6 kHz e) [ 77525.388] (II) intel(0): switch to mode 1366x768@40.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
Not sure what that tells. That usually is what shows when starting X. Unless you are saying that appears when you start the game.
I don't know where to start then, and I am not in a hurry to report this to Xorg.
For some reason with another laptop but the same OS on the same harddisk, I am not getting the crash anymore. But due to some other issues running 7kaa with Gnome on Xorg, I will reporting this to Arch Linux sooner than later.
Happens after using screen grab:
There is another issue after using screen grab. Maybe if I record the screen, I will be able to capture it.
Edit:
nevermind... I cannot reproduce the issues anymore.
OK, since same versions work on a different machine, will close this. Let me know the ticket you file.
Hi,
I needed to log into my system with gnome on xorg today instead of wayland, and I decided to run 7kaa. It crashes every time. Here is the bt:
Program terminated with signal SIGABRT, Aborted.
0 0x00007fe826265d22 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fe825982780 (LWP 19550))] (gdb) bt
0 0x00007fe826265d22 in raise () from /usr/lib/libc.so.6
1 0x00007fe82624f862 in abort () from /usr/lib/libc.so.6
2 0x00007fe8262a7d28 in __libc_message () from /usr/lib/libc.so.6
3 0x00007fe8262af92a in malloc_printerr () from /usr/lib/libc.so.6
4 0x00007fe8262b11bc in _int_free () from /usr/lib/libc.so.6
5 0x00007fe8262b49e8 in free () from /usr/lib/libc.so.6
6 0x0000563404acf062 in Font::deinit (this=0x563404c47140)
7 0x0000563404b66e18 in Sys::deinit_objects (this=)
8 0x0000563404b699af in Sys::deinit (this=this@entry=0x563404c48880)
9 0x0000563404b69a88 in Sys::deinit (this=0x563404c48880)
10 Sys::~Sys (this=0x563404c48880, __in_chrg=)
11 0x00007fe8262684a7 in __run_exit_handlers () from /usr/lib/libc.so.6
12 0x00007fe82626864e in exit () from /usr/lib/libc.so.6
13 0x00007fe8252a6822 in _XDefaultIOError () from /usr/lib/libX11.so.6
14 0x00007fe8252a6b2f in _XIOError () from /usr/lib/libX11.so.6
15 0x00007fe8252a41a7 in _XEventsQueued () from /usr/lib/libX11.so.6
16 0x00007fe825285bcb in XFlush () from /usr/lib/libX11.so.6
17 0x00007fe826a7a4ed in ?? () from /usr/lib/libSDL2-2.0.so.0
--Type for more, q to quit, c to continue without paging--
18 0x00007fe826a7c52c in ?? () from /usr/lib/libSDL2-2.0.so.0
19 0x00007fe8269d3c0e in ?? () from /usr/lib/libSDL2-2.0.so.0
20 0x00007fe8269d3d95 in ?? () from /usr/lib/libSDL2-2.0.so.0
21 0x0000563404bc10b8 in Vga::handle_messages (this=this@entry=0x563404c49680) at OVGA.cpp:361
22 0x0000563404b69aca in Sys::yield (this=0x563404c48880) at OSYS.cpp:1180
23 0x0000563404b69c95 in Sys::yield (this=this@entry=0x563404c48880) at OSYS.cpp:1228
24 0x0000563404af83c4 in Game::main_menu (this=0x563404c42b00) at OGAMMAIN.cpp:225
25 0x0000563404a989a0 in main (argc=1, argv=0x7ffc58ca5018) at AM.cpp:368