Comment 4 for bug 326635

Revision history for this message
Polevoy Dmitry (openocr-polevoy) wrote : Re: [Bug 326635] Re: cuneiform segfaults with png and produces no output with jpeg

I convert image to bmp with 24, 8 and 1 bit per pixel. After that my version
(Win32 + MSVC9) recognize it without any problems.
1. You can try convert image to plain 24 bpp bmp and recog it without
ImageMagic. If it fails the problem can be in 64 version.
2. You can convert image to any format with ImageMagic and if it fails, the
problem can be in ImageMagic. Some time ago I have troubles (Win32, MSVC)
with gray images in ImageMagic.

2009/2/8 Kuzemko Aleksandr <email address hidden>

> I try this image on my Gentoo amd64 system and it segfault.
> I convert image to 1-bit, after this it recognize it without segfault.
>
> --
> cuneiform segfaults with png and produces no output with jpeg
> https://bugs.launchpad.net/bugs/326635
> You received this bug notification because you are a member of Cuneiform
> Linux, which is the registrant for Cuneiform for Linux.
>
> Status in Linux port of Cuneiform: New
>
> Bug description:
> Starting program: /usr/bin/cuneiform out0001.png
> [Thread debugging using libthread_db enabled]
> Cuneiform for Linux 0.6.0
> [New Thread 0xb6dba6f0 (LWP 28641)]
> The image depth is 8 at this point.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb6dba6f0 (LWP 28641)]
> 0xb728f996 in memcpy () from /lib/i686/cmov/libc.so.6
>
> Debian Unstable, 2.6.28.4+bfq+tuxonice
>
> libc 2.8+20080809-1
>