[Gambas-user] Segmentation fault (11)

Tobias Boege taboege at ...626...
Thu May 29 22:55:33 CEST 2014


On Thu, 29 May 2014, Patrik Karlsson wrote:
> The program has stopped unexpectedly:
> Segmentation fault (11)
> 
> Please send a bug report to the following mail address:
> gambas at ...52...
> -------
> 
> This is what I get when trying to close my program while it is doing some
> timer based animations. I guess the program is to complex to make a simple
> version that reproduces that behavior.
> 
> The IDE debugger shows nothing, my process is just gone I guess.
> 

That's normal with segfaults.

> How can I debug it?

You will want to compile Gambas with debugging information and use gdb on
it. To include debugging information, do

$ make clean && make CFLAGS+="-O0 -ggdb" CXXFLAGS+="-O0 -ggdb"

in the source tree (IIRC). However, it is not going to be fun...

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list