Skip to content

sighandler_crash after system update #13

Open
@rivella50

Description

@rivella50

Hi,
on quite an old OS X system (10.6.8) with Ruby 1.8.7 we had a system update last week.
After that search requests with Ferret don't work that well anymore.
After indexing searches get back id's with score of 1.0, where trying to access with that id leads to this error:

StandardError: Exiting on signal %s (%d) occured at <global.c>:423 in sighandler_crash
SIGSEGV
    from /Library/Ruby/Gems/1.8/gems/ferret-0.11.8.5/lib/ferret/index.rb:460:in `[]'
    from /Library/Ruby/Gems/1.8/gems/ferret-0.11.8.5/lib/ferret/index.rb:460:in `[]'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    from /Library/Ruby/Gems/1.8/gems/ferret-0.11.8.5/lib/ferret/index.rb:452:in `[]'

Other id's still work and deliver correct response.
We have reinstalled ferret 0.11.8.5 with no luck.
In our ruby code we rescue now these errors for still getting back a correct response, but we would still like to know how this problem could be solved.
Thank you!

EDIT: When i perform the search on my local machine with same index, ruby, etc. the same error happens but with this error message:

RangeError: integer 2190371140 too big to convert to `int'
    from /Users/valley/.rvm/gems/ruby-1.8.7-head@xy/gems/ferret-0.11.8.5/lib/ferret/index.rb:460:in `[]'
    from /Users/valley/.rvm/gems/ruby-1.8.7-head@xy/gems/ferret-0.11.8.5/lib/ferret/index.rb:460:in `[]'
    from /Users/valley/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    from /Users/valley/.rvm/gems/ruby-1.8.7-head@xy/gems/ferret-0.11.8.5/lib/ferret/index.rb:452:in `[]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions