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

Jiri Daněk commented on DISPATCH-2044:
--------------------------------------

[~chug] Got the stacktrace from Travis! It does indeed look similar to 
DISPATCH-2019, except this time a different stacktrace for the free, involving 
{{qdr_link_cleanup_deliveries_CT}} is present.

https://travis-ci.com/github/apache/qpid-dispatch/jobs/497996806#L4849

{noformat}
25: Process 12983 error: exit code 1, expected -1
25: qdrouterd -c INT.B.conf -I /home/travis/build/apache/qpid-dispatch/python
25: 
/home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_policy_oversize_basic/MaxMessageSizeBlockOversize/setUpClass/INT.B-2.cmd
25: >>>>
25: =================================================================
25: ==12983==ERROR: AddressSanitizer: attempting double-free on 0x61500004ec80 
in thread T1:
25:     #0 0x7f2f4480d2ca in __interceptor_free 
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)
25:     #1 0x7f2f4411fd03 in qdr_core_remove_address 
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:609
25:     #2 0x7f2f440ce4af in qdr_check_addr_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:1329
25:     #3 0x7f2f440d2fe4 in qdr_link_inbound_detach_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:2111
25:     #4 0x7f2f44128f9b in router_core_thread 
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core_thread.c:239
25:     #5 0x7f2f43a736b9 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
25:     #6 0x7f2f42a9c41c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
25: 
25: 0x61500004ec80 is located 0 bytes inside of 512-byte region 
[0x61500004ec80,0x61500004ee80)
25: freed by thread T1 here:
25:     #0 0x7f2f4480d2ca in __interceptor_free 
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)
25:     #1 0x7f2f4411fd03 in qdr_core_remove_address 
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:609
25:     #2 0x7f2f440ce4af in qdr_check_addr_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:1329
25:     #3 0x7f2f440e795c in qdr_delete_delivery_internal_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:459
25:     #4 0x7f2f440cf653 in qdr_link_cleanup_deliveries_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:894
25:     #5 0x7f2f440d3507 in qdr_link_inbound_detach_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:2089
25:     #6 0x7f2f44128f9b in router_core_thread 
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core_thread.c:239
25:     #7 0x7f2f43a736b9 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
25: 
25: previously allocated by thread T1 here:
25:     #0 0x7f2f4480d602 in malloc 
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
25:     #1 0x7f2f44101b02 in qd_malloc 
/home/travis/build/apache/qpid-dispatch/include/qpid/dispatch/ctools.h:229
25:     #2 0x7f2f44101b02 in qdr_forward_balanced_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/forwarder.c:769
25:     #3 0x7f2f4413eeee in qdr_link_forward_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/transfer.c:573
25:     #4 0x7f2f4414251c in qdr_link_deliver_CT 
/home/travis/build/apache/qpid-dispatch/src/router_core/transfer.c:860
25:     #5 0x7f2f44128f9b in router_core_thread 
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core_thread.c:239
25:     #6 0x7f2f43a736b9 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
25: 
25: Thread T1 created by T0 here:
25:     #0 0x7f2f447ab253 in pthread_create 
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
25:     #1 0x7f2f44097858 in sys_thread 
/home/travis/build/apache/qpid-dispatch/src/posix/threading.c:181
25:     #2 0x7f2f4411742f in qdr_core 
/home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:122
25:     #3 0x7f2f4417aeaf in qd_router_setup_late 
/home/travis/build/apache/qpid-dispatch/src/router_node.c:2108
25:     #4 0x7f2f3c355e3f in ffi_call_unix64 
(/usr/lib/x86_64-linux-gnu/libffi.so.6+0x5e3f)
25:     #5 0x7ffcc30075cf  (<unknown module>)
25: 
25: SUMMARY: AddressSanitizer: double-free ??:0 __interceptor_free
25: ==12983==ABORTING
{noformat}

> Intermittent timeout in system_tests_policy_oversize_basic
> ----------------------------------------------------------
>
>                 Key: DISPATCH-2044
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2044
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> https://travis-ci.com/github/apache/qpid-dispatch/jobs/497488263#L4422
> There are no diagnostics or logs printed, except for the ERRORs and CMake 
> ***Timeout message. This failure is quite common in Travis.
> {noformat}
> test 25
>       Start 25: system_tests_policy_oversize_basic
> 25: Test command: /usr/bin/python 
> "/home/travis/build/apache/qpid-dispatch/build/tests/run.py" "-m" "unittest" 
> "-v" "system_tests_policy_oversize_basic"
> 25: Test timeout computed to be: 600
> 25: test_40_block_oversize_INTA_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_41_block_oversize_INTA_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_42_block_oversize_INTA_EA1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_43_block_oversize_INTA_EB1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_44_block_oversize_INTB_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_45_block_oversize_INTB_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_46_block_oversize_INTB_EA1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_47_block_oversize_INTB_EB1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_48_block_oversize_EA1_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_49_block_oversize_EA1_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_4a_block_oversize_EA1_EA1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_4b_block_oversize_EA1_EB1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_4c_block_oversize_EB1_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... skipped 
> 'EB1 sending to INT.A may be blocked by EB1 limit and also by INT.B limit. 
> That condition is tested in compound test.'
> 25: test_4d_block_oversize_EB1_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... skipped 
> 'EB1 sending to INT.B may be blocked by EB1 limit and also by INT.B limit. 
> That condition is tested in compound test.'
> 25: test_4e_block_oversize_EB1_EA1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... skipped 
> 'EB1 sending to EA1 may be blocked by EB1 limit and also by INT.B limit. That 
> condition is tested in compound test.'
> 25: test_4f_block_oversize_EB1_EB1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_50_allow_undersize_INTA_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_51_allow_undersize_INTA_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_52_allow_undersize_INTA_EA1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_53_allow_undersize_INTA_EB1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_54_allow_undersize_INTB_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_55_allow_undersize_INTB_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_56_allow_undersize_INTB_EA1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_57_allow_undersize_INTB_EB1 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ERROR
> 25: test_58_allow_undersize_EA1_INTA 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... ok
> 25: test_59_allow_undersize_EA1_INTB 
> (system_tests_policy_oversize_basic.MaxMessageSizeBlockOversize) ... 
> 25/71 Test #25: system_tests_policy_oversize_basic ................***Timeout 
> 600.02 sec
>  {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to