libdl usage count wrapping

Kevin Day thekevinday at gmail.com
Sat Sep 27 00:03:40 UTC 2008


On Thu, Sep 25, 2008 at 4:17 PM, Vallevand, Mark K
<Mark.Vallevand at unisys.com> wrote:
> This patch was intended to fix a memory leak, not the count overflow.
> We still have some problem in that area.  We resolved it by not calling
> dlopen() dlclose() but rather calling dlopen() just once and reusing the
> handle.
>
> Regards.
> Mark K Vallevand

Allright, thanks for clearing up my misunderstandings

Now, my testing has yielded that the segfault occurs on the function
call: _dl_munmap((void*)tpnt->loadaddr, end);

-- 
Kevin Day



More information about the uClibc mailing list