eog crashed with SIGSEGV in g_mutex_lock()

Bug #1823148 reported by Laurent Bonnaud
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hi,

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
JournalErrors:
 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
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SegvAnalysis:
 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
StacktraceTop:
 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
separator:

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
information type: Private → Public
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

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

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 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

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in eog (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in eog (Ubuntu):
status: New → Triaged
Changed in eog (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
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
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Thanks *a lot* for the fix!

To post a comment you must log in.
This report contains Public information  
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.