You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Andrew Borley (JIRA)" <tu...@ws.apache.org> on 2006/10/16 10:45:35 UTC
[jira] Created: (TUSCANY-857) Calculator and BigBank WSClients fail
with segv on Linux Axis2C 0.94
Calculator and BigBank WSClients fail with segv on Linux Axis2C 0.94
---------------------------------------------------------------------
Key: TUSCANY-857
URL: http://issues.apache.org/jira/browse/TUSCANY-857
Project: Tuscany
Issue Type: Bug
Components: C++ SCA
Affects Versions: Cpp-M2
Environment: Linux, Axis2C 0.94
Reporter: Andrew Borley
Priority: Blocker
Fix For: Cpp-M2
The Bigbank and Calculator WS Clients fail with segmentation faults on Linux and Axis2C 0.94. Other platforms and earlier Axis2C builds are fine.
The service is also fine, the error is client-side only.
It appears to be something to do with the Tuscany Axis2C dispatcher module - removing it from the Axis2.xml file makes the clients run fine (but obviously, the Tuscany service now does not run).
Moving the dispatcher module in the Axis2.xml file (as below) makes the service and client run fine but produces a segmentation fault when cleaning up on the client:
...
<!-- ================================================= -->
<!-- Global Modules -->
<!-- ================================================= -->
<!-- Comment this to disable Addressing -->
<module ref="addressing"/>
<!--module ref="tuscany"/-->
<!--Configuring module , providing paramters for modules whether they refer or not-->
<!--<moduleConfig name="addressing">-->
<!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
<!--</moduleConfig>-->
<!-- ================================================= -->
<!-- Phases -->
<!-- ================================================= -->
<phaseOrder type="inflow">
<!-- System pre defined phases -->
<phase name="TransportIn"/>
<phase name="PreDispatch"/>
<phase name="Dispatch">
<handler name="TuscanyDispatcher" class="tuscany_sca_ws_dispatcher">
<order phase="Dispatch"/>
</handler>
<handler name="AddressingBasedDispatcher"
class="axis2_engine">
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-857) Calculator and BigBank WSClients
fail with segv on Linux Axis2C 0.94
Posted by "Andrew Borley (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-857?page=comments#action_12442514 ]
Andrew Borley commented on TUSCANY-857:
---------------------------------------
Stack trace for this segv:
#0 0x00eb457d in axis2_dep_engine_load_client () from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#1 0x00ebb703 in build_client_conf_ctx () from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#2 0x00ec6781 in axis2_svc_client_init_transports_from_conf_ctx ()
from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#3 0x00ec685a in axis2_svc_client_create_with_conf_ctx_and_svc ()
from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#4 0x00ec6dbc in axis2_svc_client_create () from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#5 0x00ec3701 in axis2_stub_create_with_endpoint_ref_and_client_home ()
from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#6 0x00ec3811 in axis2_stub_create_with_endpoint_uri_and_client_home ()
from /home/ajborley/axis2c-bin-0.94-linux//lib/libaxis2_engine.so.0
#7 0x08048ceb in axis2_Calculator_stub_create_with_endpoint_uri_and_client_home (env=0x975c220,
endpoint_uri=0x8049510 "http://localhost:9090/axis2/services/CalculatorService",
client_home=0xbf8efcf6 "/home/ajborley/axis2c-bin-0.94-linux/") at axis2_Calculator_stub.cpp:92
#8 0x0804904c in main (argc=158711816, argv=0x975c018) at CalculatorWSClient.cpp:81
> Calculator and BigBank WSClients fail with segv on Linux Axis2C 0.94
> ---------------------------------------------------------------------
>
> Key: TUSCANY-857
> URL: http://issues.apache.org/jira/browse/TUSCANY-857
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SCA
> Affects Versions: Cpp-M2
> Environment: Linux, Axis2C 0.94
> Reporter: Andrew Borley
> Priority: Blocker
> Fix For: Cpp-M2
>
>
> The Bigbank and Calculator WS Clients fail with segmentation faults on Linux and Axis2C 0.94. Other platforms and earlier Axis2C builds are fine.
> The service is also fine, the error is client-side only.
> It appears to be something to do with the Tuscany Axis2C dispatcher module - removing it from the Axis2.xml file makes the clients run fine (but obviously, the Tuscany service now does not run).
> Moving the dispatcher module in the Axis2.xml file (as below) makes the service and client run fine but produces a segmentation fault when cleaning up on the client:
> ...
> <!-- ================================================= -->
> <!-- Global Modules -->
> <!-- ================================================= -->
> <!-- Comment this to disable Addressing -->
> <module ref="addressing"/>
> <!--module ref="tuscany"/-->
> <!--Configuring module , providing paramters for modules whether they refer or not-->
> <!--<moduleConfig name="addressing">-->
> <!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
> <!--</moduleConfig>-->
> <!-- ================================================= -->
> <!-- Phases -->
> <!-- ================================================= -->
> <phaseOrder type="inflow">
> <!-- System pre defined phases -->
> <phase name="TransportIn"/>
> <phase name="PreDispatch"/>
> <phase name="Dispatch">
> <handler name="TuscanyDispatcher" class="tuscany_sca_ws_dispatcher">
> <order phase="Dispatch"/>
> </handler>
> <handler name="AddressingBasedDispatcher"
> class="axis2_engine">
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-857) Calculator and BigBank WSClients
fail with segv on Linux Axis2C 0.94
Posted by "Andrew Borley (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-857?page=all ]
Andrew Borley resolved TUSCANY-857.
-----------------------------------
Resolution: Fixed
Fixed in r464451. The dispatcher was causing a segv when loading cos it (incorrectly) required the sca and sdo libraries on the LD_LIBRARY_PATH.
> Calculator and BigBank WSClients fail with segv on Linux Axis2C 0.94
> ---------------------------------------------------------------------
>
> Key: TUSCANY-857
> URL: http://issues.apache.org/jira/browse/TUSCANY-857
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SCA
> Affects Versions: Cpp-M2
> Environment: Linux, Axis2C 0.94
> Reporter: Andrew Borley
> Priority: Blocker
> Fix For: Cpp-M2
>
>
> The Bigbank and Calculator WS Clients fail with segmentation faults on Linux and Axis2C 0.94. Other platforms and earlier Axis2C builds are fine.
> The service is also fine, the error is client-side only.
> It appears to be something to do with the Tuscany Axis2C dispatcher module - removing it from the Axis2.xml file makes the clients run fine (but obviously, the Tuscany service now does not run).
> Moving the dispatcher module in the Axis2.xml file (as below) makes the service and client run fine but produces a segmentation fault when cleaning up on the client:
> ...
> <!-- ================================================= -->
> <!-- Global Modules -->
> <!-- ================================================= -->
> <!-- Comment this to disable Addressing -->
> <module ref="addressing"/>
> <!--module ref="tuscany"/-->
> <!--Configuring module , providing paramters for modules whether they refer or not-->
> <!--<moduleConfig name="addressing">-->
> <!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
> <!--</moduleConfig>-->
> <!-- ================================================= -->
> <!-- Phases -->
> <!-- ================================================= -->
> <phaseOrder type="inflow">
> <!-- System pre defined phases -->
> <phase name="TransportIn"/>
> <phase name="PreDispatch"/>
> <phase name="Dispatch">
> <handler name="TuscanyDispatcher" class="tuscany_sca_ws_dispatcher">
> <order phase="Dispatch"/>
> </handler>
> <handler name="AddressingBasedDispatcher"
> class="axis2_engine">
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org