qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiri Danek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISPATCH-783) [system_tests_one_router] SIGSEGV in pn_transport_tail_closed
Date Wed, 31 May 2017 09:45:07 GMT
Jiri Danek created DISPATCH-783:
-----------------------------------

             Summary: [system_tests_one_router] SIGSEGV in pn_transport_tail_closed
                 Key: DISPATCH-783
                 URL: https://issues.apache.org/jira/browse/DISPATCH-783
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Tests
    Affects Versions: 1.0.0
            Reporter: Jiri Danek


{noformat}
commit 8d862beabd32bd22d4b315ff3a35bd937aa4b2a1
Author: Andrew Stitcher <astitcher@apache.org>
Date:   Fri May 26 16:16:18 2017 -0400

    No-JIRA: really fix tox tests without breaking anything else!
{noformat}

{noformat}
commit b1f09d5ea8101f40f3df4db5b4c5d2ee00e6ef7e
Author: Alan Conway <aconway@redhat.com>
Date:   Mon May 29 15:16:26 2017 -0400

    DISPATCH-777: async-signal-safe shutdown of the reactor.
{noformat}

{noformat}
ctest -VV -R system_tests_one_router --repeat-until-fail 1000
{noformat}

{noformat}
test 17
      Start 17: system_tests_one_router

17: Test command: /usr/bin/python "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest"
"-v" "system_tests_one_router"
17: Test timeout computed to be: 1500
17: test_01_pre_settled (system_tests_one_router.RouterTest) ... ok
17: test_02a_multicast_unsettled (system_tests_one_router.RouterTest) ... ok
17: test_02b_disp_to_closed_connection (system_tests_one_router.RouterTest) ... ok
17: test_02c_sender_settles_first (system_tests_one_router.RouterTest) ... ok
17: test_03_propagated_disposition (system_tests_one_router.RouterTest) ... ok
17: test_04_unsettled_undeliverable (system_tests_one_router.RouterTest) ... ok
17: test_05_three_ack (system_tests_one_router.RouterTest) ... ok
17: test_08_message_annotations (system_tests_one_router.RouterTest) ... ok
17: test_08a_strip_message_annotations_custom (system_tests_one_router.RouterTest) ... ok
17: test_08a_test_strip_message_annotations_both (system_tests_one_router.RouterTest) ...
ok
17: test_08a_test_strip_message_annotations_both_custom (system_tests_one_router.RouterTest)
... ok
17: test_08a_test_strip_message_annotations_in (system_tests_one_router.RouterTest) ... ok
17: test_08a_test_strip_message_annotations_no (system_tests_one_router.RouterTest) ... ok
17: test_08a_test_strip_message_annotations_no_add_trace (system_tests_one_router.RouterTest)
... ok
17: test_08a_test_strip_message_annotations_out (system_tests_one_router.RouterTest) ... ok
17: test_09_management (system_tests_one_router.RouterTest) ... ok
17: test_09a_management_no_reply (system_tests_one_router.RouterTest) ... ok
17: test_09c_management_get_operations (system_tests_one_router.RouterTest) ... ok
17: test_09d_management_not_implemented (system_tests_one_router.RouterTest) ... ok
17: test_10_semantics_multicast (system_tests_one_router.RouterTest) ... ok
17: test_11_semantics_closest (system_tests_one_router.RouterTest) ... ok
17: test_12_semantics_spread (system_tests_one_router.RouterTest) ... ok
17: test_13_to_override (system_tests_one_router.RouterTest) ... ok
17: test_14_send_settle_mode_settled (system_tests_one_router.RouterTest) ... ok
17: test_15_excess_deliveries_released (system_tests_one_router.RouterTest) ... ok
17: test_16_multicast_unsettled (system_tests_one_router.RouterTest) ... ok
17: test_17_multiframe_presettled (system_tests_one_router.RouterTest) ... ok
17: test_18_released_vs_modified (system_tests_one_router.RouterTest) ... ok
17: test_19_appearance_of_balance (system_tests_one_router.RouterTest) ... ok
17: test_20_batched_settlement (system_tests_one_router.RouterTest) ... ok
17: test_21_presettled_overflow (system_tests_one_router.RouterTest) ... ok
17: test_connection_properties (system_tests_one_router.RouterTest) ... ok
17: test_listen_error (system_tests_one_router.RouterTest)
17: Make sure a router exits if a initial listener fails, doesn't hang ... ok
17: test_reject_disposition (system_tests_one_router.RouterTest) ... ok
17: 
17: ----------------------------------------------------------------------
17: Ran 34 tests in 3.392s
17: 
17: OK
      Test #17: system_tests_one_router ...................   Passed    3.47 sec
      Start 17: system_tests_one_router

