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 2006/11/22 09:16:01 UTC
[jira] Created: (AXIS2C-421) Segmentation fault occurred when
executing w2c tool
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
Environment: Ubuntu Linux
Reporter: Milinda Lakmal Pathirage
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
[ANN]VTD-XML version 1.8
Posted by Jimmy Zhang <jz...@ximpleware.com>.
Version 1.8 of VTD-XML is now released. The new features are:
· XMLModifier is a easy to use class that takes advantage of the
incremental update capability offered by VTD-XML
· XPath built-in functions are now almost complete
· This release added encoding support for iso-8859-2~10, windows code
page 1250~1258
· Added various functions to autoPilot that evaluate XPath to string,
number and boolean
· This release also fixes a number of XPath bugs related to string
handling
To download the latest release please visit http://vtd-xml.sf.net
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-421) Segmentation fault occurred when
executing w2c tool
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-421?page=all ]
Samisa Abeysinghe updated AXIS2C-421:
-------------------------------------
Fix Version/s: 1.0.0
Affects Version/s: Current (Nightly)
Assignee: Dushshantha Chandradasa
> 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
[jira] Resolved: (AXIS2C-421) Segmentation fault occurred when
executing w2c tool
Posted by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dushshantha Chandradasa resolved AXIS2C-421.
--------------------------------------------
Resolution: Fixed
applied the patch provided by milinda and tested. This works fine. Thanks Milinda for the patch.
> Segmentation fault occurred when executing w2c tool
> ---------------------------------------------------
>
> Key: AXIS2C-421
> URL: https://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
>
> Attachments: woden.patch
>
>
> 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: https://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
[jira] Updated: (AXIS2C-421) Segmentation fault occurred when
executing w2c tool
Posted by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Milinda Lakmal Pathirage updated AXIS2C-421:
--------------------------------------------
Attachment: woden.patch
> 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
>
> Attachments: woden.patch
>
>
> 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
[jira] Commented: (AXIS2C-421) Segmentation fault occurred when
executing w2c tool
Posted by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-421?page=comments#action_12456344 ]
Dushshantha Chandradasa commented on AXIS2C-421:
------------------------------------------------
This happens when woden tries to process documentation element in the service element of the wsdl.
in the line 933 of wsdl10_reader.c (function parse_svc ), following expression returns NULL as the child elemet.
temp_el = axiom_util_get_first_child_element(doc_el, env, doc_el_node,
&temp_el_node);
> 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
[jira] Commented: (AXIS2C-421) Segmentation fault occurred when
executing w2c tool
Posted by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org>.
[ 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