Bad memory acces -- correction

Olly Betts olly at survex.com
Tue Aug 16 19:48:44 BST 2005


On Sun, Aug 07, 2005 at 04:00:52PM +0100, Mark Shinwell wrote:
> sorry, you probably need
> 
> 	CFLAGS=-g CXXFLAGS=-g ./configure

With gcc, configure will default to "-O2 -g" for both CFLAGS and
CXXFLAGS, so you don't need to rebuild at all.

Just prepend "gdb --args " to the command you're using to run aven.  For
example:

gdb --args src/aven test.3d

Then "run" and after the crash "where" to print the stack trace.

My guess is it's failing to create an opengl context - I think that
currently dies messily...

Cheers,
    Olly



More information about the Survex mailing list