-
-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Logseq crash when copying blocks #282430
Comments
Their 0.10.5 release uses electron 27.1.3. I tested with our electron_27-bin (27.0.0) and can't reproduce the issue. Upstream has 27.2.4 available, but the changelog does not list a fix for such an issue. Downgrading electron seem not reasonable. The program is usable, just don't copy blocks. @yu-re-ka can you ping me here when you have updated electron_27 next time, so i can retest this issue? |
I'm waiting for reviews in #281546 ;) |
I would not make this assumption (that the version is the difference). For electron vs. electron-bin, there might also be differences in the GIO_EXTRA_MODULES and other environment variables set in the wrapper, and how it interacts with other dependencies/components. |
I have built it with electron 27.2.3. Surprisingly, copying worked 4 times and i thought the update might have fixed the issue, but the next time i had the issue again. And from there on every time. Then i have reverted electron to 27.1.3 (what upstream uses) and can confirm that i also have the issue with that. So it's not caused by the different electron version. I tested again with our electron_27-bin (27.0.0) and copied 10 times without issue. So the issue seem to be in our compiled electron package. I'm not involved in electron or javascript, so i can't look deeper into this. |
Just to add a bit of context to this: I believe at least some of the reports in logseq/logseq#10549 relate to this issue, and although one user mentions using NixOS/nixpkgs (besides me), at least one non-Nixpkgs user shared logs that seem consistent with the one in this issue. |
I've been experiencing the same issue for a long while now. I hope someone can make sense of these logs: journalctl logs of core dump
|
I can reproduce with NixOS 24.05 + Wayland + KDE Plasma 6 + Logseq 0.10.9 |
Describe the bug
The GUI hangs when clicking "Copy" in context menu. The window turns blank few seconds after.
Closing the window does not work anymore then. Instead, i get this error in Terminal:
Demo: https://www.youtube.com/watch?v=hSdHVRtOZ1E
Similar to #264531
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Blocks copied.
Screenshots
Additional context
Pantheon desktop (Gtk-based), X11 i think, amdgpu
The official AppImage (we extract) works.
appimage-run Logseq-linux-x64-0.10.5.AppImage
Get latest version from nixpkgs master:
nix-shell -p logseq -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/master.tar.gz
This warning comes about 2m 40sec after starting, even when not clicking anything:
Notify maintainers
@kilianar (last updates)
Metadata
"x86_64-linux"
Linux 6.7.0, NixOS, 23.11 (Tapir), 23.11.3019.8bf65f17d807
yes
yes
nix-env (Nix) 2.18.1
"home-manager-23.11.tar.gz, nixos-23.11, nixos-hardware, nixos-unstable"
/nix/var/nix/profiles/per-user/root/channels/nixos
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: