-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Aleph One (1.5 RC) crash when texturing untextured walls. #321
Comments
I'm not able to reproduce this; Visual Mode.lua textures untextured polygons just fine. I tried all combinations of primary, secondary, and transparent side. Can you describe how to reproduce the problem in more detail? |
Sorry it took me so long to respond to this. I'll see if I can give more detail. When starting a new map from scratch, I made a simple 3-polygon test map. When using Weland's visual mode, I tested both VML, and Vasara. In the completely untextured map, I place a texture on the floor or ceiling, all works well. But, when trying to texture the untextured wall, the screen turns like a bright red and immediately after, exits (I'm assuming crashed based on that error message) out of visual mode back to Weland, with the "Entering Visual Mode...." dialogue box remaining, unless you close it manually. With that Pave Level example I mentioned earlier, I can mention something extra. If I do Pave Level, and then create any new polygons after that, when I texture the untextured walls, it does not seem to crash out, but, sometimes it looks like it works fine, other times, the texture appears to like rapidly vibrate up and down. Only thing different between now and the original post is that I'm using the official release of 1.5. |
Is there an error message in your Aleph One log? Can you upload the map that crashes when you try to texture? |
Sure, here's the map. I tried creating new polygons separate from the original area (didn't save it), which didn't seem to reproduce the issue, it only seems to have happened with a freshly-made one. Where is the A1 Log again? Been a while. When I can, I'll try another test on a |
Here are the locations of the log files: https://github.com/Aleph-One-Marathon/alephone/wiki/File-Locations#log-files I am able to texture all three untextured walls in this map just fine with Visual Mode.lua |
Found the log file, but it seems nothing is appearing in it when the issue happens, aside from that original error dialogue above. I had a feeling nothing was gonna happen with that map file, it doesn't seem to happen with a saved file. I forget if you did this already, but if you just open Weland, without opening any saved maps, and start making a level, and texture an untextured wall, does the issue happen then? That's when it does for me. If it doesn't for ya, then I guess I'm at a stand-still, but I do have work-arounds as mentioned above. |
I can get this to repro. I'm using Aleph One latest (commit cee60a8) on Linux (Steam Deck OS). However, I couldn't get it to happen with the test scene above. Instead, I have my own textured map which is literally just one untextured triangle: untexturedTri.sceA.zip Running it with gdb, it looks like it's dying in the fps interpolation code. Which tracks because I noticed the crash doesn't happen as long as my FPS isn't set to >30. My best guess is that the code is trying to read an uninitialized texture and segfaulting:
Steps to repro:
|
Thanks, maybe > 30 fps is the key! |
To help confirm. Just tested it again my original way a few times (with 1.6 this time) with it set to 30 FPS, and no problems. Nice finding there. |
After creating new polygons and attempting to texture the walls of them with both Visual Mode Lua, and Vasara, A1 immediately crashes back to the desktop. No issues with the floor or ceiling, or when you Pave Level first and retexture the now-textured walls.
When attempting this through Weland's Visual Mode, the same issues happen, and the error down below pops up.
On the Mac version, with Big Sur.
The text was updated successfully, but these errors were encountered: