[Gambas-user] Crash Gambas3.12.2
T Lee Davidson
t.lee.davidson at gmail.com
Thu Mar 7 01:05:32 CET 2019
On 3/4/19 4:55 PM, T Lee Davidson wrote:
> 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.
My system's package manager has updated Gambas from the OBS repo with a second build (?) of commit f2de1bc27. Now, CrashG3 does
NOT crash when printing the non-printable characters! However, my test TerminalView project still does crash.
' Gambas class file
Public Sub Button1_Click()
TerminalView1.Print(Chr$(03) & Chr$(253))
Debug Chr$(254) & Chr$(254) & Chr$(88) & Chr$(224) & Chr$(03) & Chr$(253)
End
Debug prints with no problem. The application crashes only after the second click on Button1. Replacing Chr$(03) with Chr$(01)
through Chr$(06) & Chr$(16) one at a time also cause a crash.
Since there doesn't seem to be any significant changes between commit f2de1bc27 and commit 0614a255, I thought perhaps I could
compile gbx3 with debugging info and temporarily replace the installed gbx3 for testing. So, I did:
cd gambas
git pull
./reconf-all
./configure -C
make
[snip]
CC gbx3-gbx_extern.o
gbx_extern.c:781:1: error: unknown type name ‘EXTERN_FUNC_INFO’
EXTERN_FUNC_INFO EXTERN_get_function_info(CLASS_EXTERN *ext)
^
gbx_extern.c: In function ‘EXTERN_get_function_info’:
gbx_extern.c:783:2: error: unknown type name ‘EXTERN_FUNC_INFO’
EXTERN_FUNC_INFO func_info = { NULL, NULL };
^
gbx_extern.c:783:2: warning: initialization makes integer from pointer without a cast [enabled by default]
gbx_extern.c:783:2: warning: (near initialization for ‘func_info’) [enabled by default]
gbx_extern.c:783:2: warning: excess elements in scalar initializer [enabled by default]
gbx_extern.c:783:2: warning: (near initialization for ‘func_info’) [enabled by default]
Makefile:1917: recipe for target 'gbx3-gbx_extern.o' failed
make[4]: *** [gbx3-gbx_extern.o] Error 1
make[4]: Leaving directory '/home/terry/Coding/Sources/gambas/main/gbx'
Makefile:449: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/terry/Coding/Sources/gambas/main'
Makefile:380: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/terry/Coding/Sources/gambas/main'
Makefile:427: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/terry/Coding/Sources/gambas'
Makefile:367: recipe for target 'all' failed
make: *** [all] Error 2
___
Lee
More information about the User
mailing list