View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004426 | Spring engine | General | public | 2014-06-09 15:51 | 2014-06-14 21:52 |
| Reporter | cleanrock | Assigned To | jK | ||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Product Version | 97.0.1+git | ||||
| Target Version | 98.0 | ||||
| Summary | 0004426: FT_Set_Pixel_Sizes failed | ||||
| Description | Crashed when i joined a zk game today: Error: [ErrorMessageBox][1] msg="/usr/share/fonts/misc/18x18ja.pcf.gz: FT_Set_Pixel_Sizes failed: invalid pixel size" IsMainThread()=1 fromMain=0 May be a local problem of mine but posting it here in case its not. | ||||
| Additional Information | Spring 97.0.1-18-gf1dd749 develop Zero-K v1.2.6.12 http://zero-k.info/Battles/Detail/267434 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
can you get a proper stacktrace? I don't understand how the throw wasn't caught. |
|
|
I get this problem with the static DLed -18 engine, not my locally built -18. Attached log with bt and bt full, i guess its an unprotected (no catch) branch. |
|
|
jk, Do you know why the static build use /usr/share/fonts/misc/18x18ja.pcf.gz and my locally built spring use /usr/share/fonts/TTF/DejaVuSans.ttf ? This looks like a possible problem of downloaded engines. |
|
|
fontconfig / freetype is static linked... possible solution is to link them shared, but idk how "stable" their api + abi is. maybe updating them helps, too, idk. edit: no "stable" update available. |
|
|
yep, Spring never explicit uses /usr/share/fonts/misc/18x18ja.pcf.gz, it's that the requested (and game/archive included font) doesn't contain the requested unicode glyph. And that's what Spring uses fontconfig for, instead of displaying the not found glyph (regularly a box), it asks fontconfig to find other fonts that may contain it. This is what browsers do, too. And the order in which fontconfig gives such fallback fonts isn't predictable esp. not across versions & static vs. shared linked. |
|
|
Fix for the uncatched exception should be included in 98 imo, looks like a crash exploit. |
|
|
> Fix for the uncatched exception should be included in 98 imo, looks like a crash exploit. i can't reproduce it, so would be great if you could provide more info :-) is /usr/share/fonts/misc/18x18ja.pcf.gz broken? doesn't it provide a pixel size of 14? what happens if you rename/remove this file? |
|
|
abma, Try with 18x18ja.pcf.gz (xorg-fonts-misc) installed and run the demo with static -18 spring. Anyway, jk said he will fix this (catch content_error in this path). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-06-09 15:51 | cleanrock | New Issue | |
| 2014-06-09 15:51 | cleanrock | File Added: infolog.txt | |
| 2014-06-09 16:16 | cleanrock | Additional Information Updated | |
| 2014-06-09 17:10 | jK | Note Added: 0013240 | |
| 2014-06-09 18:16 | cleanrock | Note Added: 0013241 | |
| 2014-06-09 18:16 | cleanrock | File Added: bt.txt | |
| 2014-06-10 16:50 | cleanrock | Note Added: 0013258 | |
| 2014-06-10 17:33 | abma | Note Added: 0013259 | |
| 2014-06-10 17:33 | abma | Note Edited: 0013259 | |
| 2014-06-10 17:37 | jK | Note Added: 0013260 | |
| 2014-06-10 17:38 | abma | Note Edited: 0013259 | |
| 2014-06-10 18:15 | cleanrock | Note Added: 0013261 | |
| 2014-06-10 21:45 | abma | Target Version | => 98.0 |
| 2014-06-11 02:05 | abma | Note Added: 0013263 | |
| 2014-06-11 21:59 | cleanrock | Note Added: 0013270 | |
| 2014-06-11 22:31 | abma | Assigned To | => jK |
| 2014-06-11 22:31 | abma | Status | new => assigned |
| 2014-06-14 21:52 | jK | Changeset attached | => spring develop cf9dd709 |
| 2014-06-14 21:52 | jK | Status | assigned => resolved |
| 2014-06-14 21:52 | jK | Resolution | open => fixed |