[Gambas-bugtracker] Bug #2358: Segfault when uncompressing strings
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed Sep 1 16:07:59 CEST 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2358&from=L21haW4-
Comment #1 by Gen BRAGA:
GDB backtrack
(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".
[New Thread 0x7fffe77f0700 (LWP 30827)]
[New Thread 0x7fffe6fef700 (LWP 30828)]
[New Thread 0x7fffe67ee700 (LWP 30829)]
[New Thread 0x7fffd5c31700 (LWP 30830)]
[New Thread 0x7fffd5430700 (LWP 30831)]
Array size = 92
120 156 179 201 45 78 87 240 76 241 45 78 183 85 50 54 80 178 227 82 0 2 155 176 212 162 226 196 124 59 19 61 3 27 125 40 27 34 17 92 89 28 146 153 155 90 100 103 102 97 108 97 96 104 106 97 97 106 104 104 163 15 23 134 168 242 78 77 45 112 204 201 44 75 117 76 206 214 183 227 178 209 7 90 98 199 5 0 72 7 30 24
Compressed Size = 91
Compressed String = x���-NW�L�-N�U26P��R��Ԣ�|;=(Y���Zdgfala`hjaajhh����NM-p�,KuL���Zb�H
Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
0x0000000000407ac3 in my_malloc (len=<optimized out>) at ../share/gb_alloc_temp.h:351
351 if (_pool_count[pool])
(gdb) bt
#0 0x0000000000407ac3 in my_malloc (len=<optimized out>) at ../share/gb_alloc_temp.h:351
#1 0x0000000000407c08 in my_realloc (alloc=0x7ffef1664018, new_len=<optimized out>) at ../share/gb_alloc_temp.h:477
#2 0x00000000004228cf in GB_Realloc (addr=0x7fffffffd1d0, len=<optimized out>) at gbx_api.c:2022
#3 0x00007ffff0de6349 in u_String (target=0x7fffffffd1d0, lent=0x7fffffffd1cc, source=0xabf570 "x\234\263\311-NW\360L\361-N\267U26P\262\343R", len=91) at main.c:208
#4 0x00007ffff0fea4d8 in CUNCOMPRESS_String (_object=<optimized out>, _param=<optimized out>) at CUncompress.c:85
#5 0x0000000000449d45 in EXEC_native_quick () at gbx_exec.c:1175
#6 0x000000000044ae6c in EXEC_native_check (defined=<optimized out>) at gbx_exec.c:1125
#7 0x0000000000445814 in EXEC_loop () at gbx_exec_loop.c:1172
#8 0x00000000004494bd in EXEC_function_loop () at gbx_exec.c:905
#9 0x0000000000449c2e in EXEC_function_real () at gbx_exec.c:892
#10 0x000000000044afe4 in EXEC_public_desc (class=class at entry=0x797138, object=object at entry=0xabed38, desc=desc at entry=0xab5a88, nparam=nparam at entry=0) at gbx_exec.c:1585
#11 0x00000000004218d7 in raise_event (observer=observer at entry=0xabed38, object=object at entry=0xabed38, func_id=169, func_id at entry=170, nparam=nparam at entry=0) at gbx_api.c:830
#12 0x0000000000421d21 in GB_Raise (object=0xabed38, event_id=21, nparam=0) at gbx_api.c:988
#13 0x00007ffff5f92024 in emit_open_event (_object=_object at entry=0xabed38) at CWindow.cpp:226
#14 0x00007ffff5f95748 in emit_open_event (_object=0xabed38) at CWindow.cpp:763
#15 Window_Show (_object=0xabed38, _param=<optimized out>) at CWindow.cpp:746
#16 0x000000000044a542 in EXEC_native () at gbx_exec.c:1330
#17 0x000000000044b00d in EXEC_public_desc (class=<optimized out>, object=object at entry=0x0, desc=desc at entry=0x7ffff61df730 <CFormDesc+144>, nparam=nparam at entry=0) at gbx_exec.c:1575
#18 0x0000000000404c63 in main (argc=1, argv=0x7fffffffdc88) at gbx.c:462
(gdb) Quit
More information about the Bugtracker
mailing list