Re: gdb crashes with seg fault

Andrew Cagney
2001-10-10T15:05:00Z

> Hello all!
>
> I got a strange problem. gdb is crashing with a segmentation fault while checking a 120MB large binary with each core that this binary produces.
>
> I hope I'm just too dumb to do the right things. But the problem occurred first after using gcc 3.0.1 to compile the binary. All was ok before that.
>
> Ok, here is some data you might need.
>
> Machine: Athlon 1.3GHz, 512M RAM
> Linux version 2.4.4-4GB (root@Pentium.suse.de) (gcc version 2.95.3 20010315 (SuSE))
> GDB: Version 5.0 (one self compiled one out of SuSE Linux distribution)
> GCC: Version 3.0.1 (self compiled)

FYI, the first thing to do is download a current snapshot and try that.
There are likely differences between SuSE's GDB and the official FSF GDB.

Andrew