Skip to content

game crashes right after injection #699

@KebabLord

Description

@KebabLord

Tried on both main menu and in game. Tried with GDB versions 9.1 and 10.1, Linux kernel is: Debian 5.10.149-1 (2022-10-17), nvidia driver is: NVIDIA-SMI 470.141.03 Driver Version: 470.141.03 CUDA Version: 11.4
I wonder would it work if i used a library compiled from another computer

/tmp/fuzion.log:

--Start of log--
(FindPatternInModule): ERROR: Could not find pattern (engine_client.so)(xxxxxxxxxxxxxxxxxxxxxxxxx????xxx????xxxxxxx????xxx????xxx)
(FindPatternInModule): ERROR: Could not find pattern (/libsteamnetworkingsockets.so)(xx????xxxxx)

GDB Debug mode:

Attaching to process 23508
[New LWP 23513]
...
[New LWP 23604]
[New LWP 23607]

warning: Could not load shared library symbols for bin/linux64/launcher_client.so.
Do you need "set solib-search-path" or "set sysroot"?

warning: File "/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
--Type <RET> for more, q to quit, c to continue without paging--To enable execution of this file add
	add-auto-load-safe-path /lib/x86_64-linux-gnu/libthread_db-1.0.so
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

warning: File "/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
0x00007fc693a3b561 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, 
    flags=flags@entry=0, req=0x7ffe27fe3820, rem=0x7ffe27fe3810)
    at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
48	../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
(gdb) (gdb) [New LWP 23644]
$1 = (void *) 0x7fc62830b700
(gdb) $2 = (void *) 0x7fc62830b700
(gdb) c
Continuing.
Thread 1 "csgo_linux64" received signal SIGINT, Interrupt.
0x00007fc693a3b561 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, 
    flags=flags@entry=0, req=0x7ffe27fe3820, rem=0x7ffe27fe3810)
    at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
48	in ../sysdeps/unix/sysv/linux/clock_nanosleep.c
(gdb) c
Continuing.
Thread 1 "csgo_linux64" received signal SIGINT, Interrupt.
0x00007fc693a3b561 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, 
    flags=flags@entry=0, req=0x7ffe27fe3820, rem=0x7ffe27fe3810)
    at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
48	in ../sysdeps/unix/sysv/linux/clock_nanosleep.c
(gdb) 
Continuing.
[LWP 23598 exited]
[LWP 23597 exited]
Thread 36 "csgo_linux64" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 23644]
0x00007fc621f26376 in ?? () from /libxkbcommon-x11.so
(gdb) Continuing.
Thread 36 "csgo_linux64" received signal SIGSEGV, Segmentation fault.
0x00007fc621f26376 in ?? () from /libxkbcommon-x11.so
(gdb) c
Continuing.
[LWP 23607 exited]
[LWP 23604 exited]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions