#26 Duplicate of 1546972 to add files

open
nobody
None
5
2014-08-21
2009-11-01
J. Caldwell
No

gdb) set args sub.PFYB2U0256.tif hee
(gdb) run
Starting program: /usr/bin/tesseract sub.PFYB2U0256.tif hee
[Thread debugging using libthread_db enabled]
Tesseract Open Source OCR Engine

Program received signal SIGSEGV, Segmentation fault.
edge_char_of (dawg=0x7ffff7d89010, node=247836, character=45, word_end=0)
at dawg.cpp:63
63 if (edge_occupied (dawg, edge)) {
(gdb) bt
#0 edge_char_of (dawg=0x7ffff7d89010, node=247836, character=45, word_end=0)
at dawg.cpp:63
#1 0x00000000004a7ddd in def_letter_is_okay (dawg=<value optimized out>,
node=<value optimized out>, char_index=6, prevchar=<value optimized out>,
word=0x7fffffffd1b0 "-L00k--", word_end=<value optimized out>)
at dawg.cpp:174
#2 0x000000000049ea5e in append_next_choice (dawg=<value optimized out>,
node=247836, permuter=<value optimized out>,
word=0x7fffffffd1b0 "-L00k--", unichar_lengths=<value optimized out>,
unichar_offsets=<value optimized out>, choices=0x9af860, char_index=6,
this_choice=0x971200, prevchar=0x4eea42 "", limit=0x7fffffffd1ac,
rating=<value optimized out>, certainty=<value optimized out>,
rating_array=0x7fffffffcfa0, certainty_array=0x7fffffffd050,
word_ending=0, last_word=0, result=0x7fffffffcef8) at permdawg.cpp:208
#3 0x000000000049efed in dawg_permute (dawg=<value optimized out>,
node=<value optimized out>, permuter=<value optimized out>,
choices=0x9af860, char_index=6, limit=0x7fffffffd1ac,
word=0x7fffffffd1b0 "-L00k--",
unichar_lengths=0x7fffffffd580 "\1\1\1\1\1\1\1",
unichar_offsets=0x7fffffffd100, rating=<value optimized out>,
certainty=<value optimized out>, rating_array=0x7fffffffcfa0,
certainty_array=0x7fffffffd050, last_word=0) at permdawg.cpp:301
#4 0x000000000049f262 in dawg_permute_and_select (
---Type <return> to continue, or q <return> to quit---
string=<value optimized out>, dawg=<value optimized out>, permuter=45 '-',
character_choices=<value optimized out>, best_choice=0x967190,
system_words=<value optimized out>) at permdawg.cpp:361
#5 0x00000000004a06b8 in permute_words (char_choices=0x9af860,
rating_limit=<value optimized out>) at permute.cpp:1673
#6 0x00000000004a1f28 in permute_all (char_choices=0x9af860,
rating_limit=<value optimized out>, raw_choice=<value optimized out>)
at permute.cpp:1081
#7 0x00000000004a24f5 in permute_characters (char_choices=0x7ffff7d89010,
limit=0, best_choice=0x7fffffffd840, raw_choice=0x2d) at permute.cpp:1133
#8 0x000000000048259d in chop_word_main (word=0x9a8440, fx=1,
best_choice=0x7fffffffd840, raw_choice=0x7fffffffd810,
tester=<value optimized out>, trainer=<value optimized out>)
at chopper.cpp:443
#9 0x000000000047fb6c in cc_recog (tessword=<value optimized out>,
best_choice=<value optimized out>, best_raw_choice=<value optimized out>,
tester=<value optimized out>, trainer=<value optimized out>)
at tface.cpp:252
#10 0x000000000042bc7c in recog_word_recursive (word=0x964570,
denorm=<value optimized out>, matcher=<value optimized out>,
tester=<value optimized out>, trainer=<value optimized out>,
testing=0 '\0', raw_choice=@0x96c4a0, blob_choices=0x7fffffffda00,
outword=@0x96c460) at tfacepp.cpp:174
#11 0x000000000042c503 in recog_word (word=0x964570, denorm=0x96c468,
matcher=0x421d70 <tess_default_matcher(PBLOB*, PBLOB*, PBLOB*, WERD*, DENORM*, BLOB_CHOICE_LIST&)>, tester=0, trainer=0x9a7570,
testing=<value optimized out>, raw_choice=@0x96c4a0,
blob_choices=0x7fffffffda00, outword=@0x96c460) at tfacepp.cpp:81
#12 0x000000000042221f in tess_segment_pass2 (word=0x964570, denorm=0x96c468,
matcher=0x421d70 <tess_default_matcher(PBLOB*, PBLOB*, PBLOB*, WERD*, DENORM*, BLOB_CHOICE_LIST&)>, raw_choice=@0x96c4a0,
blob_choices=<value optimized out>, outword=<value optimized out>)
at tessbox.cpp:95
#13 0x000000000040a95a in match_word_pass2 (word=0x96c450, row=0x96c3a0,
x_height=<value optimized out>) at control.cpp:978
#14 0x000000000040b18a in classify_word_pass2 (word=0x96c450, row=0x96c3a0)
at control.cpp:768
#15 0x000000000040bd6a in recog_all_words (page_res=<value optimized out>,
monitor=0x0, target_word_box=0x0, dopasses=<value optimized out>)
at control.cpp:401
#16 0x00000000004043ab in TessBaseAPI::Recognize (block_list=0x7fffffffdc00,
monitor=0x0) at baseapi.cpp:478
#17 0x0000000000404f38 in TessBaseAPI::RecognizeToString () at baseapi.cpp:453
#18 0x000000000040363d in TesseractImage (
input_file=0x7fffffffe25e "sub.PFYB2U0256.tif", image=0x7fffffffdd20,
text_out=0x7fffffffdda0) at tesseractmain.cpp:100
#19 0x0000000000403c23 in main (argc=<value optimized out>,
argv=0x7fffffffdf08) at tesseractmain.cpp:214

Discussion

  • J. Caldwell
    J. Caldwell
    2009-11-01

    tiff file

     
    Attachments