[Gtkradiant] [Bug 1049] GtkRadiant crashes when autosaving a snapshot

bugzilla-daemon at zerowing.idsoftware.com bugzilla-daemon at zerowing.idsoftware.com
Sat Jan 29 00:55:30 CST 2005


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=1049





------- Additional Comments From david_costanzo at yahoo.com  2005-01-29 00:55 -------
Thanks to SmallPileOfGibs's help, I was able to compile GtkRadiant from source.
 This make it much easier to track down this bug.

MapResource_saveFile() crashes because "table" is NULL.  table is NULL because
it is looked up based on the filename's extension and, in the case, the table
isn't found because the snapshot's filename is of the from "mymap.map.#".  The
extension is a number, not ".map" and numbers aren't registered extensions.

The fix for this may be to change the snapshot's filename to the form
"mymap.#.map".  This change will be made near automap.cpp:59.

I can submit a patch for this, if you like.


-- 
Configure bugmail: http://zerowing.idsoftware.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Gtkradiant mailing list