-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Unfortunately I can't easily create a reproducible example, but I have a codebase that tries to save every step of the user's playthrough via snapshots. Originally it would actually just save the choices and replay them as needed, but that proved to be too slow.
Anyway, when creating a new snapshot, I get the following error from the string table:
Try to fetch not contained string
If I print the actual string it's trying to fetch, it's memory garbage.
Running my code through valgrind & gdb points to the issue being on output.cpp:451:
for (const char* i = _data[iter].get<value_type::string>(); *i; ++i) {
Here i is uninitialized. The exact valgrind message is: Address 0xf5878e0 is 160 bytes inside a block of size 176 in arena "client"
Metadata
Metadata
Assignees
Labels
No labels