[Gambas-user] Crash Gambas3.12.2
T Lee Davidson
t.lee.davidson at gmail.com
Mon Mar 4 22:55:13 CET 2019
On 3/3/19 7:40 PM, Benoît Minisini wrote:
> Le 02/03/2019 à 02:35, T Lee Davidson a écrit :
>> On 3/1/19 5:20 PM, Benoît Minisini wrote:
>>> Does it change anything if you run your program with "GB_NO_JIT=1" set?
>>
>> No, it still crashes:
> > ...
>
> Does it still crash with the latest commit?
Yes, with Gambas version 3.12.90 f2de1bc27 (master), it still crashes.
I re-created executables for both CrashG3.gambas and my graphical test project which does "TerminalView1.Exec([User.Home &/
"CrashG3.gambas"])". They both still crash.
---
user at linux-pvlm:~> GB_NO_JIT=1 gbr3 TestGraphical.gambas
Segmentation fault (core dumped)
---
No backtrace.
Open and execute CrashG3 project like so:
---
user at linux-pvlm:~> GB_NO_JIT=1 gbr3 /usr/bin/gambas3.gambas
KCrash: Application 'gbx3' crashing...
*** Error in `/usr/bin/gambas3.gambas': malloc(): memory corruption (fast): 0x0000000003663980 ***
======= Backtrace: =========
[snip]
---
Backtrace content attached.
___
Lee
-------------- next part --------------
======= Backtrace: =========
/lib64/libc.so.6(+0x740ef)[0x7f5866b190ef]
/lib64/libc.so.6(+0x79646)[0x7f5866b1e646]
/lib64/libc.so.6(+0x7bb45)[0x7f5866b20b45]
/lib64/libc.so.6(__libc_malloc+0x50)[0x7f5866b223d0]
/usr/lib64/libQt5Core.so.5(_ZN10QArrayData8allocateEmmm6QFlagsINS_16AllocationOptionEE+0xbf)[0x7f586302d9ef]
/usr/lib64/libQt5Core.so.5(_ZN10QByteArrayC2EiN2Qt14InitializationE+0x20)[0x7f586302f9a0]
/usr/lib64/libQt5Core.so.5(+0x2c8cf8)[0x7f5863245cf8]
/usr/lib64/libQt5Core.so.5(_ZN7QString13toUtf8_helperERKS_+0x1c)[0x7f58630bcaec]
/usr/lib64/libKF5Crash.so.5(_ZN6KCrash19defaultCrashHandlerEi+0x193)[0x7f5840e65733]
/lib64/libc.so.6(+0x34fe0)[0x7f5866ad9fe0]
/lib64/libc.so.6(+0x932a4)[0x7f5866b382a4]
/usr/bin/gambas3.gambas[0x4492bb]
/usr/bin/gambas3.gambas[0x44cb86]
/usr/bin/gambas3.gambas[0x43f0cb]
/usr/bin/gambas3.gambas[0x4442e4]
/usr/bin/gambas3.gambas[0x4445de]
/usr/bin/gambas3.gambas[0x41fd00]
/usr/bin/gambas3.gambas[0x420079]
/usr/bin/gambas3.gambas[0x438ef7]
/usr/bin/gambas3.gambas[0x40e850]
/usr/lib64/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x296)[0x7f5863219de6]
/usr/lib64/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c)[0x7f58640e926c]
/usr/lib64/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x3fa)[0x7f58640ed8ca]
/usr/lib64/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x75)[0x7f58631eeba5]
/usr/lib64/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ca)[0x7f58631f098a]
/usr/lib64/libQt5Core.so.5(+0x2c2ac3)[0x7f586323fac3]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x254)[0x7f586218b134]
/usr/lib64/libglib-2.0.so.0(+0x4c388)[0x7f586218b388]
/usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f586218b42c]
/usr/lib64/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5c)[0x7f586323f14c]
/usr/lib64/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xfb)[0x7f58631ecbbb]
/usr/lib64/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x86)[0x7f58631f4aa6]
/usr/lib64/gambas3/gb.qt5.so(+0x3bd25)[0x7f5864cf0d25]
/usr/bin/gambas3.gambas[0x40522a]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f5866ac5725]
/usr/bin/gambas3.gambas[0x405529]
======= Memory map: ========
00400000-00468000 r-xp 00000000 00:26 6055831 /usr/bin/gbx3
00667000-00668000 r--p 00067000 00:26 6055831 /usr/bin/gbx3
00668000-00673000 rw-p 00068000 00:26 6055831 /usr/bin/gbx3
00673000-00676000 rw-p 00000000 00:00 0
0206e000-03b01000 rw-p 00000000 00:00 0 [heap]
7f57d8000000-7f57d8021000 rw-p 00000000 00:00 0
7f57d8021000-7f57dc000000 ---p 00000000 00:00 0
7f57dc000000-7f57dc021000 rw-p 00000000 00:00 0
7f57dc021000-7f57e0000000 ---p 00000000 00:00 0
7f57e0000000-7f57e0021000 rw-p 00000000 00:00 0
7f57e0021000-7f57e4000000 ---p 00000000 00:00 0
7f57e745b000-7f57e7908000 rw-s 00000000 00:05 1802270 /SYSV00000000 (deleted)
7f57e7908000-7f57e7d08000 ---p 00000000 00:00 0
7f57e7d08000-7f57e7d09000 ---p 00000000 00:00 0
7f57e7d09000-7f57e8509000 rw-p 00000000 00:00 0
7f57e8509000-7f57e850a000 ---p 00000000 00:00 0
7f57e850a000-7f57e8d0a000 rw-p 00000000 00:00 0
7f57e8d0a000-7f57e8d0e000 r-xp 00000000 00:26 3491483 /usr/lib64/libtxc_dxtn.so
7f57e8d0e000-7f57e8f0d000 ---p 00004000 00:26 3491483 /usr/lib64/libtxc_dxtn.so
7f57e8f0d000-7f57e8f0e000 r--p 00003000 00:26 3491483 /usr/lib64/libtxc_dxtn.so
7f57e8f0e000-7f57e8f0f000 rw-p 00004000 00:26 3491483 /usr/lib64/libtxc_dxtn.so
7f57e8f0f000-7f57e8f10000 ---p 00000000 00:00 0
7f57e8f10000-7f57e9710000 rw-p 00000000 00:00 0
7f57e9710000-7f57e9765000 r-xp 00000000 00:26 5581176 /usr/lib64/libLLVMAsmParser.so.3.8.0
7f57e9765000-7f57e9964000 ---p 00055000 00:26 5581176 /usr/lib64/libLLVMAsmParser.so.3.8.0
7f57e9964000-7f57e9965000 r--p 00054000 00:26 5581176 /usr/lib64/libLLVMAsmParser.so.3.8.0
7f57e9965000-7f57e9966000 rw-p 00055000 00:26 5581176 /usr/lib64/libLLVMAsmParser.so.3.8.0
7f57e9966000-7f57e99d3000 r-xp 00000000 00:26 5581222 /usr/lib64/libLLVMInstrumentation.so.3.8.0
7f57e99d3000-7f57e9bd2000 ---p 0006d000 00:26 5581222 /usr/lib64/libLLVMInstrumentation.so.3.8.0
7f57e9bd2000-7f57e9bd4000 r--p 0006c000 00:26 5581222 /usr/lib64/libLLVMInstrumentation.so.3.8.0
7f57e9bd4000-7f57e9bd5000 rw-p 0006e000 00:26 5581222 /usr/lib64/libLLVMInstrumentation.so.3.8.0
7f57e9bd5000-7f57e9bd7000 rw-p 00000000 00:00 0
7f57e9bd7000-7f57e9c05000 r-xp 00000000 00:26 5581190 /usr/lib64/libLLVMBitWriter.so.3.8.0
7f57e9c05000-7f57e9e04000 ---p 0002e000 00:26 5581190 /usr/lib64/libLLVMBitWriter.so.3.8.0
7f57e9e04000-7f57e9e05000 r--p 0002d000 00:26 5581190 /usr/lib64/libLLVMBitWriter.so.3.8.0
7f57e9e05000-7f57e9e06000 rw-p 0002e000 00:26 5581190 /usr/lib64/libLLVMBitWriter.so.3.8.0
7f57e9e06000-7f57e9e40000 r-xp 00000000 00:26 5581188 /usr/lib64/libLLVMBitReader.so.3.8.0
7f57e9e40000-7f57ea03f000 ---p 0003a000 00:26 5581188 /usr/lib64/libLLVMBitReader.so.3.8.0
7f57ea03f000-7f57ea040000 r--p 00039000 00:26 5581188 /usr/lib64/libLLVMBitReader.so.3.8.0
7f57ea040000-7f57ea041000 rw-p 0003a000 00:26 5581188 /usr/lib64/libLLVMBitReader.so.3.8.0
7f57ea041000-7f57ea06c000 r-xp 00000000 00:26 5928745 /lib64/libtinfo.so.5.9
7f57ea06c000-7f57ea26b000 ---p 0002b000 00:26 5928745 /lib64/libtinfo.so.5.9
7f57ea26b000-7f57ea26f000 r--p 0002a000 00:26 5928745 /lib64/libtinfo.so.5.9
7f57ea26f000-7f57ea274000 rw-p 0002e000 00:26 5928745 /lib64/libtinfo.so.5.9
7f57ea274000-7f57ea275000 rw-p 00000000 00:00 0
7f57ea275000-7f57ea2a6000 r-xp 00000000 00:26 5581240 /usr/lib64/libLLVMMCParser.so.3.8.0
7f57ea2a6000-7f57ea4a5000 ---p 00031000 00:26 5581240 /usr/lib64/libLLVMMCParser.so.3.8.0
7f57ea4a5000-7f57ea4a6000 r--p 00030000 00:26 5581240 /usr/lib64/libLLVMMCParser.so.3.8.0
7f57ea4a6000-7f57ea4a7000 rw-p 00031000 00:26 5581240 /usr/lib64/libLLVMMCParser.so.3.8.0
7f57ea4a7000-7f57ea504000 r-xp 00000000 00:26 5581336 /usr/lib64/libLLVMVectorize.so.3.8.0
7f57ea504000-7f57ea704000 ---p 0005d000 00:26 5581336 /usr/lib64/libLLVMVectorize.so.3.8.0
7f57ea704000-7f57ea705000 r--p 0005d000 00:26 5581336 /usr/lib64/libLLVMVectorize.so.3.8.0
7f57ea705000-7f57ea706000 rw-p 0005e000 00:26 5581336 /usr/lib64/libLLVMVectorize.so.3.8.0
7f57ea706000-7f57ea708000 rw-p 00000000 00:00 0
7f57ea708000-7f57ea740000 r-xp 00000000 00:26 5581294 /usr/lib64/libLLVMProfileData.so.3.8.0
7f57ea740000-7f57ea940000 ---p 00038000 00:26 5581294 /usr/lib64/libLLVMProfileData.so.3.8.0
7f57ea940000-7f57ea941000 r--p 00038000 00:26 5581294 /usr/lib64/libLLVMProfileData.so.3.8.0
7f57ea941000-7f57ea942000 rw-p 00039000 00:26 5581294 /usr/lib64/libLLVMProfileData.so.3.8.0
7f57ea942000-7f57ea95b000 r-xp 00000000 00:26 5581232 /usr/lib64/libLLVMLinker.so.3.8.0
7f57ea95b000-7f57eab5a000 ---p 00019000 00:26 5581232 /usr/lib64/libLLVMLinker.so.3.8.0
7f57eab5a000-7f57eab5b000 r--p 00018000 00:26 5581232 /usr/lib64/libLLVMLinker.so.3.8.0
7f57eab5b000-7f57eab5c000 rw-p 00019000 00:26 5581232 /usr/lib64/libLLVMLinker.so.3.8.0
7f57eab5c000-7f57eabf3000 r-xp 00000000 00:26 5581220 /usr/lib64/libLLVMInstCombine.so.3.8.0
7f57eabf3000-7f57eadf2000 ---p 00097000 00:26 5581220 /usr/lib64/libLLVMInstCombine.so.3.8.0
7f57eadf2000-7f57eadf3000 r--p 00096000 00:26 5581220 /usr/lib64/libLLVMInstCombine.so.3.8.0
7f57eadf3000-7f57eadf4000 rw-p 00097000 00:26 5581220 /usr/lib64/libLLVMInstCombine.so.3.8.0
7f57eadf4000-7f57eadf7000 r-xp 00000000 00:26 5581218 /usr/lib64/libLLVMIRReader.so.3.8.0
7f57eadf7000-7f57eaff7000 ---p 00003000 00:26 5581218 /usr/lib64/libLLVMIRReader.so.3.8.0
7f57eaff7000-7f57eaff8000 r--p 00003000 00:26 5581218 /usr/lib64/libLLVMIRReader.so.3.8.0
7f57eaff8000-7f57eaff9000 rw-p 00004000 00:26 5581218 /usr/lib64/libLLVMIRReader.so.3.8.0
7f57eaff9000-7f57eb0ad000 r-xp 00000000 00:26 5581334 /usr/lib64/libLLVMTransformUtils.so.3.8.0
7f57eb0ad000-7f57eb2ac000 ---p 000b4000 00:26 5581334 /usr/lib64/libLLVMTransformUtils.so.3.8.0
7f57eb2ac000-7f57eb2ae000 r--p 000b3000 00:26 5581334 /usr/lib64/libLLVMTransformUtils.so.3.8.0
7f57eb2ae000-7f57eb2b0000 rw-p 000b5000 00:26 5581334 /usr/lib64/libLLVMTransformUtils.so.3.8.0
7f57eb2b0000-7f57eb2b1000 rw-p 00000000 00:00 0
7f57eb2b1000-7f57eb2b3000 r-xp 00000000 00:26 5581160 /usr/lib64/libLLVMAMDGPUUtils.so.3.8.0
7f57eb2b3000-7f57eb4b2000 ---p 00002000 00:26 5581160 /usr/lib64/libLLVMAMDGPUUtils.so.3.8.0
7f57eb4b2000-7f57eb4b3000 r--p 00001000 00:26 5581160 /usr/lib64/libLLVMAMDGPUUtils.so.3.8.0
7f57eb4b3000-7f57eb4b4000 rw-p 00002000 00:26 5581160 /usr/lib64/libLLVMAMDGPUUtils.so.3.8.0
7f57eb4b4000-7f57eb4da000 r-xp 00000000 00:26 5581152 /usr/lib64/libLLVMAMDGPUAsmPrinter.so.3.8.0
7f57eb4da000-7f57eb6d9000 ---p 00026000 00:26 5581152 /usr/lib64/libLLVMAMDGPUAsmPrinter.so.3.8.0
7f57eb6d9000-7f57eb6da000 r--p 00025000 00:26 5581152 /usr/lib64/libLLVMAMDGPUAsmPrinter.so.3.8.0
7f57eb6da000-7f57eb6db000 rw-p 00026000 00:26 5581152 /usr/lib64/libLLVMAMDGPUAsmPrinter.so.3.8.0
7f57eb6db000-7f57eb746000 r-xp 00000000 00:26 5581274 /usr/lib64/libLLVMObject.so.3.8.0
7f57eb746000-7f57eb946000 ---p 0006b000 00:26 5581274 /usr/lib64/libLLVMObject.so.3.8.0
7f57eb946000-7f57eb94a000 r--p 0006b000 00:26 5581274 /usr/lib64/libLLVMObject.so.3.8.0
7f57eb94a000-7f57eb94b000 rw-p 0006f000 00:26 5581274 /usr/lib64/libLLVMObject.so.3.8.0
7f57eb94b000-7f57eb94f000 r-xp 00000000 00:26 5581350 /usr/lib64/libLLVMX86Utils.so.3.8.0
7f57eb94f000-7f57ebb4e000 ---p 00004000 00:26 5581350 /usr/lib64/libLLVMX86Utils.so.3.8.0
7f57ebb4e000-7f57ebb4f000 r--p 00003000 00:26 5581350 /usr/lib64/libLLVMX86Utils.so.3.8.0
7f57ebb4f000-7f57ebb50000 rw-p 00004000 00:26 5581350 /usr/lib64/libLLVMX86Utils.so.3.8.0
7f57ebb50000-7f57ebb9d000 r-xp 00000000 00:26 5581340 /usr/lib64/libLLVMX86AsmPrinter.so.3.8.0
7f57ebb9d000-7f57ebd9c000 ---p 0004d000 00:26 5581340 /usr/lib64/libLLVMX86AsmPrinter.so.3.8.0
7f57ebd9c000-7f57ebd9d000 r--p 0004c000 00:26 5581340 /usr/lib64/libLLVMX86AsmPrinter.so.3.8.0
7f57ebd9d000-7f57ebd9e000 rw-p 0004d000 00:26 5581340 /usr/lib64/libLLVMX86AsmPrinter.so.3.8.0
7f57ebd9e000-7f57ebf6e000 r-xp 00000000 00:26 5581300 /usr/lib64/libLLVMSelectionDAG.so.3.8.0
7f57ebf6e000-7f57ec16d000 ---p 001d0000 00:26 5581300 /usr/lib64/libLLVMSelectionDAG.so.3.8.0
7f57ec16d000-7f57ec16f000 r--p 001cf000 00:26 5581300 /usr/lib64/libLLVMSelectionDAG.so.3.8.0
7f57ec16f000-7f57ec171000 rw-p 001d1000 00:26 5581300 /usr/lib64/libLLVMSelectionDAG.so.3.8.0
7f57ec171000-7f57ec172000 rw-p 00000000 00:00 0
7f57ec172000-7f57ec3c1000 r-xp 00000000 00:26 5581192 /usr/lib64/libLLVMCodeGen.so.3.8.0
7f57ec3c1000-7f57ec5c1000 ---p 0024f000 00:26 5581192 /usr/lib64/libLLVMCodeGen.so.3.8.0
7f57ec5c1000-7f57ec5ca000 r--p 0024f000 00:26 5581192 /usr/lib64/libLLVMCodeGen.so.3.8.0
7f57ec5ca000-7f57ec5ce000 rw-p 00258000 00:26 5581192 /usr/lib64/libLLVMCodeGen.so.3.8.0
7f57ec5ce000-7f57ec5d3000 rw-p 00000000 00:00 0
7f57ec5d3000-7f57ec64a000 r-xp 00000000 00:26 5581178 /usr/lib64/libLLVMAsmPrinter.so.3.8.0
7f57ec64a000-7f57ec849000 ---p 00077000 00:26 5581178 /usr/lib64/libLLVMAsmPrinter.so.3.8.0
7f57ec849000-7f57ec84b000 r--p 00076000 00:26 5581178 /usr/lib64/libLLVMAsmPrinter.so.3.8.0
7f57ec84b000-7f57ec84d000 rw-p 00078000 00:26 5581178 /usr/lib64/libLLVMAsmPrinter.so.3.8.0
7f57ec84d000-7f57ec933000 r-xp 00000000 00:26 5581314 /usr/lib64/libLLVMSupport.so.3.8.0
7f57ec933000-7f57ecb32000 ---p 000e6000 00:26 5581314 /usr/lib64/libLLVMSupport.so.3.8.0
7f57ecb32000-7f57ecb39000 r--p 000e5000 00:26 5581314 /usr/lib64/libLLVMSupport.so.3.8.0
7f57ecb39000-7f57ecb3b000 rw-p 000ec000 00:26 5581314 /usr/lib64/libLLVMSupport.so.3.8.0
7f57ecb3b000-7f57ecb3d000 rw-p 00000000 00:00 0
7f57ecb3d000-7f57ecbae000 r-xp 00000000 00:26 5581234 /usr/lib64/libLLVMMC.so.3.8.0
7f57ecbae000-7f57ecdad000 ---p 00071000 00:26 5581234 /usr/lib64/libLLVMMC.so.3.8.0
7f57ecdad000-7f57ecdb0000 r--p 00070000 00:26 5581234 /usr/lib64/libLLVMMC.so.3.8.0
7f57ecdb0000-7f57ecdb1000 rw-p 00073000 00:26 5581234 /usr/lib64/libLLVMMC.so.3.8.0
7f57ecdb1000-7f57ecdb2000 r-xp 00000000 00:26 5581158 /usr/lib64/libLLVMAMDGPUInfo.so.3.8.0
7f57ecdb2000-7f57ecfb1000 ---p 00001000 00:26 5581158 /usr/lib64/libLLVMAMDGPUInfo.so.3.8.0
7f57ecfb1000-7f57ecfb2000 r--p 00000000 00:26 5581158 /usr/lib64/libLLVMAMDGPUInfo.so.3.8.0gbx3: warning: cannot write signal #17 into signal pipe: Bad file descriptor
Re-raising signal for core dump handling.
Aborted (core dumped)
More information about the User
mailing list