View Issue Details

IDProjectCategoryView StatusLast Update
0003084The Dark ModCodingpublic15.04.2012 19:09
Reportertels Assigned Totels  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionSVN 
Target VersionTDM 1.08 
Summary0003084: idlib/containers/List.h:576 Assertion `index < num' failed
DescriptionHappens under Debug:

WARNING:RegisterFont: couldn't find font: 'fonts/english/fontImage_48.dat'
Could not register font fonts [fonts/english]
thedarkmod.x86: framework/../idlib/../idlib/containers/List.h:576: type& idList<type>::operator[](int) [with type = fontInfoEx_t]: Assertion `index < num' failed.
Additional InformationMight be related to not using English.
TagsNo tags attached.

Activities

tels

tels

15.04.2012 19:09

reporter   ~0004464

Fixed with change 0005391. The font list no longer contains empty entries when a font cannot be found, so because the game tries to load the non-existing "fonts" (which results in "fonts/language", f.i. "fonts/english"), the font list formerly contained at least one empty entry.

Now it contains none.

This confused the ui code, which always used fonts[0] as fallback.

While this is fixed, debug builds not segfault a bit later before being able to load the menu, so clearly other things are broken.

Issue History

Date Modified Username Field Change
15.04.2012 16:09 tels New Issue
15.04.2012 19:07 tels Assigned To => tels
15.04.2012 19:07 tels Status new => assigned
15.04.2012 19:07 tels Target Version => TDM 1.08
15.04.2012 19:09 tels Note Added: 0004464
15.04.2012 19:09 tels Status assigned => resolved
15.04.2012 19:09 tels Resolution open => fixed