[Gambas-user] IDE crashes with certain projects

bb adamnt42 at gmail.com
Wed Aug 4 13:50:33 CEST 2021


On Tue, 2021-08-03 at 04:01 +0300, Jussi Lahtinen wrote:
> If unclear...
> cd ~/gambas/main/gbx
> sudo make clean && make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" && sudo
> make
> install
> 
> 
> Jussi
> 
> On Tue, Aug 3, 2021 at 3:57 AM Jussi Lahtinen <
> jussi.lahtinen at gmail.com>
> wrote:
> 
> > This is not IDE crashing, it is the interpreter.
> > Please recompile gbx3 with debugging info. Now the backtrace is
> > useless.
> > 
> > Jussi
> > 
> > On Tue, Aug 3, 2021 at 3:04 AM bb <adamnt42 at gmail.com> wrote:
> > 
> > > I am getting the following with certain projects:
> > > 
> > > bb at bluecow-mx [/srv/gb3prj/BedRock/controls] gambas3 imgmgr/
> > > Received signal 11 SEGV_ACCERR 559ae6870130
> > > #0 0x7feb8221293e <unknown>
> > > #1 0x7feb82212a50 <unknown>
> > > #2 0x7feb82213087 <unknown>
> > > #3 0x7feb903ae840 <unknown>
> > > #4 0x559ae6870130 <unknown>
> > >   r8: 000000000000002f  r9: 0000559ae6ccbeb0 r10:
> > > 0000000000000001 r11:
> > > 00007feb90501220
> > >  r12: 00007feb86930088 r13: 0000559ae686f8d0 r14:
> > > 00007feb86930058 r15:
> > > 0000000000000000
> > >   di: 0000559ae686f8d0  si: 0000000000000002  bp:
> > > 00007ffda3494520  bx:
> > > 00007ffda34944f8
> > >   dx: 0000559ae6870350  ax: 0000559ae6870230  cx:
> > > 0000000000000000  sp:
> > > 00007ffda34944e8
> > >   ip: 0000559ae6870130 efl: 0000000000010202 cgf:
> > > 002b000000000033 erf:
> > > 0000000000000015
> > >  trp: 000000000000000e msk: 0000000000000000 cr2:
> > > 0000559ae6870130
> > > [end of stack trace]
> > > Calling _exit(1). Core file will not be generated.
> > > 
> > > I cant see anything "wrong" with the concerned .project files but
> > > here
> > > is one:
> > > 
> > > # Gambas Project File 3.0
> > > Title=Image Manager
> > > Startup=FTest
> > > Version=0.0.9
> > > Component=gb.image
> > > Component=gb.gui.qt
> > > Component=gb.form
> > > Description="This component provides a custom image view control
> > > that
> > > supports zooming and rotation."
> > > Environment="PH_DEBUG_IM=TRUE"
> > > TabSize=2
> > > Language=en_US
> > > Type=Component
> > > Maintainer=bb
> > > Vendor=paddys-hill
> > > VendorPrefix=ph
> > > Address=bb at localhost.localdomain
> > > License=General Public License
> > > Prefix=1
> > > PackageName=gambas3-ph-imgmgr-0.0.9
> > > CreateEachDirectory=1
> > > Packager=1
> > > Systems=fedora
> > > Groups=fedora:"Development/Libraries"
> > > 
> > > System info attached.
> > > Can anyine see the obvious that I can't?
> > > 
> > > tia
> > > b
> > > 
> > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > > 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
Thanks Jussi,
I tried that but still got the same result.
What I have discovered is that if I run gambas3 --cleanup
<that_project> the IDE opens successfully.
I think it may be something that it is looking at in the .gambas
directory that it doesn't like.
When I find another occurrence I'll look further into that idea and
check back.

b



More information about the User mailing list