Actions
Bug #17949
closed[SOLARIS11, SPARC, SEGFAULT] generating encdb.h
Description
The same latest Solaris 11 and ruby, next crash while compiling:
$ gmake
...
...
compiling time.c
compiling version.c
compiling vm.c
compiling vm_trace.c
compiling coroutine/ucontext/Context.c
compiling enc/trans/newline.c
linking miniruby
./revision.h unchanged
generating encdb.h
/export/home/cddr/ruby/lib/cgi/util.rb:61: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.1.0dev (2021-06-11) [sparc-solaris2.11]
-- Control frame information -----------------------------------------------
c:0008 p:---- s:0042 e:000041 CFUNC :require
c:0007 p:0031 s:0037 e:000036 CLASS /export/home/cddr/ruby/lib/cgi/util.rb:61
c:0006 p:0022 s:0034 e:000033 TOP /export/home/cddr/ruby/lib/cgi/util.rb:7 [FINISH]
c:0005 p:---- s:0031 e:000030 CFUNC :require
c:0004 p:0005 s:0026 e:000025 TOP /export/home/cddr/ruby/lib/erb.rb:15 [FINISH]
c:0003 p:---- s:0023 e:000022 CFUNC :require
c:0002 p:0005 s:0018 E:000e10 EVAL ./tool/generic_erb.rb:6 [FINISH]
c:0001 p:0000 s:0003 E:002700 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
./tool/generic_erb.rb:6:in `<main>'
./tool/generic_erb.rb:6:in `require'
/export/home/cddr/ruby/lib/erb.rb:15:in `<top (required)>'
/export/home/cddr/ruby/lib/erb.rb:15:in `require'
/export/home/cddr/ruby/lib/cgi/util.rb:7:in `<top (required)>'
/export/home/cddr/ruby/lib/cgi/util.rb:61:in `<module:Util>'
/export/home/cddr/ruby/lib/cgi/util.rb:61:in `require'
-- C level backtrace information -------------------------------------------
/export/home/cddr/ruby/miniruby'rb_vm_bugreport+0x154 [0x10045c97c]
/export/home/cddr/ruby/miniruby'rb_bug_for_fatal_signal+0x1a8 [0x1001c78b4]
/export/home/cddr/ruby/miniruby'sigsegv+0x58 [0x10037f6e0]
/lib/sparcv9/libc.so.1'__sighndlr+0xc [0xffffffff7f0dcdac]
/lib/sparcv9/libc.so.1'call_user_handler+0x354 [0xffffffff7f0cf79c]
/lib/sparcv9/libc.so.1'sigacthandler+0x54 [0xffffffff7f0cfaf4]
/export/home/cddr/ruby/miniruby'exc_setup_message+0x88 [0x1001db3cc]
/export/home/cddr/ruby/miniruby'rb_longjmp+0x2c [0x1001db32c]
/export/home/cddr/ruby/miniruby'rb_exc_exception+0xe8 [0x1001d7a48]
/export/home/cddr/ruby/miniruby'rb_exc_raise+0xc [0x1001d7958]
/export/home/cddr/ruby/miniruby'raise_loaderror+0x48 [0x1001cd67c]
/export/home/cddr/ruby/miniruby'rb_load_fail+0x40 [0x1001ce2c0]
/export/home/cddr/ruby/miniruby'load_failed+0x20 [0x10025343c]
/export/home/cddr/ruby/miniruby'rb_f_require+0x70 [0x1002538e0]
/export/home/cddr/ruby/miniruby'ractor_safe_call_cfunc_1+0x8 [0x100451da8]
/export/home/cddr/ruby/miniruby'vm_call_cfunc_with_frame+0x118 [0x10044f760]
/export/home/cddr/ruby/miniruby'vm_call_method_each_type+0x3f4 [0x100449218]
/export/home/cddr/ruby/miniruby'vm_call_method+0x230 [0x100448da4]
/export/home/cddr/ruby/miniruby'vm_call_general+0xc [0x100431fa8]
/export/home/cddr/ruby/miniruby'vm_sendish+0x938 [0x100446350]
/export/home/cddr/ruby/miniruby'vm_exec_core+0x4830 [0x1004211e0]
/export/home/cddr/ruby/miniruby'rb_vm_exec+0xc10 [0x10043fc40]
/export/home/cddr/ruby/miniruby'rb_iseq_eval+0x1b4 [0x10043fe80]
/export/home/cddr/ruby/miniruby'load_iseq_eval+0xdc [0x100255aa4]
/export/home/cddr/ruby/miniruby'require_internal+0x3d8 [0x1002546a0]
/export/home/cddr/ruby/miniruby'rb_f_require+0x34 [0x1002538a4]
/export/home/cddr/ruby/miniruby'ractor_safe_call_cfunc_1+0x8 [0x100451da8]
/export/home/cddr/ruby/miniruby'vm_call_cfunc_with_frame+0x118 [0x10044f760]
/export/home/cddr/ruby/miniruby'vm_sendish+0x938 [0x100446350]
/export/home/cddr/ruby/miniruby'vm_exec_core+0x4830 [0x1004211e0]
/export/home/cddr/ruby/miniruby'rb_vm_exec+0xc10 [0x10043fc40]
/export/home/cddr/ruby/miniruby'rb_iseq_eval+0x1b4 [0x10043fe80]
/export/home/cddr/ruby/miniruby'load_iseq_eval+0xdc [0x100255aa4]
/export/home/cddr/ruby/miniruby'require_internal+0x3d8 [0x1002546a0]
/export/home/cddr/ruby/miniruby'rb_f_require+0x34 [0x1002538a4]
/export/home/cddr/ruby/miniruby'ractor_safe_call_cfunc_1+0x8 [0x100451da8]
/export/home/cddr/ruby/miniruby'vm_call_cfunc_with_frame+0x118 [0x10044f760]
/export/home/cddr/ruby/miniruby'vm_call_method_each_type+0x3f4 [0x100449218]
/export/home/cddr/ruby/miniruby'vm_call_method+0x230 [0x100448da4]
/export/home/cddr/ruby/miniruby'vm_call_general+0xc [0x100431fa8]
/export/home/cddr/ruby/miniruby'vm_sendish+0x938 [0x100446350]
/export/home/cddr/ruby/miniruby'vm_exec_core+0x4830 [0x1004211e0]
/export/home/cddr/ruby/miniruby'rb_vm_exec+0xc10 [0x10043fc40]
/export/home/cddr/ruby/miniruby'rb_iseq_eval_main+0x278 [0x100440134]
/export/home/cddr/ruby/miniruby'rb_ec_exec_node+0x170 [0x1001d7340]
/export/home/cddr/ruby/miniruby'ruby_run_node+0x94 [0x1001d7168]
/export/home/cddr/ruby/miniruby'main+0x84 [0x1000f28f8]
/export/home/cddr/ruby/miniruby'_start+0x64 [0x1000f26a4]
-- Other runtime information -----------------------------------------------
* Loaded script: ./tool/generic_erb.rb
* Loaded features:
0 enumerator.so
1 thread.rb
2 fiber.so
3 rational.so
4 complex.so
5 ruby2_keywords.rb
gmake: *** [Makefile:1789: encdb.h] Abort (core dumped)
$
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0