sup icon indicating copy to clipboard operation
sup copied to clipboard

Crashes after run with ruby 2.4.0

Open pltanton opened this issue 8 years ago • 14 comments

I run sup under fresh stable ruby 2.4.0 and crashes after a few moments after it starts.

Here is syserr

/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:474: warning: constant ::Fixnum is deprecated
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/source.rb:61: warning: constant ::Fixnum is deprecated
/home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/parser/pushbackreader.rb:84: warning: constant ::Fixnum is deprecated
/home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/parser/pushbackreader.rb:105: warning: constant ::Fixnum is deprecated
/home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/header.rb:139: warning: constant ::Fixnum is deprecated
Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0028 p:---- s:0173 e:000172 CFUNC  :encode!
c:0027 p:0044 s:0166 e:000165 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:366
c:0026 p:0009 s:0162 e:000161 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message.rb:350 [FINISH]
c:0025 p:---- s:0158 e:000157 CFUNC  :map
c:0024 p:0022 s:0154 e:000153 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message.rb:350
c:0023 p:0087 s:0150 E:000c58 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/index.rb:750
c:0022 p:0281 s:0139 E:001398 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/index.rb:713
c:0021 p:0132 s:0126 e:000125 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:610
c:0020 p:0284 s:0119 E:0009a0 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:215
c:0019 p:0037 s:0112 e:000111 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb:161 [FINISH]
c:0018 p:---- s:0107 e:000106 IFUNC 
c:0017 p:---- s:0104 e:000103 CFUNC  :each
c:0016 p:---- s:0101 e:000100 CFUNC  :each_with_index
c:0015 p:0160 s:0097 E:001ed8 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb:160
c:0014 p:0043 s:0086 E:001e38 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:201
c:0013 p:0048 s:0079 E:001df8 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:146 [FINISH]
c:0012 p:---- s:0069 e:000068 CFUNC  :each
c:0011 p:0011 s:0065 E:000ff0 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:136 [FINISH]
c:0010 p:---- s:0062 e:000061 CFUNC  :synchronize
c:0009 p:0051 s:0058 E:001d88 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:135
c:0008 p:0132 s:0047 e:000046 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:610
c:0007 p:0062 s:0040 E:0009a0 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/poll_mode.rb:15
c:0006 p:0089 s:0036 e:000035 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:58
c:0005 p:0033 s:0023 e:000022 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:94
c:0004 p:0132 s:0017 e:000016 METHOD /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:610
c:0003 p:0020 s:0010 e:000009 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/bin/sup:207
c:0002 p:0008 s:0007 e:000006 BLOCK  /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup.rb:87 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup.rb:87:in `block in reporting_thread'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/bin/sup:207:in `block (2 levels) in <module:Redwood>'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:610:in `method_missing'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:94:in `poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:58:in `poll_with_sources'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/poll_mode.rb:15:in `poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:610:in `method_missing'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:135:in `do_poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:135:in `synchronize'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:136:in `block in do_poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:136:in `each'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:146:in `block (2 levels) in do_poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:201:in `poll_from'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `each_with_index'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb:160:in `each'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb:161:in `block in poll'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb:215:in `block in poll_from'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:610:in `method_missing'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/index.rb:713:in `sync_message'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/index.rb:750:in `index_message_static'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message.rb:350:in `indexable_body'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message.rb:350:in `map'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message.rb:350:in `block in indexable_body'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:366:in `fix_encoding!'
/home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb:366:in `encode!'

-- C level backtrace information -------------------------------------------
/usr/lib/libruby.so.2.4 [0x7f50ddf42785]
/usr/lib/libruby.so.2.4 [0x7f50ddf42f17]
/usr/lib/libruby.so.2.4 [0x7f50dde1d985]
/usr/lib/libruby.so.2.4 [0x7f50ddef25a5]
/usr/lib/libruby.so.2.4(rb_enc_associate_index+0xf3) [0x7f50dde0fa13]
/usr/lib/libruby.so.2.4 [0x7f50ddee9177]
/usr/lib/libruby.so.2.4 [0x7f50ddf1a6b4]
/usr/lib/libruby.so.2.4 [0x7f50ddf28bea]
/usr/lib/libruby.so.2.4 [0x7f50ddf31208]
/usr/lib/libruby.so.2.4 [0x7f50ddf364cb]
/usr/lib/libruby.so.2.4(rb_yield+0x3dd) [0x7f50ddf3931d]
/usr/lib/libruby.so.2.4 [0x7f50dddc6e3c]
/usr/lib/libruby.so.2.4 [0x7f50ddf28bea]
/usr/lib/libruby.so.2.4 [0x7f50ddf3ae43]
/usr/lib/libruby.so.2.4 [0x7f50ddf30ef7]
/usr/lib/libruby.so.2.4 [0x7f50ddf364cb]
/usr/lib/libruby.so.2.4(rb_yield_values+0x5d8) [0x7f50ddf3a4d8]
/usr/lib/libruby.so.2.4 [0x7f50ddf2cce3]
/usr/lib/libruby.so.2.4(rb_yield+0x22b) [0x7f50ddf3916b]
/usr/lib/libruby.so.2.4(rb_ary_each+0x3c) [0x7f50dddc28bc]
/usr/lib/libruby.so.2.4 [0x7f50ddf3b705]
/usr/lib/libruby.so.2.4 [0x7f50ddf3c4f9]
/usr/lib/libruby.so.2.4 [0x7f50ddf2ac57]
/usr/lib/libruby.so.2.4(rb_block_call+0x2b) [0x7f50ddf2ae1b]
/usr/lib/libruby.so.2.4 [0x7f50dde13d84]
/usr/lib/libruby.so.2.4 [0x7f50ddf28bea]
/usr/lib/libruby.so.2.4 [0x7f50ddf3ae43]
/usr/lib/libruby.so.2.4 [0x7f50ddf30ef7]
/usr/lib/libruby.so.2.4 [0x7f50ddf364cb]
/usr/lib/libruby.so.2.4(rb_yield+0x3dd) [0x7f50ddf3931d]
/usr/lib/libruby.so.2.4(rb_ary_each+0x3c) [0x7f50dddc28bc]
/usr/lib/libruby.so.2.4 [0x7f50ddf28bea]
/usr/lib/libruby.so.2.4 [0x7f50ddf3ae43]
/usr/lib/libruby.so.2.4 [0x7f50ddf30ef7]
/usr/lib/libruby.so.2.4 [0x7f50ddf364cb]
/usr/lib/libruby.so.2.4(rb_yield+0x3dd) [0x7f50ddf3931d]
/usr/lib/libruby.so.2.4(rb_ensure+0xbd) [0x7f50dde233cd]
/usr/lib/libruby.so.2.4 [0x7f50ddf28bea]
/usr/lib/libruby.so.2.4 [0x7f50ddf3ae43]
/usr/lib/libruby.so.2.4 [0x7f50ddf30ef7]
/usr/lib/libruby.so.2.4 [0x7f50ddf364cb]
/usr/lib/libruby.so.2.4 [0x7f50ddf37008]
/usr/lib/libruby.so.2.4 [0x7f50ddf370f3]
/usr/lib/libruby.so.2.4 [0x7f50ddf3a5ef]
/usr/lib/libruby.so.2.4 [0x7f50ddf073d3]
/usr/lib/libruby.so.2.4 [0x7f50ddf07825]
/usr/lib/libpthread.so.0(start_thread+0xc4) [0x7f50dd7de454]
/usr/lib/libc.so.6(clone+0x5f) [0x7f50ddadc7df]

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

