View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002242 | Eressea | General | public | 2016-10-02 09:40 | 2017-12-05 18:49 |
| Reporter | Enno | Assigned To | Enno | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.9.2 | ||||
| Target Version | 3.9.3 | Fixed in Version | 3.9.3 | ||
| Summary | 0002242: Searching for units in the gmtool hangs | ||||
| Description | Program received signal SIGINT, Interrupt. 0x00000000004f7fae in unicode_utf8_to_cp437 (cp_character=0x7fffffffdbe7 "", utf8_string=0x1dd0de6 "ØK", length=0x7fffffffdbe8) at /home/eressea/eressea/git/src/util/unicode.c:504 504 int m = (l + r) / 2; (gdb) bt 5 0 0x00000000004f7fae in unicode_utf8_to_cp437 (
1 0x00000000004f806e in unicode_utf8_to_ascii (
2 0x00000000004310cf in unicode_remove_diacritics (rp=0x1dd0de6 "ØK",
3 0x000000000043113b in simplify (rp=0x1dd0de0 "RAGNARØK",
4 0x00000000004312a0 in umvwaddnstr (w=0x144e5570, y=10, x=6,
(More stack frames follow...) | ||||
| Steps To Reproduce | Spiel laden, gmtool starten, find-unit: ponn. In den Debugger schauen, da ist eine binäre Suche in unicode_remove_diacritics, die nicht terminiert. Das ist relativ neuer Code. | ||||
| Tags | No tags attached. | ||||
| Faction | ii | ||||
| Game | E2 | ||||
| Report | 992 | ||||
|
gefixt in https://github.com/eressea/server/pull/590 Meine selbstgemachte Codepage-Tabelle enthält nicht alle Zeichen der Welt, sondern nur die, die in CP437 enthalten sind. Noch ein zwei andere Dinge getestet und repariert. |
|
|
Da mir dieser Fehler jetzt auch im aktuellen Code unterkommt, und der Fix sehr ungefährlich ist, habe ich die Lösung in ein neues 3.9 Release vorgezogen. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-10-02 09:40 | Enno | New Issue | |
| 2016-10-02 09:40 | Enno | Status | new => assigned |
| 2016-10-02 09:40 | Enno | Assigned To | => Enno |
| 2016-10-02 12:36 | Enno | Status | assigned => resolved |
| 2016-10-02 12:36 | Enno | Resolution | open => fixed |
| 2016-10-02 12:36 | Enno | Fixed in Version | => 3.10.0 |
| 2016-10-02 12:36 | Enno | Note Added: 0006793 | |
| 2016-10-08 19:54 | Enno | Relationship added | related to 0002245 |
| 2016-10-09 08:12 | Enno | Fixed in Version | 3.10.0 => 3.9.3 |
| 2016-10-09 08:12 | Enno | Target Version | 3.10.0 => 3.9.3 |
| 2016-10-09 08:12 | Enno | Note Added: 0006798 | |
| 2017-12-05 18:49 | Enno | Status | resolved => closed |