Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Segmentation fault with turing gem on 64bit gentoo
Michael Moody
9/28/2006 8:05:00 PM
I'm sorry if this is not the appropriate place to post this:
I am running 64bit gentoo with the truetype use flag used to build gd,
with the turing and gd2 gems installed on kernel
2.6.18, with ruby 1.8.4-r3.
When attempting to use turing from irb the following happens:
Output is posted below:
eric@mongrel2 /usr/lib/ruby/gems/1.8/gems/turing-0.0.9/lib $ irb
irb(main):001:0> require 'turing'
=> true
irb(main):002:0> tc = Turing::Challenge.new
=> #<Turing::Challenge:0x2b72842a9fd8 @store=#<PStore:0x2b72842a9588
@filename="/tmp/turing-challenges.pstore", @transaction=false,
@abort=false>, @ti=#<Turing::Image:0x2b72842a93d0
@options={:lifetime=>600, :width=>280,
:store=>"/tmp/turing-challenges.pstore", :height=>115,
:fontdir=>"./turing/../ ...
<..snip..>
irb(main):003:0> c = tc.generate_challenge
/usr/lib64/ruby/gems/1.8/gems/gd2-1.1.1/lib/gd2/font.rb:234: [BUG]
Segmentation fault
ruby 1.8.4 (2005-12-24) [x86_64-linux]
Thanks,
Michael
--
Posted via
http://www.ruby-...
.
3 Answers
Dave Cornelius
11/12/2007 2:40:00 PM
0
Michael Moody wrote:
> irb(main):003:0> c = tc.generate_challenge
> /usr/lib64/ruby/gems/1.8/gems/gd2-1.1.1/lib/gd2/font.rb:234: [BUG]
> Segmentation fault
> ruby 1.8.4 (2005-12-24) [x86_64-linux]
Was this issue ever resolved? I'm getting the same error 1 year later on
my Arch 64 VPS.
/usr/lib/ruby/gems/1.8/gems/gd2-1.1.1/lib/gd2/font.rb:234: [BUG]
Segmentation fa
ult
ruby 1.8.6 (2007-09-24) [x86_64-linux]
--
Posted via
http://www.ruby-...
.
Michael Moody
11/12/2007 3:38:00 PM
0
Dave Cornelius wrote:
> Was this issue ever resolved? I'm getting the same error 1 year later on
> my Arch 64 VPS.
>
> /usr/lib/ruby/gems/1.8/gems/gd2-1.1.1/lib/gd2/font.rb:234: [BUG]
> Segmentation fa
> ult
> ruby 1.8.6 (2007-09-24) [x86_64-linux]
I've had quite a few people ask over the last year(apparently, this gets
high results on google). Yes we did solved it (for a while, I didn't
remember how). The solution was a patch. Although we originally patched
the software ourselves, someone else has also done so.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...
Thanks,
Michael
--
Posted via
http://www.ruby-...
.
Dave Cornelius
11/13/2007 3:09:00 PM
0
> I've had quite a few people ask over the last year(apparently, this gets
> high results on google). Yes we did solved it (for a while, I didn't
> remember how). The solution was a patch. Although we originally patched
> the software ourselves, someone else has also done so.
>
>
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...
>
> Thanks,
> Michael
The patch did the trick! Thanks so much for the quick response.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Segmentation fault with turing gem on 64bit gentoo
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password