eog crashed with SIGSEGV in g_mutex_lock()

Bug #1823148 reported by Laurent Bonnaud on 2019-04-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eog (Ubuntu)

Bug Description


to reproduce this bug:

 - in eog load an image from a directory that contains several images
 - press F5

ProblemType: Crash
DistroRelease: Ubuntu 19.04
Package: eog 3.32.0-1
Uname: Linux 5.0.6-050006-generic x86_64
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Apr 4 11:41:28 2019
ExecutablePath: /usr/bin/eog
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
ProcCmdline: eog P1000443.jpg
 PATH=(custom, no user)
 Segfault happened at: 0x7f53db0ce945 <g_mutex_lock+5>: lock xadd %eax,(%rdi)
 PC (0x7f53db0ce945) ok
 source "%eax" ok
 destination "(%rdi)" (0x7575757575757575) not located in a known VMA region (needed writable region)!
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: eog
 g_mutex_lock (mutex=mutex@entry=0x7575757575757575) at ../../../glib/gthread-posix.c:1354
 g_source_destroy_internal (source=0x5611bb416f10, context=0x7575757575757575, have_lock=0) at ../../../glib/gmain.c:1219
 g_source_destroy (source=<optimized out>) at ../../../glib/gmain.c:1287
 slideshow_clear_timeout (window=window@entry=0x5611bb1637e0 [EogWindow]) at ../src/eog-window.c:1827
 slideshow_set_timeout (window=window@entry=0x5611bb1637e0 [EogWindow]) at ../src/eog-window.c:1840
Title: eog crashed with SIGSEGV in g_mutex_lock()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout kvm lpadmin lxd plugdev sambashare staff

information type: Private → Public

I finally got apport to work, created a better bug report and merged this one.

 g_mutex_lock (mutex=mutex@entry=0x7575757575757575) at ../../../glib/gthread-posix.c:1354
 g_source_destroy_internal (source=0x5611bb416f10, context=0x7575757575757575, have_lock=0) at ../../../glib/gmain.c:1219
 g_source_destroy (source=<optimized out>) at ../../../glib/gmain.c:1287
 slideshow_clear_timeout (window=window@entry=0x5611bb1637e0) at ../src/eog-window.c:1827
 slideshow_set_timeout (window=window@entry=0x5611bb1637e0) at ../src/eog-window.c:1840

Changed in eog (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Sebastien Bacher (seb128) wrote :
Changed in eog (Ubuntu):
status: New → Triaged
Changed in eog (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eog - 3.32.0-2

eog (3.32.0-2) experimental; urgency=medium

  * d/p/EogWindow-Don-t-unref-timer-sources-before-destroying-the.patch:
    - Don't unref timer sources before destroying them.
      Resolves a segfault in slideshow mode (lp: #1823148)

 -- Sebastien Bacher <email address hidden> Mon, 08 Apr 2019 10:49:46 +0200

Changed in eog (Ubuntu):
status: Fix Committed → Fix Released

Thanks *a lot* for the fix!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.