[Python-modules-team] Bug#926351: python3-tesserocr: segfaults on import

IOhannes m zmoelnig umlaeute at debian.org
Wed Apr 3 22:47:15 BST 2019


Package: python3-tesserocr
Version: 2.4.0-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

i'm experimenting a bit with OCR and tried out python3-tesserocr.
Unfortunately, it appears to be completely unusable:

~~~
$ python3
Python 3.7.3 (default, Mar 26 2019, 07:25:18) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tesserocr
!strcmp(locale, "C"):Error:Assert failed:in file baseapi.cpp, line 209
Segmentation fault (core dumped)
$
~~~

my locale setting uses 'C.UTF-8', but when i tried to set other values i get the
same result:

~~~
$ LANG=de python3
Python 3.7.3 (default, Mar 26 2019, 07:25:18) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tesserocr
!strcmp(locale, "C"):Error:Assert failed:in file baseapi.cpp, line 209
Segmentation fault (core dumped)
$
~~~

Since I see no way to use this package when even importing fails with a
segfault, i use severity 'grave'.
Hopefully this package will be fixed.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-tesserocr depends on:
ii  libc6          2.28-8
ii  libgcc1        1:8.3.0-4
ii  liblept5       1.78.0-1
ii  libstdc++6     8.3.0-4
ii  libtesseract4  4.0.0-2
ii  python3        3.7.3-1

python3-tesserocr recommends no packages.

python3-tesserocr suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list