Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb crashes with seg fault
@ 2001-10-10 14:22 Ralf Narozny
  2001-10-10 15:05 ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Narozny @ 2001-10-10 14:22 UTC (permalink / raw)
  To: gdb

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)

gdb call:
gdb bin/realm lib/core --batch -x ./checkcore_cmds

checkcore_cmds:
bt
print this
print *this
print ch
print *ch
print player
print *player
exit


Thanks in advance
  Ralf


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb crashes with seg fault
  2001-10-10 14:22 gdb crashes with seg fault Ralf Narozny
@ 2001-10-10 15:05 ` Andrew Cagney
  2001-10-10 15:30   ` Ralf Narozny
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2001-10-10 15:05 UTC (permalink / raw)
  To: Ralf Narozny; +Cc: gdb

> 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

http://sources.redhat.com/gdb/download/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb crashes with seg fault
  2001-10-10 15:05 ` Andrew Cagney
@ 2001-10-10 15:30   ` Ralf Narozny
  0 siblings, 0 replies; 3+ messages in thread
From: Ralf Narozny @ 2001-10-10 15:30 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Ralf Narozny, gdb

Andrew Cagney wrote:

>> 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
> 
> http://sources.redhat.com/gdb/download/
> 



Thanks Andrew!

The selfcompiled one was downloaded at exactly that location :-(


> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-10 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-10 14:22 gdb crashes with seg fault Ralf Narozny
2001-10-10 15:05 ` Andrew Cagney
2001-10-10 15:30   ` Ralf Narozny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox