Code:
bear@omg:~/omg9000$ gdb bin/omgmud lib/core
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bin/omgmud...
[New LWP 90383]
Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypt.so.1
Downloading separate debug info for system-supplied DSO at 0x7ffd4390b000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `omgmud -C3 9000'.
Program terminated with signal SIGABRT, Aborted.
Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
at ./nptl/pthread_kill.c:89
#3 0x000074cfaf44527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x000074cfaf4288ff in __GI_abort () at ./stdlib/abort.c:79
#5 0x000074cfaf4297b6 in __libc_message_impl (fmt=fmt@entry=0x74cfaf5ce8d7 "%s\n")
at ../sysdeps/posix/libc_fatal.c:134
#6 0x000074cfaf4a8ff5 in malloc_printerr (
str=str@entry=0x74cfaf5d1ac0 "double free or corruption (out)")
at ./malloc/malloc.c:5775
#7 0x000074cfaf4ab120 in _int_free_merge_chunk (av=0x74cfaf603ac0 <main_arena>,
p=0x58a41bb9dcc0, size=99136) at ./malloc/malloc.c:4676
#8 0x000074cfaf4addce in __GI___libc_free (mem=0x58a41bb9dcd0) at ./malloc/malloc.c:3398
#9 0x000058a3f1e03ca6 in free_char (ch=0x58a41bb9d970) at db.c:3945
#10 0x000058a3f1dfa91f in close_socket (d=d@entry=0x58a41bb9a230) at comm.c:2327
#11 0x000058a3f1dfc373 in game_loop (local_mother_desc=3) at comm.c:965
#12 0x000058a3f1d98282 in init_game (local_port=<optimized out>) at comm.c:559
#13 main (argc=<optimized out>, argv=<optimized out>) at comm.c:356
(gdb)