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 Sep 8 21:55:50 2011  
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 Mar 17 22:10:07 2017, comment #5:

Whoa buddy, just realized what I wrote last year came across jerk-ish xD


Tristan <tedious>
Sat Apr 23 21:40:15 2016, comment #4:

Unfortunately, the suggestion by kon still needs to be implemented.

Fran├žois Beerten <feb>
Project Administrator
Tue Apr 19 20:25:38 2016, comment #3:

Long time... 4 years huh?

I agree with kon's assessment. Has this been implemented?

Tristan <tedious>
Fri Aug 3 07:40:44 2012, 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 Jan 6 18:48:29 2012, 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 Sep 8 21:55:50 2011, original submission:

Windows 7 32 bit
Intel Core2Duo
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:
Application Timestamp: 4bcb39f6
Fault Module Name: boswars.exe
Fault Module Version:
Fault Module Timestamp: 4bcb39f6
Exception Code: c0000005
Exception Offset: 000f56b4
OS Version: 6.1.7601.
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:

Tristan <tedious>


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

Attach File(s):

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 Jan 6 18:48:29 2012febSeverity3 - Normal=>4 - Important
      StatusNone=>In Progress
    Thu Sep 8 21:55:50 2011tediousCarbon-Copy-=>Added feb

    Back to the top

    Powered by Savane 3.1-cleanup1