FS#77396 - [steam] Steam runtime executable crash (munmap_chunk(): invalid pointer)
Attached to Project:
Community Packages
Opened by Hanabishi (Hanabishi) - Sunday, 05 February 2023, 15:16 GMT
Last edited by Toolybird (Toolybird) - Monday, 13 February 2023, 02:24 GMT
Opened by Hanabishi (Hanabishi) - Sunday, 05 February 2023, 15:16 GMT
Last edited by Toolybird (Toolybird) - Monday, 13 February 2023, 02:24 GMT
|
Details
Description:
Steam runtime executable crashes immediately on start. (gdb) run Starting program: /media/games/Steam/ubuntu12_32/steam [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [2023-02-05 15:06:13] Startup - updater built Jun 7 2022 03:18:19 ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". Installing breakpad exception handler for appid(steam)/version(0) [New Thread 0xeadffb40 (LWP 66009)] [New Thread 0xea3ffb40 (LWP 66010)] [New Thread 0xe99ffb40 (LWP 66011)] [New Thread 0xe8fffb40 (LWP 66012)] munmap_chunk(): invalid pointer Thread 1 "steam" received signal SIGABRT, Aborted. 0xf7fc6549 in __kernel_vsyscall () (gdb) backtrace #0 0xf7fc6549 in __kernel_vsyscall () #1 0xf78880c7 in ?? () from /usr/lib32/libc.so.6 #2 0xf7835be7 in raise () from /usr/lib32/libc.so.6 #3 0xf781e126 in abort () from /usr/lib32/libc.so.6 #4 0xf781f040 in ?? () from /usr/lib32/libc.so.6 #5 0xf789378d in ?? () from /usr/lib32/libc.so.6 #6 0xf7893aab in ?? () from /usr/lib32/libc.so.6 #7 0xf7897f9d in free () from /usr/lib32/libc.so.6 #8 0xf7e985db in XFree () from /usr/lib32/libX11.so.6 #9 0x565b4d83 in ?? () #10 0x565b58de in ?? () #11 0x56595d40 in ?? () #12 0x5657d7fe in ?? () #13 0xf781f629 in ?? () from /usr/lib32/libc.so.6 #14 0xf781f6ed in __libc_start_main () from /usr/lib32/libc.so.6 #15 0x5658323d in _start () I tried a clean bootstrap, tried to just launch executable directly, in crashes immediately regardless. Backtrace seemingly points to libc exclusively. I use testing and multilib-tesing repos. Steam worked totally fine some time ago, so maybe this is recent updates issue. I searched for 'munmap_chunk(): invalid pointer', tried to reinstall packages, but no luck. Maybe I miss something. Additional info: * package version(s) steam 1.0.0.75-1 glibc 2.37-2 lib32-glibc 2.37-2 |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 13 February 2023, 02:24 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Monday, 13 February 2023, 02:24 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
https://github.com/ValveSoftware/steam-for-linux/issues/8270
https://github.com/ValveSoftware/steam-for-linux/issues/8811
https://github.com/ValveSoftware/steam-for-linux/issues/8897
But can't figure out what happend.
Tried reinstalling all packages in the system and some manipulations with libraries - still no luck.
[1] https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod
I understand. According to existing issues upstream, it happens rarely on Arch systems on weird circumstances.
> Does it crash if you run normally instead of launching via gdb?
Of course, I'm not ended up in the debugger just for fun :)
> Can you get a backtrace with debug symbols [1]?
Yeah, probably should have done this from the start.
(gdb) bt
#0 0xf7fc6549 in __kernel_vsyscall ()
#1 0xf78880c7 in __pthread_kill_implementation (threadid=threadid@entry=4155452224, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:43
#2 0xf788814f in __pthread_kill_internal (signo=6, threadid=4155452224) at pthread_kill.c:78
#3 0xf7835be7 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4 0xf781e126 in __GI_abort () at abort.c:79
#5 0xf781f040 in __libc_message (fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:150
#6 0xf789378d in malloc_printerr (str=str@entry=0xf79bf854 "munmap_chunk(): invalid pointer") at malloc.c:5651
#7 0xf7893aab in munmap_chunk (p=<optimized out>) at malloc.c:3036
#8 0xf7897f9d in __GI___libc_free (mem=0xf7e80c8d <XInitThreads+13>) at malloc.c:3357
#9 0xf7e985db in XFree (data=0xf7e80c8d <XInitThreads+13>) at /usr/src/debug/lib32-libx11/libX11-1.8.3/src/XlibInt.c:1633
#10 0x565b4d83 in ?? ()
#11 0x565b58de in ?? ()
#12 0x56595d40 in ?? ()
#13 0x5657d7fe in ?? ()
#14 0xf781f629 in __libc_start_call_main (main=main@entry=0x5657d7d0, argc=argc@entry=1, argv=argv@entry=0xffffcc14) at ../sysdeps/nptl/libc_start_call_main.h:58
#15 0xf781f6ed in __libc_start_main_impl (main=0x5657d7d0, argc=1, argv=0xffffcc14, init=0x569c7610 <__libc_csu_init>, fini=0x569c7680 <__libc_csu_fini>, rtld_fini=0xf7fcde70 <_dl_fini>,
stack_end=0xffffcc0c) at ../csu/libc-start.c:360
#16 0x5658323d in _start ()
Caused by 'NoExtract' line in pacman config which omitted some files of libx11 package.
I added it a long time ago and forgot. For some reason, it does not caused any issues earlier. Maybe something changed since then.
Anyway, sorry for the trouble. Maybe the bug report is not completely useless after all, maybe someone will make the same mistake and end up reading this.