Topic: Segmentation fault (rev 4609)

max

Topic Opener
Joined: 2009-11-03, 05:25 UTC+1.0
Posts: 1
Ranking
Just found this site
Posted at: 2009-11-03, 05:38 UTC+1.0

I'm running ubuntu 9.10 (32 bit) and installed the game like the instructions at http://wl.widelands.org/wiki/BuildingWidelands/#building_under_linux_i386

The game works fine except every time I click on the "configure economy" button the game crashes with a message like:

ptr_assert_cast failure: base = 0xbeb32a8, dynamic_cast<Derived *>(base) = (nil), static_cast<Derived *>(base) = 0xbeb32a8 Segmentation fault

Any help appreciated.


Top Quote
Tino

Joined: 2009-02-20, 17:05 UTC+1.0
Posts: 251
Ranking
Tribe Member
Location: Somewhere in Germany...
Posted at: 2009-11-03, 17:22 UTC+1.0

I can confirm this on win32. Last entry in stdout.log:

ptr_assert_cast failure: base = 0x6867810, dynamic_cast<Derived *>(base) = 0, static_cast<Derived *>(base) = 0x6867810


Top Quote
stm

Joined: 2009-08-03, 19:35 UTC+2.0
Posts: 15
Ranking
Pry about Widelands
Posted at: 2009-11-04, 09:28 UTC+1.0

I can't see this problem when clicking on "configure econonmy". I am using build 4609 in Vista.


Top Quote
Tino

Joined: 2009-02-20, 17:05 UTC+1.0
Posts: 251
Ranking
Tribe Member
Location: Somewhere in Germany...
Posted at: 2009-11-13, 18:08 UTC+1.0

Bug should be fixed in latest svn: widelands.8-schuss.de

The bug only occured with low resolutions or small windows sizes...


Top Quote