You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Eric Connell (JIRA)" <ji...@apache.org> on 2011/03/08 22:16:59 UTC

[jira] Created: (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
--------------------------------------------------------------------------------------------------

                 Key: TS-697
                 URL: https://issues.apache.org/jira/browse/TS-697
             Project: Traffic Server
          Issue Type: Bug
          Components: Logging
    Affects Versions: 2.1.6
         Environment: Solaris 10 u8
            Reporter: Eric Connell
            Priority: Minor


Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().

The following config in logs_xml.config should recreate the problem:

{code}
<LogFormat>
  <Name = "access_log"/>
  <Format = "%<shi>"/>
</LogFormat> 

<LogObject> 
  <Format = "access_log"/>
  <Filename = "access_log"/>
</LogObject> 
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082961#comment-13082961 ] 

Zhao Yongming commented on TS-697:
----------------------------------

tested with current trunk, it works without any crash. so we should close this issue.

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Assignee: Zhao Yongming
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-697:
-----------------------------

    Backport to Version: 3.0.1

Marking these as targets for backport to 3.0.1, so we remember that they are "important".

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Priority: Minor
>             Fix For: 3.1
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming reassigned TS-697:
--------------------------------

    Assignee: Zhao Yongming

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Assignee: Zhao Yongming
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-697:
-----------------------------

    Fix Version/s:     (was: 2.1.8)
                   3.1

Moving these out to v3.1, please move back if you plan on working them in the next few weeks.

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Priority: Minor
>             Fix For: 3.1
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-697:
-----------------------------

    Fix Version/s:     (was: 2.1.7)
                   2.1.8

I'm unable to reproduce this on trunk, so moving out to v2.1.8 for now.

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.8
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-697.
------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 3.1.1)

Can't reproduce this, so closing. Please reopen if this is still an issue, with instructions how to reproduce.

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Assignee: Zhao Yongming
>            Priority: Minor
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009967#comment-13009967 ] 

Leif Hedstrom commented on TS-697:
----------------------------------

well, I can't get my Solaris11 VM to actually run anything, and I'm not able to reproduce this bug. Can you perchance submit a stack trace from the crashes?

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.8
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-697:
-----------------------------

    Fix Version/s: 2.1.7

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Priority: Minor
>             Fix For: 2.1.7
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-697:
--------------------------------

    Assignee:     (was: Leif Hedstrom)

I'm unable to reproduce this, so moving back to the pool.

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Priority: Minor
>             Fix For: 2.1.8
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Assigned: (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-697:
--------------------------------

    Assignee: Leif Hedstrom

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.7
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-697) Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-697:
-----------------------------

    Backport to Version:   (was: 3.0.1)

Removing backport target until we have a patch and/or more info to reproduce this.

> Attempting to log the "shi" and "pqsi" parameters via logs_xml.config (IP types) causes a segfault
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-697
>                 URL: https://issues.apache.org/jira/browse/TS-697
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.6
>         Environment: Solaris 10 u8
>            Reporter: Eric Connell
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Creating a LogFormat that contains either %<shi> or %<pqsi> symbols causes a segfault when attempting to unmarshal the IP in LogAccess::unmarshal_ip().
> The following config in logs_xml.config should recreate the problem:
> {code}
> <LogFormat>
>   <Name = "access_log"/>
>   <Format = "%<shi>"/>
> </LogFormat> 
> <LogObject> 
>   <Format = "access_log"/>
>   <Filename = "access_log"/>
> </LogObject> 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira