View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003084 | The Dark Mod | Coding | public | 15.04.2012 16:09 | 15.04.2012 19:09 |
Reporter | tels | Assigned To | tels | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 1.08 | ||||
Summary | 0003084: idlib/containers/List.h:576 Assertion `index < num' failed | ||||
Description | Happens 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 Information | Might be related to not using English. | ||||
Tags | No tags attached. | ||||
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. |
|
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 |