EOG tries to open an image, but crashes: eog: ../../../../src/cairo-xlib-surface-shm.c:619: _cairo_xlib_shm_pool_create: Assertion `*ptr != ((void *)0)' failed.

Bug #1520211 reported by Radics Ottó
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
Confirmed
High
Unassigned

Bug Description

eog: ../../../../src/cairo-xlib-surface-shm.c:619: _cairo_xlib_shm_pool_create: Assertion `*ptr != ((void *)0)' failed.
Interrupted (core created)

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: eog 3.16.3-1ubuntu2
ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3
Uname: Linux 4.2.0-18-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Nov 26 13:41:51 2015
InstallationDate: Installed on 2015-07-04 (144 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: eog
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Radics Ottó (saboteur777) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eog (Ubuntu):
status: New → Confirmed
Revision history for this message
Markus (markusb) wrote :

EOG crashes on over 50% of the pictures taken with my Samsung Galaxy S4 phone.

markus@W530:~/Pictures$ eog 20151202_091338.jpg
eog: /build/buildd/cairo-1.13.0~20140204/src/cairo-xlib-surface-shm.c:619: _cairo_xlib_shm_pool_create: Assertion `*ptr != ((void *)0)' failed.
Aborted (core dumped)

Revision history for this message
Markus (markusb) wrote :

I'm running Ubuntu 14.04 LTS.

markus@W530:~/Disk/WorkDocuments/Roche/2015-Spectrum-POC/Pictures$ eog --version
GNOME Image Viewer 3.10.2

This problem is not new. Has been bugging me for more than a year.

Revision history for this message
Markus (markusb) wrote :

After some more research I found a solution:

Add

kernel.shmmax = 536870912

to

/etc/sysctl.conf

and apply the setting with sysctl -p

Changed in eog (Ubuntu):
importance: Undecided → High
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.