Segmentation fault with turing gem on 64bit gentoo

M

Michael Moody

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
 
D

Dave Cornelius

Michael said:
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]
 
M

Michael Moody

Dave said:
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-talk/227097

Thanks,
Michael
 

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,781
Messages
2,569,619
Members
45,316
Latest member
naturesElixirCBDGummies

Latest Threads

Top