Issue #10681 has been reported by Louis Pilfold.

----------------------------------------
Bug #10681: Segfault on Debian Jessie Linux
https://bugs.ruby-lang.org/issues/10681

* Author: Louis Pilfold
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Hello! Excuse the poor title, I don't really know enough here to give a more accurate one.

When running this simple application I get a segmentation fault at boot
https://github.com/lpil/life/tree/760f939359259d42e01ab00cc4bb518d843c1946

The application communicates with a Novation Launchpad USB midi device using the unimidi gem.

Debian testing Linux (#1 SMP Debian 3.16.7-ckt2-1 (2014-12-08))
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] installed via rbenv

The terminal output is pasted below.

If there is anything I can do to help here, please let me know.

Kind regards,
Louis

~~~
louis ~/projects/life [master *] $ ruby bin/launchpad_life.rb 
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:407: [BUG] Segmentation fault at 0x0000007918dd48
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0021 p:---- s:0082 e:000081 CFUNC  :snd_ctl_rawmidi_next_device
c:0020 p:0038 s:0077 e:000076 BLOCK  /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:407 [FINISH]
c:0019 p:---- s:0073 e:000072 CFUNC  :select
c:0018 p:0027 s:0070 e:000069 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:405
c:0017 p:0018 s:0065 e:000064 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:31
c:0016 p:0029 s:0061 e:000060 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:14 [FINISH]
c:0015 p:---- s:0057 e:000056 CFUNC  :new
c:0014 p:0069 s:0053 e:000049 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:23
c:0013 p:0015 s:0046 e:000045 BLOCK  /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:45 [FINISH]
c:0012 p:---- s:0042 e:000041 CFUNC  :times
c:0011 p:0027 s:0039 e:000038 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:44
c:0010 p:0021 s:0034 e:000033 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:25
c:0009 p:0018 s:0031 e:000030 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/adapter/alsa-rawmidi.rb:16
c:0008 p:0022 s:0028 e:000027 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/loader.rb:19
c:0007 p:0015 s:0022 e:000021 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/output.rb:12
c:0006 p:0007 s:0019 e:000018 METHOD /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/device.rb:13 [FINISH]
c:0005 p:---- s:0015 E:002088 CFUNC  :find
c:0004 p:0015 s:0012 E:000940 METHOD /home/louis/projects/life/lib/launchpad.rb:7 [FINISH]
c:0003 p:---- s:0009 e:000008 CFUNC  :new
c:0002 p:0044 s:0006 E:001ce0 EVAL   bin/launchpad_life.rb:7 [FINISH]
c:0001 p:0000 s:0002 E:001b70 TOP    [FINISH]

