Skip to content

Loading Units From The SQLite3 DB Heap Overflow (Assumed) #6

@Seltraeh

Description

@Seltraeh

When you try to load more than 1470 units (1900 within the DB being held back artificially by UserInfoHandler.cpp in two locations) the client crashes when clicking on the "View Units" button on the units_page in-game. You can't load 1000 units at first. You have to load 500, close the server, modify the unit limit to something like 700, load the server+client, and click the "View Units" button to cache more units to memory it appears. Testing this way is sort of weird because there is no "stored" units, only the units forced in every time (indicated by the "NEW" stamp on units). When clicking view units, I believe the client stores too much data in one heap around 1470 units ~8mb essentially overflowing the heap and crashing the client. (This is only assumed interaction, and not fully tested though)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclientIssues related to how the client answers a request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions