On 07/12/10 11:55 PM, Milan Jurik wrote:
02534: 1: symbol=nspr_use_zone_allocator; dlsym() called from file=/usr/lib/mps/libnspr4.so; starting at file=/usr/bin/FBReader [...] 02534: 1: rescanning for lazy dependencies for symbol: nspr_use_zone_allocator
The dlsym() has failed to locate the symbol nspr_use_zone_allocator within any objects that are presently loaded within the process, so the runtime linker goes through an exhaustive search of all pending lazy loadable objects in an attempt to find the symbol. Very expensive.
02534: 1: ld.so.1: FBReader: fatal: nspr_use_zone_allocator: can't find symbol
At this point, the pending lazy loads have been processed, and the symbol still isn't found. As this is a dlsym() call, the caller makes the decision of what to do in regards this lookup failure. I thought that libnspr4 continued regardless of the failure. Is there any activity after the fatal error condition? Other libraries loaded? Or is the process just being torn down? (LD_DEBUG=init would reveal the .fini calls of a process exiting). -- Rod. _______________________________________________ tools-linking mailing list [email protected]
