GNOME Bugzilla – Bug 164359
recently-used breaks gedit
Last modified: 2005-07-21 22:14:25 UTC
Steps to reproduce: 1. Start gedit with file attached in home dir Stack trace: Program received signal SIGSEGV, Segmentation fault.
+ Trace 54603
Thread NaN (LWP 4464)
Other information:
Created attachment 36135 [details] the breaker file This is the file causing the prob
Did you mean that run gedit in terminal using the attached file as input? If that is the case i am able to open it without any problem. The version of Gnome i am using is 2.9.3 and the gedit version is 2.9.3.
Can you please try with the latest version.
Nope, the reporter means that that the file he has attached is his ~/.recently-used file. Khasim, by the way, I noticed that you're cc'ing yourself to a lot of gedit bugs: note that if you want you can just add gedit-qa-maint@bugzilla.gnome.org to your watch-list in the bugzilla preferences instead of manually adding yoursef to each bugreport.
Created attachment 36414 [details] [review] minimal patch Here is the minimal patch which at least fixes the segfault. I already applied it to the gedit copy of recent-files, reassigning to libegg and upping priority
Does this look ok to commit as well?
Paolo: I committed the fix to gnome-vfs, so this patch is no longer necessary. However, it's safe to apply it so I'm note sure if we should close the bug.
IHMO we should add a g_return_val_if_fail (short_name != NULL, NULL) so that we do not crash if the problem turns up again in the future, or if the user runs a strange combination of vfs and recent-files versions
Moving this onto the 2.10 milestone. Should be an easy fix too.
Created attachment 37374 [details] A slightly different stack trace I am expereincing this problem with a slightly different stack trace. So this probably not useful info, but it might help so here it is. With the following in .recently-used: <RecentItem> <URI>http://www.vistaprint.com/vp/ssrview.aspx?doc_id=33644048&Page=Front&dtm=2%2F11%2F2005+11%3A20%3A38+AM</URI> <Mime-Type>image/jpeg</Mime-Type> <Timestamp>1108151578</Timestamp> <Groups> <Group>Eye of Gnome</Group> </Groups> </RecentItem> I get the attached crash in gnome-panel. I got a very similar one in eog.
vincent: when you say in comment 7 that you've fixed VFS, that would prevent the crash for all apps, right? If I'm reading you write, this is not a showstopper, then?
That's right, that's not a showstopper anymore (although it'd be nice to have the patch committed)
Created attachment 49436 [details] [review] an updated version of the patch against CVS HEAD here's an updated patch in hopes that this can get committed...
*** Bug 168129 has been marked as a duplicate of this bug. ***
brent, libegg/recent-files HEAD already fixes this issue.
Emmanuele: does it mean we can close this bug?
as far as I'm concerned (recent-files code), I'd say we can close it.
Marking as FIXED, then :-)
*** Bug 303272 has been marked as a duplicate of this bug. ***