17: Test command: /usr/bin/python "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest"
"-v" "system_tests_one_router"
17: Test timeout computed to be: 1500
17: test_01_pre_settled (system_tests_one_router.RouterTest) ... ok
17: test_02a_multicast_unsettled (system_tests_one_router.RouterTest) ... ok
17: test_02b_disp_to_closed_connection (system_tests_one_router.RouterTest) ... ok
17: test_02c_sender_settles_first (system_tests_one_router.RouterTest) ... ok
17: test_03_propagated_disposition (system_tests_one_router.RouterTest) ... ok
17: test_04_unsettled_undeliverable (system_tests_one_router.RouterTest) ... ok
17: test_05_three_ack (system_tests_one_router.RouterTest) ... ok
17: test_08_message_annotations (system_tests_one_router.RouterTest) ... ok
17: test_08a_strip_message_annotations_custom (system_tests_one_router.RouterTest) ... ok
17: test_08a_test_strip_message_annotations_both (system_tests_one_router.RouterTest) ...
ok
17: test_08a_test_strip_message_annotations_both_custom (system_tests_one_router.RouterTest)
... ok
17: test_08a_test_strip_message_annotations_in (system_tests_one_router.RouterTest) ... ok
17: test_08a_test_strip_message_annotations_no (system_tests_one_router.RouterTest) ... ok
17: test_08a_test_strip_message_annotations_no_add_trace (system_tests_one_router.RouterTest)
... ok
17: test_08a_test_strip_message_annotations_out (system_tests_one_router.RouterTest) ... ok
17: test_09_management (system_tests_one_router.RouterTest) ... ok
17: test_09a_management_no_reply (system_tests_one_router.RouterTest) ... ok
17: test_09c_management_get_operations (system_tests_one_router.RouterTest) ... recv: Connection
reset by peer
17: FAIL
17: test_09d_management_not_implemented (system_tests_one_router.RouterTest) ... recv: Connection
refused
17: send: Broken pipe
17: FAIL
17: test_10_semantics_multicast (system_tests_one_router.RouterTest) ... recv: Connection
refused
17: send: Broken pipe
17: FAIL
17: test_11_semantics_closest (system_tests_one_router.RouterTest) ... recv: Connection refused
17: send: Broken pipe
17: FAIL
17: test_12_semantics_spread (system_tests_one_router.RouterTest) ... recv: Connection refused
17: send: Broken pipe
17: FAIL
17: test_13_to_override (system_tests_one_router.RouterTest) ... recv: Connection refused
17: send: Broken pipe
17: FAIL
17: test_14_send_settle_mode_settled (system_tests_one_router.RouterTest) ... ERROR:root:proton:io:
recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
17: ERROR:root:proton:io: recv: Connection refused
      Test #17: system_tests_one_router ...................***Timeout 1500.00 sec
{noformat}


{noformat}
gdb -c /main/qpid-dispatch/build/tests/system_test.dir/system_tests_one_router/RouterTest/setUpClass/core
`which qdrouterd`
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
[...]
Reading symbols from /usr/sbin/qdrouterd...(no debugging symbols found)...done.
[New LWP 22433]
[New LWP 22434]
[New LWP 22435]
[New LWP 22432]
[New LWP 22431]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `qdrouterd -c test-router.conf -I /main/qpid-dispatch/python'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f9b8ef12acd in pn_transport_tail_closed (transport=0x0) at /main/qpid-proton/proton-c/src/core/transport.c:3029
3029    bool pn_transport_tail_closed(pn_transport_t *transport) { return transport->tail_closed;
}
[Current thread is 1 (Thread 0x7f9b8ae04700 (LWP 22433))]
(gdb) bt
#0  0x00007f9b8ef12acd in pn_transport_tail_closed (transport=0x0) at /main/qpid-proton/proton-c/src/core/transport.c:3029
#1  0x00007f9b8ef02885 in pn_connection_driver_read_closed (d=0x7f9b7c09ef18) at /main/qpid-proton/proton-c/src/core/connection_driver.c:98
#2  0x00007f9b8ecdf6ca in pconnection_rclosed (pc=0x7f9b7c09e9c0) at /main/qpid-proton/proton-c/src/proactor/epoll.c:744
#3  0x00007f9b8ecdfcb9 in pconnection_process (pc=0x7f9b7c09e9c0, events=0, timeout=false,
topup=false) at /main/qpid-proton/proton-c/src/proactor/epoll.c:911
#4  0x00007f9b8ece22ac in proactor_do_epoll (p=0x560e0d59b550, can_block=true) at /main/qpid-proton/proton-c/src/proactor/epoll.c:1720
#5  0x00007f9b8ece234c in pn_proactor_wait (p=0x560e0d59b550) at /main/qpid-proton/proton-c/src/proactor/epoll.c:1738
#6  0x00007f9b8f183e9e in thread_run (arg=0x560e0d36ae80) at /main/qpid-dispatch/src/server.c:819
#7  0x00007f9b8eac5494 in start_thread (arg=0x7f9b8ae04700) at pthread_create.c:333
#8  0x00007f9b8de6a93f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
(gdb)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message