Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Thread(0x100190360): deadlock (fatal)

#12

I get this error when I try to crawl URLs from a site. What can cause this? I'm running ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10] on Mac OS X 10.6.1 with Anemone 0.2.2 The entire stack trace is like so:

I'm digging deeper, but any pointers will be much appreciated!


deadlock 0x101a84a38: sleep:-  - /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/tentacle.rb:21
deadlock 0x101a84bf0: sleep:-  - /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/tentacle.rb:21
deadlock 0x101a84da8: sleep:-  - /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/tentacle.rb:21
deadlock 0x100190360: sleep:- (main) - /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:114

/opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:114:in `deq': Thread(0x100190360): deadlock (fatal)
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:114:in `run'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:113:in `loop'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:113:in `run'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:40:in `crawl'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:31:in `initialize'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:38:in `new'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/core.rb:38:in `crawl'
    from /opt/local/lib/ruby/gems/1.8/gems/anemone-0.2.2/lib/anemone/anemone.rb:52:in `crawl'
    from ./lib/country_spider.rb:9:in `crawl_country'

Reported by Arun Thampi · October 30th, 2009 @ 04:20 AM

State: resolved
Milestone: none
Assigned to: chris (at chriskite) chris (at chriskite)

Activity

  1. hayato
    hayato

    I have a similar experience of this ticket.

    Throwing exception from my code in result.

    Please add following flag to your code and retry.
    If error in your code, Ruby will throw stacktrace more easy to fix.

    Thread.abort_on_exception = true
    <<

    October 30th, 2009 @ 11:31 PM

  2. chris (at chriskite)
    chris (at chriskite)
    • State changed from new to resolved
    • Assigned user set to chris (at chriskite)

    0.2.3 includes a bugfix for this issue. Give it a try, feel free to reopen the ticket if you are still experiencing issues.

    November 2nd, 2009 @ 11:47 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.