Shared library - linux glibc6 2.1.3x, dlclose generate segmentation fault

Shared library - linux glibc6 2.1.3x, dlclose generate segmentation fault

Post by Tomasz Karczewsk » Fri, 23 Mar 2001 19:07:38



Hello,

I have a problem with Shared library created by gcc under linux with
glibc6 2.1.3-17.
I load libx.so library using dlopen function and unload using dlclose,
when I call dlclose segmentation fault error is generated.

I have own _ini and _fini functions there, but I termopary remove it
from library, then I have default _ini and _fini, stiil that same :-(

I use there shared memory and pthreads, mutex and conditional wariable
from POSIX.

The most interested is thad the error is generated under glibc6 2.1.13-x
under Debian Potato and RedHat 6.2, but under unstable Debian and RedHat
7.1 beta with glibc6 2.2.1 there is not any problem?

Unfortunately I had use RedHat 6.2 with glibc6 2.1.3-x

Best regards
Tom

--
nick: KaTo

 
 
 

1. Shared library - linux glibc6 2.1.3x, dlclose generate segmentation fault

Hello,

I have a problem with Shared library created by gcc under linux with
glibc6 2.1.3-17.
I load libx.so library using dlopen function and unload using dlclose,
when I call dlclose segmentation fault error is generated.

I have own _ini and _fini functions there, but I termopary remove it
from library, then I have default _ini and _fini, stiil that same :-(

I use there shared memory and pthreads, mutex and conditional wariable
from POSIX.

The most interested is thad the error is generated under glibc6 2.1.13-x
under Debian Potato and RedHat 6.2, but under unstable Debian and RedHat
7.1 beta with glibc6 2.2.1 there is not any problem?

Unfortunately I had use RedHat 6.2 with glibc6 2.1.3-x

Best regards
Tom

--
nick: KaTo

2. KDE Beta 4 Problem

3. shared libraries & segmentation faults

4. IBM's Data Explorer for mklinux?

5. serial ports

6. Segmentation fault of shared libraries

7. Make 2.5.3x serial can compile.

8. Segmentation faults installing slackware 2.1 (kernel 1.1.59)

9. glibc6 2.1 compile/install prob

10. Bugs in shared libraries (dlopen / dlclose)..

11. Help : segmentation fault generated by httpd 1.5 on irix 4.0.5