Bugs item #3274596, was opened at 2011-04-04 20:25 Message generated for change (Comment added) made by juhaszp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3274596&group_id=33921
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Péter Juhász (juhaszp) Assigned to: Julian Lamb (thepurlieu) Summary: Crash on WinXP if path contains accented characters Initial Comment: I downloaded and installed gerbv (version 2.5.0) via the binary installer from Sourceforge. When I tried to open a gerber file that contained accented (non-ascii) characters in its path (e.g. C:\Documents and Settings\Felhasználó\Documents\foo.gbr), gerbv either crashed (displaying Windows' oh-so-helpful crash report dialog window) or showed a message about not being able to open the file. When I copied the file to a different directory (that didn't have any funny letters in its path) the file was opened normally. OS version: Windows XP SP3 ---------------------------------------------------------------------- >Comment By: Péter Juhász (juhaszp) Date: 2011-04-13 21:09 Message: It was a Hungarian Windows. As the default user name on this system, "Felhasználó", contains accented letters, this bug is going to cause problems, because Windows prefers to put stuff in the users' Documents directory, the path of which contains the user name. I've done some experimenting: an accented letter anywhere in the full filename will trigger the bug, be it "C:\á\x.gbr" or "C:\x\á.gbr". The actual failure mode varies: sometimes I got an error message and the program remained usable, sometimes it crashed (displaying the crash report dialog), sometimes it seemed to freeze. I tried saving the project as "á.gvp", but Windows then showed it in the file list as "á.gvp" (or something like that), which is similar to how UTF-8 would look like in a legacy 8-bit encoding. So there must be an encoding problem here (something expects and assumes UTF-8, and chokes when it gets something else), but I don't know where exactly. I seem to recall similar bugs in other Gtk/Glib-based applications on Windows. ---------------------------------------------------------------------- Comment By: Julian Lamb (thepurlieu) Date: 2011-04-13 04:24 Message: Peter, Thank you for reporting this bug. Someone mentioned a similar problem about a year ago, but we were *hoping* it was fixed with the 2.5 release and closed the bug report. Apparently this wasn't the case. I'll try and do some more research into what could be causing this...unfortunately this bug seems to only happen on non-English Windows versions (what localization of Windows are you using?), so it is impossible for me to see this bug for myself. Cheers-- Julian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3274596&group_id=33921 ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel