valgrind illegal instruction

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Mon Jul 7 12:24:00 PDT 2014


Hi Robert,

I was interested in your post about Creator, valgrind and illegal
instruction.  I've been off the development effort for > year but
still watch some posts when time permits...

I'd echo Dirk's recommendation about the value of the tool.  Seriously
opened my eyes more than once.

I've been doing some work on cross compilation with Qt, ARM and
powerpc and have only come across "illegal instruction" when things
were cross compiled with rubbish options.  No idea if this hint is
relevant to you or not.  But if you can get gdb onto the
pre-initialisation code you might be able to find the instruction
responsible (stepi) and work back.

Regards,

Amit


More information about the subsurface mailing list