Ubuntu 12: java crashed with SIGABRT in tesseract::Classify::CharNormClassifier() --- Tesseract 3.0 language files missing?

Bug #976352 reported by Mike Williamson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
New
Undecided
Unassigned
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Tried to run a siklui script after installing the package sikuli-ide. After the crash my home directory was fully of many versions of an image that it looks like sikuli was in the middle of dissecting when it died.

mike@sleepycat:~$ sikuli-ide

(java:13157): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13157): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13157): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13157): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
[info] locale: en_US
Error opening data file /tmp/sikuli/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
vlog 1 Input
vlog 1 Canny
vlog 1 AdaptiveThresholded
vlog 1 LongLinesFound
vlog 1 LongLinesRemoved
vlog 1 NonEdgeRemoved
vlog 1 blobs-extracted
vlog 1 blobs-filtered
vlog 1 lineblobs
vlog 1 lineblobs-filtered
vlog 1 lineblobs-merged
vlog 1 paragblobs
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fa787b67b6a, pid=13157, tid=140357618366208
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.11.1
# Distribution: Ubuntu precise (development branch), package 6b24-1.11.1-3ubuntu3
# Problematic frame:
# C [libtesseract.so.3+0x27ab6a] tesseract::Classify::CharNormClassifier(TBLOB*, DENORM const&, INT_TEMPLATES_STRUCT*, ADAPT_RESULTS*)+0x94

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jre-headless 6b24-1.11.1-3ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
CrashCounter: 1
Date: Sun Apr 8 00:13:30 2012
ExecutablePath: /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
ProcCmdline: /usr/bin/java -cp /usr/share/java/jna.jar:/usr/share/java/jna-posix.jar:/usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/libconstantine-java.jar:/usr/share/java/jython.jar:/usr/share/java/commons-cli.jar:/usr/share/java/JXGrabKey.jar:/usr/share/java/json_simple.jar:/usr/share/java/swing-layout.jar:/usr/share/java/swingx-core.jar:/usr/share/java/forms.jar:/usr/share/java/mac_widgets.jar:/usr/share/java/junit.jar:/usr/share/sikuli/sikuli-ide.jar:/usr/share/java/sikuli-script.jar -Dsikuli.console=true -Dsikuli.debug=0 -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.home=/usr/share/jython -Dpython.path=/usr/share/sikuli/Lib -Dpython.cachedir=/home/username/.jython-cache org.sikuli.ide.SikuliIDE
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
 LC_NUMERIC=C
Signal: 6
SourcePackage: openjdk-6
Title: java crashed with SIGABRT in tesseract::Classify::CharNormClassifier()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Mike Williamson (sleepycat) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in openjdk-6 (Ubuntu):
status: New → Invalid
Revision history for this message
Apport retracing service (apport) wrote : Crash report cannot be processed

Thank you for your report!

However, processing it in order to get sufficient information for the
developers failed (it does not generate a useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:

outdated debug symbol package for libv4l-0: package version 0.8.6-1ubuntu1 dbgsym version 0.8.5-3ubuntu2

Please upgrade your system to the latest package versions. If you still
encounter the crash, please file a new report.

Thank you for your understanding, and sorry for the inconvenience!

tags: removed: need-amd64-retrace
Changed in openjdk-6 (Ubuntu):
status: Invalid → New
visibility: private → public
Revision history for this message
RaiMan (raimund-hocke) wrote : Re: java crashed with SIGABRT in tesseract::Classify::CharNormClassifier()

Ubuntu 12.04 seems to have Tesseract 3.0 installed.
As the Tesseract docs say, you have to install the language support packages your self, they are no longer contained in the software distro (as with Tesseract 2.0).

So this might be an Ubuntu packaging problem.

see: https://bugs.launchpad.net/sikuli/+bug/979524

summary: - java crashed with SIGABRT in tesseract::Classify::CharNormClassifier()
+ Ubuntu 12: java crashed with SIGABRT in
+ tesseract::Classify::CharNormClassifier() --- Tesseract 3.0 language
+ files missing?
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.