Open ExplodingLemur opened 5 months ago
Possible duplicate of Issue 808 but insufficient details there to know for sure.
A backtrace would tell me a lot more. Could you provide that please? On Thursday, 20 June 2024 at 03:40:38 BST, ExplodingLemur @.***> wrote:
Possible duplicate of Issue 808 but insufficient details there to know for sure.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
gdb backtrace
(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 0x00007ffff784526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff78288ff in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff78297b6 in __libc_message_impl (fmt=fmt@entry=0x7ffff79ce765 "*** %s ***: terminated\n")
at ../sysdeps/posix/libc_fatal.c:132
#6 0x00007ffff7936c19 in __GI___fortify_fail (msg=msg@entry=0x7ffff79ce74c "buffer overflow detected")
at ./debug/fortify_fail.c:24
#7 0x00007ffff79365d4 in __GI___chk_fail () at ./debug/chk_fail.c:28
#8 0x00007ffff7938391 in ___vsnprintf_chk (s=<optimized out>, maxlen=maxlen@entry=500, flag=flag@entry=2,
slen=<optimized out>,
format=format@entry=0x555555600268 "This software is for use on amateur radio networks only,",
ap=ap@entry=0x7fffffffd988) at ./debug/vsnprintf_chk.c:28
#9 0x0000555555594b23 in vsnprintf (__ap=0x7fffffffd988,
__fmt=0x555555600268 "This software is for use on amateur radio networks only,", __n=500, __s=<optimized out>)
at /usr/include/x86_64-linux-gnu/bits/stdio2.h:68
#10 Log (level=level@entry=3, fmt=0x555555600268 "This software is for use on amateur radio networks only,")
at Log.cpp:170
#11 0x00005555555a4cf3 in CMMDVMHost::run (this=this@entry=0x5555556523e0) at MMDVMHost.cpp:295
#12 0x000055555555f239 in main (argc=<optimized out>, argv=<optimized out>) at MMDVMHost.cpp:111
(gdb)
When I build from the master branch (commit 3f2a5d7) it immediately throws a buffer overflow error and dumps core. This is an x86_64 machine running Ubuntu 24.04. I've included output from make, gdb, and strace below. Let me know if any additional information would help.
make
gdb
strace
logs
MMDVM-2024-06-20.log is empty