This forum is no longer active. Please post your questions to our new community site

[BUG] Bus Error / [BUG] Segmentation fault

Subscribe to [BUG] Bus Error / [BUG] Segmentation fault 3 post(s), 2 voice(s)

Avatar ppe 2 post(s)

There seem to be many bug reports here about using the rubystack with osx snow leopard. My bitnami redmine system works fine, but ruby crashes when sending email. Running the redmine test suite shows that the problem is the binaries:
alpha:redmine redmine$ rake test:coverage(in /Applications/redmine-0.9.3-0/apps/redmine)
rm -f coverage
rm -f
Loaded suite /Applications/redmine-0.9.3-0/ruby/bin/rcov

Finished in 0.000246 seconds.

0 tests, 0 assertions, 0 failures, 0 errors
/Applications/redmine-0.9.3-0/ruby/lib/ruby/gems/1.8/gems/rcov- [BUG] Segmentation fault
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin8.10.2], MBARI 0×8770, Ruby Enterprise Edition 2010.01

Maybe the problem is the non-existing libruby.dylib?

alpha:redmine redmine$ otool -L /Applications/redmine-0.9.3-0/ruby/bin/.ruby.bin
@rpath/libsystem_allocator.dylib (compatibility version 0.0.0, current version 0.0.0)
/bitnami/rubystack-osx-x86/output/ruby/lib/libruby.dylib (compatibility version 1.8.0, current version 1.8.7)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.5)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

I’ve read in the forum that you’re about to release a new stack which fixes those problems.

Avatar Beltrán Rueda Administrator 3,714 post(s)

Right, we just released a new RubyStack version (2.1-0) which fixes this issue. Enjoy!

Avatar ppe 2 post(s)

Yes, it fixed my problem with email (and hopefully subversion).
Thanks Beltran!