[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New malfunction compiling Gambas3 (last master)


Yep
Still the same here
fails after JIT attempts CProfileTask
Respects


On Fri, 9 Aug 2024 at 22:45, Gianluigi <gradobag@xxxxxxxxxxx> wrote:

> Hi Benoit,
>
> sorry, now compiling I get no errors but I can't start Gambas, this is
> the return of the terminal:
>
> $ gambas3
> *** buffer overflow detected ***: terminated
> Annullato (core dump creato)
>
> (*) GNU gdb
>
> Regards and good night
> Gianluigi
>
> (*)GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
> Copyright (C) 2022 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 gbx3...
> (gdb) run
> Starting program: /usr/bin/gbx3
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [Detaching after vfork from child process 816095]
> [Detaching after vfork from child process 816097]
> [Detaching after vfork from child process 816100]
> *** buffer overflow detected ***: terminated
>
> Program received signal SIGABRT, Aborted.
> __pthread_kill_implementation (no_tid=0, signo=6,
> threadid=140737350440768) at ./nptl/pthread_kill.c:44
> 44      ./nptl/pthread_kill.c: File o directory non esistente.
> (gdb) bt
> #0  __pthread_kill_implementation (no_tid=0, signo=6,
> threadid=140737350440768)
>      at ./nptl/pthread_kill.c:44
> #1  __pthread_kill_internal (signo=6, threadid=140737350440768)
>      at ./nptl/pthread_kill.c:78
> #2  __GI___pthread_kill (threadid=140737350440768, signo=signo@entry=6)
>      at ./nptl/pthread_kill.c:89
> #3  0x00007ffff7db2476 in __GI_raise (sig=sig@entry=6)
>      at ../sysdeps/posix/raise.c:26
> #4  0x00007ffff7d987f3 in __GI_abort () at ./stdlib/abort.c:79
> #5  0x00007ffff7df9676 in __libc_message
>      (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7f4b92e "*** %s
> ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
> #6  0x00007ffff7ea659a in __GI___fortify_fail
>      (msg=msg@entry=0x7ffff7f4b8d4 "buffer overflow detected")
>      at ./debug/fortify_fail.c:26
> #7  0x00007ffff7ea4f16 in __GI___chk_fail () at ./debug/chk_fail.c:28
> #8  0x00007ffff7df18df in _IO_str_chk_overflow
>      (fp=<optimized out>, c=<optimized out>) at ./libio/iovsprintf.c:35
> #9  0x00007ffff7dfde34 in __GI__IO_default_xsputn
>      (n=<optimized out>, data=<optimized out>, f=<optimized out>)
>      at ./libio/genops.c:399
> #10 __GI__IO_default_xsputn (f=0x7fffffffd060, data=<optimized out>, n=1)
>      at ./libio/genops.c:370
> --Type <RET> for more, q to quit, c to continue without paging--
> #11 0x00007ffff7de5fca in outstring_func
>      (done=31, length=1, string=0x7fffe8b2d043 ")", s=0x7fffffffd060)
>      at ../libio/libioP.h:947
> #12 __vfprintf_internal
>      (s=s@entry=0x7fffffffd060, format=format@entry=0x7fffe8b2d03b
> "CLASS(%s)", ap=ap@entry=0x7fffffffd1a0, mode_flags=mode_flags@entry=6)
>      at ./stdio-common/vfprintf-internal.c:1593
> #13 0x00007ffff7df1989 in __vsprintf_internal
>      (string=string@entry=0x7fffffffd280
> "CLASS(_jit_cprofiletask_ptr[22]", maxlen=maxlen@entry=32,
> format=0x7fffe8b2d03b "CLASS(%s)", args=args@entry=0x7fffffffd1a0,
> mode_flags=mode_flags@entry=6) at ./libio/iovsprintf.c:95
> #14 0x00007ffff7ea4a31 in ___sprintf_chk
>      (s=s@entry=0x7fffffffd280 "CLASS(_jit_cprofiletask_ptr[22]",
> flag=flag@entry=1, slen=slen@entry=32,
> format=format@entry=0x7fffe8b2d03b "CLASS(%s)")
>      at ./debug/sprintf_chk.c:40
> #15 0x00007fffe8b2613d in sprintf
>      (__fmt=0x7fffe8b2d03b "CLASS(%s)", __s=0x7fffffffd280
> "CLASS(_jit_cprofiletask_ptr[22]") at
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:38
> #16 pop_dynamic_variable
>      (class=class@entry=0x555555a75e48, ctype=ctype@entry=..., pos=16,
> addr=addr@entry=0x555555a78468 "ADDR(l0)") at jit_body.c:1202
> #17 0x00007fffe8b265fc in pop_unknown (index=<optimized out>)
>      at jit_body.c:1284
>
>
>

Follow-Ups:
Re: New malfunction compiling Gambas3 (last master)Bruce Steers <bsteers4@xxxxxxxxx>
References:
New malfunction compiling Gambas3 (last master)Gianluigi <gradobag@xxxxxxxxxxx>