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 2014/05/05 22:51:15 UTC

[jira] [Commented] (TS-2779) atscppapi: bug in AsyncTimer - cancel results in crash

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

ASF GitHub Bot commented on TS-2779:
------------------------------------

GitHub user manjeshnilange opened a pull request:

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

    fix for TS-2779 (atscppapi: bug in AsyncTimer - cancel results in crash)

    The fix is that in cancel() we remember this fact and use it to check cancel retry.

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

    $ git pull https://github.com/manjeshnilange/trafficserver master

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

    https://github.com/apache/trafficserver/pull/77.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 #77
    
----
commit e7eac5e68fa127a4e10dfe202a697c6ac6c372e5
Author: Manjesh Nilange <ma...@yahoo.com>
Date:   2014-05-05T20:48:35Z

    fix for TS-2779 (atscppapi: bug in AsyncTimer - cancel results in crash)

----


> atscppapi: bug in AsyncTimer - cancel results in crash
> ------------------------------------------------------
>
>                 Key: TS-2779
>                 URL: https://issues.apache.org/jira/browse/TS-2779
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: CPP API
>            Reporter: Manjesh Nilange
>            Assignee: Brian Geffon
>
> FATAL: InkIOCoreAPI.cc:223: failed assert `sdk_sanity_check_mutex(mutexp) == TS_SUCCESS`
> /usr/bin/traffic_server - STACK TRACE: 
> /usr/lib64/libtsutil.so.3(ink_fatal+0xc9)[0x7ffff7bb2c05]
> /usr/lib64/libtsutil.so.3(_ink_assert+0x3c)[0x7ffff7bb1c48]
> /usr/bin/traffic_server(_TSReleaseAssert+0x29)[0x4f41a7]
> /usr/bin/traffic_server(TSMutexLock+0x30)[0x50dcc1]
> /usr/lib/libatscppapi.so.1(_ZN9atscppapi10AsyncTimer6cancelEv+0x27)[0x7fffe9ae26b9]
> /usr/lib/libatscppapi.so.1(_ZN9atscppapi10AsyncTimerD1Ev+0x2d)[0x7fffe9ae27a3]
> /usr/lib/libatscppapi.so.1(_ZN9atscppapi10AsyncTimerD0Ev+0x18)[0x7fffe9ae2824]
> /home/mnilange/Projects/postbuffer/postbuffer.so(_ZN10PostBufferD1Ev+0x98)[0x7fffe9d14346]
> /home/mnilange/Projects/postbuffer/postbuffer.so(_ZN10PostBufferD0Ev+0x18)[0x7fffe9d144b6]
> /usr/lib/libatscppapi.so.1(+0x1ceca)[0x7fffe9ad1eca]



--
This message was sent by Atlassian JIRA
(v6.2#6252)