This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: evolution vs prelink on debian ppc sid

On Thu, Sep 26, 2002 at 01:29:55AM +0200, Jakub Jelinek wrote:
> On Wed, Sep 25, 2002 at 06:45:01PM -0400, Jack Howarth wrote:
> >    Here is another view at the prelinked evolution crash.
> > If I run...
> > 
> > 0x018efaf4 in _dl_addr () from /lib/
> > (gdb) bt
> > #0  0x018efaf4 in _dl_addr () from /lib/
> > #1  0x023816c4 in dladdr () from /lib/
> Well, I see a potential problem in _dl_addr:
>   /* We assume that the string table follows the symbol table, because
>      there is no way in ELF to know the size of the dynamic symbol table!!  */
> prelink doesn't guarantee this for binaries, so if dladdr were used to find a
> non-existant symbol in the executable, it might be a problem.
> But it looks like this is not the case in your crash.

Actually, I think that is the case - didn't Jack mention some missing
symbol errors that were handled gracefully without prelink?

[Also, is that comment correct?]

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]