Skip to content

Segmentation fault with ruby-2.6.3 #808

Closed
@cesarizu

Description

@cesarizu

When updating an app to run with ruby 2.6.3 (from 2.4.4) I get the following error:

/home/user/.rvm/gems/ruby-2.6.3@project/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var.rb:87: [BUG] Segmentation fault at 0x000000002222002d
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0002 p:0006 s:0007 e:000005 BLOCK  /home/user/.rvm/gems/ruby-2.6.3@project/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var. [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/home/user/.rvm/gems/ruby-2.6.3@project/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var.rb:87:in `block (2 levels) in threadlocal_finalizer'

-- Machine register context ------------------------------------------------
 RIP: 0x00007fde9b71bf49 RBP: 0x0000000000021deb RSP: 0x00007fde97cb77e8
 RAX: 0x000000000b275620 RBX: 0x0000000001719630 RCX: 0x000000002222002d
 RDX: 0x0000000000000000 RDI: 0x000000000b275620 RSI: 0x000000000a667f70
  R8: 0x0000000001718d50  R9: 0x0000000001719618 R10: 0x0000000000000008
 R11: 0x000000000a568038 R12: 0x000000000b2750f0 R13: 0x000000000a567ff8
 R14: 0x0000000001719640 R15: 0x000000000a667f70 EFL: 0x0000000000010206

-- C level backtrace information -------------------------------------------

I tried using Concurrent.use_stdlib_logger(Logger::DEBUG) to get more information but nothing else is printed to the console. How can I start debugging this problem?

* Operating system:                linux
* Ruby implementation:             Ruby 2.6.3
* `concurrent-ruby` version:       1.1.5
* `concurrent-ruby-ext` installed: no
* `concurrent-ruby-edge` used:     no

Metadata

Metadata

Assignees

Labels

bugA bug in the library or documentation.high-priorityShould be done ASAP.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions