Project

General

Profile

Actions

Bug #2528

closed

readline bug

Added by doggou (lin fu) over 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
ruby 1.9.1p376 (2009-12-07 revision 26041) [powerpc-linux]
[ruby-core:27310]

Description

=begin
Loading development environment (Rails 2.3.5)
/tmp/ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/console.rb:45: warning: Insecure world writable dir /tmp/. in PATH, mode 041777
/tmp/ruby/lib/ruby/1.9.1/powerpc-linux/readline.so: [BUG] Segmentation fault
ruby 1.9.1p376 (2009-12-07 revision 26041) [powerpc-linux]

-- control frame ----------
c:0014 p:-67679794 s:0042 b:0042 l:000041 d:000041 TOP
c:0013 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC :require
c:0012 p:0011 s:0036 b:0036 l:000035 d:000035 TOP /tmp/ruby/lib/ruby/1.9.1/irb/completion.rb:9
c:0011 p:---- s:0034 b:0034 l:000033 d:000033 FINISH
c:0010 p:---- s:0032 b:0032 l:000031 d:000031 CFUNC :require
c:0009 p:0018 s:0028 b:0028 l:000019 d:000027 BLOCK /tmp/ruby/lib/ruby/1.9.1/irb/init.rb:264
c:0008 p:---- s:0025 b:0025 l:000024 d:000024 FINISH
c:0007 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC :each
c:0006 p:0015 s:0020 b:0020 l:000019 d:000019 METHOD /tmp/ruby/lib/ruby/1.9.1/irb/init.rb:262
c:0005 p:0083 s:0015 b:0015 l:000014 d:000014 METHOD /tmp/ruby/lib/ruby/1.9.1/irb/init.rb:20
c:0004 p:0047 s:0011 b:0011 l:000010 d:000010 METHOD /tmp/ruby/lib/ruby/1.9.1/irb.rb:53
c:0003 p:0039 s:0006 b:0006 l:00045c d:0020d4 EVAL /tmp/ruby/bin/irb:12
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00045c d:00045c TOP

-- Ruby level backtrace information-----------------------------------------
/tmp/ruby/lib/ruby/1.9.1/irb/completion.rb:9:in require' /tmp/ruby/lib/ruby/1.9.1/irb/completion.rb:9:in <top (required)>'
/tmp/ruby/lib/ruby/1.9.1/irb/init.rb:264:in require' /tmp/ruby/lib/ruby/1.9.1/irb/init.rb:264:in block in load_modules'
/tmp/ruby/lib/ruby/1.9.1/irb/init.rb:262:in each' /tmp/ruby/lib/ruby/1.9.1/irb/init.rb:262:in load_modules'
/tmp/ruby/lib/ruby/1.9.1/irb/init.rb:20:in setup' /tmp/ruby/lib/ruby/1.9.1/irb.rb:53:in start'
/tmp/ruby/bin/irb:12:in `'
=end

Actions #1

Updated by naruse (Yui NARUSE) over 14 years ago

=begin
Can you get gdb's backtrace, like following?

% gdb --args /tmp/ruby/bin/ruby -rreadline -e1
GNU gdb (GDB) 7.0
Copyright (C) 2009 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 "x86_64-unknown-freebsd8.0".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
/home/naruse/.gdbinit:6: Error in sourced command file:
Undefined item: "ask".
Reading symbols from /home/naruse/obj/ruby/ruby19...done.
(gdb) run
Starting program: /home/naruse/obj/ruby/ruby19 -rreadline -e1

=end

Actions #2

Updated by naruse (Yui NARUSE) over 14 years ago

  • Status changed from Open to Feedback

=begin

=end

Actions #3

Updated by naruse (Yui NARUSE) almost 14 years ago

  • Status changed from Feedback to Rejected

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0