Saving a game a second time causes a crash
Bug #1734748 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Critical
|
Unassigned |
Bug Description
r8506 (debug and asan)
1. Start a new game
2. Save the game
3. Save the game again
Result:
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x0000555557126c0e in FileSystem:
312 while (*p != '\0') {
Backtrace attached
Related branches
lp://staging/~widelands-dev/widelands/bug-1734748-savegame-filename
- kaputtnik (community): Approve (testing)
-
Diff: 22 lines (+4/-2)1 file modifiedsrc/wui/game_main_menu_save_game.cc (+4/-2)
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
To post a comment you must log in.
I think I changed something in the fs class from char* to std::string recently.