[Gambas-user] Signal 11 problem..

Laurent Carlier lordheavym at ...626...
Tue Apr 10 21:14:51 CEST 2007


On Tuesday 10 April 2007 20:40:07 sbungay wrote:
> Laurent Carlier wrote:
> > On Tuesday 10 April 2007 20:02:14 Stephen Bungay wrote:
> >> I have an application which makes use of drag and drop and occasionally
> >>Gambas fails (entire compiled app vanishes from the screen with no error
> >>message) with a signal 11 while performing drag and drop operations. I
> >> have not been able to ascertain any kind of pattern to the failures. The
> >> application might perform wonderfully for three or four drag & drops and
> >> suddenly fail on the initiation of a drag or on the drop event.
> >>  Has anyone else experienced failures of this type when using drag &
> >> drop?
> >>
> >>I'm using gambas 1.9.47 on FC5 and FC6.
> >>
> >>Steve.
> >
> > Can you reproduce the failure with the drag and drop example ?
> >
> > Otherwise can you run the project inside gdb and post the backtrace ? or
> > post the project ....
> >
> > Thanks !
>
>    I have not tried reproduce the problem within the drag and drop
> example. I will do so, a question to you  Laurent; by "run the project
> inside the gdb" do you mean load gambas up in gambas, run it and then
> load the app in that?
>

gdb is the Gnu Project Debugger http://sourceware.org/gdb/ , i guess a package 
should exist for you linux distro :-)

How to you gdb to get a backtrace :
- Open a terminal (konsole, xterm, ...)
- Go in the source directory of you project ( cd ~/mygambasproject )
- Run gdb with gbx2 ( gdb gbx2 )
- Inside gdb, execute gbx2 with componant preloading ( run -p )
- Use you app and try to reproduce the bug, when a problem occur, gdb will 
catch the failure.
- Produce the backtrace ( bt)
- Do a copy and Past the result here :-)

++

- 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20070410/eee85655/attachment.sig>


More information about the User mailing list