From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC/ia64] memory error when reading wrong core file
Date: Fri, 29 Jan 2010 17:53:00 -0000 [thread overview]
Message-ID: <20100129175133.GA21670@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20100129160222.GL26811@adacore.com>
Hi Joel,
On Fri, 29 Jan 2010 17:02:22 +0100, Joel Brobecker wrote:
> Contrast this with what we get today, on ia64-linux:
>
> (gdb) core core
> warning: core file may not match specified executable file.
> [New Thread 5437]
> Cannot access memory at address 0x1000000000009
>
> The change of behavior is related to a patch that changed the way
> the solib base address gets computed (that was for PIE, patch 12/15
> I believe). Prior to that patch, the computed base address was zero.
before verifying your patch I would like to check if the PIE change should not
be rather somehow fixed. Unfortunately I am unable to reproduce the problem
on ia64 (RHEL-5.4) GDB HEAD (ea72145d5db8c66253c9b21b785a5311f69ae99e).
GNU gdb (GDB) 7.0.50.20100129-cvs
This GDB was configured as "ia64-unknown-linux-gnu".
Reading symbols from /root/.../pause...done.
[New Thread 30776]
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libc.so.6.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6.1
Reading symbols from /lib/ld-linux-ia64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux-ia64.so.2
Core was generated by `./pause'.
Program terminated with signal 11, Segmentation fault.
#0 0xa000000000010620 in __kernel_syscall_via_break ()
(gdb)
Could you please provide some binary/core file as reproducers?
Thanks,
Jan
next prev parent reply other threads:[~2010-01-29 17:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-29 16:02 Joel Brobecker
2010-01-29 17:53 ` Jan Kratochvil [this message]
2010-02-01 1:25 ` Jan Kratochvil
2010-02-01 6:54 ` Joel Brobecker
2010-02-01 19:20 ` Jan Kratochvil
2010-03-08 7:46 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100129175133.GA21670@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox