error in dlopen()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I inserted a shared library(say 1.so)  inside a running process(say mutatee) .
I did not use dlopen() function for this.

The shared library(1.so)  contains dlopen() function ie) it depends on libdl.so.
The problem is when I tried to call dlopen() function which is inside
the shared library(1.so) the mutatee is getting crashed.

When I call dlopen() with file="" , the mutatee is not getting
crashed,  but when I give any other filename it is getting crashed.

What could be the reason.

General questions about dlopen().

1) In which section dlopen() inserts a library. Inside heap or text or
data section??? How to know whether dlopen() has permissions for that
section?
2) I want to debug dlopen() function to know where it is getting crashed.
    I dont have gdb on my machine(armv5-linux).
   Where can I download libdl.so souce code???...so that I will
comiple it for arm and insert my own printf() statements inside it.
Thanks in advance.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux