Microsoft Visual C++ Debug Library dialog:
Debug Assertion Failed!
File: isctype.c
Line: 56
Expresssion: (unsigned)(c + 1) <= 256
Call Stack:
> msvcr80d.dll!_chvalidator(int c=-60, int mask=259) Line 56 + 0x2a bytes C++
msvcr80d.dll!isalpha(int c=-60) Line 69 + 0xe bytes C++
tesseract.exe!def_letter_is_okay(unsigned __int64 * dawg=0x00fc6e18,
__int64 * node=0x0012d9f8, int char_index=1, char prevchar=0, const
char * word=0x0012e174, int word_end=0) Line 150 + 0x42 bytes C++
tesseract.exe!append_next_choice(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', char * word=0x0012e174, char *
unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
array_record * choices=0x01668c28, int char_index=1, choicestruct *
this_choice=0x0169cf80, const char * prevchar=0x006fb262, float *
limit=0x0012df30, float rating=9.5660038, float certainty=-1.0996230,
float * rating_array=0x0012df3c, float * certainty_array=0x0012dfe8,
int word_ending=0, int last_word=1, list_rec * * result=0x0012db40)
Line 211 + 0x69 bytes C++
tesseract.exe!dawg_permute(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', array_record * choices=0x01668c28,
int char_index=1, float * limit=0x0012df30, char * word=0x0012e174,
char * unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
float rating=3.2981527, float certainty=-0.99944019, float *
rating_array=0x0012df3c, float * certainty_array=0x0012dfe8, int
last_word=1) Line 301 + 0x95 bytes C++
tesseract.exe!append_next_choice(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', char * word=0x0012e174, char *
unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
array_record * choices=0x01668c28, int char_index=0, choicestruct *
this_choice=0x016b15e0, const char * prevchar=0x006fb262, float *
limit=0x0012df30, float rating=3.2981527, float certainty=-0.99944019,
float * rating_array=0x0012df3c, float * certainty_array=0x0012dfe8,
int word_ending=0, int last_word=1, list_rec * * result=0x0012dde8)
Line 233 + 0x4a bytes C++
tesseract.exe!dawg_permute(unsigned __int64 * dawg=0x00fc6e18,
__int64 node=0, char permuter=' ', array_record * choices=0x01668c28,
int char_index=0, float * limit=0x0012df30, char * word=0x0012e174,
char * unichar_lengths=0x0012e140, int * unichar_offsets=0x0012e094,
float rating=0.00000000, float certainty=0.00000000, float *
rating_array=0x0012df3c, float * certainty_array=0x0012dfe8, int
last_word=1) Line 301 + 0x95 bytes C++
tesseract.exe!dawg_permute_and_select(const char *
string=0x0070ad00, unsigned __int64 * dawg=0x00fc6e18, char
permuter=' ', array_record * character_choices=0x01668c28,
choicestruct * best_choice=0x016c84a0, short system_words=1) Line 361
+ 0x62 bytes C++
tesseract.exe!permute_words(array_record * char_choices=0x01668c28,
float rating_limit=1000.0000) Line 1673 + 0x1d bytes C++
tesseract.exe!permute_all(array_record * char_choices=0x01668c28,
float rating_limit=1000.0000, choicestruct * raw_choice=0x0012ec94)
Line 1081 + 0x10 bytes C++
tesseract.exe!permute_characters(array_record *
char_choices=0x01668c28, float limit=1000.0000, choicestruct *
best_choice=0x0012ecb4, choicestruct * raw_choice=0x0012ec94) Line
1133 + 0x14 bytes C++
tesseract.exe!chop_word_main(wordstruct * word=0x0168c6a8, int fx=1,
choicestruct * best_choice=0x0012ecb4, choicestruct *
raw_choice=0x0012ec94, unsigned char tester=0, unsigned char
trainer=0) Line 443 + 0x18 bytes C++
tesseract.exe!cc_recog(wordstruct * tessword=0x0168c6a8,
choicestruct * best_choice=0x0012ecb4, choicestruct *
best_raw_choice=0x0012ec94, unsigned char tester=0, unsigned char
trainer=0) Line 252 + 0x1d bytes C++
tesseract.exe!recog_word_recursive(WERD * word=0x0169f5c0, DENORM *
denorm=0x01008038, void (PBLOB *, PBLOB *, PBLOB *, WERD *, DENORM *,
BLOB_CHOICE_LIST &)* matcher=0x004fb5b0, void (PBLOB *, DENORM *,
unsigned char, char *, int, BLOB_CHOICE_LIST *)* tester=0x00000000,
void (PBLOB *, DENORM *, unsigned char, char *, int, BLOB_CHOICE_LIST
*)* trainer=0x00000000, unsigned char testing=0, WERD_CHOICE * &
raw_choice=0x00000000, BLOB_CHOICE_LIST_CLIST *
blob_choices=0x0012f518, WERD * & outword=0x00000000) Line 174 + 0x61
bytes C++
tesseract.exe!recog_word(WERD * word=0x0169f5c0, DENORM *
denorm=0x01008038, void (PBLOB *, PBLOB *, PBLOB *, WERD *, DENORM *,
BLOB_CHOICE_LIST &)* matcher=0x004fb5b0, void (PBLOB *, DENORM *,
unsigned char, char *, int, BLOB_CHOICE_LIST *)* tester=0x00000000,
void (PBLOB *, DENORM *, unsigned char, char *, int, BLOB_CHOICE_LIST
*)* trainer=0x00000000, unsigned char testing=0, WERD_CHOICE * &
raw_choice=0x00000000, BLOB_CHOICE_LIST_CLIST *
blob_choices=0x0012f518, WERD * & outword=0x00000000) Line 81 + 0x29
bytes C++
tesseract.exe!tess_segment_pass1(WERD * word=0x0169f5c0, DENORM *
denorm=0x01008038, void (PBLOB *, PBLOB *, PBLOB *, WERD *, DENORM *,
BLOB_CHOICE_LIST &)* matcher=0x004fb5b0, WERD_CHOICE * &
raw_choice=0x00000000, BLOB_CHOICE_LIST_CLIST *
blob_choices=0x0012f518, WERD * & outword=0x00000000) Line 57 + 0x23
bytes C++
tesseract.exe!classify_word_pass1(WERD_RES * word=0x01008028, ROW *
row=0x00fc3f80, unsigned char cluster_adapt=0, CHAR_SAMPLES_LIST *
char_clusters=0x00000000, CHAR_SAMPLE_LIST *
chars_waiting=0x00000000) Line 622 + 0x27 bytes C++
tesseract.exe!recog_all_words(PAGE_RES * page_res=0x00fb9780,
volatile ETEXT_STRUCT * monitor=0x00000000, TBOX *
target_word_box=0x00000000, short dopasses=0) Line 310 + 0x24 bytes C+
+
tesseract.exe!TessBaseAPI::Recognize(BLOCK_LIST *
block_list=0x0012f978, ETEXT_STRUCT * monitor=0x00000000) Line 478 +
0x11 bytes C++
tesseract.exe!TessBaseAPI::RecognizeToString() Line 453 + 0xb bytes
C++
tesseract.exe!TessBaseAPI::TesseractRect(const unsigned char *
imagedata=0x01800040, int bytes_per_pixel=0, int bytes_per_line=319,
int left=0, int top=0, int width=2550, int height=3300) Line 153 C++
tesseract.exe!TesseractImage(const char * input_file=0x003cf170,
IMAGE * image=0x0012fd20, STRING * text_out=0x0012fd14) Line 100 +
0x3d bytes C++
tesseract.exe!main(int argc=5, char * * argv=0x003cf1b8) Line 227 +
0x17 bytes C++
tesseract.exe!WinMain(HINSTANCE__ * hInstance=0x00400000,
HINSTANCE__ * hPrevInstance=0x00000000, char * lpszCmdLine=0x0015231a,
int nCmdShow=10) Line 356 + 0x10 bytes C++
tesseract.exe!__tmainCRTStartup() Line 589 + 0x35 bytes C
tesseract.exe!WinMainCRTStartup() Line 414 C
kernel32.dll!7c817067()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
tesseract.exe!re_estimate_x_ht(WERD_RES * word_res=0x0022003d, float
* trial_x_ht=0x002e0031) Line 397 + 0x4e bytes C++
tesseract.exe!`dynamic initializer for 'NULL_OBJECT''() Line 33 +
0x2f bytes C++
tesseract.exe!`dynamic initializer for 'NULL_OBJECT''() Line 33 +
0x2f bytes C++
tesseract.exe!`dynamic initializer for 'NULL_OBJECT''() Line 33 +
0x2f bytes C++
tesseract.exe!std::_Tree<std::_Tmap_traits<int,ScrollView
*,std::less<int>,std::allocator<std::pair<int const ,ScrollView *> >,
0> >::iterator::iterator(const
std::_Tree<std::_Tmap_traits<int,ScrollView
*,std::less<int>,std::allocator<std::pair<int const ,ScrollView *> >,
0> >::iterator & __that=(...,...) + 0x42 bytes C++
On May 8, 9:03 pm, "Ray Smith" <
theraysm...@gmail.com> wrote:
> Can you post a stack frame from the debug version, so I can see where it is
> failing?
> Ray.
>