You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/06/10 20:09:00 UTC

[jira] [Commented] (DISPATCH-1362) Shutdown crash when trying to clean up fallback addresses

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

ASF GitHub Bot commented on DISPATCH-1362:
------------------------------------------

ted-ross commented on pull request #519: DISPATCH-1362 - Remove recursive call to qdr_check_addr_CT during cor…
URL: https://github.com/apache/qpid-dispatch/pull/519
 
 
   …e shutdown.  This removes a window of opportunity for an invalid free during shutdown.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Shutdown crash when trying to clean up fallback addresses
> ---------------------------------------------------------
>
>                 Key: DISPATCH-1362
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1362
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>            Reporter: Ganesh Murthy
>            Assignee: Ted Ross
>            Priority: Major
>
> The following backtrace is occasionally seen when the router is being shutdown during the system_tests_fallback_dest
>  
> {noformat}
> (gdb) bt
> #0  0x00007f32afe4757f in raise () from /lib64/libc.so.6
> #1  0x00007f32afe31895 in abort () from /lib64/libc.so.6
> #2  0x00007f32afe8a9c7 in __libc_message () from /lib64/libc.so.6
> #3  0x00007f32afe912cc in malloc_printerr () from /lib64/libc.so.6
> #4  0x00007f32afe951ee in free_check.part () from /lib64/libc.so.6
> #5  0x00007f32b051ba59 in qd_hash_remove_by_handle (h=<optimized out>, handle=<optimized out>) at /home/gmurthy/opensource/qpid-dispatch/src/hash.c:328
> #6  0x00007f32b0540cbc in qdr_core_remove_address (core=core@entry=0x1b02230, addr=0x1b210d8) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core.c:492
> #7  0x00007f32b05347eb in qdr_check_addr_CT (addr=<optimized out>, core=0x1b02230) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:1176
> #8  qdr_check_addr_CT (core=core@entry=0x1b02230, addr=<optimized out>) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:1158
> #9  0x00007f32b0540dbc in qdr_core_remove_address (core=core@entry=0x1b02230, addr=0x1b21318) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core.c:524
> #10 0x00007f32b0541420 in qdr_core_free (core=0x1b02230) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core.c:148
> #11 0x00007f32b054fa23 in qd_router_free (router=0x1af3650) at /home/gmurthy/opensource/qpid-dispatch/src/router_node.c:1772
> #12 0x00007f32b051a2b5 in qd_dispatch_free (qd=0x16df1c0) at /home/gmurthy/opensource/qpid-dispatch/src/dispatch.c:359
> #13 0x00000000004026c6 in main_process (config_path=0x7ffe3a46c069 "INT.A.conf", python_pkgdir=<optimized out>, test_hooks=<optimized out>, fd=2) at /home/gmurthy/opensource/qpid-dispatch/router/src/main.c:116
> #14 0x0000000000402409 in main (argc=5, argv=0x7ffe3a46bc08) at /home/gmurthy/opensource/qpid-dispatch/router/src/main.c:369{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org