eog crashes if new files are written to the directory it is reading from

Bug #1840508 reported by Stefan Helmert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If eog is called to read a png file from a directory like:

eog mydirectory/picture.png

while new png images are frequently added to this directory, eog crashes with random errors, e. g.:

(eog:4447): GLib-WARNING **: 00:00:37.123: Accessing a sequence while it is being sorted or searched is not allowed

(eog:4447): GLib-WARNING **: 00:00:37.124: Accessing a sequence while it is being sorted or searched is not allowed
malloc(): memory corruption
Aborted (core dumped)

This happens only if the files are written to the same directory. If the files are written to different directories, it opens it without error.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: eog 3.28.1-1
ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Aug 16 23:52:32 2019
InstallationDate: Installed on 2019-06-08 (69 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: eog
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Stefan Helmert (stefan-helmert) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. A similar issue is being discussed in bug #1775302.

Could you give some details on the number of files being written to the directory in your example?

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