* Loaded script: /home/anton/.gem/ruby/2.4.0/bin/sup

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /usr/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
    5 /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
    6 /usr/lib/ruby/2.4.0/unicode_normalize.rb
    7 /usr/lib/ruby/2.4.0/x86_64-linux/rbconfig.rb
    8 /usr/lib/ruby/2.4.0/rubygems/compatibility.rb
    9 /usr/lib/ruby/2.4.0/rubygems/defaults.rb
   10 /usr/lib/ruby/2.4.0/rubygems/deprecate.rb
   11 /usr/lib/ruby/2.4.0/rubygems/errors.rb
   12 /usr/lib/ruby/2.4.0/rubygems/version.rb
   13 /usr/lib/ruby/2.4.0/rubygems/requirement.rb
   14 /usr/lib/ruby/2.4.0/rubygems/platform.rb
   15 /usr/lib/ruby/2.4.0/rubygems/basic_specification.rb
   16 /usr/lib/ruby/2.4.0/rubygems/stub_specification.rb
   17 /usr/lib/ruby/2.4.0/rubygems/util/list.rb
   18 /usr/lib/ruby/2.4.0/x86_64-linux/stringio.so
   19 /usr/lib/ruby/2.4.0/rubygems/specification.rb
   20 /usr/lib/ruby/2.4.0/rubygems/exceptions.rb
   21 /usr/lib/ruby/2.4.0/rubygems/dependency.rb
   22 /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
   23 /usr/lib/ruby/2.4.0/monitor.rb
   24 /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
   25 /usr/lib/ruby/2.4.0/rubygems.rb
   26 /usr/lib/ruby/2.4.0/rubygems/path_support.rb
   27 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/version.rb
   28 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/core_ext/name_error.rb
   29 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/levenshtein.rb
   30 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/jaro_winkler.rb
   31 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checker.rb
   32 /usr/lib/ruby/2.4.0/delegate.rb
   33 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   34 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   35 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   36 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
   37 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/null_checker.rb
   38 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/formatter.rb
   39 /usr/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean.rb
   40 /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncursesw_bin.so
   41 /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncurses_sugar.rb
   42 /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncursesw.rb
   43 /usr/lib/ruby/2.4.0/x86_64-linux/socket.so
   44 /usr/lib/ruby/2.4.0/x86_64-linux/io/wait.so
   45 /usr/lib/ruby/2.4.0/socket.rb
   46 /usr/lib/ruby/2.4.0/timeout.rb
   47 /usr/lib/ruby/2.4.0/x86_64-linux/etc.so
   48 /usr/lib/ruby/2.4.0/fileutils.rb
   49 /home/anton/.gem/ruby/2.4.0/gems/lockfile-2.1.3/lib/lockfile.rb
   50 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/type.rb
   51 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types/cache.rb
   52 /usr/lib/ruby/2.4.0/set.rb
   53 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types/container.rb
   54 /home/anton/.gem/ruby/2.4.0/gems/mime-types-data-3.2016.0521/lib/mime/types/data.rb
   55 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types/loader.rb
   56 /usr/lib/ruby/2.4.0/logger.rb
   57 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types/logger.rb
   58 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/type/columnar.rb
   59 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types/_columnar.rb
   60 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types/registry.rb
   61 /home/anton/.gem/ruby/2.4.0/gems/mime-types-3.1/lib/mime/types.rb
   62 /usr/lib/ruby/2.4.0/x86_64-linux/pathname.so
   63 /usr/lib/ruby/2.4.0/pathname.rb
   64 /usr/lib/ruby/2.4.0/benchmark.rb
   65 /home/anton/.gem/ruby/2.4.0/gems/unicode-0.4.4.2/lib/unicode/unicode_native.so
   66 /home/anton/.gem/ruby/2.4.0/gems/unicode-0.4.4.2/lib/unicode.rb
   67 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util.rb
   68 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util/ncurses.rb
   69 /usr/lib/ruby/2.4.0/x86_64-linux/fiddle.so
   70 /usr/lib/ruby/2.4.0/fiddle/function.rb
   71 /usr/lib/ruby/2.4.0/fiddle/closure.rb
   72 /usr/lib/ruby/2.4.0/fiddle.rb
   73 /usr/lib/ruby/2.4.0/fiddle/value.rb
   74 /usr/lib/ruby/2.4.0/fiddle/pack.rb
   75 /usr/lib/ruby/2.4.0/fiddle/struct.rb
   76 /usr/lib/ruby/2.4.0/fiddle/cparser.rb
   77 /usr/lib/ruby/2.4.0/fiddle/import.rb
   78 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util/locale_fiddler.rb
   79 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme_n.so
   80 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/constants.rb
   81 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/ctx.rb
   82 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/data.rb
   83 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/error.rb
   84 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/io_callbacks.rb
   85 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/key_common.rb
   86 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/key.rb
   87 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/sub_key.rb
   88 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/key_sig.rb
   89 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/misc.rb
   90 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/signature.rb
   91 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/user_id.rb
   92 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/engine.rb
   93 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme/crypto.rb
   94 /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme.rb
   95 /usr/lib/ruby/2.4.0/x86_64-linux/date_core.so
   96 /usr/lib/ruby/2.4.0/date.rb
   97 /home/anton/.gem/ruby/2.4.0/gems/trollop-2.1.2/lib/trollop.rb
   98 /usr/lib/ruby/2.4.0/psych/versions.rb
   99 /usr/lib/ruby/2.4.0/psych/exception.rb
  100 /usr/lib/ruby/2.4.0/psych/syntax_error.rb
  101 /usr/lib/ruby/2.4.0/x86_64-linux/psych.so
  102 /usr/lib/ruby/2.4.0/psych/omap.rb
  103 /usr/lib/ruby/2.4.0/psych/set.rb
  104 /usr/lib/ruby/2.4.0/psych/class_loader.rb
  105 /usr/lib/ruby/2.4.0/x86_64-linux/strscan.so
  106 /usr/lib/ruby/2.4.0/psych/scalar_scanner.rb
  107 /usr/lib/ruby/2.4.0/psych/nodes/node.rb
  108 /usr/lib/ruby/2.4.0/psych/nodes/stream.rb
  109 /usr/lib/ruby/2.4.0/psych/nodes/document.rb
  110 /usr/lib/ruby/2.4.0/psych/nodes/sequence.rb
  111 /usr/lib/ruby/2.4.0/psych/nodes/scalar.rb
  112 /usr/lib/ruby/2.4.0/psych/nodes/mapping.rb
  113 /usr/lib/ruby/2.4.0/psych/nodes/alias.rb
  114 /usr/lib/ruby/2.4.0/psych/nodes.rb
  115 /usr/lib/ruby/2.4.0/psych/streaming.rb
  116 /usr/lib/ruby/2.4.0/psych/visitors/visitor.rb
  117 /usr/lib/ruby/2.4.0/psych/visitors/to_ruby.rb
  118 /usr/lib/ruby/2.4.0/psych/visitors/emitter.rb
  119 /usr/lib/ruby/2.4.0/psych/handler.rb
  120 /usr/lib/ruby/2.4.0/psych/tree_builder.rb
  121 /usr/lib/ruby/2.4.0/psych/visitors/yaml_tree.rb
  122 /usr/lib/ruby/2.4.0/psych/json/ruby_events.rb
  123 /usr/lib/ruby/2.4.0/psych/visitors/json_tree.rb
  124 /usr/lib/ruby/2.4.0/psych/visitors/depth_first.rb
  125 /usr/lib/ruby/2.4.0/psych/visitors.rb
  126 /usr/lib/ruby/2.4.0/psych/parser.rb
  127 /usr/lib/ruby/2.4.0/psych/coder.rb
  128 /usr/lib/ruby/2.4.0/psych/core_ext.rb
  129 /usr/lib/ruby/2.4.0/psych/deprecated.rb
  130 /usr/lib/ruby/2.4.0/psych/stream.rb
  131 /usr/lib/ruby/2.4.0/psych/json/yaml_events.rb
  132 /usr/lib/ruby/2.4.0/psych/json/tree_builder.rb
  133 /usr/lib/ruby/2.4.0/psych/json/stream.rb
  134 /usr/lib/ruby/2.4.0/psych/handlers/document_stream.rb
  135 /usr/lib/ruby/2.4.0/psych.rb
  136 /usr/lib/ruby/2.4.0/yaml.rb
  137 /usr/lib/ruby/2.4.0/x86_64-linux/zlib.so
  138 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag/simple.rb
  139 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag/irregular.rb
  140 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag/common.rb
  141 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag/rfc.rb
  142 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag/cldr.rb
  143 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag/posix.rb
  144 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/tag.rb
  145 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/taglist.rb
  146 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/driver.rb
  147 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/version.rb
  148 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale.rb
  149 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/address.rb
  150 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/utils.rb
  151 /usr/lib/ruby/2.4.0/x86_64-linux/digest.so
  152 /usr/lib/ruby/2.4.0/digest.rb
  153 /usr/lib/ruby/2.4.0/x86_64-linux/digest/md5.so
  154 /usr/lib/ruby/2.4.0/time.rb
  155 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/header.rb
  156 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/mailbox.rb
  157 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/message.rb
  158 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/parser/pushbackreader.rb
  159 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/parser/multipart.rb
  160 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/parser.rb
  161 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/serialize.rb
  162 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail/mailbox/mboxreader.rb
  163 /home/anton/.gem/ruby/2.4.0/gems/rmail-sup-1.0.1/lib/rmail.rb
  164 /usr/lib/ruby/2.4.0/uri/rfc2396_parser.rb
  165 /usr/lib/ruby/2.4.0/uri/rfc3986_parser.rb
  166 /usr/lib/ruby/2.4.0/uri/common.rb
  167 /usr/lib/ruby/2.4.0/uri/generic.rb
  168 /usr/lib/ruby/2.4.0/uri/ftp.rb
  169 /usr/lib/ruby/2.4.0/uri/http.rb
  170 /usr/lib/ruby/2.4.0/uri/https.rb
  171 /usr/lib/ruby/2.4.0/uri/ldap.rb
  172 /usr/lib/ruby/2.4.0/uri/ldaps.rb
  173 /usr/lib/ruby/2.4.0/uri/mailto.rb
  174 /usr/lib/ruby/2.4.0/uri.rb
  175 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/version.rb
  176 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/hook.rb
  177 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/time.rb
  178 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/logger.rb
  179 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/logger/singleton.rb
  180 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/driver/env.rb
  181 /home/anton/.gem/ruby/2.4.0/gems/locale-2.1.2/lib/locale/driver/posix.rb
  182 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/buffer.rb
  183 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/keymap.rb
  184 /usr/lib/ruby/2.4.0/open3.rb
  185 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/mode.rb
  186 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/scroll_mode.rb
  187 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/text_mode.rb
  188 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/log_mode.rb
  189 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/update.rb
  190 /usr/lib/ruby/2.4.0/tmpdir.rb
  191 /usr/lib/ruby/2.4.0/tempfile.rb
  192 /usr/lib/ruby/2.4.0/shellwords.rb
  193 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message_chunks.rb
  194 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/message.rb
  195 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/rfc2047.rb
  196 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/source.rb
  197 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/mbox.rb
  198 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/maildir.rb
  199 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/person.rb
  200 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/account.rb
  201 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/thread.rb
  202 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/interactive_lock.rb
  203 /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/_xapian.so
  204 /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/xapian.rb
  205 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/handlers.rb
  206 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/parser.rb
  207 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/handler.rb
  208 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/mini_date.rb
  209 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/tag.rb
  210 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/span.rb
  211 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/token.rb
  212 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/grabber.rb
  213 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/pointer.rb
  214 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/scalar.rb
  215 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/ordinal.rb
  216 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/separator.rb
  217 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/time_zone.rb
  218 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/numerizer.rb
  219 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/season.rb
  220 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeater.rb
  221 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_year.rb
  222 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_season.rb
  223 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_season_name.rb
  224 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_month.rb
  225 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_month_name.rb
  226 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_fortnight.rb
  227 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_week.rb
  228 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_weekend.rb
  229 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_weekday.rb
  230 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_day.rb
  231 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_day_name.rb
  232 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_day_portion.rb
  233 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_hour.rb
  234 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_minute.rb
  235 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_second.rb
  236 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic/repeaters/repeater_time.rb
  237 /home/anton/.gem/ruby/2.4.0/gems/chronic-0.9.1/lib/chronic.rb
  238 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/util/query.rb
  239 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/index.rb
  240 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/textfield.rb
  241 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/colormap.rb
  242 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/label.rb
  243 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/contact.rb
  244 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/tagger.rb
  245 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/draft.rb
  246 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/poll.rb
  247 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/crypto.rb
  248 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/undo.rb
  249 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/horizontal_selector.rb
  250 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/line_cursor_mode.rb
  251 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/help_mode.rb
  252 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/edit_message_mode.rb
  253 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/edit_message_async_mode.rb
  254 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/compose_mode.rb
  255 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/resume_mode.rb
  256 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/forward_mode.rb
  257 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/reply_mode.rb
  258 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/label_list_mode.rb
  259 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/contact_list_mode.rb
  260 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/thread_view_mode.rb
  261 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/thread_index_mode.rb
  262 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/label_search_results_mode.rb
  263 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/search_results_mode.rb
  264 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/person_search_results_mode.rb
  265 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/inbox_mode.rb
  266 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/buffer_list_mode.rb
  267 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/poll_mode.rb
  268 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/file_browser_mode.rb
  269 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/completion_mode.rb
  270 /usr/lib/ruby/2.4.0/prettyprint.rb
  271 /usr/lib/ruby/2.4.0/pp.rb
  272 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/service/label_service.rb
  273 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/console_mode.rb
  274 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/sent.rb
  275 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/search.rb
  276 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/modes/search_list_mode.rb
  277 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup/idle.rb
  278 /home/anton/.gem/ruby/2.4.0/gems/sup-0.22.1/lib/sup.rb
  279 /usr/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
  280 /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so

* Process memory map:

00400000-00401000 r-xp 00000000 fe:00 428010                             /usr/bin/ruby
00600000-00601000 r--p 00000000 fe:00 428010                             /usr/bin/ruby
00601000-00602000 rw-p 00001000 fe:00 428010                             /usr/bin/ruby
00c4f000-02063000 rw-p 00000000 00:00 0                                  [heap]
7f50b4000000-7f50b4021000 rw-p 00000000 00:00 0 
7f50b4021000-7f50b8000000 ---p 00000000 00:00 0 
7f50b8000000-7f50b8074000 rw-p 00000000 00:00 0 
7f50b8074000-7f50bc000000 ---p 00000000 00:00 0 
7f50bc000000-7f50bc021000 rw-p 00000000 00:00 0 
7f50bc021000-7f50c0000000 ---p 00000000 00:00 0 
7f50c0000000-7f50c0021000 rw-p 00000000 00:00 0 
7f50c0021000-7f50c4000000 ---p 00000000 00:00 0 
7f50c4000000-7f50c4021000 rw-p 00000000 00:00 0 
7f50c4021000-7f50c8000000 ---p 00000000 00:00 0 
7f50c8000000-7f50c8111000 rw-p 00000000 00:00 0 
7f50c8111000-7f50cc000000 ---p 00000000 00:00 0 
7f50cc000000-7f50cc021000 rw-p 00000000 00:00 0 
7f50cc021000-7f50d0000000 ---p 00000000 00:00 0 
7f50d2c5c000-7f50d2eec000 r--s 00000000 fe:00 428000                     /usr/lib/libruby.so.2.4.0
7f50d2eec000-7f50d2eed000 ---p 00000000 00:00 0 
7f50d2eed000-7f50d30ee000 rw-p 00000000 00:00 0 
7f50d30ee000-7f50d30ef000 ---p 00000000 00:00 0 
7f50d30ef000-7f50d32f0000 rw-p 00000000 00:00 0 
7f50d32f0000-7f50d32f1000 ---p 00000000 00:00 0 
7f50d32f1000-7f50d34f2000 rw-p 00000000 00:00 0 
7f50d34f2000-7f50d34f3000 ---p 00000000 00:00 0 
7f50d34f3000-7f50d36f4000 rw-p 00000000 00:00 0 
7f50d36f4000-7f50d36f5000 ---p 00000000 00:00 0 
7f50d36f5000-7f50d38f6000 rw-p 00000000 00:00 0 
7f50d38f6000-7f50d38f7000 ---p 00000000 00:00 0 
7f50d38f7000-7f50d3af8000 rw-p 00000000 00:00 0 
7f50d3af8000-7f50d3af9000 ---p 00000000 00:00 0 
7f50d3af9000-7f50d3bf9000 rw-p 00000000 00:00 0 
7f50d3bf9000-7f50d3bfc000 r-xp 00000000 fe:00 2511937                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
7f50d3bfc000-7f50d3dfb000 ---p 00003000 fe:00 2511937                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
7f50d3dfb000-7f50d3dfc000 r--p 00002000 fe:00 2511937                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
7f50d3dfc000-7f50d3dfd000 rw-p 00003000 fe:00 2511937                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
7f50d3dfd000-7f50d3dfe000 r-xp 00000000 fe:00 2511917                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
7f50d3dfe000-7f50d3ffe000 ---p 00001000 fe:00 2511917                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
7f50d3ffe000-7f50d3fff000 r--p 00001000 fe:00 2511917                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
7f50d3fff000-7f50d4000000 rw-p 00002000 fe:00 2511917                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
7f50d4000000-7f50d4021000 rw-p 00000000 00:00 0 
7f50d4021000-7f50d8000000 ---p 00000000 00:00 0 
7f50d80ab000-7f50d81ac000 rw-p 00000000 00:00 0 
7f50d81ac000-7f50d81ad000 ---p 00000000 00:00 0 
7f50d81ad000-7f50d83ae000 rw-p 00000000 00:00 0 
7f50d83ae000-7f50d83c4000 r-xp 00000000 fe:00 396837                     /usr/lib/libgcc_s.so.1
7f50d83c4000-7f50d85c3000 ---p 00016000 fe:00 396837                     /usr/lib/libgcc_s.so.1
7f50d85c3000-7f50d85c4000 r--p 00015000 fe:00 396837                     /usr/lib/libgcc_s.so.1
7f50d85c4000-7f50d85c5000 rw-p 00016000 fe:00 396837                     /usr/lib/libgcc_s.so.1
7f50d85c5000-7f50d873d000 r-xp 00000000 fe:00 396803                     /usr/lib/libstdc++.so.6.0.22
7f50d873d000-7f50d893d000 ---p 00178000 fe:00 396803                     /usr/lib/libstdc++.so.6.0.22
7f50d893d000-7f50d8947000 r--p 00178000 fe:00 396803                     /usr/lib/libstdc++.so.6.0.22
7f50d8947000-7f50d8949000 rw-p 00182000 fe:00 396803                     /usr/lib/libstdc++.so.6.0.22
7f50d8949000-7f50d894d000 rw-p 00000000 00:00 0 
7f50d894d000-7f50d8951000 r-xp 00000000 fe:00 404159                     /usr/lib/libuuid.so.1.3.0
7f50d8951000-7f50d8b50000 ---p 00004000 fe:00 404159                     /usr/lib/libuuid.so.1.3.0
7f50d8b50000-7f50d8b51000 r--p 00003000 fe:00 404159                     /usr/lib/libuuid.so.1.3.0
7f50d8b51000-7f50d8b52000 rw-p 00004000 fe:00 404159                     /usr/lib/libuuid.so.1.3.0
7f50d8b52000-7f50d8d56000 r-xp 00000000 fe:01 1974278                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/libxapian.so.22.7.0
7f50d8d56000-7f50d8f56000 ---p 00204000 fe:01 1974278                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/libxapian.so.22.7.0
7f50d8f56000-7f50d8f5d000 r--p 00204000 fe:01 1974278                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/libxapian.so.22.7.0
7f50d8f5d000-7f50d8f5f000 rw-p 0020b000 fe:01 1974278                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/libxapian.so.22.7.0
7f50d8f5f000-7f50d8fde000 r-xp 00000000 fe:01 1974348                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/_xapian.so
7f50d8fde000-7f50d91dd000 ---p 0007f000 fe:01 1974348                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/_xapian.so
7f50d91dd000-7f50d91de000 r--p 0007e000 fe:01 1974348                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/_xapian.so
7f50d91de000-7f50d91e2000 rw-p 0007f000 fe:01 1974348                    /home/anton/.gem/ruby/2.4.0/gems/xapian-ruby-1.2.22/lib/_xapian.so
7f50d91e2000-7f50d91e3000 rw-p 00000000 00:00 0 
7f50d91e3000-7f50d91e6000 r-xp 00000000 fe:00 2511851                    /usr/lib/ruby/2.4.0/x86_64-linux/digest.so
7f50d91e6000-7f50d93e5000 ---p 00003000 fe:00 2511851                    /usr/lib/ruby/2.4.0/x86_64-linux/digest.so
7f50d93e5000-7f50d93e6000 r--p 00002000 fe:00 2511851                    /usr/lib/ruby/2.4.0/x86_64-linux/digest.so
7f50d93e6000-7f50d93e7000 rw-p 00003000 fe:00 2511851                    /usr/lib/ruby/2.4.0/x86_64-linux/digest.so
7f50d93e7000-7f50d9635000 r-xp 00000000 fe:00 403522                     /usr/lib/libcrypto.so.1.0.0
7f50d9635000-7f50d9834000 ---p 0024e000 fe:00 403522                     /usr/lib/libcrypto.so.1.0.0
7f50d9834000-7f50d9850000 r--p 0024d000 fe:00 403522                     /usr/lib/libcrypto.so.1.0.0
7f50d9850000-7f50d985c000 rw-p 00269000 fe:00 403522                     /usr/lib/libcrypto.so.1.0.0
7f50d985c000-7f50d985f000 rw-p 00000000 00:00 0 
7f50d985f000-7f50d9860000 r-xp 00000000 fe:00 2511948                    /usr/lib/ruby/2.4.0/x86_64-linux/digest/md5.so
7f50d9860000-7f50d9a5f000 ---p 00001000 fe:00 2511948                    /usr/lib/ruby/2.4.0/x86_64-linux/digest/md5.so
7f50d9a5f000-7f50d9a60000 r--p 00000000 fe:00 2511948                    /usr/lib/ruby/2.4.0/x86_64-linux/digest/md5.so
7f50d9a60000-7f50d9a61000 rw-p 00001000 fe:00 2511948                    /usr/lib/ruby/2.4.0/x86_64-linux/digest/md5.so
7f50d9a61000-7f50d9a76000 r-xp 00000000 fe:00 404117                     /usr/lib/libz.so.1.2.8
7f50d9a76000-7f50d9c75000 ---p 00015000 fe:00 404117                     /usr/lib/libz.so.1.2.8
7f50d9c75000-7f50d9c76000 r--p 00014000 fe:00 404117                     /usr/lib/libz.so.1.2.8
7f50d9c76000-7f50d9c77000 rw-p 00015000 fe:00 404117                     /usr/lib/libz.so.1.2.8
7f50d9c77000-7f50d9c85000 r-xp 00000000 fe:00 2511877                    /usr/lib/ruby/2.4.0/x86_64-linux/zlib.so
7f50d9c85000-7f50d9e84000 ---p 0000e000 fe:00 2511877                    /usr/lib/ruby/2.4.0/x86_64-linux/zlib.so
7f50d9e84000-7f50d9e85000 r--p 0000d000 fe:00 2511877                    /usr/lib/ruby/2.4.0/x86_64-linux/zlib.so
7f50d9e85000-7f50d9e86000 rw-p 0000e000 fe:00 2511877                    /usr/lib/ruby/2.4.0/x86_64-linux/zlib.so
7f50d9e86000-7f50d9e8b000 r-xp 00000000 fe:00 2511868                    /usr/lib/ruby/2.4.0/x86_64-linux/strscan.so
7f50d9e8b000-7f50da08a000 ---p 00005000 fe:00 2511868                    /usr/lib/ruby/2.4.0/x86_64-linux/strscan.so
7f50da08a000-7f50da08b000 r--p 00004000 fe:00 2511868                    /usr/lib/ruby/2.4.0/x86_64-linux/strscan.so
7f50da08b000-7f50da08c000 rw-p 00005000 fe:00 2511868                    /usr/lib/ruby/2.4.0/x86_64-linux/strscan.so
7f50da08c000-7f50da0aa000 r-xp 00000000 fe:00 430767                     /usr/lib/libyaml-0.so.2.0.5
7f50da0aa000-7f50da2a9000 ---p 0001e000 fe:00 430767                     /usr/lib/libyaml-0.so.2.0.5
7f50da2a9000-7f50da2aa000 r--p 0001d000 fe:00 430767                     /usr/lib/libyaml-0.so.2.0.5
7f50da2aa000-7f50da2ab000 rw-p 0001e000 fe:00 430767                     /usr/lib/libyaml-0.so.2.0.5
7f50da2ab000-7f50da2b1000 r-xp 00000000 fe:00 2511871                    /usr/lib/ruby/2.4.0/x86_64-linux/psych.so
7f50da2b1000-7f50da4b0000 ---p 00006000 fe:00 2511871                    /usr/lib/ruby/2.4.0/x86_64-linux/psych.so
7f50da4b0000-7f50da4b1000 r--p 00005000 fe:00 2511871                    /usr/lib/ruby/2.4.0/x86_64-linux/psych.so
7f50da4b1000-7f50da4b2000 rw-p 00006000 fe:00 2511871                    /usr/lib/ruby/2.4.0/x86_64-linux/psych.so
7f50da4b2000-7f50da4e0000 r-xp 00000000 fe:00 2511847                    /usr/lib/ruby/2.4.0/x86_64-linux/date_core.so
7f50da4e0000-7f50da6e0000 ---p 0002e000 fe:00 2511847                    /usr/lib/ruby/2.4.0/x86_64-linux/date_core.so
7f50da6e0000-7f50da6e1000 r--p 0002e000 fe:00 2511847                    /usr/lib/ruby/2.4.0/x86_64-linux/date_core.so
7f50da6e1000-7f50da6e2000 rw-p 0002f000 fe:00 2511847                    /usr/lib/ruby/2.4.0/x86_64-linux/date_core.so
7f50da6e2000-7f50da6e3000 rw-p 00000000 00:00 0 
7f50da6e3000-7f50da764000 r-xp 00000000 fe:01 1838279                    /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme_n.so
7f50da764000-7f50da963000 ---p 00081000 fe:01 1838279                    /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme_n.so
7f50da963000-7f50da964000 r--p 00080000 fe:01 1838279                    /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme_n.so
7f50da964000-7f50da967000 rw-p 00081000 fe:01 1838279                    /home/anton/.gem/ruby/2.4.0/gems/gpgme-2.0.12/lib/gpgme_n.so
7f50da967000-7f50da96e000 r-xp 00000000 fe:00 406857                     /usr/lib/libffi.so.6.0.4
7f50da96e000-7f50dab6e000 ---p 00007000 fe:00 406857                     /usr/lib/libffi.so.6.0.4
7f50dab6e000-7f50dab6f000 r--p 00007000 fe:00 406857                     /usr/lib/libffi.so.6.0.4
7f50dab6f000-7f50dab70000 rw-p 00008000 fe:00 406857                     /usr/lib/libffi.so.6.0.4
7f50dab70000-7f50dab79000 r-xp 00000000 fe:00 2511880                    /usr/lib/ruby/2.4.0/x86_64-linux/fiddle.so
7f50dab79000-7f50dad78000 ---p 00009000 fe:00 2511880                    /usr/lib/ruby/2.4.0/x86_64-linux/fiddle.so
7f50dad78000-7f50dad79000 r--p 00008000 fe:00 2511880                    /usr/lib/ruby/2.4.0/x86_64-linux/fiddle.so
7f50dad79000-7f50dad7a000 rw-p 00009000 fe:00 2511880                    /usr/lib/ruby/2.4.0/x86_64-linux/fiddle.so
7f50dad7a000-7f50dae3b000 rw-p 00000000 00:00 0 
7f50dae9c000-7f50daeeb000 r-xp 00000000 fe:01 1706760                    /home/anton/.gem/ruby/2.4.0/gems/unicode-0.4.4.2/lib/unicode/unicode_native.so
7f50daeeb000-7f50db0ea000 ---p 0004f000 fe:01 1706760                    /home/anton/.gem/ruby/2.4.0/gems/unicode-0.4.4.2/lib/unicode/unicode_native.so
7f50db0ea000-7f50db239000 r--p 0004e000 fe:01 1706760                    /home/anton/.gem/ruby/2.4.0/gems/unicode-0.4.4.2/lib/unicode/unicode_native.so
7f50db239000-7f50db23a000 rw-p 0019d000 fe:01 1706760                    /home/anton/.gem/ruby/2.4.0/gems/unicode-0.4.4.2/lib/unicode/unicode_native.so
7f50db23a000-7f50db240000 r-xp 00000000 fe:00 2511870                    /usr/lib/ruby/2.4.0/x86_64-linux/pathname.so
7f50db240000-7f50db440000 ---p 00006000 fe:00 2511870                    /usr/lib/ruby/2.4.0/x86_64-linux/pathname.so
7f50db440000-7f50db441000 r--p 00006000 fe:00 2511870                    /usr/lib/ruby/2.4.0/x86_64-linux/pathname.so
7f50db441000-7f50db442000 rw-p 00007000 fe:00 2511870                    /usr/lib/ruby/2.4.0/x86_64-linux/pathname.so
7f50db442000-7f50db448000 r-xp 00000000 fe:00 2511856                    /usr/lib/ruby/2.4.0/x86_64-linux/etc.so
7f50db448000-7f50db647000 ---p 00006000 fe:00 2511856                    /usr/lib/ruby/2.4.0/x86_64-linux/etc.so
7f50db647000-7f50db648000 r--p 00005000 fe:00 2511856                    /usr/lib/ruby/2.4.0/x86_64-linux/etc.so
7f50db648000-7f50db649000 rw-p 00006000 fe:00 2511856                    /usr/lib/ruby/2.4.0/x86_64-linux/etc.so
7f50db649000-7f50db64b000 r-xp 00000000 fe:00 2511943                    /usr/lib/ruby/2.4.0/x86_64-linux/io/wait.so
7f50db64b000-7f50db84a000 ---p 00002000 fe:00 2511943                    /usr/lib/ruby/2.4.0/x86_64-linux/io/wait.so
7f50db84a000-7f50db84b000 r--p 00001000 fe:00 2511943                    /usr/lib/ruby/2.4.0/x86_64-linux/io/wait.so
7f50db84b000-7f50db84c000 rw-p 00002000 fe:00 2511943                    /usr/lib/ruby/2.4.0/x86_64-linux/io/wait.so
7f50db84c000-7f50db876000 r-xp 00000000 fe:00 2511853                    /usr/lib/ruby/2.4.0/x86_64-linux/socket.so
7f50db876000-7f50dba75000 ---p 0002a000 fe:00 2511853                    /usr/lib/ruby/2.4.0/x86_64-linux/socket.so
7f50dba75000-7f50dba76000 r--p 00029000 fe:00 2511853                    /usr/lib/ruby/2.4.0/x86_64-linux/socket.so
7f50dba76000-7f50dba77000 rw-p 0002a000 fe:00 2511853                    /usr/lib/ruby/2.4.0/x86_64-linux/socket.so
7f50dba77000-7f50dba7a000 r-xp 00000000 fe:00 399475                     /usr/lib/libpanelw.so.6.0
7f50dba7a000-7f50dbc79000 ---p 00003000 fe:00 399475                     /usr/lib/libpanelw.so.6.0
7f50dbc79000-7f50dbc7a000 r--p 00002000 fe:00 399475                     /usr/lib/libpanelw.so.6.0
7f50dbc7a000-7f50dbc7b000 rw-p 00003000 fe:00 399475                     /usr/lib/libpanelw.so.6.0
7f50dbc7b000-7f50dbc8c000 r-xp 00000000 fe:00 399477                     /usr/lib/libformw.so.6.0
7f50dbc8c000-7f50dbe8b000 ---p 00011000 fe:00 399477                     /usr/lib/libformw.so.6.0
7f50dbe8b000-7f50dbe8c000 r--p 00010000 fe:00 399477                     /usr/lib/libformw.so.6.0
7f50dbe8c000-7f50dbe8d000 rw-p 00011000 fe:00 399477                     /usr/lib/libformw.so.6.0
7f50dbe8d000-7f50dbe94000 r-xp 00000000 fe:00 399476                     /usr/lib/libmenuw.so.6.0
7f50dbe94000-7f50dc094000 ---p 00007000 fe:00 399476                     /usr/lib/libmenuw.so.6.0
7f50dc094000-7f50dc095000 r--p 00007000 fe:00 399476                     /usr/lib/libmenuw.so.6.0
7f50dc095000-7f50dc096000 rw-p 00008000 fe:00 399476                     /usr/lib/libmenuw.so.6.0
7f50dc096000-7f50dc0fd000 r-xp 00000000 fe:00 399474                     /usr/lib/libncursesw.so.6.0
7f50dc0fd000-7f50dc2fc000 ---p 00067000 fe:00 399474                     /usr/lib/libncursesw.so.6.0
7f50dc2fc000-7f50dc300000 r--p 00066000 fe:00 399474                     /usr/lib/libncursesw.so.6.0
7f50dc300000-7f50dc302000 rw-p 0006a000 fe:00 399474                     /usr/lib/libncursesw.so.6.0
7f50dc302000-7f50dc32b000 r-xp 00000000 fe:01 1705733                    /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncursesw_bin.so
7f50dc32b000-7f50dc52a000 ---p 00029000 fe:01 1705733                    /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncursesw_bin.so
7f50dc52a000-7f50dc52b000 r--p 00028000 fe:01 1705733                    /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncursesw_bin.so
7f50dc52b000-7f50dc52c000 rw-p 00029000 fe:01 1705733                    /home/anton/.gem/ruby/2.4.0/gems/ncursesw-1.4.10/lib/ncursesw_bin.so
7f50dc52c000-7f50dc533000 r-xp 00000000 fe:00 2511854                    /usr/lib/ruby/2.4.0/x86_64-linux/stringio.so
7f50dc533000-7f50dc732000 ---p 00007000 fe:00 2511854                    /usr/lib/ruby/2.4.0/x86_64-linux/stringio.so
7f50dc732000-7f50dc733000 r--p 00006000 fe:00 2511854                    /usr/lib/ruby/2.4.0/x86_64-linux/stringio.so
7f50dc733000-7f50dc734000 rw-p 00007000 fe:00 2511854                    /usr/lib/ruby/2.4.0/x86_64-linux/stringio.so
7f50dc734000-7f50dc736000 r-xp 00000000 fe:00 2511939                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
7f50dc736000-7f50dc936000 ---p 00002000 fe:00 2511939                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
7f50dc936000-7f50dc937000 r--p 00002000 fe:00 2511939                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
7f50dc937000-7f50dc938000 rw-p 00003000 fe:00 2511939                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
7f50dc938000-7f50dc93a000 r-xp 00000000 fe:00 2511913                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
7f50dc93a000-7f50dcb39000 ---p 00002000 fe:00 2511913                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
7f50dcb39000-7f50dcb3a000 r--p 00001000 fe:00 2511913                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
7f50dcb3a000-7f50dcb3b000 rw-p 00002000 fe:00 2511913                    /usr/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
7f50dcb3b000-7f50dce04000 r--p 00000000 fe:00 396794                     /usr/lib/locale/locale-archive
7f50dce04000-7f50dcf07000 r-xp 00000000 fe:00 396521                     /usr/lib/libm-2.24.so
7f50dcf07000-7f50dd106000 ---p 00103000 fe:00 396521                     /usr/lib/libm-2.24.so
7f50dd106000-7f50dd107000 r--p 00102000 fe:00 396521                     /usr/lib/libm-2.24.so
7f50dd107000-7f50dd108000 rw-p 00103000 fe:00 396521                     /usr/lib/libm-2.24.so
7f50dd108000-7f50dd110000 r-xp 00000000 fe:00 396512                     /usr/lib/libcrypt-2.24.so
7f50dd110000-7f50dd310000 ---p 00008000 fe:00 396512                     /usr/lib/libcrypt-2.24.so
7f50dd310000-7f50dd311000 r--p 00008000 fe:00 396512                     /usr/lib/libcrypt-2.24.so
7f50dd311000-7f50dd312000 rw-p 00009000 fe:00 396512                     /usr/lib/libcrypt-2.24.so
7f50dd312000-7f50dd340000 rw-p 00000000 00:00 0 
7f50dd340000-7f50dd342000 r-xp 00000000 fe:00 396520                     /usr/lib/libdl-2.24.so
7f50dd342000-7f50dd542000 ---p 00002000 fe:00 396520                     /usr/lib/libdl-2.24.so
7f50dd542000-7f50dd543000 r--p 00002000 fe:00 396520                     /usr/lib/libdl-2.24.so
7f50dd543000-7f50dd544000 rw-p 00003000 fe:00 396520                     /usr/lib/libdl-2.24.so
7f50dd544000-7f50dd5d6000 r-xp 00000000 fe:00 399841                     /usr/lib/libgmp.so.10.3.2
7f50dd5d6000-7f50dd7d5000 ---p 00092000 fe:00 399841                     /usr/lib/libgmp.so.10.3.2
7f50dd7d5000-7f50dd7d6000 r--p 00091000 fe:00 399841                     /usr/lib/libgmp.so.10.3.2
7f50dd7d6000-7f50dd7d7000 rw-p 00092000 fe:00 399841                     /usr/lib/libgmp.so.10.3.2
7f50dd7d7000-7f50dd7ef000 r-xp 00000000 fe:00 396444                     /usr/lib/libpthread-2.24.so
7f50dd7ef000-7f50dd9ee000 ---p 00018000 fe:00 396444                     /usr/lib/libpthread-2.24.so
7f50dd9ee000-7f50dd9ef000 r--p 00017000 fe:00 396444                     /usr/lib/libpthread-2.24.so
7f50dd9ef000-7f50dd9f0000 rw-p 00018000 fe:00 396444                     /usr/lib/libpthread-2.24.so
7f50dd9f0000-7f50dd9f4000 rw-p 00000000 00:00 0 
7f50dd9f4000-7f50ddb89000 r-xp 00000000 fe:00 396463                     /usr/lib/libc-2.24.so
7f50ddb89000-7f50ddd88000 ---p 00195000 fe:00 396463                     /usr/lib/libc-2.24.so
7f50ddd88000-7f50ddd8c000 r--p 00194000 fe:00 396463                     /usr/lib/libc-2.24.so
7f50ddd8c000-7f50ddd8e000 rw-p 00198000 fe:00 396463                     /usr/lib/libc-2.24.so
7f50ddd8e000-7f50ddd92000 rw-p 00000000 00:00 0 
7f50ddd92000-7f50de01a000 r-xp 00000000 fe:00 428000                     /usr/lib/libruby.so.2.4.0
7f50de01a000-7f50de219000 ---p 00288000 fe:00 428000                     /usr/lib/libruby.so.2.4.0
7f50de219000-7f50de21f000 r--p 00287000 fe:00 428000                     /usr/lib/libruby.so.2.4.0
7f50de21f000-7f50de222000 rw-p 0028d000 fe:00 428000                     /usr/lib/libruby.so.2.4.0
7f50de222000-7f50de232000 rw-p 00000000 00:00 0 
7f50de232000-7f50de255000 r-xp 00000000 fe:00 396462                     /usr/lib/ld-2.24.so
7f50de25b000-7f50de423000 rw-p 00000000 00:00 0 
7f50de42a000-7f50de44e000 r--s 00000000 fe:00 396444                     /usr/lib/libpthread-2.24.so
7f50de44e000-7f50de450000 r--s 00000000 fe:00 428010                     /usr/bin/ruby
7f50de450000-7f50de451000 ---p 00000000 00:00 0 
7f50de451000-7f50de454000 rw-p 00000000 00:00 0 
7f50de454000-7f50de455000 r--p 00022000 fe:00 396462                     /usr/lib/ld-2.24.so
7f50de455000-7f50de456000 rw-p 00023000 fe:00 396462                     /usr/lib/ld-2.24.so
7f50de456000-7f50de457000 rw-p 00000000 00:00 0 
7fff4ff1a000-7fff50719000 rw-p 00000000 00:00 0                          [stack]
7fff50761000-7fff50763000 r--p 00000000 00:00 0                          [vvar]
7fff50763000-7fff50765000 r-xp 00000000 00:00 0                          [vdso]
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

pltanton avatar Jan 14 '17 03:01 pltanton

I believe the root cause is the fact the 2.4.0 has integrated Fixnum and Bignum into being just an Integer (friendly explaination). Maybe @quark-zju could comment on this?

97-109-107 avatar Jan 19 '17 12:01 97-109-107

A probably very bad workaround that doesn't seem to break anything else for me is commenting these two lines in lib/sup/util.rb:

encode!('UTF-16', 'UTF-8', :invalid => :replace, :undef => :replace)
encode!('UTF-8', 'UTF-16', :invalid => :replace, :undef => :replace)

fran-penedo avatar Jan 19 '17 15:01 fran-penedo

@fran-penedo this didn't work for me, still reporting Fixnum deprecated here


After allevating the initial fixnum issues I've ran into:

/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': libxapian.so.22: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/2.4.0/gems/xapian-ruby-1.2.22/lib/_xapian.so (LoadError)
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/gems/2.4.0/gems/xapian-ruby-1.2.22/lib/xapian.rb:42:in `<module:Xapian>'
	from /usr/lib/ruby/gems/2.4.0/gems/xapian-ruby-1.2.22/lib/xapian.rb:40:in `<top (required)>'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in `require'
	from /usr/lib/ruby/gems/2.4.0/gems/sup-999/lib/sup/index.rb:4:in `<top (required)>'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/gems/2.4.0/gems/sup-999/lib/sup.rb:429:in `<top (required)>'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/gems/2.4.0/gems/sup-999/bin/sup:21:in `<top (required)>'
	from /usr/bin/sup:22:in `load'
	from /usr/bin/sup:22:in `<main>'

And I'm absolutely positive that I have the said libraries, here's ls -lah /usr/lib/ruby/gems/2.4.0/gems/xapian-ruby-1.2.22/lib/:

total 2596
lrwxrwxrwx 1 root root      19 Jan 20 09:50 libxapian.so -> libxapian.so.22.7.0
lrwxrwxrwx 1 root root      19 Jan 20 09:50 libxapian.so.22 -> libxapian.so.22.7.0
-rwxr-xr-x 1 root root 2110680 Jan 20 09:51 libxapian.so.22.7.0
-rw-r--r-- 1 root root   11094 Jan 20 09:51 xapian.rb
-rwxr-xr-x 1 root root  531624 Jan 20 09:51 _xapian.so

I think this is another instance of this error but I don't understand what it means (copied from above):

From what I can see the problem is just that ruby-xapian was built for Ruby
2.2:

olly@pippikin:~$ ruby2.2 -e 'require "xapian"'
olly@pippikin:~$ ruby2.3 -e 'require "xapian"'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- _xapian (LoadError)

So far I'm under the impression that the underlying gem xapian-ruby is incompatible with Ruby 2.4.

97-109-107 avatar Jan 20 '17 09:01 97-109-107

Summary

I am led to believe that xapian-ruby is not compatible with 2.4 and won't be compatible anytime soon. I've looked if perhaps it could be replaced with xapian-core but my understanding of the internals is not enough.

Moving to Ruby 2.2 for Arch Linux users

  • Remove package ruby and dependencies
  • (optional) clean up ~/.gems
  • Install aur/ruby2.2
  • Symlink /usr/bin/ruby2.2 & /usr/bin/gem2.2 to just ruby and gem
  • Fixup your GEM_PATH & GEM_HOME to point back to 2.2 as per wiki
  • gem i bundler
  • go into sup's directory and bundle i

This has been tested on @quark-zju's fork (which I recommend, simply because it's alive and the maintainer is great)

97-109-107 avatar Jan 20 '17 11:01 97-109-107

@97-109-107 may be a better solution would be to use rvm and create an alias for sup like alias sup='rvm 2.3.3 do ~/.rvm/gems/ruby-2.3.3/bin/sup' ?

pltanton avatar Jan 20 '17 11:01 pltanton

@pltanton Indeed sounds like a less drastic measure, but I didn't have time to figure out rvm (given the pipe to shell instructions they give) Perhaps you could describe/test this?

97-109-107 avatar Jan 20 '17 12:01 97-109-107

re: xapian-ruby problems in arch linux, installing the package from gem instead of pacman solved the issue for me (the gem is now installed in my user directory).

fran-penedo avatar Jan 20 '17 14:01 fran-penedo

This solution is tested on fresh archlinux VM.

