SDL FAILED (2): Railed to blit surface

Post bug reports and ask for help with other issues here.
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

Hi Harrer,

It should be very soon but I think I know what the issue is now with the older build and if you grab the latest Beta, for now while you wait for the next official release, it should resolve the issue for you.

tm.asp?m=4255013

Hubert
harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

Hello,

With the version 1.01.04beta i can play it, but still having bugs if i move too much on the map (in the editor) and also a bug during my game while moving my units back to the West after the fall of Poland.
Always the same kind of message ... I hope the next patch will come soon and fix it [&o]

harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

Hello,

Breaking news ^^

It's not moving too much on the map that gives me bugs, but a specific section of the map : around Slovakia and Hungary.
All the rest seems to be ok.
The message is also a bit different that the previous bug :
(I try to go South with my cursor and that's what shows up )


Image



It's still a " SDL FAILED(2): Failed to blit surface" bug, but the headline above is different :
It was " draw_operational_management_panel_to_buffer(5)" and now it's "Draw_sprite_to_buffer"


Any idea ?


Thanks in advance,


Harrer


EDIT : I saw that the errorlog could be usefull so i post it here :

[2017-03-22 10:18:07 AM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:10:04 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:12:32 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:13:18 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:14:11 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:15:18 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:21:17 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:22:09 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:23:05 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface
[2017-03-22 14:24:06 PM; 6.2.9200; 1600x1024x32(1); v1.01.04] SDL FAILED(draw_sprite_to_buffer): Failed to blit surface


Edit 2: When i went to the next turn, I began on the Westwall and the bug was present, i couldn't move ...
I tried to disable the 3D units, the texts, ... but the bug remains. Any idea to try?[&:]
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

Does this also occur with the default campaign?
harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

ORIGINAL: Hubert Cater

Does this also occur with the default campaign?

Hi Hubert,

Not tested yet, i tryed to deblock this one, but i'll try also in the default one and let you know.


Harrer
harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

Default campaign tested until mid november, and no bug... [:'(]
but also more events, even if i didn't touched the events in the modified campaign... strange [&:]
harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

Hubert, could you try this:

-launch editor (which is still v 1.01 for me even with the new patch)
-launch default 1939 campaing
-save it as a user campaign (i named it "1939") - the editor propose to YES save and do nothing, or NO stay and update scripts, I said YES.
-so no modification
-leave editor

now launch the editor, load the 1939 user campaign, and try to go over Slovakia/Hungary ... simply doing that i got the "SDL FAILED(2): Failed to blit surface" bug


Let me know [;)]
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

I unfortunately no longer have the v1.01 Editor installed and tested it with the latest v1.02 Editor and I followed these steps and cannot repeat the crash. Did the latest patch not install v1.02 Editor on your end?

If you load the default campaign and go over Slovakia/Hungary, does it also crash?
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

One last thought is to try navigating to the following folder and deleting any content found in there as sometimes Windows' virtual store folder gets in the way of the expected behaviour of programs installed in the Program Files folder. This is sometimes due to your user account access settings.

Replace <username> with your own user name:

C:\Users\<username>\AppData\Local\VirtualStore\Program Files (x86)\Matrix Games\Strategic Command WWII - War in Europe

Then delete any of your problematic custom campaigns and subfolders found here:

C:\Users\<username>\Documents\My Games\Strategic Command WWII - War In Europe\Campaigns

Then try it all out again and see if you have any better success.

harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

ORIGINAL: Hubert Cater

I unfortunately no longer have the v1.01 Editor installed and tested it with the latest v1.02 Editor and I followed these steps and cannot repeat the crash. Did the latest patch not install v1.02 Editor on your end?

If you load the default campaign and go over Slovakia/Hungary, does it also crash?

As I said, i tested until mid november and no crash in the default campaign.

ORIGINAL: Hubert Cater

One last thought is to try navigating to the following folder and deleting any content found in there as sometimes Windows' virtual store folder gets in the way of the expected behaviour of programs installed in the Program Files folder. This is sometimes due to your user account access settings.

Replace <username> with your own user name:

C:\Users\<username>\AppData\Local\VirtualStore\Program Files (x86)\Matrix Games\Strategic Command WWII - War in Europe

Then delete any of your problematic custom campaigns and subfolders found here:

C:\Users\<username>\Documents\My Games\Strategic Command WWII - War In Europe\Campaigns

Then try it all out again and see if you have any better success.



I'll try your suggestions, thank you
harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

Hi again ^^


So i cleaned everything.
Fresh installation. Direct patch 1.02 (didn't see it was out :p) and editor 1.02.
(Or do i need to install the patch 1.01, 1.01.04beta, .. ? )

Same as before :

-launch editor
-launch default 1939 campaing
-save it as a user campaign (i named it "1939") - no longer the proposal to update scripts
-so no modification
-leave editor

then launch the editor, load the 1939 user campaign, and try to go over Slovakia/Hungary ... simply doing that i got the "SDL FAILED(2): Failed to blit surface" bug




Image
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

Thanks and can you clarify if you load the default campaign in the Editor, does it also crash like this at Slovakia/Hungary?

Just trying to narrow down for each of the game and the editor, if the crashes only happen with custom campaigns.

harrer
Posts: 753
Joined: Wed Dec 01, 2004 8:34 am

RE: SDL FAILED (2): Railed to blit surface

Post by harrer »

No bug when i load the default 39 campaign in the editor and scroll over Slovakia/Hungary (but i had no bug with that in the 1.01 version either)

User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

Hi Harrer,

Thanks for the feedback and I have some more questions, can you send me an email at support@furysoftware.com?

Hubert
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

Hi Harrer,

Thanks and I've just replied to your PM.

Hubert
vonik
Posts: 262
Joined: Fri Apr 08, 2011 12:12 pm

RE: SDL FAILED (2): Railed to blit surface

Post by vonik »

Got the bug again in PBEM .
Haven't seen it since 1.3 .
But now I load a game, click replay, it shows the French front and crashes . Failed to blit surface .
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: SDL FAILED (2): Railed to blit surface

Post by Hubert Cater »

Is this consistently happening for the same saved game?
vonik
Posts: 262
Joined: Fri Apr 08, 2011 12:12 pm

RE: SDL FAILED (2): Railed to blit surface

Post by vonik »

I don't know . As it was PBEM, we are already beyond . But I didn't see it since that one time .
Post Reply

Return to “Tech Support”