Hide Forgot
Description of problem: Learned Yagf (cuneiform as backend) to transfer opened images to text. Played with blocks of text. Couple pages worked OK. The error was repeatedly caused by repeated actual text recognition from one specific block from page of another (other then the previously tested) document. Other blocks on the same page cause no trouble - at least in the sense of causing cuneiform errors. To reproduce: 1. Open YAGF 2. Load page image 3. Mark block of text (main block of text on left page (p.40)) 4. Click "Recognize" (red OCR) button This happened even after reboot. Enclosed is the image that caused the problem. Version-Release number of selected component: cuneiform-1.1.0-15.fc20 Additional info: reporter: libreport-2.1.8 backtrace_rating: 4 cmdline: cuneiform -l cze -f text -o /home/lukas/.config/yagf/output.txt /home/lukas/.config/yagf/input.bmp crash_function: average_inc executable: /usr/bin/cuneiform kernel: 3.11.6-300.fc20.x86_64 runlevel: N 5 type: CCpp Truncated backtrace: Thread no. 1 (10 frames) #0 average_inc at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/erection.c:943 #1 represent_inc at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/erection.c:975 #2 get_incline_of_word at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/erection.c:1121 #3 erection_incline_word at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/erection.c:1271 #4 erection_incline_words at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/erection.c:678 #5 pass3 at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/pass3.c:697 #6 RSTRRecognizeMain at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/rcm.c:1688 #7 RSTRRecognize at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/rstr/src/rcm.c:1370 #8 RecognizeStringsPass1 at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/puma/c/partrecog.cpp:252 #9 Recognize at /usr/src/debug/cuneiform-linux-1.1.0/cuneiform_src/Kern/puma/c/partrecog.cpp:625 Potential duplicate: bug 1010835
Created attachment 816299 [details] File: backtrace
Created attachment 816300 [details] File: cgroup
Created attachment 816301 [details] File: core_backtrace
Created attachment 816302 [details] File: dso_list
Created attachment 816303 [details] File: environ
Created attachment 816304 [details] File: limits
Created attachment 816305 [details] File: maps
Created attachment 816306 [details] File: open_fds
Created attachment 816307 [details] File: proc_pid_status
Created attachment 816308 [details] File: var_log_messages
Created attachment 816309 [details] File: SCAN0006.JPG
Another user experienced a similar problem: I simply tried to use YAGF with cuneiform but it crashed. reporter: libreport-2.1.10 backtrace_rating: 4 cmdline: cuneiform -l eng -f text -o /home/kensh1n/.config/yagf/output.txt /home/kensh1n/.config/yagf/input.bmp crash_function: average_inc executable: /usr/bin/cuneiform kernel: 3.12.5-302.fc20.x86_64 package: cuneiform-1.1.0-15.fc20 reason: cuneiform killed by SIGFPE runlevel: N 5 type: CCpp uid: 1000
The problem is in the OCR core, can't fix myself amd upstream for cuneiform is dead. Closed.