Project

General

Profile

Backport #4406

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

=begin 
  
  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 
 
 =end 
 

Back