Microsoft Visual C++ Runtime Library - Runtime error

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

During watching or playing games on wesnoth 1.8.3 english version the game crashes to desktop with the following error...
Microsoft Visual C++ Runtime Library
Runtime error!

Program: C:\Program Files\Battle For Wesnoth 1.8.3\wesnoth.exe

This application has requested the runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

OK
this happens after some time of watching or playing, maybe around 20 minutes but it is random.

i have windows xp pro sp3 fully patched.
User avatar
Leid
Posts: 84
Joined: April 8th, 2010, 3:49 pm
Location: At Wesnoth!!!
Contact:

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Leid »

I have the same error. I use wesnoth 1.8.2, and I have WIndows Vista Home Premium. :hmm:
The creator of "City Defense", a 2P survival on the add-ons list.

Visite my Art Gallery!
http://forums.wesnoth.org/viewtopic.php?f=23&t=30931
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Anonymissimus »

That error message doesn't tell anything about why it crashed. Paste content from the file stderr.txt in your wesnoth installation folder.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

ok when it crashes again i will paste the content as ive loaded wesnoth since
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

well that did not take long to crash, maybe 10 minutes into an observable game..

stderr.txt
Battle for Wesnoth v1.8.3
Started on Tue Aug 17 17:47:40 2010

Automatically found a possible data directory at C:/Program Files/Battle for Wesnoth 1.8.3

Data directory: C:/Program Files/Battle for Wesnoth 1.8.3
User configuration directory: C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8

Checking video mode: 1024x768x32...
setting mode to 1024x768x32

20100817 17:48:03 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:04 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:05 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:07 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:09 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:12 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:13 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:13 error config: Illegal character in map: (Zza) 'Zza'
20100817 17:48:13 error config: illegal map: Illegal character in map: (Zza) 'Zza'
The map cannot be loaded.
20100817 17:48:14 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:15 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:16 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:17 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:19 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:20 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:21 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:22 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:23 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:24 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:25 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:26 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:27 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:28 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:29 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:30 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:31 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:32 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:33 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:36 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:37 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:38 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:39 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:42 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:43 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
20100817 17:48:44 error filesystem: Could not open 'C:/Documents and Settings/ME/My Documents/My Games/Wesnoth1.8/editor/maps/' for reading.
does not look like there is anything in there to do with the error though
Last edited by Awen on August 17th, 2010, 5:13 pm, edited 1 time in total.
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

the directory "C:\Documents and Settings\ME\My Documents\my games\Wesnoth1.8\editor\maps" that wesnoth is looking for above exists but is empty.

i checked the file stdout.txt in the wesnoth directory it exists but is empty.

when i was playing the previous stable version of wesnoth (1.6) and all other versions before that i did not get this error.

i have heard talk in one game that others are experiencing this error as well and it was said maybe a person who disconnected got it instead of them leaving the game normally.

i have only one addon installed for wesnoth this time around and its the extended era, thats all.
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

i downloaded wesnoth 1.8.4 and observed a game and it crashed after a while with the same error message as above except the version number in the message was different. it picked up the 1 addon i installed with 1.8.3 extended era as thats kept in my documents.

sometimes i can watch a game for 40 minutes or more without the error sometimes not it is very random.
User avatar
Moribund
Posts: 156
Joined: July 19th, 2010, 10:42 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Moribund »

I get this every time I play.
Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Ceres »

I got this error in 1.8.1 too, but using 1.9.1, it disappeared!
Gaymann
Posts: 15
Joined: May 11th, 2010, 2:52 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Gaymann »

Ya i got this same problem.

i was using before 1.8.1 then i decided to install the lates one (1.8.5)
On 1.8.1 i had first this problem too .... but then the errors just didn't come anymore... which was very confusing because i don't really know what was the reason that why i didn't get those errors anymore. I dwonloaded some ddl files as my friend advised me to do.

Here's the thread
http://forums.wesnoth.org/viewtopic.php?f=4&t=29934

But now on 1.8.5 errors started coming again and look like that here's no soltuion for this problem.

PEOPLE PLEASE HELP US!
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

i have microsoft visual studio 2008 express edition installed, does anyone else have any programming languages installed and are getting this error? though i only have a link for visual basic so im not sure if anything to do with C++ was installed.
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Anonymissimus »

Awen wrote:i have microsoft visual studio 2008 express edition installed, does anyone else have any programming languages installed and are getting this error? though i only have a link for visual basic so im not sure if anything to do with C++ was installed.
It'd rather do good than bad I suppose...
I have MSVC C++ installed too and can't reproduce your problem with it however.
However, if you manage to install MSVC C++ and compile wesnoth (I'd advise the cmake version, it's less difficult) you might get a binary that doesn't suffer from the crash. Or, if it does, MSVC can supply good information about the crash...
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

ok im downloading c++ and sql server 2010 express edirtions from the microsoft site can you give detailed instructions as to what i need to do when installed?

1) should i try running it non compiled first and try and catch the error.

2) how do i compile it, the cmake way. wont compilling it mean i do not get very good error / bug reports.. i know with visual basic when compiled you dont get to step into the code to see the error.
Awen
Posts: 46
Joined: March 16th, 2008, 6:44 pm

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Awen »

when i open a project file (there are 4 i can find) it asks me to convert the project to visual studio 2010 as it was made in an earlier version of c++ will it work if i do this? also do i have to open all 4 project files and convert them seperately?

i have no idea about c++ maybe its not such a good idea i continue
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Microsoft Visual C++ Runtime Library - Runtime error

Post by Anonymissimus »

I've posted a link somewhere here in the forum where vs 2008 is still downloadable. There's not yet any dev who's using vs 2010...forget it...(it will not only be very difficult - much more than that...)
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Post Reply