Project

General

Profile

Bug #17652 » crash.log

peterzhu2118 (Peter Zhu), 02/23/2021 09:34 PM

 
ubuntu@ip-172-31-28-115:~/src/ruby-master/build$ ./ruby ../test.rb
<internal:gc>:34: [BUG] Couldn't protect page 0x000055cd00538000
ruby 3.1.0dev (2021-02-18T08:04:59Z master 07ab172ebe) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0003 p:0010 s:0020 e:000015 METHOD <internal:gc>:34
c:0002 p:0067 s:0008 E:0019f0 EVAL ../test.rb:10 [FINISH]
c:0001 p:0000 s:0003 E:0011a0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
../test.rb:10:in `<main>'
<internal:gc>:34:in `start'

-- C level backtrace information -------------------------------------------
mmap: Cannot allocate memory
/home/ubuntu/src/ruby-master/build/../install/lib/libruby.so.3.1(0x7fe69158816b) [0x7fe69158816b]
[0x7fe691391207]
[0x7fe6912f6d31]
[0x7fe6912f7554]
[0x7fe6913b55bb]
[0x7fe6913ba748]
[0x7fe6913bbd3f]
[0x7fe69156f869]
[0x7fe6915729d4]
[0x7fe691395f0d]
[0x7fe69139beaa]
/home/ubuntu/src/ruby-master/build/ruby(main+0x73) [0x55ccd3fe11d3] ../main.c:47

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

* Loaded script: ../test.rb

* Loaded features:

0 enumerator.so
1 thread.rb
2 fiber.so
3 rational.so
4 complex.so
5 ruby2_keywords.rb
6 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/x86_64-linux/enc/encdb.so
7 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/x86_64-linux/enc/trans/transdb.so
8 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/x86_64-linux/rbconfig.rb
9 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/compatibility.rb
10 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/defaults.rb
11 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/deprecate.rb
12 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/errors.rb
13 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/unknown_command_spell_checker.rb
14 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/exceptions.rb
15 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/basic_specification.rb
16 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/stub_specification.rb
17 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/text.rb
18 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/user_interaction.rb
19 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/specification_policy.rb
20 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/util/list.rb
21 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/platform.rb
22 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/version.rb
23 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/requirement.rb
24 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/specification.rb
25 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/util.rb
26 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/dependency.rb
27 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/core_ext/kernel_gem.rb
28 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/x86_64-linux/monitor.so
29 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/monitor.rb
30 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb
31 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/core_ext/kernel_warn.rb
32 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems.rb
33 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/rubygems/path_support.rb
34 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/version.rb
35 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/core_ext/name_error.rb
36 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/levenshtein.rb
37 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/jaro_winkler.rb
38 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checker.rb
39 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
40 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
41 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/name_error_checkers.rb
42 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/method_name_checker.rb
43 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/key_error_checker.rb
44 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/null_checker.rb
45 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/tree_spell_checker.rb
46 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/spell_checkers/require_path_checker.rb
47 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean/formatters/plain_formatter.rb
48 /home/ubuntu/src/ruby-master/install/lib/ruby/3.1.0/did_you_mean.rb

* Process memory map:

55ccd3fe0000-55ccd3fe1000 r--p 00000000 103:01 287479 /home/ubuntu/src/ruby-master/build/ruby
55ccd3fe1000-55ccd3fe2000 r-xp 00001000 103:01 287479 /home/ubuntu/src/ruby-master/build/ruby
55ccd3fe2000-55ccd3fe3000 r--p 00002000 103:01 287479 /home/ubuntu/src/ruby-master/build/ruby
55ccd3fe3000-55ccd3fe4000 r--p 00002000 103:01 287479 /home/ubuntu/src/ruby-master/build/ruby
55ccd3fe4000-55ccd3fe5000 rw-p 00003000 103:01 287479 /home/ubuntu/src/ruby-master/build/ruby
55ccd4105000-55ccf6f54000 rw-p 00000000 00:00 0 [heap]
55ccf6f54000-55ccf6f58000 ---p 00000000 00:00 0 [heap]
55ccf6f58000-55ccf6f5c000 rw-p 00000000 00:00 0 [heap]
55ccf6f5c000-55ccf6f60000 ---p 00000000 00:00 0 [heap]
55ccf6f60000-55ccf6f64000 rw-p 00000000 00:00 0 [heap]
55ccf6f64000-55ccf6f68000 ---p 00000000 00:00 0 [heap]
55ccf6f68000-55ccf6f6c000 rw-p 00000000 00:00 0 [heap]
55ccf6f6c000-55ccf6f70000 ---p 00000000 00:00 0 [heap]
55ccf6f70000-55ccf6f74000 rw-p 00000000 00:00 0 [heap]
(1-1/2)