ruby-tesseract-ocr icon indicating copy to clipboard operation
ruby-tesseract-ocr copied to clipboard

Segfault for any image

Open Ndshah82 opened this issue 9 years ago • 0 comments

Getting segfaults for any image I try to OCR. Trying to run words_for. Any insight on this:

/Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/api/iterator.rb:73: [BUG] Segmentation fault at 0x00000000000008 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]

-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details.

-- Control frame information ----------------------------------------------- c:0088 p:---- s:0445 e:000444 CFUNC :orientation c:0087 p:---- s:0443 e:000442 IFUNC c:0086 p:0018 s:0441 e:000440 METHOD /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/api/iterator.rb:73 c:0085 p:0016 s:0438 e:000436 METHOD /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine/iterator.rb:67 c:0084 p:0026 s:0434 e:000430 LAMBDA /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/call-me-0.0.2.3/lib/call-me/memoize.rb:44 [FINISH] c:0083 p:0020 s:0429 e:000428 BLOCK /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine/iterator.rb:147 [FINISH] c:0082 p:---- s:0426 e:000425 CFUNC :each c:0081 p:0010 s:0423 e:000422 BLOCK /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine/iterator.rb:145 [FINISH] c:0080 p:---- s:0420 e:000419 IFUNC c:0079 p:---- s:0418 e:000417 CFUNC :call c:0078 p:0061 s:0414 e:000413 LAMBDA /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine/iterator.rb:139 [FINISH] c:0077 p:---- s:0411 e:000410 CFUNC :each c:0076 p:---- s:0409 E:000d78 CFUNC :map c:0075 p:0016 s:0406 E:000ad0 LAMBDA /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine/iterator.rb:144 [FINISH] c:0074 p:0016 s:0404 e:000403 LAMBDA /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine.rb:219 [FINISH] c:0073 p:0055 s:0402 e:000401 LAMBDA /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/engine.rb:229 [FINISH] ...

Ndshah82 avatar Feb 03 '16 20:02 Ndshah82