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 Desktop
Packages, which is subscribed to eog in 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.
Status in eog package in Ubuntu:
Confirmed
Bug description:
I opened an image.
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: eog 3.28.1-1
ProcVersionSignature: Ubuntu 4.15.0-55.60-generic 4.15.18
Uname: Linux 4.15.0-55-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
AssertionMessage: eog: ../../../../src/cairo-xlib-surface-shm.c:619:
_cairo_xlib_shm_pool_create: Assertion `*ptr != NULL' failed.
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 29 16:22:00 2019
ExecutablePath: /usr/bin/eog
ExecutableTimestamp: 1523677004
InstallationDate: Installed on 2017-03-13 (874 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64
(20170215.2)
ProcCmdline: eog /home/mircea/Downloads/IMG_20190410_143513.jpg
ProcCwd: /home/mircea
Signal: 6
SourcePackage: eog
StacktraceTop:
__assert_fail_base (fmt=0x7fac8c9d47d8 "%s%s%s:%u: %s%sAssertion `%s'
failed.\n%n", assertion=assertion@entry=0x7fac8c0ce9a9 "*ptr != NULL",
file=file@entry=0x7fac8c0ce980 "../../../../src/cairo-xlib-surface-shm.c",
line=line@entry=619, function=function@entry=0x7fac8c0cead0
"_cairo_xlib_shm_pool_create") at assert.c:92
__GI___assert_fail (assertion=0x7fac8c0ce9a9 "*ptr != NULL",
file=0x7fac8c0ce980 "../../../../src/cairo-xlib-surface-shm.c", line=619,
function=0x7fac8c0cead0 "_cairo_xlib_shm_pool_create") at assert.c:101
?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
Title: eog assert failure: eog: ../../../../src/cairo-xlib-surface-shm.c:619:
_cairo_xlib_shm_pool_create: Assertion `*ptr != NULL' failed.
UpgradeStatus: Upgraded to bionic on 2018-08-24 (345 days ago)
UserGroups: adm cdrom dip libvirt libvirtd lpadmin plugdev sambashare sudo
wireshark
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1838948/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp