Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Elmenthaler, Jens" <jens.elmenthaler@verigy.com>
To: <gdb@sourceware.org>
Subject: RE: pc 0x25c9b0 in read in psymtab, but not in symtab
Date: Mon, 11 Jan 2010 08:46:00 -0000	[thread overview]
Message-ID: <58596C4646708B4BB990C448399733300190922A@usplmvpbe001.ent.rt.verigy.net> (raw)
In-Reply-To: <58596C4646708B4BB990C4483997333001908F74@usplmvpbe001.ent.rt.verigy.net>

> I'm running out of time, right now. But a guess a program that dlopen's a > shared library could be good candidate. I will give it a try as soon as < > possible.

I can no longer reproduce the problem: the reason can be one of the following thing:
- I rebooted my linux machine
- completely recompiled my software

I guess the trigger was the second, so I think the problem is sitting between keyboard and chair.

Jens.

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Elmenthaler, Jens
Sent: Freitag, 8. Januar 2010 17:32
To: Tristan Gingold; Chris Sutcliffe
Cc: gdb@sourceware.org
Subject: RE: pc 0x25c9b0 in read in psymtab, but not in symtab

> Sadly, without reproducer I won't get far.

In my case, the addresses complained about resolves to the following locations (RedHat Enterprise Linux 5.3):

maint translate-address 0x25c9b0
-> _dl_debug_state + 0 in section .text of /lib/ld-linux.so.2
maint translate-address 0x25c9b1
-> _dl_debug_state + 1 in section .text of /lib/ld-linux.so.2

This makes perfectly sense, as I see the messages while (or shortly after) the gdb is stopped because of shared library event.

I'm running out of time, right now. But a guess a program that dlopen's a shared library could be good candidate. I will give it a try as soon as possible.

Jens.

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Tristan Gingold
Sent: Freitag, 8. Januar 2010 16:56
To: Chris Sutcliffe
Cc: gdb@sourceware.org
Subject: Re: pc 0x25c9b0 in read in psymtab, but not in symtab


On Jan 8, 2010, at 4:42 PM, Chris Sutcliffe wrote:

>> yes this bug I encounter some time ago, too. It is related to DLL files
>> not having any debugging information but are shown in backtrace. Here it
>> warns once about psymtab != symtab and code in gdb fix it afterwards. IMHO
>> this warning is simply pretty bogus here, or the DLL loader should
>> generate for pe-coff the symtab, too.
> 
> Hopefully this is helpful.

Not that much.  This doesn't sound coherent to me because if there is no debugging information both the
psymtab and the symtab should be empty.

> If there is anything else I can do to help track down the bug, please
> let me know.

It would be nice to have a reproducer.  It doesn't need to be small and I think sources are not needed
to investigate this issue.

Sadly, without reproducer I won't get far.

Tristan.


  reply	other threads:[~2010-01-11  8:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 14:58 Elmenthaler, Jens
2010-01-08 11:41 ` Chris Sutcliffe
2010-01-08 11:46   ` Tristan Gingold
2010-01-08 11:51     ` Chris Sutcliffe
2010-01-08 11:55       ` Tristan Gingold
2010-01-08 12:02         ` Elmenthaler, Jens
2010-01-08 15:42         ` Chris Sutcliffe
2010-01-08 15:55           ` Tristan Gingold
2010-01-08 16:32             ` Elmenthaler, Jens
2010-01-11  8:46               ` Elmenthaler, Jens [this message]
2010-01-08 20:56             ` Chris Sutcliffe
2010-01-10  2:41               ` Chris Sutcliffe
2010-01-11  8:59                 ` Tristan Gingold
2010-01-12  8:19 Roland Schwingel

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=58596C4646708B4BB990C448399733300190922A@usplmvpbe001.ent.rt.verigy.net \
    --to=jens.elmenthaler@verigy.com \
    --cc=gdb@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