URL:
<http://gna.org/patch/?1106>
Summary: Patches for Solaris and Sun Studio compiler
Project: Battle for Wesnoth
Submitted by: pietro
Submitted on: Saturday 09/27/2008 at 18:25
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This BETA-version of patches.
As wesnoth compiles, but when starts (while creating preferences directory)
crash. I suspect one of this patches to cause it or there is bug somewhere
else. Please do not incorporate this patch until this issue will be
clarified. (sub patches can be applied, but please mark here which were
accepted). Sorry for complex ugly patch.
More info about crash:
$ ./wesnoth
Battle for Wesnoth v1.5.4+svn (29714M)
Started on Sat Sep 27 18:21:31 2008
Data directory: /opt/games/share/wesnoth
User configuration directory: /export/home/petr/.wesnoth-dev
Checking video mode: 1024x768x32...
setting mode to 1024x768x32
20080927 18:21:31 error config: Could not open file data/OUTER_RECT
20080927 18:21:31 error config: Could not open file data/TEXT_DEFAULT_NORMAL
20080927 18:21:31 error config: Could not open file data/OUTER_RECT
20080927 18:21:31 error config: Could not open file data/TEXT_DEFAULT_NORMAL
20080927 18:21:31 error config: Could not open file data/OUTER_RECT
20080927 18:21:31 error config: Could not open file data/TEXT_DEFAULT_NORMAL
20080927 18:21:31 error config: Could not open file data/FONT_SIZE
20080927 18:21:31 error config: Could not open file
data/GUI_TINY__FONT_SIZE__
20080927 18:21:31 error config: Could not open file data/FONT_STYLE
20080927 18:21:31 error config: Could not open file data/FONT_COLOUR
20080927 18:21:31 error config: Could not open file
data/GUI__FONT_COLOUR_ENABLED__
20080927 18:21:31 error config: Could not open file data/FONT_COLOUR
20080927 18:21:31 error config: Could not open file
data/GUI__FONT_COLOUR_DISABLED__
20080927 18:21:31 error config: Could not open file data/FONT_SIZE
20080927 18:21:31 error config: Could not open file
data/GUI_NORMAL__FONT_SIZE__
20080927 18:21:31 error config: Could not open file data/FONT_STYLE
20080927 18:21:31 error config: Could not open file data/FONT_COLOUR
20080927 18:21:31 error config: Could not open file
data/GUI__FONT_COLOUR_ENABLED__
20080927 18:21:31 error config: Could not open file data/FONT_COLOUR
20080927 18:21:31 error config: Could not open file
data/GUI__FONT_COLOUR_DISABLED__
Assertion failed: control_definition[definition_type].find(def->id) ==
control_definition[definition_type].end(), file src/gui/widgets/settings.cpp,
line 323
Abort(coredump)
Here is stack from coredump:
$ pstack core | c++filt
core 'core' of 1743: ./wesnoth
----------------- lwp# 1 / thread# 1 --------------------
cde7ea35 _lwp_kill (1, 6) + 15
cde32192 raise (6) + 22
cde0f0dd abort (8047a08, cebfc7dc, 65737341, 6f697472, 6166206e,
64656c69) + cd
cde0f2fe _assert (92d2e8a, 92d2ee9, 143) + 6e
08a66f34 void
gui2::tgui_definition::load_definitions<gui2::tbutton_definition>(const
std::string &,const std::vector<config*>&) (8046e74, 8046a6c, 9766efc) + 174
08a3dae7 const std::string &gui2::tgui_definition::read(const config&)
(8046e74, 96cb2b0) + ed7
08a3bc73 void gui2::load_settings() (8350166, 8047718, 835016e, 8047af4,
8047a08, cebfc7dc) + 8e3
08a29701 bool gui2::init() (8047af4, 8047a08, cebfc7dc, 8047108, 804725c,
cebfc7dc) + 21
0835016e int do_gameloop(int,char**) (1, 8047a4c) + 19e
08352081 main (1, 8047a4c, 8047a54, 8047a40) + 5a1
083198dd _start (1, 8047b5c, 0, 8047b66, 8047b72, 8047b8b) + 7d
----------------- lwp# 2 / thread# 2 --------------------
cde7d795 __nanosleep (cdc5ef58, cdc5ef50) + 15
ce96ae1e SDL_Delay (1) + 62
ce96ae68 RunTimer (0) + 34
ce93884b SDL_RunThread (9694888) + 43
ce96952f RunThread (9694888) + 1b
cde7a1d0 _thrp_setup (cdb50200) + 70
cde7a430 _lwp_start (cdb50200, 0, 0, 0, 0, 0)
----------------- lwp# 3 / thread# 3 --------------------
cde7d795 __nanosleep (cd0aee88, cd0aee80) + 15
ce96ae1e SDL_Delay (14) + 62
ce969eb8 DSP_WaitAudio (970f958) + 60
ce93063f SDL_RunAudio (970f958) + 143
ce93884b SDL_RunThread (96b64b0) + 43
ce96952f RunThread (96b64b0) + 1b
cde7a1d0 _thrp_setup (cdb51200) + 70
cde7a430 _lwp_start (cdb51200, 0, 0, 0, 0, 0)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 09/27/2008 at 18:25 Name: wesnoth-solaris-beta.diff Size:
8kB By: pietro
<http://gna.org/patch/download.php?file_id=4829>
-------------------------------------------------------
Date: Saturday 09/27/2008 at 18:25 Name: wesnoth-solaris-scons-beta.diff
Size: 3kB By: pietro
<http://gna.org/patch/download.php?file_id=4830>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1106>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs