axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Updated: (AXISCPP-533) Inter shared library exception handling broken on Linux
Date Thu, 09 Oct 2008 16:04:44 GMT

     [ https://issues.apache.org/jira/browse/AXISCPP-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

nadir amra updated AXISCPP-533:
-------------------------------

    Comment: was deleted

> Inter shared library exception handling broken on Linux
> -------------------------------------------------------
>
>                 Key: AXISCPP-533
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-533
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: current (nightly)
>         Environment: GNU specific (as far as I know)
>            Reporter: Tim Bartley
>
> On Linux, actually on systems where the compiler and common libraries are g++ and gnu
and glibc, exception handling between shared libraries is broken. It is broken because the
same class in different shared libraries is treated differently so that an HTTPTransportException
thrown by a channel library does not match "catch (HTTPTransportException& e)" in the
transport library.
> Refer to http://gcc.gnu.org/faq.html#dso for details.
> The fix is to load the subordinate library with RTLD_GLOBAL flag.
> As far as I know this is GNU specific but may apply to other platforms.
> It's possible that others are not seeing this because the context in which I am running
Axis is from within an application that itself dynamically loads a library that depends on
Axis.
> Cheers,
> Tim

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message