-- Ruby level backtrace information ----------------------------------------
bin/launchpad_life.rb:7:in `<main>'
bin/launchpad_life.rb:7:in `new'
/home/louis/projects/life/lib/launchpad.rb:7:in `initialize'
/home/louis/projects/life/lib/launchpad.rb:7:in `find'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/device.rb:13:in `each'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/output.rb:12:in `all'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/loader.rb:19:in `devices'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/adapter/alsa-rawmidi.rb:16:in `inputs'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:25:in `all_by_type'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:44:in `get_devices'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:44:in `times'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb:45:in `block in get_devices'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:23:in `find'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:23:in `new'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:14:in `initialize'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb:31:in `populate_subdevices'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:405:in `get_device_ids'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:405:in `select'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:407:in `block in get_device_ids'
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb:407:in `snd_ctl_rawmidi_next_device'

-- Machine register context ------------------------------------------------
 RIP: 0x00007f4e74cb80ce RBP: 0x00007fff68490000 RSP: 0x00007fff6848fff0
 RAX: 0x0000000000000000 RBX: 0x00007fff68490000 RCX: 0x00007f4e79125fd8
 RDX: 0x00007f4e79216e40 RDI: 0x000000007918dd30 RSI: 0x00007f4e792bcf10
  R8: 0x00007f4e759a4280  R9: 0x00007f4e76a37e07 R10: 0x00007fff6848ff50
 R11: 0x00007f4e74cb80c0 R12: 0x0000000000000010 R13: 0x0000000000000000
 R14: 0x00007f4e79272d20 R15: 0x00007fff68490130 EFL: 0x0000000000010202

-- C level backtrace information -------------------------------------------
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_vm_bugreport+0x4ea) [0x7f4e76dc847a] vm_dump.c:693
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_bug_context+0xcb) [0x7f4e76e3bd2b] error.c:389
/home/louis/.rbenv/versions/2.2.0/bin/ruby(sigsegv+0x52) [0x7f4e76d39ec2] signal.c:878
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7f4e7681c8d0]
/usr/lib/x86_64-linux-gnu/libasound.so(snd_ctl_rawmidi_next_device+0xe) [0x7f4e74cb80ce]
/usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c) [0x7f4e74f75dc0]
/usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x2f8) [0x7f4e74f75828]
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so(rbffi_CallFunction+0xfa) [0x7f4e7518ddda] Call.c:378
/home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so(custom_trampoline+0x16) [0x7f4e75182c06] MethodHandle.c:232
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_cfunc+0x11e) [0x7f4e76daf04e] vm_insnhelper.c:1360
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_method+0x12e) [0x7f4e76dbd64e] vm_insnhelper.c:1656
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec_core+0x1195) [0x7f4e76db32e5] insns.def:1054
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec+0x78) [0x7f4e76db7678] vm.c:1407
/home/louis/.rbenv/versions/2.2.0/bin/ruby(invoke_block_from_c+0x6be) [0x7f4e76dbcbde] vm.c:821
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_yield+0x63) [0x7f4e76dbec13] vm.c:861
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_ary_select+0x65) [0x7f4e76deab35] array.c:2813
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_cfunc+0x11e) [0x7f4e76daf04e] vm_insnhelper.c:1360
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_method+0x12e) [0x7f4e76dbd64e] vm_insnhelper.c:1656
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec_core+0x10ef) [0x7f4e76db323f] insns.def:1024
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec+0x78) [0x7f4e76db7678] vm.c:1407
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call0_body.constprop.76+0x1ce) [0x7f4e76db8e5e] vm_eval.c:180
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_call0.constprop.75+0x161) [0x7f4e76db94b1] vm_eval.c:59
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_class_new_instance+0x21) [0x7f4e76cdd521] object.c:1856
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_cfunc+0x11e) [0x7f4e76daf04e] vm_insnhelper.c:1360
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_method+0x12e) [0x7f4e76dbd64e] vm_insnhelper.c:1656
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec_core+0x1195) [0x7f4e76db32e5] insns.def:1054
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec+0x78) [0x7f4e76db7678] vm.c:1407
/home/louis/.rbenv/versions/2.2.0/bin/ruby(invoke_block_from_c+0x6be) [0x7f4e76dbcbde] vm.c:821
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_yield+0x63) [0x7f4e76dbec13] vm.c:861
/home/louis/.rbenv/versions/2.2.0/bin/ruby(int_dotimes+0x3e) [0x7f4e76ccd2de] numeric.c:3858
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_cfunc+0x11e) [0x7f4e76daf04e] vm_insnhelper.c:1360
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_method+0x12e) [0x7f4e76dbd64e] vm_insnhelper.c:1656
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec_core+0x10ef) [0x7f4e76db323f] insns.def:1024
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec+0x78) [0x7f4e76db7678] vm.c:1407
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call0_body.constprop.76+0x1ce) [0x7f4e76db8e5e] vm_eval.c:180
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_call0.constprop.75+0x161) [0x7f4e76db94b1] vm_eval.c:59
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_iterate+0xea) [0x7f4e76db0f0a] vm_eval.c:1098
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_block_call+0x2b) [0x7f4e76db10cb] vm_eval.c:1169
/home/louis/.rbenv/versions/2.2.0/bin/ruby(enum_find+0x5d) [0x7f4e76e2fb5d] enum.c:217
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_cfunc+0x11e) [0x7f4e76daf04e] vm_insnhelper.c:1360
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_method+0x12e) [0x7f4e76dbd64e] vm_insnhelper.c:1656
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec_core+0x10ef) [0x7f4e76db323f] insns.def:1024
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec+0x78) [0x7f4e76db7678] vm.c:1407
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call0_body.constprop.76+0x1ce) [0x7f4e76db8e5e] vm_eval.c:180
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_call0.constprop.75+0x161) [0x7f4e76db94b1] vm_eval.c:59
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_class_new_instance+0x21) [0x7f4e76cdd521] object.c:1856
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_cfunc+0x11e) [0x7f4e76daf04e] vm_insnhelper.c:1360
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_call_method+0x12e) [0x7f4e76dbd64e] vm_insnhelper.c:1656
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec_core+0x1195) [0x7f4e76db32e5] insns.def:1054
/home/louis/.rbenv/versions/2.2.0/bin/ruby(vm_exec+0x78) [0x7f4e76db7678] vm.c:1407
/home/louis/.rbenv/versions/2.2.0/bin/ruby(rb_iseq_eval_main+0x20f) [0x7f4e76dc5baf] vm.c:1677
/home/louis/.rbenv/versions/2.2.0/bin/ruby(ruby_exec_internal+0xbf) [0x7f4e76c706bf] eval.c:252
/home/louis/.rbenv/versions/2.2.0/bin/ruby(ruby_run_node+0x2f) [0x7f4e76c7429f] eval.c:317
/home/louis/.rbenv/versions/2.2.0/bin/ruby(main+0x4b) [0x7f4e76c7024b] parse.y:8763

-- Other runtime information -----------------------------------------------

* Loaded script: bin/launchpad_life.rb

* Loaded features:

    0 enumerator.so
    1 rational.so
    2 complex.so
    3 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
    4 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
    5 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/unicode_normalize.rb
    6 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/rbconfig.rb
    7 thread.rb
    8 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/thread.so
    9 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/compatibility.rb
   10 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/defaults.rb
   11 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/deprecate.rb
   12 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/errors.rb
   13 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/version.rb
   14 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/requirement.rb
   15 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/platform.rb
   16 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/basic_specification.rb
   17 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/stub_specification.rb
   18 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/util/stringio.rb
   19 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/specification.rb
   20 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/exceptions.rb
   21 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb
   22 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/monitor.rb
   23 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb
   24 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems.rb
   25 /home/louis/projects/life/lib/game_cell.rb
   26 /home/louis/projects/life/lib/game_of_life.rb
   27 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/path_support.rb
   28 /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/rubygems/dependency.rb
   29 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/command.rb
   30 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/device.rb
   31 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/loader.rb
   32 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/platform.rb
   33 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/type_conversion.rb
   34 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/input.rb
   35 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/output.rb
   36 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so
   37 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/platform.rb
   38 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/types.rb
   39 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/library.rb
   40 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/errno.rb
   41 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/pointer.rb
   42 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/memorypointer.rb
   43 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/struct_layout_builder.rb
   44 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/struct.rb
   45 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/union.rb
   46 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/managedstruct.rb
   47 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/callback.rb
   48 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/io.rb
   49 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/autopointer.rb
   50 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/variadic.rb
   51 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/enum.rb
   52 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi/ffi.rb
   53 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ffi-1.9.6/lib/ffi.rb
   54 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/api.rb
   55 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/device.rb
   56 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/input.rb
   57 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/output.rb
   58 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi/soundcard.rb
   59 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/alsa-rawmidi-0.3.1/lib/alsa-rawmidi.rb
   60 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi/adapter/alsa-rawmidi.rb
   61 /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/unimidi-0.4.5/lib/unimidi.rb
   62 /home/louis/projects/life/lib/launchpad.rb

* Process memory map:

7f4e7375f000-7f4e73906000 r--s 00000000 08:01 5767186                    /lib/x86_64-linux-gnu/libc-2.19.so
7f4e73906000-7f4e739ed000 r--s 00000000 08:01 2101938                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so
7f4e739ed000-7f4e73ae6000 r--s 00000000 08:01 14943420                   /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f4e73ae6000-7f4e7485a000 r--s 00000000 08:01 1705882                    /home/louis/.rbenv/versions/2.2.0/bin/ruby
7f4e7485a000-7f4e74870000 r-xp 00000000 08:01 5767177                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e74870000-7f4e74a6f000 ---p 00016000 08:01 5767177                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e74a6f000-7f4e74a70000 rw-p 00015000 08:01 5767177                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4e74a70000-7f4e74a77000 r-xp 00000000 08:01 5767403                    /lib/x86_64-linux-gnu/librt-2.19.so
7f4e74a77000-7f4e74c76000 ---p 00007000 08:01 5767403                    /lib/x86_64-linux-gnu/librt-2.19.so
7f4e74c76000-7f4e74c77000 r--p 00006000 08:01 5767403                    /lib/x86_64-linux-gnu/librt-2.19.so
7f4e74c77000-7f4e74c78000 rw-p 00007000 08:01 5767403                    /lib/x86_64-linux-gnu/librt-2.19.so
7f4e74c78000-7f4e74d68000 r-xp 00000000 08:01 14943420                   /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f4e74d68000-7f4e74f67000 ---p 000f0000 08:01 14943420                   /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f4e74f67000-7f4e74f6e000 r--p 000ef000 08:01 14943420                   /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f4e74f6e000-7f4e74f70000 rw-p 000f6000 08:01 14943420                   /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f4e74f70000-7f4e74f77000 r-xp 00000000 08:01 14948336                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2
7f4e74f77000-7f4e75176000 ---p 00007000 08:01 14948336                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2
7f4e75176000-7f4e75177000 r--p 00006000 08:01 14948336                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2
7f4e75177000-7f4e75178000 rw-p 00007000 08:01 14948336                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2
7f4e75178000-7f4e7519a000 r-xp 00000000 08:01 2101938                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so
7f4e7519a000-7f4e75399000 ---p 00022000 08:01 2101938                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so
7f4e75399000-7f4e7539b000 rw-p 00021000 08:01 2101938                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/ffi-1.9.6/ffi_c.so
7f4e7539b000-7f4e7539e000 r-xp 00000000 08:01 1706794                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/thread.so
7f4e7539e000-7f4e7559e000 ---p 00003000 08:01 1706794                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/thread.so
7f4e7559e000-7f4e7559f000 rw-p 00003000 08:01 1706794                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/thread.so
7f4e7559f000-7f4e755a1000 r-xp 00000000 08:01 1706723                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7f4e755a1000-7f4e757a1000 ---p 00002000 08:01 1706723                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7f4e757a1000-7f4e757a2000 rw-p 00002000 08:01 1706723                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7f4e757a2000-7f4e757a4000 r-xp 00000000 08:01 1706752                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7f4e757a4000-7f4e759a3000 ---p 00002000 08:01 1706752                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7f4e759a3000-7f4e759a4000 rw-p 00001000 08:01 1706752                    /home/louis/.rbenv/versions/2.2.0/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7f4e759a4000-7f4e75aa5000 rw-p 00000000 00:00 0 
7f4e75aa5000-7f4e75c44000 r-xp 00000000 08:01 5767186                    /lib/x86_64-linux-gnu/libc-2.19.so
7f4e75c44000-7f4e75e44000 ---p 0019f000 08:01 5767186                    /lib/x86_64-linux-gnu/libc-2.19.so
7f4e75e44000-7f4e75e48000 r--p 0019f000 08:01 5767186                    /lib/x86_64-linux-gnu/libc-2.19.so
7f4e75e48000-7f4e75e4a000 rw-p 001a3000 08:01 5767186                    /lib/x86_64-linux-gnu/libc-2.19.so
7f4e75e4a000-7f4e75e4e000 rw-p 00000000 00:00 0 
7f4e75e4e000-7f4e75f4e000 r-xp 00000000 08:01 5767243                    /lib/x86_64-linux-gnu/libm-2.19.so
7f4e75f4e000-7f4e7614d000 ---p 00100000 08:01 5767243                    /lib/x86_64-linux-gnu/libm-2.19.so
7f4e7614d000-7f4e7614e000 r--p 000ff000 08:01 5767243                    /lib/x86_64-linux-gnu/libm-2.19.so
7f4e7614e000-7f4e7614f000 rw-p 00100000 08:01 5767243                    /lib/x86_64-linux-gnu/libm-2.19.so
7f4e7614f000-7f4e76157000 r-xp 00000000 08:01 5767219                    /lib/x86_64-linux-gnu/libcrypt-2.19.so
7f4e76157000-7f4e76356000 ---p 00008000 08:01 5767219                    /lib/x86_64-linux-gnu/libcrypt-2.19.so
7f4e76356000-7f4e76357000 r--p 00007000 08:01 5767219                    /lib/x86_64-linux-gnu/libcrypt-2.19.so
7f4e76357000-7f4e76358000 rw-p 00008000 08:01 5767219                    /lib/x86_64-linux-gnu/libcrypt-2.19.so
7f4e76358000-7f4e76386000 rw-p 00000000 00:00 0 
7f4e76386000-7f4e76389000 r-xp 00000000 08:01 5767239                    /lib/x86_64-linux-gnu/libdl-2.19.so
7f4e76389000-7f4e76588000 ---p 00003000 08:01 5767239                    /lib/x86_64-linux-gnu/libdl-2.19.so
7f4e76588000-7f4e76589000 r--p 00002000 08:01 5767239                    /lib/x86_64-linux-gnu/libdl-2.19.so
7f4e76589000-7f4e7658a000 rw-p 00003000 08:01 5767239                    /lib/x86_64-linux-gnu/libdl-2.19.so
7f4e7658a000-7f4e7660b000 r-xp 00000000 08:01 14942638                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f4e7660b000-7f4e7680b000 ---p 00081000 08:01 14942638                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f4e7680b000-7f4e7680c000 r--p 00081000 08:01 14942638                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f4e7680c000-7f4e7680d000 rw-p 00082000 08:01 14942638                   /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0
7f4e7680d000-7f4e76825000 r-xp 00000000 08:01 5767174                    /lib/x86_64-linux-gnu/libpthread-2.19.so
7f4e76825000-7f4e76a24000 ---p 00018000 08:01 5767174                    /lib/x86_64-linux-gnu/libpthread-2.19.so
7f4e76a24000-7f4e76a25000 r--p 00017000 08:01 5767174                    /lib/x86_64-linux-gnu/libpthread-2.19.so
7f4e76a25000-7f4e76a26000 rw-p 00018000 08:01 5767174                    /lib/x86_64-linux-gnu/libpthread-2.19.so
7f4e76a26000-7f4e76a2a000 rw-p 00000000 00:00 0 
7f4e76a2a000-7f4e76a4a000 r-xp 00000000 08:01 5767175                    /lib/x86_64-linux-gnu/ld-2.19.so
7f4e76a81000-7f4e76aa3000 r--s 00000000 08:01 5767174                    /lib/x86_64-linux-gnu/libpthread-2.19.so
7f4e76aa3000-7f4e76c2c000 r--p 00000000 08:01 14956510                   /usr/lib/locale/locale-archive
7f4e76c2c000-7f4e76c31000 rw-p 00000000 00:00 0 
7f4e76c33000-7f4e76c34000 rw-p 00000000 00:00 0 
7f4e76c34000-7f4e76c3c000 r--s 00000000 08:01 14948336                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2
7f4e76c3c000-7f4e76c3d000 r-xp 00000000 00:00 0 
7f4e76c3d000-7f4e76c44000 r--s 00000000 08:01 14966511                   /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f4e76c44000-7f4e76c45000 ---p 00000000 00:00 0 
7f4e76c45000-7f4e76c4a000 rw-p 00000000 00:00 0                          [stack:6098]
7f4e76c4a000-7f4e76c4b000 r--p 00020000 08:01 5767175                    /lib/x86_64-linux-gnu/ld-2.19.so
7f4e76c4b000-7f4e76c4c000 rw-p 00021000 08:01 5767175                    /lib/x86_64-linux-gnu/ld-2.19.so
7f4e76c4c000-7f4e76c4d000 rw-p 00000000 00:00 0 
7f4e76c4d000-7f4e76f23000 r-xp 00000000 08:01 1705882                    /home/louis/.rbenv/versions/2.2.0/bin/ruby
7f4e77122000-7f4e77128000 rw-p 002d5000 08:01 1705882                    /home/louis/.rbenv/versions/2.2.0/bin/ruby
7f4e77128000-7f4e77139000 rw-p 00000000 00:00 0 
7f4e78d47000-7f4e792e4000 rw-p 00000000 00:00 0                          [heap]
7fff68475000-7fff68496000 rw-p 00000000 00:00 0 
7fff6853a000-7fff6853c000 r-xp 00000000 00:00 0                          [vdso]
7fff6853c000-7fff6853e000 r--p 00000000 00:00 0                          [vvar]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

~~~



-- 
https://bugs.ruby-lang.org/