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 349960 - e-d-s gnome-vfs backend seems to have an issue on open
e-d-s gnome-vfs backend seems to have an issue on open
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.8.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-08-04 16:31 UTC by Daniel Gryniewicz
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed fix (687 bytes, patch)
2006-08-04 16:32 UTC, Daniel Gryniewicz
committed Details | Review

Description Daniel Gryniewicz 2006-08-04 16:31:54 UTC
In camel_stream_vfs_new_with_uri(), gnome_vfs_create() is called with the exclusive flag set by the O_TRUNC flag.  However, the exclusive flag says to fail to open if O_CREAT is given and the file exists.  Since gnome_vfs_create() is only called when O_CREAT is given, it will always fail when trying to save-as to an existing file.  This causes gnome-vfs to assert, causing a crash.

My solution is to not set the exclusive flag, but this may not be the correct solution.  Patch attached.

Versions:
Versions:
evolution 2.7.90
evolution-data-server 1.7.90.1
gtk+ 2.10.1
glib 2.12.1
gnome-vfs 2.15.90
libgnomeui 2.15.90
Comment 1 Daniel Gryniewicz 2006-08-04 16:32:42 UTC
Created attachment 70207 [details] [review]
Proposed fix
Comment 2 André Klapper 2006-08-13 19:27:16 UTC
moving to mailer component. thanks for the patch!
Comment 3 Harish Krishnaswamy 2006-08-14 08:16:07 UTC
Set target milestone to 1.8
Comment 4 Srinivasa Ragavan 2006-08-23 08:28:41 UTC
Fixed to HEAD. Thanks Daniel.
Comment 5 André Klapper 2006-08-23 11:03:11 UTC
argh... this explains why i could import files, but not export files in evo. thanks a lot!