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 135240 - crash with filenames with a '#' in them
crash with filenames with a '#' in them
Status: RESOLVED FIXED
Product: muine
Classification: Other
Component: general
0.8.6 or older
Other Linux
: Normal normal
: ---
Assigned To: Muine Maintainers
Muine Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-23 23:15 UTC by Jeremy Jay
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
patch for gnome vfs filenames (1.17 KB, patch)
2004-02-27 20:33 UTC, Jeremy Jay
none Details | Review

Description Jeremy Jay 2004-02-23 23:15:54 UTC
It seems that every time i add a file that has a pound sign in it, muine 
crashes.  All subsequent instances of the program crash immediately as 
well.  clearing out the .gconf/apps/muine and .gnome2/muine dirs allows 
it to start again, and it will run fine as long as i dont add in those 
songs again.

Examples:
08 - #nloco - Bruises.ogg
Dropkick Murphys - 12 - Tenant Enemy #1.ogg

But for some reason this one doesn't:
#nloco - 08 - Bruises.ogg
Comment 1 Jorn Baayen 2004-02-24 17:50:51 UTC

*** This bug has been marked as a duplicate of 132392 ***
Comment 2 Jeremy Jay 2004-02-24 23:15:08 UTC
iso8859 for a '#' = 0x23
UTF8 for a '#'    = 0x23

unless i'm mistaken?
Comment 3 Jorn Baayen 2004-02-25 12:55:14 UTC
Hm, you're right.. it doesn't crash here but it just doesn't load
files with # in them. Gonna have a look at this ..
Comment 4 Jeremy Jay 2004-02-27 20:17:33 UTC
i was using the 0.4.0 but i'm tryied the cvs version and it doesnt
crash, just doesnt add them as you say...  i tracked it down to the
call to gnome_vfs_get_file_info returning a null mime type in metadata.c

looked up some refs on this and found that this fixes it:
line 667:
gnome_vfs_get_file_info( gnome_vfs_escape_path_string(filename)....

maybe this might help with the accented chars from the encoding bug as
well?
Comment 5 Jeremy Jay 2004-02-27 20:33:08 UTC
Created attachment 24869 [details] [review]
patch for gnome vfs filenames
Comment 6 Jorn Baayen 2004-02-27 21:12:39 UTC
Cleanup a little and committed, thanks!!