View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002201 | Eressea | General | public | 2016-04-03 10:06 | 2017-12-05 18:50 |
| Reporter | Enno | Assigned To | Enno | ||
| Priority | high | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.8.7 | ||||
| Target Version | 3.8.8 | Fixed in Version | 3.8.8 | ||
| Summary | 0002201: E3 Absturz am 2. April 2016 | ||||
| Description | eressea: /home/eressea/eressea/git/src/kernel/faction.c:337: write_faction_reference: Assertion `!f || f->_alive' failed. | ||||
| Steps To Reproduce | Das Pentagramm stirbt diese Woche, und der Code, der die Alliierten schreibt, fällt auf die Fresse. Nach destroyfaction ist noch eine Referenz auf die Partei in f->allies für die Abenteurer von Albernia (ava), aber der Speicher dahinter ist bogus. | ||||
| Additional Information | Eigentlich sollte destroyfaction die Partei nicht löschen, d.h. der Speicher noch stimmen. Es sollte allerdings auch die Allianz-Beziehung lösen, glaube ich. Mal gucken. | ||||
| Tags | No tags attached. | ||||
| Faction | 0 | ||||
| Game | E3 | ||||
| Report | 351 | ||||
|
Das erste Problem ist, dass Zweites Problem: setalliance(f, NULL) wird in destroyfaction nur gemacht, wenn die Partei der Anführer der Allianz ist. DAs löscht sie dann nicht aus der Liste, warum auch immer. Ich glaube, die Bedingung kann da einfach weg. |
|
|
Oh, Konfusion. Der Crash ist wegen |
|
|
Ich habe es. https://github.com/eressea/server/pull/507 |
|
|
Auswertung ist raus. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-04-03 10:06 | Enno | New Issue | |
| 2016-04-03 10:06 | Enno | Status | new => assigned |
| 2016-04-03 10:06 | Enno | Assigned To | => Enno |
| 2016-04-03 10:14 | Enno | Note Added: 0006518 | |
| 2016-04-03 10:16 | Enno | Note Added: 0006519 | |
| 2016-04-03 10:45 | Enno | Note Added: 0006521 | |
| 2016-04-03 10:45 | Enno | Target Version | => 3.8.8 |
| 2016-04-03 11:54 | Enno | Note Added: 0006529 | |
| 2016-04-03 11:54 | Enno | Status | assigned => resolved |
| 2016-04-03 11:54 | Enno | Fixed in Version | => 3.8.8 |
| 2016-04-03 11:54 | Enno | Resolution | open => fixed |
| 2017-12-05 18:50 | Enno | Status | resolved => closed |