Warning: corrupted shared library list

In linux, when debugging my program using gdb, the following message appears:

warning: Corrupted shared library list: 0x639130 != 0x7ffff7fd9598 

In my program, I upload several .so files via dlopen (). After calling dlopen (), a message appears.

Then, when I download the following .so, the message appears again, but this time with different addresses:

 warning: Corrupted shared library list: 0x63c9e0 != 0x639130 

I searched for links to this post on the Internet, but found nothing. There are some links to a corrupted shared library, but not to a list of corrupted shared libraries.

Does anyone know what could be causing this?

I run Ubuntu AMD64 and compiled in 64-bit with g ++ command line options:

 -std=c++11 -fPIC 
+9
source share
1 answer

This seems to happen when one of the shared dlopen () libraries edited by the program also has code for the dlopen () library that was already loaded earlier.

0
source

Source: https://habr.com/ru/post/1258738/


All Articles