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

Chuck Rolke commented on DISPATCH-913:
--------------------------------------

A backtrace of the failed program.

The gdb command line was:
{noformat}
gdb /usr/bin/python2 core.unit2.32438{noformat}
{noformat}
(gdb) bt
#0  0x00007f1e2f5c666b in raise () from /lib64/libc.so.6
#1  0x00007f1e2f5c8381 in abort () from /lib64/libc.so.6
#2  0x00007f1e2f5be8fa in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007f1e2f5be972 in __assert_fail () from /lib64/libc.so.6
#4  0x00007f1e2465fcea in pni_add_work (connection=0x561fb13aaaa0, 
delivery=0x561fb1509600) at 
/home/chug/git/qpid-proton/proton-c/src/core/engine.c:689
#5  0x00007f1e2465fee1 in pn_work_update (connection=0x561fb13aaaa0, 
delivery=0x561fb1509600) at 
/home/chug/git/qpid-proton/proton-c/src/core/engine.c:713
#6  0x00007f1e24662d4e in pn_link_advance (link=0x561fb14c3fc0) at 
/home/chug/git/qpid-proton/proton-c/src/core/engine.c:1786
#7  0x00007f1e248daf6b in _wrap_pn_link_advance (self=0x0, args=0x7f1e1f422ad0) 
at 
/home/chug/git/qpid-proton/build/proton-c/bindings/python/cprotonPYTHON_wrap.c:11172
#8  0x00007f1e3045597e in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#9  0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#10 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#11 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#12 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#13 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#14 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#15 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#16 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#17 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
#18 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#19 0x00007f1e30451dbf in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#20 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#21 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#22 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#23 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#24 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#25 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#26 0x00007f1e30451dbf in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#27 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#28 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#29 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#30 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#31 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#32 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#33 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#34 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
#35 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#36 0x00007f1e303981ae in instancemethod_call () from /lib64/libpython2.7.so.1.0
#37 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#38 0x00007f1e30392a30 in PyObject_CallMethodObjArgs () from 
/lib64/libpython2.7.so.1.0
#39 0x00007f1e248c8218 in pni_pydispatch (handler=0x561fb149a410, 
event=0x561fb13fda60, type=PN_DELIVERY)
    at 
/home/chug/git/qpid-proton/build/proton-c/bindings/python/cprotonPYTHON_wrap.c:3702
#40 0x00007f1e2467fb7a in pn_handler_dispatch (handler=0x561fb149a410, 
event=0x561fb13fda60, type=PN_DELIVERY) at 
/home/chug/git/qpid-proton/proton-c/src/reactor/handler.c:102
#41 0x00007f1e2467fbd7 in pn_handler_dispatch (handler=0x561fb13fb750, 
event=0x561fb13fda60, type=PN_DELIVERY) at 
/home/chug/git/qpid-proton/proton-c/src/reactor/handler.c:108
#42 0x00007f1e2467f469 in pn_reactor_process (reactor=0x561fb13f84d0) at 
/home/chug/git/qpid-proton/proton-c/src/reactor/reactor.c:420
#43 0x00007f1e248fe54c in _wrap_pn_reactor_process (self=0x0, 
args=0x7f1e1f4229d0) at 
/home/chug/git/qpid-proton/build/proton-c/bindings/python/cprotonPYTHON_wrap.c:25316
#44 0x00007f1e3045597e in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#45 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#46 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#47 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#48 0x00007f1e304535d3 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#49 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#50 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#51 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#52 0x00007f1e303a4ae7 in function_call () from /lib64/libpython2.7.so.1.0
#53 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#54 0x00007f1e30451dbf in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#55 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#56 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
#57 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#58 0x00007f1e303981ae in instancemethod_call () from /lib64/libpython2.7.so.1.0
#59 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#60 0x00007f1e30437c3b in slot_tp_call () from /lib64/libpython2.7.so.1.0
#61 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#62 0x00007f1e304515f2 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#63 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#64 0x00007f1e303a4ae7 in function_call () from /lib64/libpython2.7.so.1.0
#65 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#66 0x00007f1e30451dbf in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#67 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#68 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
#69 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#70 0x00007f1e303981ae in instancemethod_call () from /lib64/libpython2.7.so.1.0
#71 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#72 0x00007f1e30437c3b in slot_tp_call () from /lib64/libpython2.7.so.1.0
#73 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#74 0x00007f1e304515f2 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#75 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#76 0x00007f1e303a4ae7 in function_call () from /lib64/libpython2.7.so.1.0
#77 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#78 0x00007f1e30451dbf in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#79 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#80 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
#81 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#82 0x00007f1e303981ae in instancemethod_call () from /lib64/libpython2.7.so.1.0
#83 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#84 0x00007f1e30437c3b in slot_tp_call () from /lib64/libpython2.7.so.1.0
#85 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#86 0x00007f1e304515f2 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#87 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#88 0x00007f1e303a4ae7 in function_call () from /lib64/libpython2.7.so.1.0
#89 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#90 0x00007f1e30451dbf in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#91 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#92 0x00007f1e303a494e in function_call () from /lib64/libpython2.7.so.1.0
#93 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#94 0x00007f1e303981ae in instancemethod_call () from /lib64/libpython2.7.so.1.0
#95 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#96 0x00007f1e30437c3b in slot_tp_call () from /lib64/libpython2.7.so.1.0
#97 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#98 0x00007f1e304515f2 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#99 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#100 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#101 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#102 0x00007f1e303a4ae7 in function_call () from /lib64/libpython2.7.so.1.0
#103 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#104 0x00007f1e303981ae in instancemethod_call () from 
/lib64/libpython2.7.so.1.0
#105 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#106 0x00007f1e303d73c7 in slot_tp_init () from /lib64/libpython2.7.so.1.0
#107 0x00007f1e303d4424 in type_call () from /lib64/libpython2.7.so.1.0
#108 0x00007f1e3038f973 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#109 0x00007f1e304515f2 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#110 0x00007f1e30453f59 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#111 0x00007f1e304565d8 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#112 0x00007f1e304567e9 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0
#113 0x00007f1e3045cadf in run_mod () from /lib64/libpython2.7.so.1.0
#114 0x00007f1e3045ca8a in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0
#115 0x00007f1e3045c97e in PyRun_SimpleFileExFlags () from 
/lib64/libpython2.7.so.1.0
#116 0x00007f1e30462c1e in Py_Main () from /lib64/libpython2.7.so.1.0
#117 0x00007f1e2f5b000a in __libc_start_main () from /lib64/libc.so.6
#118 0x0000561fb09a878a in _start ()
{noformat}

> system_tests_delivery_abort failing
> -----------------------------------
>
>                 Key: DISPATCH-913
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-913
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.0.0
>         Environment: Fedora 27  with kernel 4.14.11-300.fc27.x86_64
> Current master qpid-proton
>  
>            Reporter: Chuck Rolke
>            Priority: Major
>
> Self test command:
> {noformat}
> ctest -VV -R system_tests_delivery_abort{noformat}
> fails about 10% of the time with error:
> {noformat}
> 36: Test command: /usr/bin/python 
> "/home/chug/git/qpid-dispatch/build/tests/run.py" "-x" "unit2" "-v" 
> "system_tests_delivery_abort"
> 36: Test timeout computed to be: 1500
> 36: test_01_message_route_truncated_one_router 
> (system_tests_delivery_abort.RouterTest) ... ok
> 36: test_02_message_route_truncated_two_routers 
> (system_tests_delivery_abort.RouterTest) ... ok
> 36: test_03_link_route_truncated_one_router 
> (system_tests_delivery_abort.RouterTest) ... ok
> 36: test_04_link_route_truncated_two_routers 
> (system_tests_delivery_abort.RouterTest) ... ok
> 36: test_05_message_route_abort_one_router 
> (system_tests_delivery_abort.RouterTest) ... ok
> 36: test_06_message_route_abort_two_routers 
> (system_tests_delivery_abort.RouterTest) ... 
>   python2: /home/chug/git/qpid-proton/proton-c/src/core/engine.c:689:
>   pni_add_work: Assertion `!delivery->local.settled' failed.
> 1/1 Test #36: system_tests_delivery_abort ......***Exception: Child aborted  
> 5.06 sec
> 0% tests passed, 1 tests failed out of 1
> Total Test time (real) =   5.06 sec
> {noformat}
> This could be a Proton bug but there is a built-in reproducer in Dispatch so 
> I'm starting it here.
>  



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

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

Reply via email to