[jira] [Commented] (AXIS2C-1629) some code maybe cause segment fault

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (AXIS2C-1629) some code maybe cause segment fault

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/AXIS2C-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712553#comment-13712553 ]

Alex Mantaut commented on AXIS2C-1629:
--------------------------------------

This issue was fixed by r1504567.
               

> some code maybe cause segment fault
> ------------------------------------
>
>                 Key: AXIS2C-1629
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1629
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport
>    Affects Versions: 1.6.0
>            Reporter: hailong
>            Priority: Minor
>         Attachments: axis2c_log_no_system_env.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> http_server_main.c
> line 276
> /**
>  * Signal handler
>  */
> void
> sig_handler(
>     int signal)
> {
>     if(!system_env)
>     {
>         AXIS2_LOG_ERROR(
>             system_env->log,
>             AXIS2_LOG_SI,
>             "Received signal %d, unable to proceed system_env is NULL ,\
>                          system exit with -1",
>             signal);
>         _exit(-1);
>     }
> //////////////////////////////////////////////////////////////////////////////////////////////////////////////
> if  system_env is null, then use system_env->log ?????
> Although it is generally not the case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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