After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315147 - eog makes incorrect use of gthreads
eog makes incorrect use of gthreads
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
unspecified
Other Linux
: Immediate critical
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 165230 330506 331967 332581 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-02 19:40 UTC by Guilherme de Siqueira Pastore
Modified: 2006-02-27 14:24 UTC
See Also:
GNOME target: 2.12.x
GNOME version: 2.11/2.12


Attachments
Patch applied to Debian (1.60 KB, patch)
2005-09-02 19:42 UTC, Guilherme de Siqueira Pastore
none Details | Review

Description Guilherme de Siqueira Pastore 2005-09-02 19:40:55 UTC
Distribution/Version: any

eog creates threads as joinable, but doesn't join them later on, resulting in
absurd memory usage and even crashes. A simple way of reproducing this is
viewing a "lengthy" collection: you'll invariably stumble on this after some time:

GThread-ERROR **: file gthread-posix.c: line 351 (): error 'Cannot
allocate memory' during 'pthread_create'

This has been filed as Debian bug #288163 (http://bugs.debian.org/288163), and a
patch to create non-joinable threads has been applied, fixing the problem and
not causing any trouble.
Comment 1 Guilherme de Siqueira Pastore 2005-09-02 19:42:43 UTC
Created attachment 51738 [details] [review]
Patch applied to Debian
Comment 2 Tim Gerla 2005-09-02 19:59:07 UTC
Looks like a dupe of 312856 but this patch looks more comprehensive than the
first. Comments?
Comment 3 Olav Vitters 2005-09-02 21:33:29 UTC
This actually seems to be a dupe of bug 165230. 
Comment 4 Guilherme de Siqueira Pastore 2005-10-23 15:04:33 UTC
This is fixed in HEAD, closing.
Comment 5 Guilherme de Siqueira Pastore 2005-10-26 16:29:46 UTC
*** Bug 165230 has been marked as a duplicate of this bug. ***
Comment 6 Karsten Bräckelmann 2006-02-09 21:11:26 UTC
*** Bug 330506 has been marked as a duplicate of this bug. ***
Comment 7 Karsten Bräckelmann 2006-02-21 02:35:02 UTC
*** Bug 331967 has been marked as a duplicate of this bug. ***
Comment 8 Sergej Kotliar 2006-02-27 14:24:06 UTC
*** Bug 332581 has been marked as a duplicate of this bug. ***