You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org> on 2007/01/02 10:23:27 UTC

[jira] Commented: (AXIS2C-421) Segmentation fault occurred when executing w2c tool

    [ http://issues.apache.org/jira/browse/AXIS2C-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461696 ] 

Milinda Lakmal Pathirage commented on AXIS2C-421:
-------------------------------------------------

This error caused by some bugs in woden/src/wsdl10/woden_wsdl10_svc.c source file. Attached patch fix this issue.

> Segmentation fault occurred when executing w2c tool
> ---------------------------------------------------
>
>                 Key: AXIS2C-421
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-421
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Ubuntu Linux
>            Reporter: Milinda Lakmal Pathirage
>         Assigned To: Dushshantha Chandradasa
>             Fix For: 1.0.0
>
>
> When execute w2c tool with following options it gives segmentation faults.
> Here is the out put when run wdc using gdb
> (gdb) r -uri BasicAllTest.wsdl -o src -id -ss -sd -d adb
> Starting program: /home/milinda/Projects/axis2_c/c/deploy/bin/tools/w2c -uri BasicAllTest.wsdl -o src -id -ss -sd -d adb
> [Thread debugging using libthread_db enabled]
> [New Thread -1212728640 (LWP 8876)]
> [Wed Nov 22 12:38:06 2006] [debug] class_loader.c(233) Object loaded successfully
> [Wed Nov 22 12:38:06 2006] [debug] class_loader.c(233) Object loaded successfully
> [Wed Nov 22 12:38:06 2006] [debug] class_loader.c(233) Object loaded successfully
> [Wed Nov 22 12:38:06 2006] [debug] class_loader.c(233) Object loaded successfully
> [Wed Nov 22 12:38:06 2006] [debug] class_loader.c(233) Object loaded successfully
> [Wed Nov 22 12:38:06 2006] [debug] class_loader.c(233) Object loaded successfully
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1212728640 (LWP 8876)]
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0xb7bd5764 in parse_svc (reader=0x80664e8, env=0x804a018, svc_el_node=0x8065288, desc=0x8066670) at wsdl10_reader.c:3129
> #2  0xb7bd76da in parse_desc (reader=0x80664e8, env=0x804a018, document_base_uri=0x804bfd8 "file:/", desc_el_node=0x805b828, wsdl_modules=0x806b7a8)
>     at wsdl10_reader.c:821
> #3  0xb7bbf381 in woden_resolver_read (resolver=0x8065230, env=0x804a018, om_doc=0x805a480, doc_base_uri=0x804bfd8 "file:/") at resolver.c:244
> #4  0xb7b5ce7f in w2c_databinding_adb_ext_invoke (env=0x804a018, conf=0x804bd78) at databinding_adb_ext.c:209
> #5  0xb7b5d157 in w2c_databinding_adb_ext_engage (extension=0x804de58, env=0x804a018, conf=0x804bd78) at databinding_adb_ext.c:99
> #6  0xb7f45842 in w2c_engine_generate (engine=0x804a648, env=0x804a018) at engine.c:221
> #7  0x08048922 in main (argc=0, argv=0x0) at wsdl2code.c:45

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org