error on some files: Assertion failed: from <= last file /home/srvadm/src/cuneiform-linux/cuneiform_src/Kern/lns32/src/fararray.h, line 192

Bug #259856 reported by Alex Samorukov
2
Affects Status Importance Assigned to Milestone
Cuneiform for Linux
Fix Released
Medium
Jussi Pakkanen

Bug Description

srvadm@debian:~/src/cuneiform-linux/builddir$ ./cuneiform ~/test.bmp
Cuneiform for Linux 0.3.0
The image depth is 24 at this point.

Assertion failed: from <= last file /home/srvadm/src/cuneiform-linux/cuneiform_src/Kern/lns32/src/fararray.h, line 192

Press <Space> to continue execution, <Esc> to abort

..OKWarning: RSL said that the lines do not have to withdraw.

Revision history for this message
Alex Samorukov (samm-os2) wrote :
Revision history for this message
Alex Samorukov (samm-os2) wrote :

some additional information - if you will resize this file in gimp (i just did it 2 times bigger) it will work fine and even text would be recognized. I think that somewhere in PUMA engine should be a resolution switch...

Changed in cuneiform-linux:
assignee: nobody → jpakkane
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
yaleks (yaleks) wrote :

Is it actual for 0.3.1?
I see no errors on x86_64 linux.

Revision history for this message
Alex Samorukov (samm-os2) wrote :

yes, it is still actual.
More than this - bug is perfectly reproduced on debian i386, so it is not amd64 related.

Revision history for this message
Kuzemko Aleksandr (kuzemkoa-rambler) wrote :

It is not only Debian related
On gentoo amd64:

starterkit@client-pc6326 ~/cuneiform/cuneiform-linux/tif_test $ cuneiform 0189.tif
Cuneiform for Linux 0.3.1
0189.tif=> DIB 2480x3508 2480x3508+0+0 1-bit Bilevel PseudoClass 2c 1.044mb
The image depth is 1 at this point.

Assertion failed: from <= last file /home/starterkit/cuneiform/cuneiform-linux/cuneiform_src/Kern/lns32/src/fararray.h, line 192

Press <Space> to continue execution, <Esc> to abort
..OKWarning: RSL said that the lines do not have to withdraw.

I add image.verbose(1); after Image image(fname) in cuneiform-cli.cpp (line 133)

Revision history for this message
eugenio (thongrim) wrote :

I can confirm that I'm also experiencing this bug, on i386 debian. Is there a solution?Thanks

Revision history for this message
Alex Samorukov (samm-os2) wrote :

as you could see, currently not.

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

Fixed the assertion. Closing since the resolution thing is a different beast altogether.

Changed in cuneiform-linux:
status: Confirmed → Fix Committed
Revision history for this message
Alex Samorukov (samm-os2) wrote :

yes, thanks, the problem is fixed for now

Changed in cuneiform-linux:
status: Fix Committed → Fix Released
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.