-
Notifications
You must be signed in to change notification settings - Fork 511
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
crash when trying to opening a file #495
Comments
You could try running it under gdb and see what |
Sure, but for that I'd need to run it under gdb everytime since I can't find how to reproduce. Or maybe I could patch the assert to dump hexa code of both version of filename... seems less annoying to do that. I'll try to fetch more info. |
I have the same problem. macOS Mojave Solvespace opens other files correctly. Not this one though. |
Does it always reproduce with that file? If so, can you upload it? |
Yeah... I mean, I created it and modified it with Solvespace. But now it will crash the app totally! Anyway, while typing this, I made a quick test with the Windows exec and I found out the problem was with the |
Does it crash with the "Unexpected null byte in middle of a path." assertion on macOS for you? |
I got mad. And very unhappy, because I love Solvespace. |
The app does not quit itself. The rolling circle appears and the app does not respond. Everything freezes. |
Anyway now the problem happened again but just by selecting the The only way to stop it is to force close it. |
If you don't upload the file that reproduces the bug (or otherwise provide a series of steps that leads to the crash) there is nothing I can do to fix it. |
Yeah sure, may I send it to you privately? |
Sure. whitequark@whitequark.org. |
Okay, I got your file. Your crash is not related to this issue, and does not reproduce on master, so I suspect it has been fixed since 2.3. Annoyingly right now there's no easy way to get a recent |
Ok... so you suggest to compile a recent version? |
Yep. I don't currently have a reasonably functional way to develop for macOS so I can't easily build it for you. |
Hi, I built Solvespace for macOS. The app package is in the bin folder. There is also the There is an issue though, the screen flashes continuously. flickers while moving the mouse cursor. |
The files in GitHub Releases are populated exclusively by automated build scripts so that they are (in principle) reproducible by anyone who wants to ensure they're legitimate, and there is no chance that a developer uploads a binary infected by malware.
That's unfortunate. Someone with both Apple hardware and good understanding of macOS graphics would have to fix that. |
Oh cool. I didn’t know that but I totally agree with that. About the Mac issue, yeah. That’s very unfortunate. The old package does not do that though. PS: |
If I will care enough – lol –, I would like to port Solvespace to Mac OS X Tiger PowerPC. |
Sure. The renderer was completely rewritten in the meantime for a variety of reasons so it's not trivial to determine what change causes the flickering. Moreover, the new renderer works just fine on any version of macOS I have access to (macOS 10.10 and later doesn't run well in a VM), so this issue also might be caused by a change in macOS.
The UI colors were changed to have higher contrast to aid visually impaired and colorblind users. |
Oh... |
@bmorel @mePy2 does the current edge macOS build crash as you described in this issue? |
Hi @ruevs I’m sorry for the late reply. I did’t forgot about it though. |
@ruevs It works. Thank you very much. |
I don't know. Too many things have changed since 2.3, I don't have a Mac and the file you sent to Whitequark ;-) I asked you to try since we now have an always fresh macOS build. |
I hit this myself (on OSX, master build from yesterday) and what I think is happening is that in My steps to reproduce are: I'll open a PR shortly. |
System information
SolveSpace version: 5d78f99
Operating system: Debian buster
Expected behavior
File should be open.
Actual behavior
Crash with that log:
Additional information
This crash seems to be semi-random, can't find a way to reproduce it. Seems to happen when using "Recently open" list. I wish I could do more.
The text was updated successfully, but these errors were encountered: