Getting the Polyphony-based script to work
noteflakes opened this issue · 2 comments
The current problem with the Polyphony-based script seems to be some kind of interaction between the the fact that the connection is immediately closed by the server and how wrk handles the 200 status code with an empty response body. The script will work if you change line 13 to either of the following:
# empty response:
client.send("HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n")
# response with a body
client.send("HTTP/1.1 200 Ok\r\nConnection: close\r\nContent-Length: 5\r\n\r\nHello")
Also notice that a bug in Polyphony prevents TCPSocket#send
from taking a flags argument, so for now you'll need to make the #send
call without the flags argument.
In addition, the io_uring backend doesn't work on Ruby 3.0. This is being addressed. (I guess you're using the libev backend, because otherwise the script would not work at all...)
Thanks for your input, fixed.
Also one time there was a segfault running libev-scheduler.rb and wrk. Could not reproduce it. Maybe you see something intersting here.
libev-scheduler.rb:22: [BUG] Segmentation fault at 0x0000000000000029
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0012 e:000011 CFUNC :run
c:0002 p:0084 s:0008 E:000420 EVAL libev-scheduler.rb:22 [FINISH]
c:0001 p:0000 s:0003 E:001c10 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
libev-scheduler.rb:22:in `<main>'
libev-scheduler.rb:22:in `run'
-- Machine register context ------------------------------------------------
RIP: 0x000055f341f01d5c RBP: 0x0000000000000cd1 RSP: 0x00007ffeb8e9c2a0
RAX: 0x0000000000000001 RBX: 0x000055f34366d7f8 RCX: 0x0000000000000000
RDX: 0x0000000000000cd1 RDI: 0x000055f34366d708 RSI: 0x0000000000000cd1
R8: 0x0000000000000000 R9: 0x000055f34366de10 R10: 0x0000000000000010
R11: 0x000055f341e8ae80 R12: 0x000055f34366d708 R13: 0x00007ffeb8e9c2b0
R14: 0x00007ffeb8e9c438 R15: 0x0000000000000000 EFL: 0x0000000000010206
-- C level backtrace information -------------------------------------------
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_print_backtrace+0x11) [0x55f341f20f6e] vm_dump.c:758
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_vm_bugreport) vm_dump.c:998
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_bug_for_fatal_signal+0x156) [0x55f341fbe6c6] error.c:786
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(sigsegv+0x4b) [0x55f341e88dfb] signal.c:960
/lib/x86_64-linux-gnu/libpthread.so.0(__restore_rt+0x0) [0x7faa6e5e8730] ../sysdeps/pthread/funlockfile.c:28
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(cached_callable_method_entry+0xa) [0x55f341f01d5c] vm_method.c:1062
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(callable_method_entry) vm_method.c:1125
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_call0+0x3d) [0x55f341f0e3ed] vm_method.c:1153
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(RB_IMMEDIATE_P+0x0) [0x55f341ea228d] string.c:1511
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(RB_SPECIAL_CONST_P) ./include/ruby/internal/special_consts.h:181
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rbimpl_RB_TYPE_P_fastpath) ./include/ruby/internal/value_type.h:271
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(RB_TYPE_P) ./include/ruby/internal/value_type.h:288
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_obj_as_string_result) string.c:1518
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_obj_as_string) string.c:1512
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_obj_as_string) string.c:1504
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(ruby__sfvextra+0xfd) [0x55f341e8af7d] sprintf.c:1130
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(BSD_vfprintf+0xa2b) [0x55f341e8be5b] vsnprintf.c:841
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(RBASIC_SET_CLASS_RAW+0x0) [0x55f341e8ee0a] sprintf.c:1175
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_enc_vsprintf) sprintf.c:1176
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_vsprintf) sprintf.c:1199
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_exc_new_str+0x0) [0x55f341fbfc67] error.c:2879
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_vraise) error.c:2879
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_raise+0x94) [0x55f341fbfd24] error.c:2887
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_check_typeddata+0x34) [0x55f341fc0574] error.c:1042
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(fiber_ptr+0x5) [0x55f341f92348] cont.c:839
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_fiber_resume_kw) cont.c:2387
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_fiber_resume) cont.c:2416
/home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so(Scheduler_resume_ready+0x79) [0x7faa6a929f69] scheduler.c:276
/home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so(Scheduler_resume_ready) (null):0
/home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so(Scheduler_poll+0x3b) [0x7faa6a92a01b] scheduler.c:293
/home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so(Scheduler_run+0x34) [0x7faa6a92a064] scheduler.c:91
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(vm_call_cfunc_with_frame+0x11b) [0x55f341eff5eb] vm_insnhelper.c:2898
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(vm_call_method_each_type+0xf9) [0x55f341f0a969] vm_insnhelper.c:3388
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(vm_call_method+0xb4) [0x55f341f0b1c4] vm_insnhelper.c:3506
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(vm_sendish+0xb3) [0x55f341f02573] vm_insnhelper.c:4499
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(vm_exec_core+0xce) [0x55f341f11c7e] insns.def:789
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_vm_exec+0x94d) [0x55f341f09a3d] vm.c:2172
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(rb_ec_exec_node+0xd9) [0x55f341d4b489] eval.c:317
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(ruby_run_node+0x4a) [0x55f341d4fe9a] eval.c:375
/home/jsaak/.rubies/ruby-3.0.0/bin/ruby(main+0x5b) [0x55f341d4b1eb] error.c:3043
-- Other runtime information -----------------------------------------------
* Loaded script: libev-scheduler.rb
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 ruby2_keywords.rb
5 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so
6 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/trans/transdb.so
7 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/rbconfig.rb
8 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/compatibility.rb
9 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/defaults.rb
10 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/deprecate.rb
11 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/errors.rb
12 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/exceptions.rb
13 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/basic_specification.rb
14 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/stub_specification.rb
15 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/text.rb
16 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/user_interaction.rb
17 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/specification_policy.rb
18 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/util/list.rb
19 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/platform.rb
20 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/version.rb
21 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/requirement.rb
22 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/specification.rb
23 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/util.rb
24 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/dependency.rb
25 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb
26 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/monitor.so
27 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/monitor.rb
28 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb
29 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_warn.rb
30 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems.rb
31 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/path_support.rb
32 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/version.rb
33 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/core_ext/name_error.rb
34 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/levenshtein.rb
35 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/jaro_winkler.rb
36 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checker.rb
37 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
38 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
39 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers.rb
40 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/method_name_checker.rb
41 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/key_error_checker.rb
42 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/null_checker.rb
43 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/tree_spell_checker.rb
44 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/spell_checkers/require_path_checker.rb
45 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean/formatters/plain_formatter.rb
46 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/did_you_mean.rb
47 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/bundler_version_finder.rb
48 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
49 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler.rb
50 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/fiber.so
51 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/socket.so
52 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/io/wait.so
53 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/socket.rb
* Process memory map:
55f341d1f000-55f341d47000 r--p 00000000 103:07 18880556 /home/jsaak/.rubies/ruby-3.0.0/bin/ruby
55f341d47000-55f341fcb000 r-xp 00028000 103:07 18880556 /home/jsaak/.rubies/ruby-3.0.0/bin/ruby
55f341fcb000-55f3420cf000 r--p 002ac000 103:07 18880556 /home/jsaak/.rubies/ruby-3.0.0/bin/ruby
55f3420d0000-55f3420d6000 r--p 003b0000 103:07 18880556 /home/jsaak/.rubies/ruby-3.0.0/bin/ruby
55f3420d6000-55f3420d7000 rw-p 003b6000 103:07 18880556 /home/jsaak/.rubies/ruby-3.0.0/bin/ruby
55f3420d7000-55f3420e8000 rw-p 00000000 00:00 0
55f343367000-55f343968000 rw-p 00000000 00:00 0 [heap]
7faa68356000-7faa68514000 r--s 00000000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa68514000-7faa68550000 rw-p 00000000 00:00 0
7faa68550000-7faa68596000 r--s 00000000 103:07 19792882 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
7faa68596000-7faa68831000 r--s 00000000 103:07 39061310 /usr/lib/debug/.build-id/e9/1114987a0147bd050addbd591eb8994b29f4b3.debug
7faa68831000-7faa68855000 r--s 00000000 103:07 34342408 /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
7faa68855000-7faa6a8a4000 r--s 00000000 103:07 18880556 /home/jsaak/.rubies/ruby-3.0.0/bin/ruby
7faa6a8a4000-7faa6a8a7000 r--p 00000000 103:07 34342354 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7faa6a8a7000-7faa6a8b8000 r-xp 00003000 103:07 34342354 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7faa6a8b8000-7faa6a8bb000 r--p 00014000 103:07 34342354 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7faa6a8bb000-7faa6a8bc000 ---p 00017000 103:07 34342354 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7faa6a8bc000-7faa6a8bd000 r--p 00017000 103:07 34342354 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7faa6a8bd000-7faa6a8be000 rw-p 00018000 103:07 34342354 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7faa6a8be000-7faa6a8c1000 r--p 00000000 103:07 34342403 /usr/lib/x86_64-linux-gnu/libnss_files-2.28.so
7faa6a8c1000-7faa6a8c8000 r-xp 00003000 103:07 34342403 /usr/lib/x86_64-linux-gnu/libnss_files-2.28.so
7faa6a8c8000-7faa6a8ca000 r--p 0000a000 103:07 34342403 /usr/lib/x86_64-linux-gnu/libnss_files-2.28.so
7faa6a8ca000-7faa6a8cb000 ---p 0000c000 103:07 34342403 /usr/lib/x86_64-linux-gnu/libnss_files-2.28.so
7faa6a8cb000-7faa6a8cc000 r--p 0000c000 103:07 34342403 /usr/lib/x86_64-linux-gnu/libnss_files-2.28.so
7faa6a8cc000-7faa6a8cd000 rw-p 0000d000 103:07 34342403 /usr/lib/x86_64-linux-gnu/libnss_files-2.28.so
7faa6a8cd000-7faa6a8d3000 rw-p 00000000 00:00 0
7faa6a8ed000-7faa6a8f3000 r--p 00000000 103:07 19272461 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/socket.so
7faa6a8f3000-7faa6a913000 r-xp 00006000 103:07 19272461 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/socket.so
7faa6a913000-7faa6a91b000 r--p 00026000 103:07 19272461 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/socket.so
7faa6a91b000-7faa6a91c000 r--p 0002d000 103:07 19272461 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/socket.so
7faa6a91c000-7faa6a91d000 rw-p 0002e000 103:07 19272461 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/socket.so
7faa6a91d000-7faa6a921000 r--p 00000000 103:07 19792882 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
7faa6a921000-7faa6a92b000 r-xp 00004000 103:07 19792882 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
7faa6a92b000-7faa6a92e000 r--p 0000e000 103:07 19792882 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
7faa6a92e000-7faa6a92f000 r--p 00010000 103:07 19792882 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
7faa6a92f000-7faa6a930000 rw-p 00011000 103:07 19792882 /home/jsaak/.gem/ruby/3.0.0/gems/libev_scheduler-0.2/lib/libev_scheduler_ext.so
7faa6a930000-7faa6a931000 rw-p 00000000 00:00 0
7faa6a931000-7faa6a932000 ---p 00000000 00:00 0
7faa6a932000-7faa6a9d3000 rw-p 00000000 00:00 0
7faa6a9d3000-7faa6a9d4000 ---p 00000000 00:00 0
7faa6a9d4000-7faa6aa75000 rw-p 00000000 00:00 0
7faa6aa75000-7faa6aa76000 ---p 00000000 00:00 0
7faa6aa76000-7faa6ab17000 rw-p 00000000 00:00 0
7faa6ab17000-7faa6ab18000 ---p 00000000 00:00 0
7faa6ab18000-7faa6abb9000 rw-p 00000000 00:00 0
7faa6abb9000-7faa6abba000 ---p 00000000 00:00 0
7faa6abba000-7faa6ac5b000 rw-p 00000000 00:00 0
7faa6ac5b000-7faa6ac5c000 ---p 00000000 00:00 0
7faa6ac5c000-7faa6acfd000 rw-p 00000000 00:00 0
7faa6acfd000-7faa6acfe000 ---p 00000000 00:00 0
7faa6acfe000-7faa6ad9f000 rw-p 00000000 00:00 0
7faa6ad9f000-7faa6ada0000 ---p 00000000 00:00 0
7faa6ada0000-7faa6ae41000 rw-p 00000000 00:00 0
7faa6ae41000-7faa6ae42000 ---p 00000000 00:00 0
7faa6ae42000-7faa6aee3000 rw-p 00000000 00:00 0
7faa6aee3000-7faa6aee4000 ---p 00000000 00:00 0
7faa6aee4000-7faa6af85000 rw-p 00000000 00:00 0
7faa6af85000-7faa6af86000 ---p 00000000 00:00 0
7faa6af86000-7faa6b027000 rw-p 00000000 00:00 0
7faa6b027000-7faa6b028000 ---p 00000000 00:00 0
7faa6b028000-7faa6b0c9000 rw-p 00000000 00:00 0
7faa6b0c9000-7faa6b0ca000 ---p 00000000 00:00 0
7faa6b0ca000-7faa6b16b000 rw-p 00000000 00:00 0
7faa6b16b000-7faa6b16c000 ---p 00000000 00:00 0
7faa6b16c000-7faa6b20d000 rw-p 00000000 00:00 0
7faa6b20d000-7faa6b20e000 ---p 00000000 00:00 0
7faa6b20e000-7faa6b2af000 rw-p 00000000 00:00 0
7faa6b2af000-7faa6b2b0000 ---p 00000000 00:00 0
7faa6b2b0000-7faa6b351000 rw-p 00000000 00:00 0
7faa6b351000-7faa6b352000 ---p 00000000 00:00 0
7faa6b352000-7faa6b3f3000 rw-p 00000000 00:00 0
7faa6b3f3000-7faa6b3f4000 ---p 00000000 00:00 0
7faa6b3f4000-7faa6b495000 rw-p 00000000 00:00 0
7faa6b495000-7faa6b496000 ---p 00000000 00:00 0
7faa6b496000-7faa6b537000 rw-p 00000000 00:00 0
7faa6b537000-7faa6b538000 ---p 00000000 00:00 0
7faa6b538000-7faa6b5d9000 rw-p 00000000 00:00 0
7faa6b5d9000-7faa6b5da000 ---p 00000000 00:00 0
7faa6b5da000-7faa6b67b000 rw-p 00000000 00:00 0
7faa6b67b000-7faa6b67c000 ---p 00000000 00:00 0
7faa6b67c000-7faa6b71d000 rw-p 00000000 00:00 0
7faa6b71d000-7faa6b71e000 ---p 00000000 00:00 0
7faa6b71e000-7faa6b7bf000 rw-p 00000000 00:00 0
7faa6b7bf000-7faa6b7c0000 ---p 00000000 00:00 0
7faa6b7c0000-7faa6b861000 rw-p 00000000 00:00 0
7faa6b861000-7faa6b862000 ---p 00000000 00:00 0
7faa6b862000-7faa6b903000 rw-p 00000000 00:00 0
7faa6b903000-7faa6b904000 ---p 00000000 00:00 0
7faa6b904000-7faa6b9a5000 rw-p 00000000 00:00 0
7faa6b9a5000-7faa6b9a6000 ---p 00000000 00:00 0
7faa6b9a6000-7faa6ba47000 rw-p 00000000 00:00 0
7faa6ba47000-7faa6ba48000 ---p 00000000 00:00 0
7faa6ba48000-7faa6bae9000 rw-p 00000000 00:00 0
7faa6bae9000-7faa6baea000 ---p 00000000 00:00 0
7faa6baea000-7faa6bb8b000 rw-p 00000000 00:00 0
7faa6bb8b000-7faa6bb8c000 ---p 00000000 00:00 0
7faa6bb8c000-7faa6bc2d000 rw-p 00000000 00:00 0
7faa6bc2d000-7faa6bc2e000 ---p 00000000 00:00 0
7faa6bc2e000-7faa6bccf000 rw-p 00000000 00:00 0
7faa6bccf000-7faa6bcd0000 ---p 00000000 00:00 0
7faa6bcd0000-7faa6dedc000 rw-p 00000000 00:00 0
7faa6dedc000-7faa6e1c1000 r--p 00000000 103:07 34341404 /usr/lib/locale/locale-archive
7faa6e1c1000-7faa6e1c4000 rw-p 00000000 00:00 0
7faa6e1c4000-7faa6e1e6000 r--p 00000000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa6e1e6000-7faa6e32e000 r-xp 00022000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa6e32e000-7faa6e37a000 r--p 0016a000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa6e37a000-7faa6e37b000 ---p 001b6000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa6e37b000-7faa6e37f000 r--p 001b6000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa6e37f000-7faa6e381000 rw-p 001ba000 103:07 34342394 /usr/lib/x86_64-linux-gnu/libc-2.28.so
7faa6e381000-7faa6e385000 rw-p 00000000 00:00 0
7faa6e385000-7faa6e392000 r--p 00000000 103:07 34342397 /usr/lib/x86_64-linux-gnu/libm-2.28.so
7faa6e392000-7faa6e431000 r-xp 0000d000 103:07 34342397 /usr/lib/x86_64-linux-gnu/libm-2.28.so
7faa6e431000-7faa6e506000 r--p 000ac000 103:07 34342397 /usr/lib/x86_64-linux-gnu/libm-2.28.so
7faa6e506000-7faa6e507000 r--p 00180000 103:07 34342397 /usr/lib/x86_64-linux-gnu/libm-2.28.so
7faa6e507000-7faa6e508000 rw-p 00181000 103:07 34342397 /usr/lib/x86_64-linux-gnu/libm-2.28.so
7faa6e508000-7faa6e50a000 rw-p 00000000 00:00 0
7faa6e50a000-7faa6e50b000 r--p 00000000 103:07 34342395 /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so
7faa6e50b000-7faa6e511000 r-xp 00001000 103:07 34342395 /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so
7faa6e511000-7faa6e513000 r--p 00007000 103:07 34342395 /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so
7faa6e513000-7faa6e514000 ---p 00009000 103:07 34342395 /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so
7faa6e514000-7faa6e515000 r--p 00009000 103:07 34342395 /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so
7faa6e515000-7faa6e516000 rw-p 0000a000 103:07 34342395 /usr/lib/x86_64-linux-gnu/libcrypt-2.28.so
7faa6e516000-7faa6e544000 rw-p 00000000 00:00 0
7faa6e544000-7faa6e545000 r--p 00000000 103:07 34342396 /usr/lib/x86_64-linux-gnu/libdl-2.28.so
7faa6e545000-7faa6e546000 r-xp 00001000 103:07 34342396 /usr/lib/x86_64-linux-gnu/libdl-2.28.so
7faa6e546000-7faa6e547000 r--p 00002000 103:07 34342396 /usr/lib/x86_64-linux-gnu/libdl-2.28.so
7faa6e547000-7faa6e548000 r--p 00002000 103:07 34342396 /usr/lib/x86_64-linux-gnu/libdl-2.28.so
7faa6e548000-7faa6e549000 rw-p 00003000 103:07 34342396 /usr/lib/x86_64-linux-gnu/libdl-2.28.so
7faa6e549000-7faa6e554000 r--p 00000000 103:07 34342151 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7faa6e554000-7faa6e5b2000 r-xp 0000b000 103:07 34342151 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7faa6e5b2000-7faa6e5c9000 r--p 00069000 103:07 34342151 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7faa6e5c9000-7faa6e5ca000 ---p 00080000 103:07 34342151 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7faa6e5ca000-7faa6e5cb000 r--p 00080000 103:07 34342151 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7faa6e5cb000-7faa6e5cc000 rw-p 00081000 103:07 34342151 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7faa6e5cc000-7faa6e5ce000 r--p 00000000 103:07 34342410 /usr/lib/x86_64-linux-gnu/librt-2.28.so
7faa6e5ce000-7faa6e5d2000 r-xp 00002000 103:07 34342410 /usr/lib/x86_64-linux-gnu/librt-2.28.so
7faa6e5d2000-7faa6e5d4000 r--p 00006000 103:07 34342410 /usr/lib/x86_64-linux-gnu/librt-2.28.so
7faa6e5d4000-7faa6e5d5000 r--p 00007000 103:07 34342410 /usr/lib/x86_64-linux-gnu/librt-2.28.so
7faa6e5d5000-7faa6e5d6000 rw-p 00008000 103:07 34342410 /usr/lib/x86_64-linux-gnu/librt-2.28.so
7faa6e5d6000-7faa6e5dc000 r--p 00000000 103:07 34342408 /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
7faa6e5dc000-7faa6e5eb000 r-xp 00006000 103:07 34342408 /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
7faa6e5eb000-7faa6e5f1000 r--p 00015000 103:07 34342408 /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
7faa6e5f1000-7faa6e5f2000 r--p 0001a000 103:07 34342408 /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
7faa6e5f2000-7faa6e5f3000 rw-p 0001b000 103:07 34342408 /usr/lib/x86_64-linux-gnu/libpthread-2.28.so
7faa6e5f3000-7faa6e5f7000 rw-p 00000000 00:00 0
7faa6e5f7000-7faa6e613000 r-xp 00000000 103:07 34344478 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7faa6e613000-7faa6e813000 ---p 0001c000 103:07 34344478 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7faa6e813000-7faa6e814000 r--p 0001c000 103:07 34344478 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7faa6e814000-7faa6e815000 rw-p 0001d000 103:07 34344478 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
7faa6e815000-7faa6e817000 rw-p 00000000 00:00 0
7faa6e817000-7faa6e818000 r--p 00000000 103:07 19272447 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/io/wait.so
7faa6e818000-7faa6e819000 r-xp 00001000 103:07 19272447 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/io/wait.so
7faa6e819000-7faa6e81a000 r--p 00002000 103:07 19272447 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/io/wait.so
7faa6e81a000-7faa6e81b000 r--p 00002000 103:07 19272447 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/io/wait.so
7faa6e81b000-7faa6e81c000 rw-p 00003000 103:07 19272447 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/io/wait.so
7faa6e81c000-7faa6e81d000 r--p 00000000 103:07 19272432 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/fiber.so
7faa6e81d000-7faa6e81e000 r-xp 00001000 103:07 19272432 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/fiber.so
7faa6e81e000-7faa6e81f000 r--p 00002000 103:07 19272432 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/fiber.so
7faa6e81f000-7faa6e820000 r--p 00002000 103:07 19272432 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/fiber.so
7faa6e820000-7faa6e821000 rw-p 00003000 103:07 19272432 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/fiber.so
7faa6e821000-7faa6e822000 r--p 00000000 103:07 19272458 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/monitor.so
7faa6e822000-7faa6e823000 r-xp 00001000 103:07 19272458 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/monitor.so
7faa6e823000-7faa6e824000 r--p 00002000 103:07 19272458 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/monitor.so
7faa6e824000-7faa6e825000 r--p 00002000 103:07 19272458 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/monitor.so
7faa6e825000-7faa6e826000 rw-p 00003000 103:07 19272458 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/monitor.so
7faa6e826000-7faa6e827000 r--p 00000000 103:07 19272412 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/trans/transdb.so
7faa6e827000-7faa6e829000 r-xp 00001000 103:07 19272412 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/trans/transdb.so
7faa6e829000-7faa6e82a000 r--p 00003000 103:07 19272412 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/trans/transdb.so
7faa6e82a000-7faa6e82b000 r--p 00003000 103:07 19272412 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/trans/transdb.so
7faa6e82b000-7faa6e82c000 rw-p 00004000 103:07 19272412 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/trans/transdb.so
7faa6e82c000-7faa6e82d000 r--p 00000000 103:07 19272397 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so
7faa6e82d000-7faa6e82e000 r-xp 00001000 103:07 19272397 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so
7faa6e82e000-7faa6e82f000 r--p 00002000 103:07 19272397 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so
7faa6e82f000-7faa6e830000 r--p 00002000 103:07 19272397 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so
7faa6e830000-7faa6e831000 rw-p 00003000 103:07 19272397 /home/jsaak/.rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so
7faa6e831000-7faa6e832000 r--p 00000000 103:07 34342390 /usr/lib/x86_64-linux-gnu/ld-2.28.so
7faa6e832000-7faa6e850000 r-xp 00001000 103:07 34342390 /usr/lib/x86_64-linux-gnu/ld-2.28.so
7faa6e850000-7faa6e858000 r--p 0001f000 103:07 34342390 /usr/lib/x86_64-linux-gnu/ld-2.28.so
7faa6e858000-7faa6e859000 r--p 00026000 103:07 34342390 /usr/lib/x86_64-linux-gnu/ld-2.28.so
7faa6e859000-7faa6e85a000 rw-p 00027000 103:07 34342390 /usr/lib/x86_64-linux-gnu/ld-2.28.so
7faa6e85a000-7faa6e85b000 rw-p 00000000 00:00 0
7ffeb869f000-7ffeb8e9e000 rw-p 00000000 00:00 0 [stack]
7ffeb8fb6000-7ffeb8fb9000 r--p 00000000 00:00 0 [vvar]
7ffeb8fb9000-7ffeb8fba000 r-xp 00000000 00:00 0 [vdso]
zsh: abort ruby libev-scheduler.rb
I can't tell much from the stack trace, but it looks like the segfault is happening somewhere in the Ruby runtime, while resuming a fiber. Let me know if it happens again.