View Issue Details

IDProjectCategoryView StatusLast Update
0002205EresseaGeneralpublic2017-12-05 18:50
ReporterEnno Assigned ToEnno  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.8.8 
Fixed in Version3.8.9 
Summary0002205: Crash E2 am 31. April 2016
Description

Die Cron email endet wie folgt:

INFO: Writing reports for turn 976: INFO: writing summary to file: parteien. INFO: writing summary to file: parteien. INFO: writing date & turn WARNING: /home/eressea/bin/run-turn: line 12: 9638 Segmentation fault $ERESSEA/server/bin/eressea -v3 -t $TURN run-turn.lua backup turn 975, game 2, files: data/975.dat parteien.full parteien orders.975 uploading game-2/975.tar.bz2 server did not create data for turn 976 in game 2

Steps To Reproduce

eressea -t975 -re2 -v3 run-turn.lua

Additional Information

Das Datenfile ist in der Tat nicht geschrieben worden. Die turn-Datei war allerdings hochgezählt, und das execute.lock file existiert, falls das hilft.

TagsNo tags attached.
Faction0
GameE2
Report976

Activities

Enno

Enno

2016-05-01 10:21

administrator   ~0006539

Leider kann ich den Crash heute am Sonntag nicht mehr reproduzieren. Neuauswertung läuft glatt durch, ich mache mal einen Lauf mit valgrind.

Enno

Enno

2016-05-01 10:23

administrator   ~0006540

Das preview von E2 hat heute morgen nicht funktioniert, wegen eines Lockfiles. Ich wusste gar nicht, dass es diesen Test gibt.

testing turn 975 of game 2 lockfile prevents running game 2

Enno

Enno

2016-05-01 10:25

administrator   ~0006541

Blergh. Habe vergessen, die Valgrind-Suppressions mit anzugeben. Das wird dauern.

Enno

Enno

2016-05-01 10:40

administrator   ~0006542

Spannende Logmeldungen gekriegt:

WARNING: faction (1) not found in database, but matches 0 WARNING: faction ▒J(1) not found in database, but matches 0 WARNING: faction ▒J(1) not found in database, but matches 0 WARNING: faction ▒J(1) not found in database, but matches 0

Zalgo! He cometh!

Enno

Enno

2016-05-01 10:55

administrator   ~0006543

Oh. Das ist natürlich falsch, aber in diesem Fall sicher ein Nebeneffekt der Neuauswertung (neue Parteien dieser Woche sind bereits von der ersten AW in sqlite eingetragen worden). Ich fürchte, daran liegt es also nicht.

Enno

Enno

2016-05-01 10:59

administrator   ~0006544

Hier ist jetzt alles konfus. Die Arguemnte für log_warning kommen nicht richtig bei log_write an?

(gdb) n 211 log_write(LOG_CPWARNING, NULL, format, args); (gdb) WARNING: faction (null)(15) not found in database, but matches 0 213 }

Enno

Enno

2016-05-01 11:00

administrator   ~0006545

Oh, ich habe vor einer Weile am logging gebastelt, und eine Kategorie mit eingebaut (ungenutzt), das könnte die NULL sein hier.

Enno

Enno

2016-05-01 11:07

administrator   ~0006546

Das war es wohl nicht, aber ich schätze, Missbrauch von va_args ist trotzdem involviert:

va_start(va); foreach (logger) logger->log(va); va_end(va);

Das ist glaube ich falsch.

Enno

Enno

2016-05-01 11:50

administrator   ~0006547

Test für logging geschrieben, Problem identifiziert, und gefixt. Beim Merge in develop festgestellt, dass ich an einer kleinen Stelle doppelte Arbeit gemacht habe, aber das passt schon.

Issue History

Date Modified Username Field Change
2016-05-01 10:21 Enno New Issue
2016-05-01 10:21 Enno Status new => assigned
2016-05-01 10:21 Enno Assigned To => Enno
2016-05-01 10:21 Enno Note Added: 0006539
2016-05-01 10:23 Enno Note Added: 0006540
2016-05-01 10:25 Enno Note Added: 0006541
2016-05-01 10:40 Enno Note Added: 0006542
2016-05-01 10:55 Enno Note Added: 0006543
2016-05-01 10:59 Enno Note Added: 0006544
2016-05-01 11:00 Enno Note Added: 0006545
2016-05-01 11:07 Enno Note Added: 0006546
2016-05-01 11:50 Enno Note Added: 0006547
2016-05-01 11:50 Enno Status assigned => resolved
2016-05-01 11:50 Enno Fixed in Version => 3.8.9
2016-05-01 11:50 Enno Resolution open => fixed
2017-12-05 18:50 Enno Status resolved => closed