This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

reference counting


You might have seen that the ELF test I checked in earlier today
failed.  There was another bug.  I've spend the rest of the day to fix
this and it was necessary to revamp the whole reference counter
handling.  All is now done at the highest level (dl-open and dl-close)
with the exception of dl-look which adds additional references.

This new implementation passes all the tests I have in the moment.  I
know of only one pathological case which will fail.  I'll handle this
tomorrow after I came up with an appropriate test case.

If you can, please think hard about cases where you'd expect problems
and make a test case we can include.  US$5 if you write a test case
for the problem I have in mind (it's a *really* complicated case :-).

Also, give the new code a try outside glibc.  I haven't tried it so
far.


Since most of the changes done since the introduction of the breakage
Jack Howarth found had to do with reference handling there is a chance
that this is fixed now as well.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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