[DRE-maint] Bug#1024652: ruby3.0: Segmentation fault from irb when performing a simple multiplication
Gunnar Wolf
gwolf at debian.org
Wed Dec 7 15:36:26 GMT 2022
Bernhard Übelacker dijo [Wed, Dec 07, 2022 at 03:14:40PM +0100]:
> Dear Gunnar,
> I tried to collect some more information for the Maintainer.
Thanks!
> First I need to create a .irbrc with the USE_SINGLELINE
> set to true, to reach any function in libedit/readline.
>
> Next I tried to reach the address given in _IO_new_file_overflow,
> but was not able to. This might be related to some EOF handling
> or some customer buffer settings.
OK...?
> Therfore, maybe you could have a look at your .irbrc
> if there is any setting that sounds related.
>
> (And just to be on the safe side, maybe you could do a memory test
> to exclude a hardware failure.)
OK -- I cannot say I'll do a memtest right now, as this is a
productive machine, but will do it soon-ish ☺
I have the following in my .irbrc:
IRB.conf[:AUTO_INDENT] = true
IRB.conf[:USE_READLINE] = true
IRB.conf[:SAVE_HISTORY] = 5000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"
IRB.conf[:PROMPT_MODE] = :SIMPLE
require 'irb/completion'
require 'irb/ext/save-history'
require 'pp'
# load rubygems and wirble
require 'rubygems' rescue nil
require 'wirble'
# load wirble
Wirble.init
Wirble.colorize
Thanks a lot for looking into this -- I haven't seen any other
instance of this issue, nor any other strange behavior, from this
computer so far.
More information about the Pkg-ruby-extras-maintainers
mailing list