* [gentoo-dev] random gdb "debugger segfaults"
@ 2003-11-15 21:11 Burton Samograd
2003-11-16 9:47 ` Paul de Vrieze
0 siblings, 1 reply; 3+ messages in thread
From: Burton Samograd @ 2003-11-15 21:11 UTC (permalink / raw
To: gentoo-dev
Hi,
I'm not sure if this is a gentoo problem, but I figured I would get a
better response through this list than gentoo-user.
I'm working on a new C program and I'm getting a number of debugger
segfaults when running gdb. I've never had such a vital program as
gdb crash on me before, so this has gotten me a bit worried about
possible library mismatches or problems with newer versions
gcc/binutils/gdb working together.
I'm working with shared libraries in this application for the first
time, and I thought that gdb might be a bit flakey with this type of
dynamic symbol allocation. Anybody have experience with this?
I don't know if there's a current solution, but I thought that I
wouldn't be alone is seeing these problems and that others might have
already found the source (and solution). Currently I'm running:
gdb 6.0
gcc 3.3.2-r2
binutils 2.14.90.0.7
Note that gdb does work, but crashes rather randomly (as in, I can't
see a definite pattern that I could nail down to an actual bug)
requiring a restart, which is a bit irritating but not life
threatening.
--
burton samograd
http://kruhftwerk.dyndns.org
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] random gdb "debugger segfaults"
2003-11-15 21:11 [gentoo-dev] random gdb "debugger segfaults" Burton Samograd
@ 2003-11-16 9:47 ` Paul de Vrieze
2003-11-17 0:29 ` [gentoo-dev] " Burton Samograd
0 siblings, 1 reply; 3+ messages in thread
From: Paul de Vrieze @ 2003-11-16 9:47 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1471 bytes --]
On Saturday 15 November 2003 22:11, Burton Samograd wrote:
> Hi,
>
> I'm not sure if this is a gentoo problem, but I figured I would get a
> better response through this list than gentoo-user.
>
> I'm working on a new C program and I'm getting a number of debugger
> segfaults when running gdb. I've never had such a vital program as
> gdb crash on me before, so this has gotten me a bit worried about
> possible library mismatches or problems with newer versions
> gcc/binutils/gdb working together.
>
> I'm working with shared libraries in this application for the first
> time, and I thought that gdb might be a bit flakey with this type of
> dynamic symbol allocation. Anybody have experience with this?
>
> I don't know if there's a current solution, but I thought that I
> wouldn't be alone is seeing these problems and that others might have
> already found the source (and solution). Currently I'm running:
>
> gdb 6.0
> gcc 3.3.2-r2
> binutils 2.14.90.0.7
>
> Note that gdb does work, but crashes rather randomly (as in, I can't
> see a definite pattern that I could nail down to an actual bug)
> requiring a restart, which is a bit irritating but not life
> threatening.
What kernel, and which optimizations are you using. Further there could of
course be the standard bad power/bad mem/other flaky hardware problems
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: random gdb "debugger segfaults"
2003-11-16 9:47 ` Paul de Vrieze
@ 2003-11-17 0:29 ` Burton Samograd
0 siblings, 0 replies; 3+ messages in thread
From: Burton Samograd @ 2003-11-17 0:29 UTC (permalink / raw
To: gentoo-dev
Paul de Vrieze <pauldv@gentoo.org> writes:
> What kernel, and which optimizations are you using. Further there could of
> course be the standard bad power/bad mem/other flaky hardware
> problems
kernel: vanilla 2.4.21 with preempt patch
gentoo cflags: CFLAGS="-O3 -march=pentium2 -pipe"
My application has no optimizations enabled at the moment with the
only CFLAG being -g.
--
burton samograd
http://kruhftwerk.dyndns.org
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-17 1:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-15 21:11 [gentoo-dev] random gdb "debugger segfaults" Burton Samograd
2003-11-16 9:47 ` Paul de Vrieze
2003-11-17 0:29 ` [gentoo-dev] " Burton Samograd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox