Alan Conway created DISPATCH-87:
-----------------------------------

             Summary: Double load of libqpid-dispatch.so
                 Key: DISPATCH-87
                 URL: https://issues.apache.org/jira/browse/DISPATCH-87
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Management Agent, Router Node
    Affects Versions: 0.2
            Reporter: Alan Conway
            Assignee: Alan Conway
             Fix For: 0.3


qdrouterd can load the libqpid-dispatch.so twice - once by the executable, 
again via ctypes. ctypes is supposed to be using the same copy of the library 
that is loaded by the exe but for some reason is not.

This has been observed to cause crashes, but even when it doesn't it can be 
observed as follows:

{noformat}$ LD_DEBUG=files router/qdrouterd  |& grep libqpid-dispatch
     18591:     file=libqpid-dispatch.so.0 [0];  needed by router/qdrouterd [0]
     18591:     file=libqpid-dispatch.so.0 [0];  generating link map
     18591:     calling init: 
/home/aconway/dispatch/debug/src/libqpid-dispatch.so.0
     18591:     file=/usr/local/lib64/libqpid-dispatch.so.0 [0];  dynamically 
loaded by /usr/lib64/python2.7/lib-dynload/_ctypes.so [0]
     18591:     file=/usr/local/lib64/libqpid-dispatch.so.0 [0];  generating 
link map
     18591:     calling init: /usr/local/lib64/libqpid-dispatch.so.0
     18591:     opening file=/usr/local/lib64/libqpid-dispatch.so.0 [0]; 
direct_opencount=1
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to