bugBos Wars - Bugs: bug #34255, Crashes on patch creation, BosWars...

 
 

bug #34255: Crashes on patch creation, BosWars 2.6.1, Windows7

Submitted by:  Tristan <tedious>
Submitted on:  Thu 08 Sep 2011 09:55:50 PM UTC  
 
Severity: 4 - ImportantItem Group: Bug
Status: In ProgressPrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 03 Aug 2012 07:40:44 AM UTC, comment #2:

I got a SIGSEGV with Bos Wars 2.6.1 on Debian wheezy (libstdc++6:amd64 4.7.1-2) when I tried to create a patch with a missing graphic file. This may be the same bug that caused your crash in Windows. Fixed in trunk r10049 (2011-03-05) and boswars-2.6 r10190 (2012-08-03). With that fix, Bos Wars still exits, but cleanly.

I think it would be better not to exit in this scenario. Instead pop up an error message and let the user return to the menu. For that reason, I'm not marking this bug fixed yet.

The same error could in principle happen when loading a map (for editing or for playing) that uses patches with missing graphics. Then, there might be dozens of such patches, and we should show the whole list to the user rather than just the first one. Could even show the map, drawing rectangles as placeholders for the missing graphics, and display the error message in front of that. What do you think?

Kalle Olavi Niemitalo <kon>
Project Member
Fri 06 Jan 2012 06:48:29 PM UTC, comment #1:

Kon did many improvements to the UI for creating patches starting at revision 9841. Now the image to use can be selected with a file browser. It will land in the next release.

Currently, te edit box with the image file is still editable which could create the same problem again. Ideally, we should remove the edit box with the image file or replace it with a read only text widget.

Fran├žois Beerten <feb>
Project Administrator
Thu 08 Sep 2011 09:55:50 PM UTC, original submission:

Windows 7 32 bit
Intel Core2Duo
4GiB RAM
Intel G41 Express Chipset

To recreate:

From Main Menu->Start Editor->Patch Editor->Create New Patch:

Name: name
Image: plain4.png
Size: 64x64

->[Create Patch]

To avoid:

In the image field prepend: patches/

For example: patches/plain4.png

Doesn't crash if the patches/ string is prepended.

Application crash, Windows output(Don't know how useful this is):

Problem signature:
Problem Event Name: APPCRASH
Application Name: boswars.exe
Application Version: 0.0.0.0
Application Timestamp: 4bcb39f6
Fault Module Name: boswars.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4bcb39f6
Exception Code: c0000005
Exception Offset: 000f56b4
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

Tristan <tedious>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kon (Posted a comment)
  • -unavailable- added by feb (Posted a comment)
  • -unavailable- added by tedious (Submitted the item)
  • -unavailable- added by tedious (Added the bug, let me know if it needs more info)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Jan 2012 06:48:29 PM UTCfebSeverity3 - Normal=>4 - Important
      StatusNone=>In Progress
    Thu 08 Sep 2011 09:55:50 PM UTCtediousCarbon-Copy-=>Added feb

    Back to the top


    Powered by Savane 3.1-cleanup