Nokogiri libxml2

derek's Avatar

derek

22 Feb, 2013 12:41 AM

WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 20900.0.0
Arachni - Web Application Security Scanner Framework v0.4.1.3
   Author: Tasos "Zapotek" Laskos <[email blocked]>

           (With the support of the community and the Arachni Team.)

   Website:       http://arachni-scanner.com
   Documentation: http://arachni-scanner.com/wiki


 [~] No modules were specified.
 [~]  -> Will run all mods.

 [~] No audit options were specified.
 [~]  -> Will audit links, forms and cookies.

 [-] Missing url argument.
/usr/local/rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper: [BUG] Segmentation fault
ruby 1.9.3p385 (2013-02-06 revision 39114) [i686-linux]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 b:0002 l:0025e4 d:0025e4 TOP   


-- C level backtrace information -------------------------------------------
Segmentation fault

anyone know how to stop this error

  1. Support Staff 1 Posted by Tasos Laskos on 22 Feb, 2013 02:03 AM

    Tasos Laskos's Avatar

    Are you sure this is Nokogiri-related?
    Can you post the full error please?

    It's very strange that it's dying after the script finishes.

  2. 2 Posted by derek on 22 Feb, 2013 11:12 AM

    derek's Avatar

    Ive attached the error log

    Thanks for your responce

  3. 3 Posted by derek on 22 Feb, 2013 11:34 AM

    derek's Avatar

    is it because nokogiri uses libmxl2.0 that it gives this warning ? as im running the latest libxml

    20900.0.0 which version of libxml2 is that if i downgrade nokogiri will it get rid of this warning?

  4. Support Staff 4 Posted by Tasos Laskos on 22 Feb, 2013 02:49 PM

    Tasos Laskos's Avatar

    Hi, I was talking about the error in the console (the segfault) rather than the error log.
    The Arachni error simply says that you didn't provide a URL and is coincidental, doesn't have anything to do with the segfault -- not as far as I can tell anyway.

    As for the Nokogiri warning, I've seen incompatible versions cause problems before.
    In this case though, the versions seem to be the same (I imagine 20900.0.0 means 2.9.0), although I don't know why the version string was formatted this way.

    If you're not doing development may I suggest you use the nightly packages instead?
    They bundle their dependencies to avoid these sort of issues.

  5. 5 Posted by derek on 22 Feb, 2013 03:25 PM

    derek's Avatar

    /usr/local/rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper: [BUG] Segmentation fault ruby 1.9.3p385 (2013-02-06 revision 39114) [i686-linux]

    -- Control frame information ----------------------------------------------- c:0001 p:0000 s:0002 b:0002 l:0009d4 d:0009d4 TOP

    -- C level backtrace information ------------------------------------------- Segmentation fault

    the first post was the ouptut error !!!! ??
    I still get this error after the url and the scan is done .. im guessing the libxml2 error is to do with the 1.9.3 build
    ruby 1.9.3p385 (2013-02-06 revision 39114) [i686-linux]

    Yes I was woundering 2.9.0 and 20900.0.0 looks like the same version usual the output is >=2.7.3 etc etc so thats why im baffeled with this Ive tried removing ruby any all gems and then installing rvm and then install arachni again but keep getting segment issue

    Its bugging the hell out of excuse the pun !! ill try using the nightly builds

    Thanks

  6. Support Staff 6 Posted by Tasos Laskos on 22 Feb, 2013 03:28 PM

    Tasos Laskos's Avatar

    LOL, good one.

    Could also be related to http://support.arachni-scanner.com/discussions/questions/103-exclud....

    Anyhow, try your luck with the nightlies until we hear back from the Nokogiri devs and we'll go from there.

  7. Support Staff 7 Posted by Tasos Laskos on 06 Mar, 2013 02:30 AM

    Tasos Laskos's Avatar

    Hi, could you give it another try?
    Users are reporting that the issue has now been resolved in the experimental branch and the nightlies.

  8. 8 Posted by derek on 06 Mar, 2013 03:31 PM

    derek's Avatar

    DONE and DONE !!!

    Working Now !!!

    Thanks you really do a great job staying on top of things seriously Ive never seen any one like someone like you that knocks bugs and problems out of the ballpark like you do :)

    keep up the fantastic support

  9. Support Staff 9 Posted by Tasos Laskos on 06 Mar, 2013 03:34 PM

    Tasos Laskos's Avatar

    Great great, luckily the Nokogiri guys were very helpful too, it only took one e-mail and they had an RC out in a few hours. :)

    And thanks for the kind words, if anything else comes up you know where to ask.

    Cheers

  10. Tasos Laskos closed this discussion on 06 Mar, 2013 03:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac