[squeak-dev] dlopen() crashing

Schwab,Wilhelm K bschwab at anest.ufl.edu
Thu Apr 1 14:53:43 UTC 2010


Hello all,

I am trying to use dlsym() which means I have to call dlopen(), and it is crashing with messages such as 

     Inconsistency detected by ld.so: dl-open.c: 643: _dl_open: 
      Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

I am calling it as follows:

dlOpen:aString mode:int
    < cdecl: void* 'dlopen' ( char* long ) >   
    ^ self externalCallFailed.

With zero for the mode parameter, it runs but returns an null handle; with 2 (now) or 10 (now|global), it crashes.

Any ideas or working examples?

Bill




More information about the Squeak-dev mailing list