On Oct 08, 2009 at 14:11, Juha Heinanen jh@tutpro.com wrote:
today i noticed that sercmd is crashing right at start. gdb does not tell much:
Program terminated with signal 11, Segmentation fault. [New process 15687] #0 0x00000001 in __do_global_dtors_aux () (gdb) where #0 0x00000001 in __do_global_dtors_aux ()
it had worked fine before.
It looks like a linker or a compiler problem (__do_global_dtors_aux is called on exit and should call all the global/libraries destructors).
Did you change the compiler or linker recently?
Coul you try: cd utils/sercmd; make proper ; make and see if it still crashes?
If it crashes, try editing config.mak (in the main dir) and remove -m32 from everywhere it appears (or -m64 if you don't have -m32) and then try again (this is the only change, -m32 is now added automatically on 32 bits).
Could you also send me your compiler version, the output of ldd sercmd and the output of d utils/sercmd; make proper ; make (the gcc command lines)?
Andrei