Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Fleximage on Ruby 1.9, got error #7

Open
jaycode opened this issue Apr 10, 2010 · 3 comments
Open

Running Fleximage on Ruby 1.9, got error #7

jaycode opened this issue Apr 10, 2010 · 3 comments

Comments

@jaycode
Copy link

jaycode commented Apr 10, 2010

The error was something like:

-- C level backtrace information -------------------------------------------
0x10010cd8d 0 libruby.dylib 0x000000010010cd8d rb_vm_bugreport + 77
0x10002b184 1 libruby.dylib 0x000000010002b184 report_bug + 260
0x10002b318 2 libruby.dylib 0x000000010002b318 rb_bug + 200
0x1000b7124 3 libruby.dylib 0x00000001000b7124 sigsegv + 132
0x7fff8151514a 4 libSystem.B.dylib 0x00007fff8151514a _sigtramp + 26
0x5 5 ??? 0x0000000000000005 0x0 + 5
0x103abcaf5 6 libMagickCore.2.dylib 0x0000000103abcaf5 AcquirePixelCache + 309
0x103b664e6 7 libMagickCore.2.dylib 0x0000000103b664e6 AcquireImage + 358
0x103b66fc2 8 libMagickCore.2.dylib 0x0000000103b66fc2 SetImageInfo + 466
0x103ae5ccd 9 libMagickCore.2.dylib 0x0000000103ae5ccd ReadImage + 173
0x101f957ff 10 RMagick2.bundle 0x0000000101f957ff rd_image + 339
0x101f9566f 11 RMagick2.bundle 0x0000000101f9566f Image_read + 36

Any idea what could be wrong? I am using RVM (Ruby Version Manager http://rvm.beginrescueend.com/) and the one on Ruby version 1.8.7 works nicely.

Thanks for such awesome gem!

@jaycode
Copy link
Author

jaycode commented Apr 22, 2010

The topmost of the error was:
/usr/local/lib/ruby/gems/1.9.1/gems/fleximage-1.0.4/lib/fleximage/model.rb:340: [BUG] Segmentation fault
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.0.0]

-- control frame ----------
c:0060 p:---- s:0295 b:0295 l:000294 d:000294 CFUNC :read
c:0059 p:0060 s:0291 b:0291 l:000290 d:000290 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/fleximage-1.0.4/lib/fleximage/model.rb:340
c:0058 p:0084 s:0285 b:0285 l:000275 d:000284 BLOCK /usr/local/

Want to get reputation for answering this? see http://stackoverflow.com/questions/2690035/fleximage-gem-on-ruby-1-9

@AlexJWayne
Copy link
Owner

I have no idea what this is, but would gladly accept a patch :)

@MadsBuus
Copy link

I have the same issue. Latest gi pull moves the error to model.rb: line 514, which doesn't make much sense.
$ ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10]

It might have something to do with 'file_path', and imagemagick/rmagick.

Check this post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants