Public bug reported:
ezquake 3.6.4-3build4 (Linux Mint 22) aborts with "buffer overflow
detected" when it downloads a map it doesn't have. If the map is already on
disk, it works. Backtrace ends in ___snprintf_chk (full gdb output below).
possible cause is in src/console.c, download bar: snprintf(dlbar + i,
sizeof(dlbar), ...)
without "- i". Fixed upstream in 3.6.6.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7c69ad1ff6c0 (LWP 988527)]
[New Thread 0x7c69ac9fe6c0 (LWP 988528)]
[New Thread 0x7c69a7fff6c0 (LWP 988529)]
[New Thread 0x7c69a77fe6c0 (LWP 988530)]
[New Thread 0x7c69a6bfd6c0 (LWP 988531)]
[New Thread 0x7c69a63fc6c0 (LWP 988532)]
[New Thread 0x7c69a5bfb6c0 (LWP 988533)]
[New Thread 0x7c69a53fa6c0 (LWP 988534)]
[New Thread 0x7c69a4bf96c0 (LWP 988535)]
[New Thread 0x7c6983fff6c0 (LWP 988536)]
[Thread 0x7c6983fff6c0 (LWP 988536) exited]
[Thread 0x7c69a4bf96c0 (LWP 988535) exited]
[Thread 0x7c69a53fa6c0 (LWP 988534) exited]
[New Thread 0x7c69a53fa6c0 (LWP 988537)]
[New Thread 0x7c69a4bf96c0 (LWP 988538)]
[New Thread 0x7c6983fff6c0 (LWP 988539)]
[New Thread 0x7c69817fe6c0 (LWP 988540)]
[New Thread 0x7c69aefff6c0 (LWP 988541)]
[New Thread 0x7c6980ffd6c0 (LWP 988542)]
[New Thread 0x7c6977fff6c0 (LWP 988544)]
[New Thread 0x7c69777fe6c0 (LWP 988545)]
[New Thread 0x7c6976ffd6c0 (LWP 988546)]
[New Thread 0x7c69767fc6c0 (LWP 988547)]
[Thread 0x7c69777fe6c0 (LWP 988545) exited]
[Thread 0x7c69767fc6c0 (LWP 988547) exited]
[Thread 0x7c6976ffd6c0 (LWP 988546) exited]
[New Thread 0x7c6976ffd6c0 (LWP 988549)]
[New Thread 0x7c69767fc6c0 (LWP 988550)]
[Thread 0x7c6977fff6c0 (LWP 988544) exited]
*** buffer overflow detected ***: terminated
Thread 1 "ezquake" received signal SIGABRT, Aborted.
__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
#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 0x00007c69cd04527e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#4 0x00007c69cd0288ff in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007c69cd0297b6 in __libc_message_impl (fmt=fmt@entry=0x7c69cd1cf77e
"*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:134
#6 0x00007c69cd136ea9 in __GI___fortify_fail (msg=msg@entry=0x7c69cd1cf765
"buffer overflow detected") at ./debug/fortify_fail.c:24
#7 0x00007c69cd136864 in __GI___chk_fail () at ./debug/chk_fail.c:28
#8 0x00007c69cd138045 in ___snprintf_chk (s=<optimized out>, maxlen=<optimized
out>, flag=<optimized out>, slen=<optimized out>, format=<optimized out>) at
./debug/snprintf_chk.c:29
#9 0x0000629745cbd5f2 in ?? ()
#10 0x0000629745cb3777 in ?? ()
#11 0x0000629745cb3ca5 in ?? ()
#12 0x0000629745cb4574 in ?? ()
#13 0x0000629745ca6e82 in ?? ()
#14 0x0000629745bf3702 in ?? ()
#15 0x0000629745bd7da4 in ?? ()
#16 0x00007c69cd02a1ca in __libc_start_call_main
(main=main@entry=0x629745bd7d00, argc=argc@entry=5,
argv=argv@entry=0x7ffcd2be3478) at ../sysdeps/nptl/libc_start_call_main.h:58
#17 0x00007c69cd02a28b in __libc_start_main_impl (main=0x629745bd7d00, argc=5,
argv=0x7ffcd2be3478, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffcd2be3468) at ../csu/libc-start.c:360
#18 0x0000629745bd7e45 in ?? ()
** Affects: ezquake (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171332
Title:
game crashes when downloading a server's map for the first time
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ezquake/+bug/2171332/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs