Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcpkali crashes while load testing #66

Open
deleisha opened this issue Feb 7, 2018 · 0 comments
Open

tcpkali crashes while load testing #66

deleisha opened this issue Feb 7, 2018 · 0 comments

Comments

@deleisha
Copy link

deleisha commented Feb 7, 2018

Hi
tcpkali crashes running following command
./tcpkali --workers 1 -c 1 -T 10s -1 "hello" -m "test" --ssl 127.0.0.1:8000 against

./evt of https://github.com/deleisha/evt-tls/tree/master/sample/libuv-tls
The server(evt) also crashes at OpenSSL layer

Here is the backtrace from the core being dumped on ubuntu 16.04

#0 0x000000000042f23b in clear_pending (w=0x7f5768001810, w@entry=0x68000078, w=0x7f5768001810, w@entry=0x68000078, loop=loop@entry=0x7f57680008c0) at ev.c:3580
No locals.
#1 ev_io_stop (loop=loop@entry=0x7f57680008c0, w=w@entry=0x7f5768001810) at ev.c:3657
PRETTY_FUNCTION = "ev_io_stop"
#2 0x000000000040874c in close_connection (loop=loop@entry=0x7f57680008c0, conn=conn@entry=0x7f5768001810, reason=reason@entry=CCR_REMOTE) at tcpkali_engine.c:2873
buf = "\020\030\000h\027\000\000\000\300\b\000hW\177\000\000\001\000\000\000\000\000\000\000\211+\336mW\177\000\000\000\000\000\000\000\000\000\000 \000\000\000\060\000\000\000\000\000\000\000\000@\000\000P0\277\000\000\000\000\000\206\023hW\177\000\000\206\023hW\177\000\000ڭC", '\000' <repeats 29 times>, "\356Mz\317", '\000' <repeats 20 times>, "\001\000\000\000\213\356F\231 \021\000\000\000\000\000\000\000\a\312K\213\356F\231\000\000\000\000\000\000\000\000\377\377\377\377", '\000' <repeats 12 times>, "F*\220nW\177\000\000\000m\254mW\177\000\000\000\000\000\000"...
largs = 0xbf2a90
PRETTY_FUNCTION = "close_connection"
#3 0x000000000040c9dd in connection_cb (loop=, w=, revents=) at tcpkali_engine.c:2741
buf = "\020\000\000\000\000\000\000\000\300\b\000hW\177\000\000\020", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000\204\001\325mW\177\000\000\t\000\000\000\000\000\000\000\000\a\312K\213\356F\231\000\000\000\000\000\000\000\000\340m\254mW\177\000\000\220*\277\000\000\000\000\000\020\030\000hW\177\000\000\003", '\000' <repeats 12 times>
available_write =
wrote =
available_body = 140013383718576
position =
available_header =
record_moved =
lockstep =
largs =
conn =
remote =
PRETTY_FUNCTION = "connection_cb"
#4 0x000000000042dbc3 in ev_invoke_pending (loop=0x7f57680008c0) at ev.c:3088
p =
#5 0x000000000043121e in ev_run (loop=loop@entry=0x7f57680008c0, flags=flags@entry=0) at ev.c:3488
flags = 0
loop = 0x7f57680008c0
#6 0x0000000000409834 in single_engine_loop_thread (argp=0xbf2a90) at tcpkali_engine.c:1000
largs = 0xbf2a90
loop = 0x7f57680008c0
global_control_watcher = {active = 1, pending = 0, priority = 0, data = 0x0, cb = 0x40ae70 <control_cb>, next = 0x0, fd = 3, events = 1}
private_control_watcher = {active = 1, pending = 0, priority = 0, data = 0x0, cb = 0x40ae70 <control_cb>, next = 0x0, fd = 9, events = 1}
on_main_thread =
PRETTY_FUNCTION = "single_engine_loop_thread"
stats_flush_interval_ms = 42
#7 0x00007f576e09d6ba in start_thread (arg=0x7f576dac7700) at pthread_create.c:333
__res =
pd = 0x7f576dac7700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140013478901504, 5952960589203722786, 0, 140723353956335, 140013478902208, 12528272, -6038217394577255902,
-6038212135155576286}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
#8 0x00007f576ddd33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant