[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35284] [Ruby 1.8-Bug#4406][Open] Segmentation Fault

From: Karuna Murti <redmine@...>
Date: 2011-02-17 12:37:23 UTC
List: ruby-core #35284
Bug #4406: Segmentation Fault
http://redmine.ruby-lang.org/issues/show/4406

Author: Karuna Murti
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]

segmentation fault when running various rake tasks

ruby version:
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]

compiler version:
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) 

RubyGems Environment:
  - RUBYGEMS VERSION: 1.5.2
  - RUBY VERSION: 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /home/buddyuser/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

gem list:
rake 0.8.7

how to reproduce:
rake

stack trace:
$ gdb ruby
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run /usr/bin/rake -v
Starting program: /usr/bin/ruby /usr/bin/rake -v
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f52940 (LWP 11685)]
/usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"  
/usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"  
Errors running test:units!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7f52940 (LWP 11685)]
0x009c9974 in ?? () from /lib/libselinux.so.1

(gdb) bt full
#0  0x009c9974 in ?? () from /lib/libselinux.so.1
No symbol table info available.
#1  0x009c2b8e in ?? () from /lib/libselinux.so.1
No symbol table info available.
#2  0x009bb1d8 in ?? () from /lib/libselinux.so.1
No symbol table info available.
#3  0x009cb350 in _fini () from /lib/libselinux.so.1
No symbol table info available.
#4  0x005a49b3 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#5  0x00185a39 in exit () from /lib/libc.so.6
No symbol table info available.
#6  0x08068a39 in ruby_stop (ex=6) at eval.c:1665
No locals.
#7  0x0806d811 in ruby_run () at eval.c:1686
	state = <value optimized out>
	ex = 6
#8  0x080552bf in main (argc=2, argv=0x0, envp=0xb7f52900) at main.c:48
	variable_in_this_stack_frame = 3216109912


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next