Robert wrote regarding '[SLE] Rusty oldtimer in gcc programming ...' on Mon, Sep 20 at 11:04:
Hi,
I'm speech recognition researcher not so fond of newer Linux systems. I have some old C code that I used to run under Debian 2.0.
Now I transferred code to Suse 9.0, compile it without any errors (some warnings) but get segmentation faults in runtime.
One particular error is (I get this when run in ddd):
Program received signal SIGSEGV, Segmentation fault. 0x400b90af in fflush() from /lib/libc.so.6
Doesn't ddd have a memory map thingie that'd help with this? Can't you just set some breakpoints and examine pointers until you find the one that's screwy? I could swear that I used to use ddd when I wrote code in that antique language... :) Well, I'm not much help - but maybe if you look a little closer you'll find the stuff I'm referring to. Or maybe not. I dunno. --Danny, who needs a nap