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 158299 - gnome-panel segfaults in bad .recently-used entry
gnome-panel segfaults in bad .recently-used entry
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other Linux
: High critical
: ---
Assigned To: James Willcox
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-14 19:53 UTC by Serhij S. Stasyuk
Modified: 2005-01-25 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Small patch to fix segfault (537 bytes, patch)
2004-11-14 19:54 UTC, Serhij S. Stasyuk
none Details | Review

Description Serhij S. Stasyuk 2004-11-14 19:53:53 UTC
If there is bad entry in .recently-used file gnome-panel segfaults during
strating. Sorry, but entry was lost during locating this bug (removed by myself).

It segfaults on gnome-panel/egg-recent-item.c:251 on calling strlen. Tested on
both gnonme-panel-2.8.0.1 and gnome-panel-2.8.1. I use glibc-2.3.4.20041102.

IMHO preffered behaviour is, at least, to locate problem and exit on g_assert
(see patch)
Comment 1 Serhij S. Stasyuk 2004-11-14 19:54:40 UTC
Created attachment 33778 [details] [review]
Small patch to fix segfault
Comment 2 Kjartan Maraas 2004-11-15 11:22:06 UTC
Changing pri and severity since this is a crasher and it has a patch.
Comment 3 Mark McLoughlin 2004-11-15 15:12:21 UTC
Re-assigning to libegg so the patch may be reviewed
Comment 4 James Willcox 2004-11-15 15:17:05 UTC
Looks good
Comment 5 Kjartan Maraas 2005-01-25 18:12:37 UTC
I'll commit it then...But someone needs to sync up the users if that's needed.