https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2019-03-29T03:21:47Z
Ruby Issue Tracking System
Ruby master - Bug #15737: Queue#pop randomly hangs forever
https://bugs.ruby-lang.org/issues/15737?journal_id=77365
2019-03-29T03:21:47Z
k0kubun (Takashi Kokubun)
takashikkbn@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Queue#pop hangs forever</i> to <i>Queue#pop randomly hangs forever</i></li></ul>
Ruby master - Bug #15737: Queue#pop randomly hangs forever
https://bugs.ruby-lang.org/issues/15737?journal_id=77366
2019-03-29T03:41:45Z
k0kubun (Takashi Kokubun)
takashikkbn@gmail.com
<ul></ul><p>FYI, here is rb_ps output:</p>
<pre><code>(gdb) rb_ps
$1 = (rb_vm_t *) 0x7f3f8e840400
* #<Thread:0x7f3f8e98f330 rb_thread_t:0x7f3f8e80f080 native_thread:0x7f3f9088e780>
29:0x55895629eb90 <rb_queue_pop at thread_sync.c:943>:in `pop'
28:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/slack_rtm/client.rb:39:in `block in main_loop'
27:0x5589562d8680 <rb_f_loop at vm_eval.c:1106>:in `loop'
26:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/slack_rtm/client.rb:38:in `main_loop'
25:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/adapters/slack_rtm.rb:96:in `block in connect'
24:0x5589562d8680 <rb_f_loop at vm_eval.c:1106>:in `loop'
23:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/adapters/slack_rtm.rb:95:in `connect'
22:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/adapters/slack_rtm.rb:21:in `run'
21:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-1.3.0/lib/ruboty/robot.rb:56:in `adapt'
20:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-1.3.0/lib/ruboty/robot.rb:24:in `run'
19:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-1.3.0/lib/ruboty/commands/run.rb:5:in `call'
18:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-1.3.0/bin/ruboty:6:in `<top (required)>'
17:0x5589561939d0 <rb_f_load at ./include/ruby/intern.h:326>:in `load'
16:/usr/local/bin/ruboty:23:in `<top (required)>'
15:0x5589561939d0 <rb_f_load at ./include/ruby/intern.h:326>:in `load'
14:/usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'
13:/usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'
12:/usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'
11:/usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
10:/usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
9:/usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
8:/usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'
7:/usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
6:/usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'
5:/usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'
4:/usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
3:/usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'
2:0x5589561939d0 <rb_f_load at ./include/ruby/intern.h:326>:in `load'
1:/usr/local/bin/bundle:23:in `<main>'
* #<Thread:0x7f3f871cb470 rb_thread_t:0x7f3f86701f00 native_thread:0x7f3f8bdf5700>
4:0x558956207b60 <rb_f_sleep at process.c:4823>:in `sleep'
3:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/slack_rtm/client.rb:67:in `block (2 levels) in keep_connection'
2:0x5589562d8680 <rb_f_loop at vm_eval.c:1106>:in `loop'
1:/usr/local/lib/ruby/gems/2.6.0/gems/ruboty-slack_rtm-3.1.0/lib/ruboty/slack_rtm/client.rb:66:in `block in keep_connection'
</code></pre>
Ruby master - Bug #15737: Queue#pop randomly hangs forever
https://bugs.ruby-lang.org/issues/15737?journal_id=77428
2019-04-02T03:01:42Z
k0kubun (Takashi Kokubun)
takashikkbn@gmail.com
<ul><li><strong>Assignee</strong> changed from <i>normalperson (Eric Wong)</i> to <i>ko1 (Koichi Sasada)</i></li></ul>
Ruby master - Bug #15737: Queue#pop randomly hangs forever
https://bugs.ruby-lang.org/issues/15737?journal_id=86279
2020-06-20T23:54:17Z
k0kubun (Takashi Kokubun)
takashikkbn@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>