WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
42.8k stars 1.88k forks source link

Infinite recursion while opening a View over an Intel Hex file #1607

Open Nemoumbra opened 5 months ago

Nemoumbra commented 5 months ago

Operating System

Windows

What's the issue you encountered?

image

The first entry here caused the code at https://github.com/WerWolv/ImHex/blob/master/plugins/builtin/include/content/providers/view_provider.hpp#L22 to segfault, because for some reason this == this->m_provider => stack overflow occured.

How can the issue be reproduced?

I somehow made ImHex to save the view to the title screen. Maybe that's what lies in the roots of the problem, so please investigate.

ImHex Version

Self-built version (one of the latest)

ImHex Build Type

Installation type

Self-built.

Additional context?

No response

WerWolv commented 5 months ago

Please try the latest commit, hopefully that should prevent the crashes