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

Crash when trying to open specific repo #243

Open
aloker opened this issue Oct 17, 2024 · 4 comments
Open

Crash when trying to open specific repo #243

aloker opened this issue Oct 17, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@aloker
Copy link

aloker commented Oct 17, 2024

Describe the bug
When I try to open one of my repositories, Gitnuro crashes, the window just closes. This currently only happens for one specific repo, others work just fine.

To Reproduce
For copyright reasons, I can´t share the repo publicly, but it's relatively new with not much in it. But when I try to open that repo, the application crashes. Here's a log from the terminal:

flatpak run com.jetpackduba.Gitnuro
...
Starting to watch directory /home/ANONYMIZED/projects/ANONYMIZED/ANONYMIZED
thread '<unnamed>' panicked at src/lib.rs:214:1:
Call method [onError] with signature [(I)V] failed with error: Java exception was thrown
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
   0:     0x7012b86cdffa - <unknown>
   1:     0x7012b86ef513 - <unknown>
   2:     0x7012b86cb7a3 - <unknown>
   3:     0x7012b86cde42 - <unknown>
   4:     0x7012b86cee37 - <unknown>
   5:     0x7012b86cec66 - <unknown>
   6:     0x7012b86cf407 - <unknown>
   7:     0x7012b86cf266 - <unknown>
   8:     0x7012b86ce4d9 - <unknown>
   9:     0x7012b86cef2c - <unknown>
  10:     0x7012b84764cd - <unknown>
  11:     0x7012b8476562 - <unknown>
  12:     0x7012b8476625 - <unknown>
  13:     0x7012b8486554 - Java_FileWatcherObj_watch
  14:     0x7012dc66c5da - <unknown>
thread caused non-unwinding panic. aborting.
/app/bin/gitnuro: line 2:     3 Aborted                 (core dumped) /app/jre/bin/java -jar /app/share/Gitnuro.jar --flatpak

Expected behavior
The program should be able to handle this repo, other Git clients can (VS Code, Jetbrains IDEs)

Desktop (please complete the following information):

  • OS: Linux, Pop OS 22.04, all latest updates
  • Version 1.4.0

I know it's not very much information - if there's something I can add to make this more manageable, please let me know.

@aloker aloker added the bug Something isn't working label Oct 17, 2024
@JetpackDuba
Copy link
Owner

Hello!

Thank you for your report, apparently when trying to open the repository something goes wrong and Gitnuro doesn't handle the error properly. I've created the milestone 1.4.1 and added the issue to it. If nothing else shows up, I'll create a new release with the fix in the next 2 weeks.

Sorry for the inconviniences.

@JetpackDuba JetpackDuba added this to the 1.4.1 milestone Oct 18, 2024
@aloker
Copy link
Author

aloker commented Oct 18, 2024

Thanks, this is much appreciated. Let me know if you need anything from me. Keep up the great work, I'm really enjoying Gitnuro

@JetpackDuba
Copy link
Owner

Thank you 😄

Are you using the JAR or Flatpak version? I can try to build a JAR for you to test it, but that requires having JDK 17 (or higher) installed. Otherwise, I can try to setup a beta flathub repository.

@aloker
Copy link
Author

aloker commented Oct 20, 2024

I'm using the flat pack version

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

2 participants