On 05/05/18 16:06, Francois Gouget wrote:
> When I try to scan a page gscan2pdf crashes with an assertion failed
> error:
> 
> perl: ../../../../src/cairo-xlib-surface-shm.c :619 : 
> _cairo_xlib_shm_pool_create:  l'assertion « *ptr != NULL » a échoué.
> 
> This is systematic and completely prevents me from scanning pages
> normally with gscan2pdf hence the important severity.
> 
> The workaround is to scan the pages one by one with scanimage and to
> then open the corresponding *.pnm files with gscan2pdf. iIt is then
> possible to do the OCR and save to PDF with gscan2pdf.

That is cairo crashing and taking Perl with it. This report looks
similar and suggests that the problem is connected to the image size:

https://bugzilla.redhat.com/show_bug.cgi?id=1132667

Would you mind testing to see whether smaller images also have the same
problem?

This bug report suggests a solution. Would you mind trying it out?

https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1520211/comments/5

Regards

Jeff

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to