0.4.9-CVS video mode switch problem

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
Norvell

0.4.9-CVS video mode switch problem

Post by Norvell »

The CVS from 2003.10.11 17:41 UTC crashes when switching video modes. The game defaults to 800x600. When I go to preferences and try to switch to a different mode, I get the following output in the XTerm whence I ran BfW:


GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...
(gdb) run
Starting program: /usr/local/wesnoth-cvs/wesnoth
[New Thread 16384 (LWP 29515)]
Initialized true type fonts
[New Thread 32769 (LWP 29516)]
[New Thread 16386 (LWP 29517)]
BEGIN: preprocessing file...
END: preprocessing file... (took 172ms)
BEGIN: parsing config...
END: parsing config... (took 141ms)
checking mode possible...

16
setting mode to 800x600
BEGIN: parsing config...
END: parsing config... (took 5ms)
Opening font file: fonts/Vera.ttf ...
Inserting font...
Opening font file: fonts/Vera.ttf ...
Inserting font...
Opening font file: fonts/Vera.ttf ...
Inserting font...
Opening font file: fonts/Vera.ttf ...
Inserting font...
Opening font file: fonts/Vera.ttf ...
Inserting font...


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 29515)]
0x080af2c0 in std::_Rb_tree<char, std::pair<char const, terrain_type>, std::_Select1st<std::pair<char const, terrain_type> >, std::less<char>, std::allocator<std::pair<char const, terrain_type> > >::find(char const&) const ()


If it matters or helps, I've got XFree86-4.3 and Linux kernel-2.4.21. Let me know if you need more detatils.
Norvell

addendum to previous

Post by Norvell »

If I let BfW stay in 800x600, start a campaign, then change the video mode to 1024x768 it seems to work.

Something else: When showing the story frames at the beginning of a campaign, in 800x600 mode, the bottom lines of text are chopped and a few rows of font pixels stay at the bottom of the screen even when the campaign starts. The Next button shows up, but not the Skip button.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

I think I have fixed this problem in the latest version.

However, there are some problems with the game running in 800x600 that I didn't forsee, so I have made the minimum video mode 1024x768 again for the moment.

David
Post Reply