|
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:0003 p:---- s:0011 e:000010 CFUNC :encode!
|
|
c:0002 p:0019 s:0006 e:000005 EVAL bug.rb:1 [FINISH]
|
|
c:0001 p:0000 s:0003 E:0026d0 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
bug.rb:1:in `<main>'
|
|
bug.rb:1:in `encode!'
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(rb_vm_bugreport+0xcf9) [0x555db9340819] vm_dump.c:679
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(rb_assert_failure+0x72) [0x555db9334852] error.c:490
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(rb_str_change_terminator_length+0x1cd) [0x555db924961d] string.c:2061
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(rb_enc_associate+0x26b) [0x555db93211db] encoding.c:847
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(str_shared_replace+0x157) [0x555db9241197] string.c:1311
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(str_encode_bang+0x64) [0x555db9285974] transcode.c:2813
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(vm_call_cfunc+0xe7) [0x555db929c417] vm_insnhelper.c:1752
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(vm_call_method+0xe3) [0x555db92a9ea3] vm_insnhelper.c:2291
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(vm_exec_core+0x1679) [0x555db92a3059] insns.def:1066
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(vm_exec+0x8a) [0x555db92a84da] vm.c:1712
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(ruby_exec_internal+0xad) [0x555db91402dd] eval.c:244
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(ruby_run_node+0x2f) [0x555db9143b0f] eval.c:308
|
|
/home/buehmann/.rbenv/versions/2.4.0/bin/ruby(main+0x4b) [0x555db914000b] encoding.c:164
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: bug.rb
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
|
|
5 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
|
|
6 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/unicode_normalize.rb
|
|
7 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/rbconfig.rb
|
|
8 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/compatibility.rb
|
|
9 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/defaults.rb
|
|
10 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/deprecate.rb
|
|
11 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/errors.rb
|
|
12 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/version.rb
|
|
13 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/requirement.rb
|
|
14 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/platform.rb
|
|
15 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/basic_specification.rb
|
|
16 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/stub_specification.rb
|
|
17 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/util/list.rb
|
|
18 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/stringio.so
|
|
19 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/specification.rb
|
|
20 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/exceptions.rb
|
|
21 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/dependency.rb
|
|
22 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
|
|
23 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/monitor.rb
|
|
24 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
|
|
25 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems.rb
|
|
26 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/path_support.rb
|
|
27 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/version.rb
|
|
28 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/core_ext/name_error.rb
|
|
29 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/levenshtein.rb
|
|
30 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/jaro_winkler.rb
|
|
31 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checker.rb
|
|
32 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/delegate.rb
|
|
33 /home/buehmann/.rbenv/versions/2.4.0/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 /home/buehmann/.rbenv/versions/2.4.0/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 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
|
|
36 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
|
|
37 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/null_checker.rb
|
|
38 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/formatter.rb
|
|
39 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean.rb
|
|
40 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
|
|
41 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
|
|
|
|
* Process memory map:
|
|
|
|
555db911c000-555db9417000 r-xp 00000000 08:12 6700205 /home/buehmann/.rbenv/versions/2.4.0/bin/ruby
|
|
555db9617000-555db961d000 r--p 002fb000 08:12 6700205 /home/buehmann/.rbenv/versions/2.4.0/bin/ruby
|
|
555db961d000-555db961e000 rw-p 00301000 08:12 6700205 /home/buehmann/.rbenv/versions/2.4.0/bin/ruby
|
|
555db961e000-555db962e000 rw-p 00000000 00:00 0
|
|
555dba830000-555dbabe4000 rw-p 00000000 00:00 0 [heap]
|
|
7fb0cc9e4000-7fb0ccbaa000 r--s 00000000 08:12 5516025 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fb0ccbaa000-7fb0cdb2b000 r--s 00000000 08:12 6700205 /home/buehmann/.rbenv/versions/2.4.0/bin/ruby
|
|
7fb0cdb2b000-7fb0cdb41000 r-xp 00000000 08:12 5509391 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fb0cdb41000-7fb0cdd40000 ---p 00016000 08:12 5509391 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fb0cdd40000-7fb0cdd41000 r--p 00015000 08:12 5509391 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fb0cdd41000-7fb0cdd42000 rw-p 00016000 08:12 5509391 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fb0cdd42000-7fb0cdd45000 r-xp 00000000 08:12 6958404 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
|
|
7fb0cdd45000-7fb0cdf45000 ---p 00003000 08:12 6958404 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
|
|
7fb0cdf45000-7fb0cdf46000 r--p 00003000 08:12 6958404 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
|
|
7fb0cdf46000-7fb0cdf47000 rw-p 00004000 08:12 6958404 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/utf_16_32.so
|
|
7fb0cdf47000-7fb0cdf48000 r-xp 00000000 08:12 6701153 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
|
|
7fb0cdf48000-7fb0ce148000 ---p 00001000 08:12 6701153 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
|
|
7fb0ce148000-7fb0ce149000 r--p 00001000 08:12 6701153 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
|
|
7fb0ce149000-7fb0ce14a000 rw-p 00002000 08:12 6701153 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/utf_16be.so
|
|
7fb0ce14a000-7fb0ce152000 r-xp 00000000 08:12 6701170 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/stringio.so
|
|
7fb0ce152000-7fb0ce352000 ---p 00008000 08:12 6701170 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/stringio.so
|
|
7fb0ce352000-7fb0ce353000 r--p 00008000 08:12 6701170 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/stringio.so
|
|
7fb0ce353000-7fb0ce354000 rw-p 00009000 08:12 6701170 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/stringio.so
|
|
7fb0ce354000-7fb0ce356000 r-xp 00000000 08:12 6958406 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
|
|
7fb0ce356000-7fb0ce556000 ---p 00002000 08:12 6958406 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
|
|
7fb0ce556000-7fb0ce557000 r--p 00002000 08:12 6958406 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
|
|
7fb0ce557000-7fb0ce558000 rw-p 00003000 08:12 6958406 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/trans/transdb.so
|
|
7fb0ce558000-7fb0ce55a000 r-xp 00000000 08:12 6701158 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
|
|
7fb0ce55a000-7fb0ce759000 ---p 00002000 08:12 6701158 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
|
|
7fb0ce759000-7fb0ce75a000 r--p 00001000 08:12 6701158 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
|
|
7fb0ce75a000-7fb0ce75b000 rw-p 00002000 08:12 6701158 /home/buehmann/.rbenv/versions/2.4.0/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
|
|
7fb0ce75b000-7fb0cebb9000 r--p 00000000 08:12 1971431 /usr/lib/locale/locale-archive
|
|
7fb0cebb9000-7fb0ced76000 r-xp 00000000 08:12 5516025 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fb0ced76000-7fb0cef76000 ---p 001bd000 08:12 5516025 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fb0cef76000-7fb0cef7a000 r--p 001bd000 08:12 5516025 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fb0cef7a000-7fb0cef7c000 rw-p 001c1000 08:12 5516025 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fb0cef7c000-7fb0cef80000 rw-p 00000000 00:00 0
|
|
7fb0cef80000-7fb0cf088000 r-xp 00000000 08:12 5516029 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fb0cf088000-7fb0cf287000 ---p 00108000 08:12 5516029 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fb0cf287000-7fb0cf288000 r--p 00107000 08:12 5516029 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fb0cf288000-7fb0cf289000 rw-p 00108000 08:12 5516029 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fb0cf289000-7fb0cf292000 r-xp 00000000 08:12 5516027 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fb0cf292000-7fb0cf491000 ---p 00009000 08:12 5516027 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fb0cf491000-7fb0cf492000 r--p 00008000 08:12 5516027 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fb0cf492000-7fb0cf493000 rw-p 00009000 08:12 5516027 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fb0cf493000-7fb0cf4c1000 rw-p 00000000 00:00 0
|
|
7fb0cf4c1000-7fb0cf4c4000 r-xp 00000000 08:12 5516028 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fb0cf4c4000-7fb0cf6c3000 ---p 00003000 08:12 5516028 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fb0cf6c3000-7fb0cf6c4000 r--p 00002000 08:12 5516028 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fb0cf6c4000-7fb0cf6c5000 rw-p 00003000 08:12 5516028 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fb0cf6c5000-7fb0cf744000 r-xp 00000000 08:12 1967331 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.1
|
|
7fb0cf744000-7fb0cf943000 ---p 0007f000 08:12 1967331 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.1
|
|
7fb0cf943000-7fb0cf944000 r--p 0007e000 08:12 1967331 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.1
|
|
7fb0cf944000-7fb0cf945000 rw-p 0007f000 08:12 1967331 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.1
|
|
7fb0cf945000-7fb0cf95d000 r-xp 00000000 08:12 5516040 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fb0cf95d000-7fb0cfb5d000 ---p 00018000 08:12 5516040 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fb0cfb5d000-7fb0cfb5e000 r--p 00018000 08:12 5516040 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fb0cfb5e000-7fb0cfb5f000 rw-p 00019000 08:12 5516040 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fb0cfb5f000-7fb0cfb63000 rw-p 00000000 00:00 0
|
|
7fb0cfb63000-7fb0cfb88000 r-xp 00000000 08:12 5507633 /lib/x86_64-linux-gnu/ld-2.24.so
|
|
7fb0cfc27000-7fb0cfd5d000 rw-p 00000000 00:00 0
|
|
7fb0cfd80000-7fb0cfd81000 ---p 00000000 00:00 0
|
|
7fb0cfd81000-7fb0cfd87000 rw-p 00000000 00:00 0
|
|
7fb0cfd87000-7fb0cfd88000 r--p 00024000 08:12 5507633 /lib/x86_64-linux-gnu/ld-2.24.so
|
|
7fb0cfd88000-7fb0cfd89000 rw-p 00025000 08:12 5507633 /lib/x86_64-linux-gnu/ld-2.24.so
|
|
7fb0cfd89000-7fb0cfd8a000 rw-p 00000000 00:00 0
|
|
7ffc55731000-7ffc55f30000 rw-p 00000000 00:00 0 [stack]
|
|
7ffc55fa9000-7ffc55fab000 r--p 00000000 00:00 0 [vvar]
|
|
7ffc55fab000-7ffc55fad000 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
|
|
|