Comments (12)
I can not reproduce it on openSUSE 13.2. Try to provide more details.
from tesseract.
./configure --enable-debug
Then provide a backtrace with gdb (if you know how)
from tesseract.
I have never done that, but anyway I gave a try but got stucked:
@ gdb mftraining
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/local/bin/mftraining...done.
(gdb)
from tesseract.
@vzani: when you start gdb, please enter command:
run
from tesseract.
Thanks, @zdenop
The result is:
(gdb) run
Starting program: /usr/local/bin/mftraining
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x0000003c4de7b53c in free () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.7.x86_64 libgcc-4.4.7-11.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libpng-1.2.49-1.el6_2.x86_64 libstdc++-4.4.7-11.el6.x86_64 libtiff-3.9.4-10.el6_5.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb)
from tesseract.
@vzani: the critical part is entering the command "backtrace" after the segmentation fault.
from tesseract.
entered the command "backtrace",the result is:
Program received signal SIGSEGV, Segmentation fault.
0x0000003951e7b5dc in free () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.el6_7.1.x86_64 libgcc-4.4.7-16.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libpng-1.2.49-1.el6_2.x86_64 libstdc++-4.4.7-16.el6.x86_64 libtiff-3.9.4-10.el6_5.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) backtrace
#0 0x0000003951e7b5dc in free () from /lib64/libc.so.6
#1 0x0000000000407d6b in GenericVectortesseract::DoubleParam*::reserve (
this=0x60e088, size=4) at ../ccutil/genericvector.h:484
#2 0x0000000000407e30 in double_the_size (this=0x7ffff7d6be40,
value=,
name=0x7ffff7ad49cd "classify_norm_adj_midpoint",
comment=, init=, vec=0x60e010)
at ../ccutil/genericvector.h:492
#3 push_back (this=0x7ffff7d6be40, value=,
name=0x7ffff7ad49cd "classify_norm_adj_midpoint",
comment=, init=, vec=0x60e010)
at ../ccutil/genericvector.h:588
#4 tesseract::DoubleParam::DoubleParam (this=0x7ffff7d6be40,
value=,
name=0x7ffff7ad49cd "classify_norm_adj_midpoint",
comment=, init=, vec=0x60e010)
at ../ccutil/params.h:203
#5 0x00007ffff7a46572 in global constructors keyed to normmatch.cpp ()
from /usr/local/lib/libtesseract.so.3
#6 0x00007ffff7ab5386 in __do_global_ctors_aux ()
from /usr/local/lib/libtesseract.so.3
#7 0x00007ffff78df193 in _init () from /usr/local/lib/libtesseract.so.3
#8 0x00007ffff7485990 in ?? ()
from tesseract.
My result of "backtrace" is:
#0 0x0000003c4de7b53c in free () from /lib64/libc.so.6
#1 0x0000000000407d6b in GenericVectortesseract::DoubleParam*::reserve (
this=0x60e088, size=4) at ../ccutil/genericvector.h:484
#2 0x0000000000407e30 in double_the_size (this=0x7ffff7d6bba0,
value=,
name=0x7ffff7ad09ad "classify_norm_adj_midpoint",
comment=, init=, vec=0x60e010)
at ../ccutil/genericvector.h:492
#3 push_back (this=0x7ffff7d6bba0, value=,
name=0x7ffff7ad09ad "classify_norm_adj_midpoint",
comment=, init=, vec=0x60e010)
at ../ccutil/genericvector.h:588
#4 tesseract::DoubleParam::DoubleParam (this=0x7ffff7d6bba0,
value=,
name=0x7ffff7ad09ad "classify_norm_adj_midpoint",
comment=, init=, vec=0x60e010)
at ../ccutil/params.h:203
#5 0x00007ffff7a2a0f2 in global constructors keyed to normmatch.cpp ()
from /usr/local/lib/libtesseract.so.3
#6 0x00007ffff7ab5346 in __do_global_ctors_aux ()
from /usr/local/lib/libtesseract.so.3
#7 0x00007ffff78df193 in _init () from /usr/local/lib/libtesseract.so.3
#8 0x00007ffff740e990 in ?? ()
#9 0x0000003c4da0e605 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#10 0x0000003c4da00b3a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#11 0x0000000000000001 in ?? ()
#12 0x00007fffffffe79d in ?? ()
#13 0x0000000000000000 in ?? ()
Any suggestions?
Thanks
from tesseract.
Can you double check the compilation environment?
the reserve function being in ccutil/genericvector.h on line 484 looks like version 3.02.02
Is older version of tesseract already installed?
from tesseract.
If you still have a problem please try current stable release (3.04.01).
Please uninstall all old tesseract installations before installing new tesseract version.
from tesseract.
@koralatov, did you add this junk message, or was your account hacked? After looking at the activity list, I reported abuse to GitHub.
from tesseract.
Sorry. At some point overnight someone/thing hacked my email and sent these and quite a number of other obviously spammy emails. I'm cleaning up now.
from tesseract.
Related Issues (20)
- Add redirect function HOT 1
- Add ICD Codes in english trained Data HOT 2
- Some CI jobs (GitHub Actions) are failing HOT 10
- uuencode-generated text is OCRed with many mistakes HOT 2
- Error! The command "tesseract" was not found. HOT 2
- Error! The command "tesseract" was not found
- unicharset_extractor segfault HOT 31
- Please add the API call to translate the language code to the full language name HOT 3
- Warning: LSTMTrainer deserialized an LSTMRecognizer! Error, data/eng/eng_num_vert.lstm is an integer (fast) model, cannot continue training HOT 7
- Add the NN for a 'random' ASCII language HOT 1
- "min_characters_to_try" parameter does not work HOT 2
- phonetic symbols and special characters HOT 1
- inform where we can find tesseract.exe HOT 1
- Native Crash in otsuthr.cpp HOT 2
- CI: vcpkg failure due to missing xz tarball HOT 4
- link error LNK1120 with text2image.exe
- Mac m1, not able to compile HOT 2
- OCR of Indian Currency Sign " ₹" HOT 2
- please support linux binary , like fzf HOT 1
- Infinite recursion in `addAvailableLanguages`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesseract.