-
Notifications
You must be signed in to change notification settings - Fork 3
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
[macOS] Weird behavior and crash on launch on aarch64 and PowerPC #56
Comments
@NikolaDucak It also crashes on PowerPC, though I did initially see the calendar; then it crashed, and subsequent attempts lead to crash almost immediately. Here is what GDB shows:
However, no rows of weird symbols. |
Interesting, I'll take a look! |
Thanks! I can test/try whatever suggested on my end, but perhaps need guidance here, since I am not an expert in debugging and the code is unfamiliar. (I will also try to build it on i386 to compare, when I get to the Intel machine.) |
Thanks that will be helpful! I haven't been able to reproduce the issue, I'm running on aarch64 Mac too. Can you tell me which compiler and (which version) are you using for arm64 Mac? |
Do you happen to have MacPorts installed? I can just share a portfile which I wrote. Since the issue is observed on arm64 as well, we can ignore powerpc for the time-being. Symptoms are similar. |
No, but I'd like to try it to see if it will help me reproduce the issue. I know nothing of MacPorts but I'll look into it |
@NikolaDucak On any recent MacOS using MacPorts should be trivial, and everything is provided pre-built, so it should be easy to try. (On PowerPC I have to build everything from scratch.) |
And I was using 1.0.0 release. Let me try rebuilding from master, see how it behaves and make a portfile. Will be ready soon, gonna do it right now. |
@NikolaDucak This builds: macports/macports-ports@baf52d5 (using the latest commit and adding a patch to find Boost). You could place the portfile into a local overlay repo into Re local repos: https://guide.macports.org/chunked/development.local-repositories.html
|
I've managed to install it via MacPorts and run it.
other than that, no segfaults sigaborts or anything.. Are you successful in reproducing the original issue on arm64 with the Portfile referencing the lates master? |
But on Sonoma I still get screen flashing and those letter+number symbols. Not sure how to use it, maybe I am just doing something wrong :) On powerpc calendar opens as I show above, colors are not there perhaps due to limitations of old Apple terminal. I will see what happens in VTE. |
@NikolaDucak Oh wait, it DOES crash on a second launch, both Sonoma and powerpc. Try quitting and launching it again. I got abort on both machines now. |
Ah I may have reproduced it.. |
Apparently What should I put into the config? I will need to produce some initial config via portfile code them, otherwise whoever installs this, gonna think it is broken. P. S. On a side note, would you like to be a port [co]maintainer? |
I think it is better to have either a configurable folder for having this file or let the binary check for several reasonable locations. Because we will not want to install anything directly into a home folder, but rather use |
No settings are required, so no config file is created. What made me think that you have something set there is the "pulling from remote" message on startup, that shouldn't happen unless you configured it manually. Turns out there is an issue where event if the remote repo is not configured, the app still uses the uninitialized memory of it :/ , I've opened a pr that should fix it.
Sure!
Since installing into a home folder is not needed that this would not be an issue I assume? |
Note that I have next to none experience with MacPorts, tho |
Let me know if this fixes the issue on your end as well then I'll close the issue |
@NikolaDucak Okay, great. I will rebuild from the new commit now. Hopefully it works fine then. Could you make a new release then? MacPorts generally dislikes commit-based ports, unless those are |
I've added a new release (1.0.1), that should do it
I guess so, probably the old terminal emulator does not support colors |
It does not support true colors, but it does support some limited colors, and it works with
Awesome, I will update the port then. |
interesting, I'll look into that |
I get a very weird behavior of the binary upon launch. It seems to segfault, however the process is not stopped, and if I move cursor above terminal window, it flashes and displays those meaningless codes. Scrolling spits out a lot of those. This happens even after Control + C to terminate the process.
The text was updated successfully, but these errors were encountered: