A viable work around seems to be increasing shared memory via the
sysctl.conf file and opening a small (?KB) image before opening a larger
(?MB) image. This does cause a noticable system lag when the mouse
cursor passes over the rendered image window.

add the following line:

kernel.shmmax = 1073741824

then execute:

sudo sysctl -p

...

This solution does NOT always work if a small image has not first been
opened. Looking through the source code, it appears the cairo routines
find exhausted shared memory pool and return a NULL ptr. Why opening a
small image first seems to help? I have no idea.

Version 3.18.1 on 16.04 LTS does not have this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838948

Title:
  eog assert failure: eog: ../../../../src/cairo-xlib-surface-shm.c:619:
  _cairo_xlib_shm_pool_create: Assertion `*ptr != NULL' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1838948/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to