You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/23 23:42:21 UTC

[jira] [Work logged] (TS-4777) Plugin message asserts on error response.

     [ https://issues.apache.org/jira/browse/TS-4777?focusedWorklogId=26982&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26982 ]

ASF GitHub Bot logged work on TS-4777:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Aug/16 23:42
            Start Date: 23/Aug/16 23:42
    Worklog Time Spent: 10m 
      Work Description: GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/908

    TS-4777: Correct lifecycle message response parameter count.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4777

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/908.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #908
    
----
commit f5092b893052b3b59faf62c25e0e7bf1bea3ae1d
Author: James Peach <jp...@apache.org>
Date:   2016-08-23T23:41:20Z

    TS-4777: Correct lifecycle message response parameter count.

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 26982)
            Time Spent: 10m
    Remaining Estimate: 0h

> Plugin message asserts on error response.
> -----------------------------------------
>
>                 Key: TS-4777
>                 URL: https://issues.apache.org/jira/browse/TS-4777
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {noformat}
> (gdb) where
> #0  0x00007ffff5d5fc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> #1  0x00007ffff5d63028 in __GI_abort () at abort.c:89
> #2  0x00007ffff7bb4c54 in ink_abort (message_format=0x7ffff7bc6f8c "%s:%d: failed assertion `%s`")
>     at ink_error.cc:79
> #3  0x00007ffff7bb25ea in _ink_assert (expression=0x55ce60 "responses[optype].nfields == 3",
>     file=0x55ce00 "NetworkMessage.cc", line=237) at ink_assert.cc:37
> #4  0x000000000045a2a9 in send_mgmt_error (fd=14, optype=LIFECYCLE_MESSAGE,
>     error=TS_ERR_PERMISSION_DENIED) at NetworkMessage.cc:237
> #5  0x000000000044dc03 in handle_control_message (fd=14, req=0x7fffe4004bd0, reqlen=45)
>     at TSControlMain.cc:1239
> #6  0x000000000044c31f in ts_ctrl_main (arg=0x7fffffffe0b8) at TSControlMain.cc:217
> #7  0x00007ffff6904184 in start_thread (arg=0x7ffff2c8d700) at pthread_create.c:312
> #8  0x00007ffff5e2337d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> (gdb) up
> #5  0x000000000044dc03 in handle_control_message (fd=14, req=0x7fffe4004bd0, reqlen=45)
>     at TSControlMain.cc:1239
> 1239   	        return send_mgmt_error(fd, optype, TS_ERR_PERMISSION_DENIED);
> {noformat}
> The lifecycle message response has 1 parameter, not 3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)