Latest Posts

Topic: Build 15 crash on windows 7

yeti

Topic Opener
Joined: 2010-07-20, 18:55
Posts: 10
Ranking
Pry about Widelands
Posted at: 2010-07-25, 19:23

whenever i start the second tutorial campagne wl crashes: ....\build15\src\logic\replac.cc:23 faled to save game for replay: bad allocation <<<< searched for stdaut.txt / stderr.txt. they are both empty

any help is welcome


Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 18:17
Posts: 828
Ranking
One Elder of Players
Location: Germany
Posted at: 2010-07-25, 20:04

That problem was already reported some days ago by another user. She tried the current development version from http://widelands.8-schuss.de and wrote us, that the problem did not exist in that version any longer.

So I have to admit: I have no clue what's going on there - however, as the development builds should be as stable as the official ones at the moment, I welcome you to give it a try. face-smile.png

Cheers

Nasenbaer


Top Quote
yeti

Topic Opener
Joined: 2010-07-20, 18:55
Posts: 10
Ranking
Pry about Widelands
Posted at: 2010-07-26, 19:37

i did as told. downloaded and updated the game. after that i could start the campaing, but right after finishing the first building on the island, the game crashed again face-sad.png


Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 18:17
Posts: 828
Ranking
One Elder of Players
Location: Germany
Posted at: 2010-07-27, 08:45

that's strange. Did you get any error output? There should be a file "stderr.txt" either in the directory you installed Widelands to, or alternatively in <userhome>\!VirtualDrive\Roaming\Widelands could you please check that file after such a crash (it's rewritten every time you restart widelands, so it's surely empty, if you restarted WIdelands since the crash)

Cheers

Nasenbaer

Edited: 2010-07-27, 08:46

Top Quote
yeti

Topic Opener
Joined: 2010-07-20, 18:55
Posts: 10
Ranking
Pry about Widelands
Posted at: 2010-07-27, 20:31

today a could play on a bit further. in the middle of the second challange of campaing 2 it crashes again. stderr.txt is empty, 0 kb size? warum texten wir eigentlich nicht in deutsch?


Top Quote
timowi

Joined: 2009-11-01, 23:08
Posts: 146
Ranking
At home in WL-forums
Location: Germany
Posted at: 2010-07-28, 13:46

I had problem under windows 7 too. Neither the ggc nor the msvc version worked. But someone reported success with windows 7. So this seems to be a problem with some libraries. The std::bad_alloc indicates that there is a problem with memory. Perhaps different c runtime in widelands and a library? This is a typical binary incompatibility. If I have some time I will investigate in this bug.

@yeti: Hier ist das englische Support Forum. Es gibt zwar viele deutschsprachige Spieler hier, aber wenn wir auf englisch schreiben hilft das mehr Personen.

Timo


Top Quote
yeti

Topic Opener
Joined: 2010-07-20, 18:55
Posts: 10
Ranking
Pry about Widelands
Posted at: 2010-07-28, 19:17

so, to sum it up, i can not do more then wait'till somebody found the cause and fixes it :'-)


Top Quote
yeti

Topic Opener
Joined: 2010-07-20, 18:55
Posts: 10
Ranking
Pry about Widelands
Posted at: 2010-08-08, 13:03

any news on this bug/problem?


Top Quote
Tino

Joined: 2009-02-20, 17:05
Posts: 252
Ranking
Tribe Member
Location: Somewhere in Germany...
Posted at: 2010-08-08, 15:06

I am not sure, i am using Windows 7 x64 and do not experience this problem. Are you sure, you have enough space left on your harddisk for (auto)saving and the replaystream? And if it is so randomly, perhaps you have bad clusters on your harddisk?


Top Quote
timowi

Joined: 2009-11-01, 23:08
Posts: 146
Ranking
At home in WL-forums
Location: Germany
Posted at: 2010-08-08, 17:19

@Tino: the std::bad_alloc has nothing to do with disk space. This mean the runtime was not able to allocate memory. This happens if out of free ram or if there is something wrong with the allocator or the heap. This was reported more then once already and I can confirm the windows 7 problems too. Most probably this is some binary incompatibility and depends on the installed libraries.

@yeti: you can try the following build. For me it works fine under windows 7 and windows xp except that ggz does not work. It crashes is you try to join a internet game.

http://timowi.dyndns.org/wl/build15/widelands-build15-mingw-static-v1.zip

EDIT: This file contains the executable only. Copy the contained exe in an existing widelands build15 folder.

Edited: 2010-08-12, 11:39

Top Quote