develooper Front page | perl.perl5.porters | Postings from March 2000

Re: XS_DynaLoader_dl_unload_file (was: beep R beep C beep 3)

Thread Previous | Thread Next
From:
Gurusamy Sarathy
Date:
March 22, 2000 07:43
Subject:
Re: XS_DynaLoader_dl_unload_file (was: beep R beep C beep 3)
Message ID:
200003221543.HAA05474@maul.ActiveState.com
On 22 Mar 2000 16:01:55 +0100, Ulrich Pfeifer wrote:
>>>>>> "Uli" == Ulrich Pfeifer <pfeifer@wait.de> writes:
>
>    Uli> I'll build a debugging version of perl now ....
> ,-----
> | 
> | Does not reveal too much:
> | 
> | 223             void *  libref = INT2PTR(void *,SvIV(ST(0)));
> | (gdb) n
> | 225             dXSTARG;
> | (gdb) x libref
> | 0x8218c50:      0x401a0000
> | (gdb) n
> | Cannot access memory at address 0x406cd014.
> | (gdb) where
> | #0  0x4000a43d in _dl_debug_state () from /lib/ld-linux.so.2
> | #1  0x4014d2af in _dl_close () from /lib/libc.so.6
> | #2  0x400663b7 in dlopen () from /lib/libdl.so.2
> | #3  0x4000a145 in _dl_catch_error () from /lib/ld-linux.so.2
> | #4  0x4006693e in dlerror () from /lib/libdl.so.2
> | #5  0x400663dd in dlclose () from /lib/libdl.so.2
> | #6  0x805a4c9 in XS_DynaLoader_dl_unload_file (cv=0x818ef5c)

OK, that does it.  The new dl_unload_file() stuff going to be a
build option in 5.6, and it won't be on by default.  (It needs far
more testing that we can reasonably do at this stage, and 99% of the
uses of perl can do without the overhead anyway.)


Sarathy
gsar@ActiveState.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About