Skip to content

Desktop app crash: EOutOfResources after using a Wing of Return #41

Done

Description

@erwan-joly

The desktop app (PR 39 build, official server) crashed about 14 s after using a Wing of Return (item 2070):

  1. use_item opened the client's "Use the item." box; Yes sent u_i 1 <id> 2 2 0 0.
  2. The server answered dlgi #u_i^1^<id>^2^2^1 #u_i^1^<id>^2^2^2 1813 0 0 (the teleport confirm).
  3. About 14 s later the client log showed Delphi EOutOfResources: Error 2 (raised at 004277f0), then FATAL: guest entry point returned, and the page showed "NosTale could not start".

Unclear whether it's the item or the machine: a 249 MB dotnet publish ran on the same PC in that minute and may have starved resources. The client had also been running for about 40 minutes. A previous crash (2026-11-17) came after about 4 hours, with Windows error 10055 (sockets exhausted) in the launcher log.

To check: what the client calls at 0x4277f0 when it raises EOutOfResources (a GDI/D3D resource creation, probably), and whether the HLE layer leaks or caps a handle type. Retry a Wing of Return with nothing else running to rule out the publish.

Activity

  1. erwan-joly commented on Nov 29, 2026

    @erwan-joly
    ContributorAuthor

    The crash path matches what #65 fixed: a Wing of Return is a map change, and before #65 every map change leaked its textures and buffers until the heap ran out, after which objects were created on top of each other. Closing as fixed by #65; reopen if it shows up again on a build that includes it.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions