Search found 66 matches

by spikethehobbit
Tue Aug 28, 2012 7:56 am
Forum: Programming
Topic: SVN 5179 crash to desktop loading font
Replies: 13
Views: 1027

Re: SVN 5179 crash to desktop loading font

Commenting out line 1312 erases text, but no more crash.

It worked before the GiGi merger. The fixes to building GiGi on Linux may be the culprit, since those scripts are rather hairy, and whitespace sensitive. I will go over those again.
by spikethehobbit
Tue Aug 28, 2012 7:13 am
Forum: Programming
Topic: SVN 5179 crash to desktop loading font
Replies: 13
Views: 1027

Re: SVN 5179 crash to desktop loading font

No, reverting that patch does not fix it. Running under valgrind only shows two errors before valgrind itself faults. First is an overlapping memcpy in libasound. At worst this should produce corrupted audio output. It seems unlikely to be the culprit. Second is an out-of-bounds write at GG/src/Font...
by spikethehobbit
Tue Aug 28, 2012 5:02 am
Forum: Programming
Topic: SVN 5179 crash to desktop loading font
Replies: 13
Views: 1027

Re: SVN 5179 crash to desktop loading font

MALLOC_CHECK_=3 ./freeorion

segfaults at GG/src/Font.cpp @ 1318
temp_glyph_data[c] =
TempGlyphData(...)

the crash itself is in the heap check done glibc, so this appears to be a corrupted heap
by spikethehobbit
Tue Aug 28, 2012 4:57 am
Forum: Programming
Topic: SVN 5179 crash to desktop loading font
Replies: 13
Views: 1027

SVN 5179 crash to desktop loading font

font is default/DejaVuSans-Bold.ttf GG/src/Font.cpp @ 1344 // create opengl texture from buffer(s) and release buffer(s) for (std::size_t i = 0; i < buffer_vec.size(); ++i) { boost::shared_ptr<Texture> temp_texture(new Texture); temp_texture->Init(X0, Y0, buffer_sizes .x, buffer_sizes .y, BUF_WIDTH,...
by spikethehobbit
Tue Aug 28, 2012 3:53 am
Forum: Programming
Topic: [FTBFS] [PATCH] SVN 5179 gcc error
Replies: 0
Views: 1103

[FTBFS] [PATCH] SVN 5179 gcc error

gcc does not like 'typename' outside of a template declaration This patch reverts 2nd half of 5179 @@ -201,17 +201,17 @@ UI/ObjectListWnd.cpp: EnumRow(enumT value, GG::Y row_height) : GG::ListBox::Row(GG::X1, row_height, "EnumRow"), m_value(value) { SetChildClippingMode(ClipToClient); - co...
by spikethehobbit
Mon Aug 27, 2012 8:11 pm
Forum: Programming
Topic: [BUG] SVN 5177 gives compile error on OSX
Replies: 3
Views: 374

Re: [BUG] SVN 5177 gives compile error on OSX

It shouldn't compile at all, even under windows. a few more things: universe/Condition.h line 544 const ValueRef::ValueRefBase<int>* High() const { m_since_turn_high; } should be const ValueRef::ValueRefBase<int>* High() const { return m_since_turn_high; } lines 186, 217 const ValueRef::ValueRefBase...