hammackj / risu

Risu is Nessus parser, that converts the generated reports into a ActiveRecord database, this allows for easy report generation and vulnerability verification.
http://hammackj.github.io/risu
MIT License
63 stars 20 forks source link

ssl-internal.rb:30: [BUG] Segmenta1tion fault #41

Closed mlpotgieter closed 12 years ago

mlpotgieter commented 12 years ago

Ok I eventually got Risu to create the config file and am not getting this error:

$ risu test-2011.nessus /opt/local/lib/ruby/1.8/openssl/ssl-internal.rb:30: [BUG] Segmentation fault ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin10]

Abort trap $

Google revealed that this problem could be related to compiling Ruby with old version of Xcode. Some suggestions say to not use the macports version of ruby. I eventually used macports to uninstall, ruby and rubygems then selfupdated ports and reinstalled with the same error.

What would be the suggested way to get risu working with mac os x 10.6.

hammackj commented 12 years ago

I had a segfault after upgrading to lion, a "gem update" solved it. Give that a try. If that doesn't work you might try updating to the latest xcode, and using RVM to install ruby. I recommend 1.9.2. Version 1.5 of risu will drop support for 1.8.x.

hammackj commented 12 years ago

If that didn't help please reopen the ticket.

mlpotgieter commented 12 years ago

It seems one can run Ruby 1.9 from ports. I uninstalled the ruby1.8 port and "sudo port install ruby19 +nosuffix" to install Ruby1.9 and all is working now.. thanks.

hammackj commented 12 years ago

You might try RVM works really well for managing ruby installs.