-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEXTUREx editor multiple issues both on Linux and Windows #1672
Comments
Some additional notes: I noticed the zoom in and out are somehow working since it can be done using the mousewheel. But nothing displays. I suspect the checkboxes are doing the same. The fields around the graphic interface are all working and saving the changes works. But it's very difficult to do anything when you can't see what you're doing. |
Here's a slightly similar issue I made in July last year: #1549 |
Things got even worse lately. Now not only the Start page just displays a blank window (fortunately you can still open files and folders using the menu) the TEXTUREx editor freezes entirely SLADE now... |
I'm having the same issue on Linux, where the program instantly crashes, without even so much as a "This program crashed!" dialog box. Luckily, I was able to get it running on my terminal, and when I reproduced the bug, this is what it gave me:
I was not able to get anything else from the terminal whilst I was running the program. |
Same issues here. Everything else works just fine, but whenever i open a TEXTURES lump i get one of two things: texture Version: 3.2.5 Operating System: Linux 5.15.0-105-generic x86_64 Stack Trace: Last Log Messages: On my end the crash only happens when i close the program and then try to open the TEXTURES lump for the second time. Whenever i create one, add textures to it and open it up for the first time, the program doesn't crash but then again no preview, just the UI Elements and a black preview window. I'm using the flatpak version, platforms etc... are all up to date. Some info about my OS: System: Graphics: |
Updated to 3.2.6 and there's some new. Now, when opening a TEXTURE file, the following crash log is reported, similar to #1685 :
It seems to not find openGL. Though it's installed. (i use mesa drivers) (Also the problem with the Start page not loading is still there) |
What version of wxWidgets is it built with? Should say in the console log. I think there might be some issue with the version of wx that the flatpak SLADE is built with |
I don't use flatpak. I build slade using AUR. Here in this case I compiled slade manually since AUR is not up-to-date yet. I use wxwidgets v3.2.5 I'm going to try the flatpak version though, just to check. EDIT: well, same problem, both with the start page (becoming pitch black though, instead of just empty) and same error with TEXTURE lump. |
I switched to debian for multiple reasons but still same problem in there. I use the flatpak version. (and the crash handler also crashes :| ) |
I switched from flatpak to the debian package available in the drd repos. And all the problems i mentionned got fixed. Start page works again and no issues at all when editing TEXTUREx. So, tempoprary fix: use Debian and install Slade using the debian drd repo. 🤷♂️ Note though: The debian package version needs the |
Compatibility with all currently supported versions of Debian and Ubuntu. That said the latest package should have binaries for both (it would be possible to make a single universal binary but I don't really feel like going that deep into dependency building). Which is used is determined by /usr/bin/slade by running: ldconfig -N -p | awk '$1 == "libwebkit2gtk-4.1.so.0"' Does this return nothing for you? |
It returns me this:
|
That's the expected output, so it should be running the 4.1 binary. |
And yet, if i launch slade without libwebkit2gtk-4.0, i get this and it doesn't run:
|
You edited out your note about ldconfig needing to specifically be /sbin/ldconfig. Did you have new information or what that still valid? I can change the script to specifically call /sbin/ldconfig in the next build, but Ubuntu definitely puts /sbin in the PATH by default. A bit surprised Debian would differ there. You can modify /usr/bin/slade accordingly in the mean time, apt should unconditionally overwrite the file on package upgrade. |
Ubuntu might do that but pure Debian definitely doesn't add So yeah maybe it would be relevant to add |
Heads up to say I had to ditch debian cuz issues and had to return to arch. And i'm still facing the problem :( |
Although I'm still having the issue on the native Linux excecutable, I don't experience this problem when I'm running the Windows .exe on Wine. I'd love to get the stack trace, but the program crashes before the window even shows up, and trying to run the program with a terminal only gives a "button lost focus even though it didn't have it" debug message. If it helps, I use the linux-zen kernel on Arch Linux, with AMD architecture. |
That's the thing. I, like all the others who got the problem, use nvidia. |
I don't think it is GPU(driver) related because I'm having the same issues on Gentoo Linux running an Intel UHD630 GT2 iGPU. I Successfully build the latest git master using the cmake flag to pull and build it's own wxWidgets. Still the same crash. No idea why @sirjuddington won't try fix that. Maybe he cannot reproduce it?! |
Well jmfergeau noted that it doesn't happen on Debian with my packages. I can't say I'm doing anything particularly special with my packages besides building wxWidgets and SFML myself for static linking. My binaries are built with GCC 11. wxWidgets build:
Slade build:
Nothing special about the SFML build. |
Might be a case of wxWidgets having different versions and/or code on different distros then? Completely at a loss for ideas if not, but if so, maybe Slade should bundle the version of wxWidgets known to fully work instead on relying on the distro for the dependency? |
Thanks for the hint. Using |
No. Since Slade so often finds bugs in wxWidgets it's not viable for my packages to use a system provided copy of wxWidgets while still retaining 5 years of back support for Ubuntu/Debian versions. The latest version is compiled from the official sources and statically linked. However like most projects, the build system for wxWidgets auto detects what's available on the system and configures itself so builds can differ. Or I guess in this case I intentionally disable a feature since it has been noted to be problematic with the current version of wxWidgets.
Oh that's a little surprising. I was under the impression that others in this thread would have already tried that. It has been noted that wxWidgets without EGL fixes a TEXTURE editor crash here: #1390 (comment) |
SLADE Version
3.2.5, 3.2.6
OS
Windows, Linux
Editor
Resource editor
Steps to Reproduce and Observed Behavior
Expected Behavior
the Texturex editor should display the window editor correctly and be fully interactive
NOTE: For the crash on linux, I found a workaround. Very weird, but it works:
Sorry if it has already been posted. I checked everywhere but haven't found anything similar.
Screenshots
The text was updated successfully, but these errors were encountered: