RubyGems 0.8.8 not working on Suse 9.2 x64

G

Glenn Smith

I've installed SUSE 9.2 on my home pc, the 64-bit version.

I've downloaded, compiled and installed ruby (stable 1.8.2). Seems OK.
Install gems 0.8.8, but this happens when I try to use it:


gsmith@linux:~> gem update --backtrace
Upgrading installed gems...
/usr/local/lib/ruby/1.8/date/format.rb:433: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [x86_64-linux]

Aborted



Any ideas? If you need me to provide extra info, let me know.

Ta muchly
 
C

Chad Fowler

I've installed SUSE 9.2 on my home pc, the 64-bit version.

I've downloaded, compiled and installed ruby (stable 1.8.2). Seems OK.
Install gems 0.8.8, but this happens when I try to use it:

gsmith@linux:~> gem update --backtrace
Upgrading installed gems...
/usr/local/lib/ruby/1.8/date/format.rb:433: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [x86_64-linux]

It looks like there is a bug in Date.parse, but I'm not able to
reproduce it. Glenn, would this reproduce the segfault?

require 'date'
Date.parse '2004-10-18'




--

Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 100,000 gems served!)
 
G

Glenn Smith

Chad

No, running that through Ruby works fine for me.

Glenn


I've installed SUSE 9.2 on my home pc, the 64-bit version.

I've downloaded, compiled and installed ruby (stable 1.8.2). Seems OK.
Install gems 0.8.8, but this happens when I try to use it:

gsmith@linux:~> gem update --backtrace
Upgrading installed gems...
/usr/local/lib/ruby/1.8/date/format.rb:433: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [x86_64-linux]

It looks like there is a bug in Date.parse, but I'm not able to
reproduce it. Glenn, would this reproduce the segfault?

require 'date'
Date.parse '2004-10-18'

--

Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 100,000 gems served!)
 
G

Glenn Smith

Don't think this is a "date" issue, more a general memory problem (in ruby?).
I added a simple line PUTS "test" at line 648 of
usr/local/lib/ruby/1.8/date.rb to check that this was the file at
fault, and when I ran "gem update" again it changed to:

/usr/local/lib/ruby/1.8/date/format.rb:327: [BUG] Segmentation fault

(I guess format.rb is called when I call PUTS?).

I installed ruby on my system by downloading the ruby 1.8.2 stable
source, and installed (as root) using the usual ./configure; make;
make install, I'm guessing that's right?






Chad

No, running that through Ruby works fine for me.

Glenn


I've installed SUSE 9.2 on my home pc, the 64-bit version.

I've downloaded, compiled and installed ruby (stable 1.8.2). Seems OK.
Install gems 0.8.8, but this happens when I try to use it:

gsmith@linux:~> gem update --backtrace
Upgrading installed gems...
/usr/local/lib/ruby/1.8/date/format.rb:433: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [x86_64-linux]

It looks like there is a bug in Date.parse, but I'm not able to
reproduce it. Glenn, would this reproduce the segfault?

require 'date'
Date.parse '2004-10-18'

--

Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 100,000 gems served!)

--

All the best
Glenn
Aylesbury, UK
 
G

Glenn Smith

FIXED! :eek:)

I just recompiled my Linux Kernel (upgraded to the most recent
2.6.11.6), then recompiled/reinstalled RUBY.

Then installed RUBYGEMS

And GEMS works! I'm downloading RAILS as we speak!!

Obviously something a bit screwy with SUSE's standard 64-bit kernel, a
recompile/tune with the latest version has fixed Ruby/Gems, and also
made my machine run a *lot* quicker!!

Glenn


Don't think this is a "date" issue, more a general memory problem (in ruby?).
I added a simple line PUTS "test" at line 648 of
usr/local/lib/ruby/1.8/date.rb to check that this was the file at
fault, and when I ran "gem update" again it changed to:

/usr/local/lib/ruby/1.8/date/format.rb:327: [BUG] Segmentation fault

(I guess format.rb is called when I call PUTS?).

I installed ruby on my system by downloading the ruby 1.8.2 stable
source, and installed (as root) using the usual ./configure; make;
make install, I'm guessing that's right?


Chad

No, running that through Ruby works fine for me.

Glenn


I've installed SUSE 9.2 on my home pc, the 64-bit version.

I've downloaded, compiled and installed ruby (stable 1.8.2). Seems OK.
Install gems 0.8.8, but this happens when I try to use it:

gsmith@linux:~> gem update --backtrace
Upgrading installed gems...
/usr/local/lib/ruby/1.8/date/format.rb:433: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [x86_64-linux]



It looks like there is a bug in Date.parse, but I'm not able to
reproduce it. Glenn, would this reproduce the segfault?

require 'date'
Date.parse '2004-10-18'

--

Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 100,000 gems served!)

--

All the best
Glenn
Aylesbury, UK

--

All the best
Glenn
Aylesbury, UK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,267
Latest member
WaylonCogb

Latest Threads

Top