Skip to content
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

crashes when opening files via CLI #1073

Open
5 tasks done
srevenant opened this issue Aug 8, 2024 · 3 comments
Open
5 tasks done

crashes when opening files via CLI #1073

srevenant opened this issue Aug 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@srevenant
Copy link

Thanks in advance for your bug report!

  • Have you reproduced issue in safe mode?
  • Have you used the debugging guide to try to resolve the issue?
  • Have you checked our FAQs to make sure your question isn't answered there?
  • Have you checked to make sure your issue does not already exist?
  • Have you checked you are on the latest release of Pulsar?

What happened?

Sometimes when opening a file via the CLI the app crashes.

This is new since v119

I haven't reproduced this in safe mode because it's already infrequent and hard to reproduce. But I had to check the box so I could submit.

Pulsar version

119

Which OS does this happen on?

🍎 macOS

OS details

Sonoma

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

Hard to reproduce but:

  • Open a project folder.
  • Do some things
  • from the cli run the command to open another file outside the project

Then it crashes.

It has also happened when simply renaming a file within the project.

Additional Information:

No response

@srevenant srevenant added the bug Something isn't working label Aug 8, 2024
@DeeDeeG
Copy link
Member

DeeDeeG commented Aug 9, 2024

Hmm, maybe this has something to do with the new macOS Ventura image we were updated to in Cirrus?

Are you on an Apple Silicon Mac or an intel-based Mac?

Thanks for the report.

@DeeDeeG
Copy link
Member

DeeDeeG commented Aug 9, 2024

Sorry, I skimmed the issue too quickly. I see this is on an intel-based Mac, per the issue template. Well we're still on macOS 12 CI images here on GitHub Actions (x86 builds). Still could be some other thing auto-updated in the CI image, but maybe one of our code changes as well.

I wonder if you have any unusual characters or text encodings in any of your files, not UTF-8? We had to pin to a certain copy of libiconv, and I believe it may have some issues with certain file encodings? It's a C library, so closer toward the sort of thing that might crash then most of our JS code, I suppose.

@savetheclocktower
Copy link
Sponsor Contributor

savetheclocktower commented Aug 9, 2024

Sorry, I skimmed the issue too quickly. I see this is on an intel-based Mac, per the issue template. Well we're still on macOS 12 CI images here on GitHub Actions (x86 builds). Still could be some other thing auto-updated in the CI image, but maybe one of our code changes as well.

Despite the fact that we're producing Intel Mac binaries on macOS 12, we're still using the new libiconv for those builds since 1.119, so I can't rule that out as a cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants