FreeOrion

Forums for the FreeOrion project
It is currently Fri May 24, 2013 12:32 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: crash with invalid savefile name
PostPosted: Sun Jan 24, 2010 12:37 pm 
Offline
Space Floater

Joined: Sun Jan 24, 2010 11:42 am
Posts: 25
The attached file is the crash information I got when I entered an invalid filename (test/2) for saving the game status (Tested with FreeOrion 0.3.13 on MacOSX 10.6.2)

Anything else I can (try to) provide? I looked for a FreeOrion log file, but didn't find any.


Attachments:
crash_filename.txt [50.36 KiB]
Downloaded 14 times
Top
 Profile  
 
 Post subject: Re: crash with invalid savefile name
PostPosted: Sun Jan 24, 2010 7:22 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
On Mac OSX, log files should be located here:

Username/Library/Application Support/FreeOrion/

Attaching the log files, ideally zipped, might be helpful.


Top
 Profile  
 
 Post subject: Re: crash with invalid savefile name
PostPosted: Mon Jan 25, 2010 8:24 am 
Offline
Space Floater

Joined: Sun Jan 24, 2010 11:42 am
Posts: 25
I played around a bit more. It seems it is only triggered, if I chose an existing savefile name and edit that name (to an invalid one). If I just type in an invalid name, I get the "invalid filename" message and fine.

Attached the log. Thanks due to your reply I noticed that it is ~/Library/... and not /Library (where I looked initially when making the 1st posting)


Attachments:
filenamecrash.zip [8.7 KiB]
Downloaded 17 times
Top
 Profile  
 
 Post subject: Re: crash with invalid savefile name
PostPosted: Mon Jan 25, 2010 9:12 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
planetbaker wrote:
It seems it is only triggered, if I chose an existing savefile name and edit that name (to an invalid one). If I just type in an invalid name, I get the "invalid filename" message and fine.

Could you be a lot more specific about what steps you use to produce this crash? What do you click and type where, in what order, exactly? I've tried starting a game, going into the menu, clicking save, clicking an existing save file, then editing the filename to test/2 or adding /2 at the end of the existing name, but I always get an invalid filename popup when trying to save, and no crash. I'm on windows, though, so it could be a difference between versions...


Top
 Profile  
 
 Post subject: Re: crash with invalid savefile name
PostPosted: Mon Jan 25, 2010 4:53 pm 
Offline
Space Floater

Joined: Sun Jan 24, 2010 11:42 am
Posts: 25
I have an existing savegame file called test2(.sav).
Subsequently I tried to save the game under a similar name:
- I clicked on the existing test2.sav
- put the cursor between the characters "2."
- entered "/2" at that location
- pressed "save"


Top
 Profile  
 
 Post subject: Re: crash with invalid savefile name
PostPosted: Mon Jan 25, 2010 6:16 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
I can't reproduce that on windows. Perhaps it's OSX specific...?

Regardless, could you add a bug report about this to the sourceforge bug tracker?


Top
 Profile  
 
 Post subject: Re: crash with invalid savefile name
PostPosted: Mon Jan 25, 2010 11:09 pm 
Offline
Space Floater

Joined: Sun Jan 24, 2010 11:42 am
Posts: 25
I just found an important piece of information: confirm the filename using return key on the keyboard, don't use the mouse button to click 'save'. In both cases I see an 'invalid filename' message, but in the first case it's the last thing I see. So in order to summarize:

1) make sure to have a savegame called test2
2) load test2
3) open the file menu, choose 'save game'
4) choose 'test2.sav' and insert '/2' between the 2 and the dot or create any other invalid filename
5) press enter & see crash (bus error reported on console)

It worked for me 100% with the attached savegame and 0.3.13.

EDIT:
I made a bug report at sourceforge. And any invalid filename will do.


Attachments:
File comment: in case it should matter and getting the same amount of messages upon load: my test savegame
test2.zip [53.49 KiB]
Downloaded 14 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group