Comments (5)
Hey, do you have a build setup? If yes, can you try this patch here? That's usually what fixes this kind of assert.
Although, the assert there should really not crash ImHex in a Release build. There it just prints the message and continues
diff --git a/plugins/builtin/source/content/window_decoration.cpp b/plugins/builtin/source/content/window_decoration.cpp
index 040b2ff..6eb8a1f 100644
--- a/plugins/builtin/source/content/window_decoration.cpp
+++ b/plugins/builtin/source/content/window_decoration.cpp
@@ -250,6 +250,8 @@ namespace hex::plugin::builtin {
#endif
if (ImGui::BeginMainMenuBar()) {
+ ImGui::Dummy({});
+
auto window = ImHexApi::System::getMainWindowHandle();
ImGui::PopStyleVar();
from imhex.
Awesome! I'll leave the issue open until @Moelf confirmed it works for them as well, might be a different error though
from imhex.
Same problem on Wayland as of 5d0b474
I don't know how to fix. Problem appears to be a combination of imhex/glfw/imgui 😅
imhex simply quit, backtrace:
<unknown> 0x00007ffff57bf32c
ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries imgui.cpp:9641
ImGui::EndGroup imgui.cpp:10359
ImGui::EndMenuBar imgui_widgets.cpp:7028
ImGui::EndMainMenuBar imgui_widgets.cpp:7100
hex::Window::frameBegin window.cpp:452
hex::Window::loop window.cpp:199
main main.cpp:86
Log:
/home/slbtty/src/ImHex/cmake-build-debug/imhex
[03:26:04] [INFO] [main] Welcome to ImHex 1.29.0-Debug!
[03:26:04] [INFO] [main] Compiled using commit master@30c0a5d
[03:26:05] [INFO] [main] Native scaling set to: 1.0
[03:26:05] [ERROR] [main] GLFW Error [65548] : Wayland: The platform does not support setting the window position
[03:26:05] [DEBUG] [libimhex] Initializing task manager thread pool with 8 workers.
[03:26:05] [DEBUG] [main] Using romfs: 'imhex'
[03:26:05] [INFO] [main] Task 'Setting up environment' finished in 0 ms
[03:26:05] [INFO] [main] Task 'Creating directories' finished in 1 ms
[03:26:05] [INFO] [main] Task 'Migrate config to .config' finished in 0 ms
[03:26:05] [INFO] [main] Task 'Loading settings' finished in 13 ms
[03:26:05] [ERROR] [libimhex] dlopen failed: libmbedtls.so.19: cannot open shared object file: No such file or directory!
[03:26:05] [ERROR] [main] Failed to initialize plugin builtin.hexplug
[03:26:05] [ERROR] [main] No plugins loaded successfully!
[03:26:05] [INFO] [main] Task 'Loading plugins' finished in 11 ms
[03:26:05] [DEBUG] [libimhex] Creating background task Checking for updates
[03:26:05] [DEBUG] [libimhex] Creating background task Loading fonts
[03:26:05] [INFO] [main] Task 'Checking for updates' finished in 0 ms
[03:26:05] [DEBUG] [libimhex] Finished task Checking for updates
[03:26:07] [INFO] [main] Task 'Loading fonts' finished in 1975 ms
[03:26:07] [DEBUG] [libimhex] Finished task Loading fonts
[03:26:07] [ERROR] [main] GLFW Error [65548] : Wayland: The platform does not support setting the window position
[03:26:07] [ERROR] [main] GLFW Error [65548] : Wayland: The platform does not provide the window position
[03:26:07] [DEBUG] [main] Event posted: 'hex::RequestInitThemeHandlers'
[03:26:07] [DEBUG] [main] Event posted: 'hex::RequestChangeTheme'
[03:26:07] [DEBUG] [main] Event posted: 'hex::EventSettingsChanged'
[03:26:07] [DEBUG] [main] Event posted: 'hex::EventWindowInitialized'
[03:26:07] [DEBUG] [main] Event posted: 'hex::EventImHexStartupFinished'
[03:26:07] [ERROR] [main] GLFW Error [65548] : Wayland: The platform does not provide the window position
Signal: SIGABRT (Aborted)
from imhex.
The ASSERT at the crash point explicitly says what's wrong, but after vaious tweaking, I couldn't find out what's wrong.
IM_ASSERT(0 && "Code uses SetCursorPos()/SetCursorScreenPos() to extend window/parent boundaries. Please submit an item e.g. Dummy() to validate extent.");
from imhex.
Yes, I can confirm the patch works.
from imhex.
Related Issues (20)
- [Bug] Data loss, because confirmation dialog logic is inverted
- [Bug] Invalid loop sized array segfault
- [Bug] Endian pragma ignored HOT 3
- [Bug] Bookmarks highlighting is not updating
- [Feature] Open file from CMD and auto go to offset
- [Feature] LZ4 Compressed Bytes HOT 3
- [Bug] Denying server contact in initial wizard still keeps crash reports uploads enabled HOT 1
- [Bug] Setting base address causes Data Inspector and copying issues
- [Bug] Ctrl+G results selection lost after closing GoTo window with Escape
- [Bug] Export selection to file processes for ever at full CPU load.
- [Bug] Why can't I JUMP to a FUCKING address
- [Bug] The "parent" keyword isn't always parsed in patterns HOT 4
- [Bug] Pattern placed in section doesn't appear in Pattern Data HOT 1
- [Feature] Better Unicode display when using default font.
- [Bug] Goto parses input address as decimal instead of hex HOT 1
- Infinite recursion while opening a View over an Intel Hex file HOT 1
- [Crash] SIGSEGV when pattern evaluation tries to raise some errors. HOT 6
- [Bug] v1.33.2 fails to launch on windows - Failed to create GLFW window: [65542] WGL: The driver does not appear to support OpenGL. HOT 1
- [Bug] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imhex.