Note, that each command is executed as regular user.

A teporary solution using rvm

  • First of all install, rvm as described here
# You might need to install a gpg2 package
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
# Then install rvm
\curl -sSL https://get.rvm.io | bash
# And install ruby version that works with xapian
gem install 2.3.3
  • Normally install sup as gem
gem install xapian-ruby
gem install sup
  • Create an alias in your .bashrc or .zshrc
echo "alias sup='rvm 2.3.3 do sup'" >> ~/.bashrc

It is also a good idea to migrate from your distribution version of ruby to rvm. Jult remove it, for example pacman -R ruby, and install the fresh stable version of ruby rvm install 2.4.

pltanton avatar Jan 20 '17 21:01 pltanton

I can reproduce the crash using a fresh 2.4.0p0 ruby installed by rbenv.

I think commenting out the encode! lines as mentioned by @fran-penedo is a good solution, which may in fact reveal a bug of CRuby. I have pushed it as https://github.com/quark-zju/sup/commit/1c8ccb2bdd7523c597ec608ba5cdb0b7a5301efd

Since all gems are installed in the 2.4.0 namespace and bundle will enforce using them, and the crash stack looks from CRuby, I guess it's unrelated to xapian-ruby.

Fixnum warnings do not seem to be related to the crash, either.

quark-zju avatar Jan 23 '17 05:01 quark-zju

I just tried following pltanton's temporary solution above with no luck. I get this error on a freshly updated archlinux: rvm list rvm rubies =* ruby-2.3.3 [ i686 ] $ gem --version 2.6.10 $ libtool --version libtool (GNU libtool) 2.4.6 $ gem install xapian-ruby --user-install --backtrace Results in: /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -mfpmath=sse -msse2 -mtune=generic -g -O2 -MT weight/weightinternal.lo -MD -MP -MF $depbase.Tpo -c -o weight/weightinternal.lo weight/weightinternal.cc &&
mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -mfpmath=sse -msse2 -mtune=generic -g -O2 -MT weight/weightinternal.lo -MD -MP -MF weight/.deps/weightinternal.Tpo -c weight/weightinternal.cc -fPIC -DPIC -o weight/.libs/weightinternal.o In file included from weight/weightinternal.cc:33:0: weight/weightinternal.cc: I medlemsfunktion ”void Xapian::Weight::Internal::accumulate_stats(const Xapian::Database::Internal&, const Xapian::RSet&)”: ./common/autoptr.h:28:23: varning: ”template class std::auto_ptr” bör undvikas [-Wdeprecated-declarations]

define AutoPtr std::auto_ptr

                   ^

weight/weightinternal.cc:98:2: anm: i expansionen av makrot ”AutoPtr” AutoPtr<TermList> tl(subdb.open_term_list(did)); ^~~~~~~ In file included from /usr/include/c++/6.3.1/memory:81:0, from ./common/autoptr.h:27, from weight/weightinternal.cc:33: /usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: anm: deklarerad här template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -mfpmath=sse -msse2 -mtune=generic -g -O2 -MT weight/weightinternal.lo -MD -MP -MF weight/.deps/weightinternal.Tpo -c weight/weightinternal.cc -o weight/weightinternal.o >/dev/null 2>&1 ./libtool: line 3254: -v: command not found /bin/sh ./libtool --tag=CXX --mode=link g++ -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -mfpmath=sse -msse2 -mtune=generic -g -O2 -Bsymbolic-functions -version-info 29:0:7 -L/home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/lib -o libxapian.la -rpath /home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/lib api/compactor.lo api/decvalwtsource.lo api/documentvaluelist.lo api/editdistance.lo api/emptypostlist.lo api/error.lo api/errorhandler.lo api/expanddecider.lo api/keymaker.lo api/leafpostlist.lo api/matchspy.lo api/omdatabase.lo api/omdocument.lo api/omenquire.lo api/ompositionlistiterator.lo api/ompostlistiterator.lo api/omquery.lo api/omqueryinternal.lo api/omtermlistiterator.lo api/postingsource.lo api/postlist.lo api/registry.lo api/replication.lo api/sortable-serialise.lo api/termlist.lo api/valueiterator.lo api/valuerangeproc.lo api/valuesetmatchdecider.lo api/version.lo backends/alltermslist.lo backends/database.lo backends/databasereplicator.lo backends/dbfactory.lo backends/slowvaluelist.lo backends/valuelist.lo backends/dbfactory_remote.lo backends/contiguousalldocspostlist.lo backends/flint_lock.lo backends/brass/brass_alldocspostlist.lo backends/brass/brass_alltermslist.lo backends/brass/brass_btreebase.lo backends/brass/brass_compact.lo backends/brass/brass_cursor.lo backends/brass/brass_database.lo backends/brass/brass_databasereplicator.lo backends/brass/brass_dbstats.lo backends/brass/brass_document.lo backends/brass/brass_inverter.lo backends/brass/brass_metadata.lo backends/brass/brass_positionlist.lo backends/brass/brass_postlist.lo backends/brass/brass_record.lo backends/brass/brass_spelling.lo backends/brass/brass_spellingwordslist.lo backends/brass/brass_synonym.lo backends/brass/brass_table.lo backends/brass/brass_termlist.lo backends/brass/brass_termlisttable.lo backends/brass/brass_valuelist.lo backends/brass/brass_values.lo backends/brass/brass_version.lo backends/chert/chert_alldocsmodifiedpostlist.lo backends/chert/chert_alldocspostlist.lo backends/chert/chert_alltermslist.lo backends/chert/chert_btreebase.lo backends/chert/chert_compact.lo backends/chert/chert_cursor.lo backends/chert/chert_database.lo backends/chert/chert_databasereplicator.lo backends/chert/chert_dbstats.lo backends/chert/chert_document.lo backends/chert/chert_metadata.lo backends/chert/chert_modifiedpostlist.lo backends/chert/chert_positionlist.lo backends/chert/chert_postlist.lo backends/chert/chert_record.lo backends/chert/chert_spelling.lo backends/chert/chert_spellingwordslist.lo backends/chert/chert_synonym.lo backends/chert/chert_table.lo backends/chert/chert_termlist.lo backends/chert/chert_termlisttable.lo backends/chert/chert_valuelist.lo backends/chert/chert_values.lo backends/chert/chert_version.lo backends/flint/flint_alldocspostlist.lo backends/flint/flint_alltermslist.lo backends/flint/flint_btreebase.lo backends/flint/flint_compact.lo backends/flint/flint_cursor.lo backends/flint/flint_database.lo backends/flint/flint_databasereplicator.lo backends/flint/flint_document.lo backends/flint/flint_metadata.lo backends/flint/flint_modifiedpostlist.lo backends/flint/flint_positionlist.lo backends/flint/flint_postlist.lo backends/flint/flint_record.lo backends/flint/flint_spelling.lo backends/flint/flint_spellingwordslist.lo backends/flint/flint_synonym.lo backends/flint/flint_table.lo backends/flint/flint_termlist.lo backends/flint/flint_termlisttable.lo backends/flint/flint_values.lo backends/flint/flint_version.lo backends/inmemory/inmemory_alltermslist.lo backends/inmemory/inmemory_database.lo backends/inmemory/inmemory_document.lo backends/inmemory/inmemory_positionlist.lo backends/multi/multi_alltermslist.lo backends/multi/multi_postlist.lo backends/multi/multi_termlist.lo backends/multi/multi_valuelist.lo backends/remote/remote-document.lo backends/remote/net_postlist.lo backends/remote/net_termlist.lo backends/remote/remote-database.lo common/bitstream.lo common/closefrom.lo common/const_database_wrapper.lo common/debuglog.lo common/errno_to_string.lo common/fileutils.lo common/io_utils.lo common/msvc_dirent.lo common/msvc_posix_wrapper.lo common/replicate_utils.lo common/safe.lo common/serialise-double.lo common/socket_utils.lo common/str.lo common/stringutils.lo common/utils.lo expand/esetinternal.lo expand/expandweight.lo expand/ortermlist.lo languages/danish.lo languages/dutch.lo languages/english.lo languages/finnish.lo languages/french.lo languages/german2.lo languages/german.lo languages/hungarian.lo languages/italian.lo languages/kraaij_pohlmann.lo languages/lovins.lo languages/norwegian.lo languages/porter.lo languages/portuguese.lo languages/romanian.lo languages/russian.lo languages/spanish.lo languages/swedish.lo languages/turkish.lo languages/stem.lo languages/steminternal.lo matcher/remotesubmatch.lo matcher/andmaybepostlist.lo matcher/andnotpostlist.lo matcher/branchpostlist.lo matcher/collapser.lo matcher/exactphrasepostlist.lo matcher/externalpostlist.lo matcher/localsubmatch.lo matcher/mergepostlist.lo matcher/msetcmp.lo matcher/msetpostlist.lo matcher/multiandpostlist.lo matcher/multimatch.lo matcher/multixorpostlist.lo matcher/nearpostlist.lo matcher/orpostlist.lo matcher/phrasepostlist.lo matcher/queryoptimiser.lo matcher/selectpostlist.lo matcher/synonympostlist.lo matcher/valuegepostlist.lo matcher/valuerangepostlist.lo matcher/valuestreamdocument.lo net/length.lo net/progclient.lo net/remoteconnection.lo net/remoteserver.lo net/remotetcpclient.lo net/remotetcpserver.lo net/replicatetcpclient.lo net/replicatetcpserver.lo net/serialise.lo net/tcpclient.lo net/tcpserver.lo queryparser/cjk-tokenizer.lo queryparser/queryparser.lo queryparser/queryparser_internal.lo queryparser/termgenerator.lo queryparser/termgenerator_internal.lo unicode/unicode-data.lo unicode/utf8itor.lo weight/bm25weight.lo weight/boolweight.lo weight/tradweight.lo weight/weight.lo weight/weightinternal.lo -lz -luuid
libtool: error: 'api/compactor.lo' is not a valid libtool object make[2]: *** [Makefile:2130: libxapian.la] Fel 1 make[2]: Lämnar katalogen ”/home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/xapian-core-1.2.22” make[1]: *** [Makefile:3318: all-recursive] Fel 1 make[1]: Lämnar katalogen ”/home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/xapian-core-1.2.22” make: *** [Makefile:1505: all] Fel 2 rake aborted!

/home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/Rakefile:9:in system!' /home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/Rakefile:30:in block (2 levels) in <top (required)>' /home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/Rakefile:28:in chdir' /home/egil/.gem/ruby/2.3.0/gems/xapian-ruby-1.2.22/Rakefile:28:in block in <top (required)>' Tasks: TOP => default (See full trace by running task with --trace)

rake failed, exit code 1

I would happily provide more information if needed to debug this one as I would very much like to continue to use sup on arch.

pangoSE avatar Feb 09 '17 17:02 pangoSE

Full log http://chopapp.com/#yxq5z3i7 I analyzed it a little and found 204 lines with "./libtool: line 3254: -v: command not found" which does not look good to me. Seems like libtool was updated on my system recently and that might have broken xapian-ruby somehow.

pangoSE avatar Feb 09 '17 18:02 pangoSE

I found that during january xapian-core and gcc were updated and libtool rebuilt in arch. I dont know if this is related to the fact that the solution suggested above does not work for me. https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/libtool&id=735403ab444c5df86a2ab13084f00a3f06de4997 https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/gcc&id=24a7bf89790f94ca16ee126497d1462a2fe84096 https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xapian-core&id=f207fbc26f17c9b7b310831826d27254eedc3a8d

pangoSE avatar Feb 09 '17 21:02 pangoSE

@egils-verkstad did you try aur/ruby-xapian-ruby? I build it recently on an up to date Arch.

97-109-107 avatar Feb 10 '17 13:02 97-109-107

There are a lot of different issues described above but I think it's fair to say that none of them are directly caused by sup.

I'll also note that the combination of sup + Ruby 2.7 + xapian-bindings 1.14 works fine currently.

danc86 avatar Jun 14 '20 11:06 danc86