toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
42.62k stars 2.78k forks source link

Segmentation Fault When Maximizing UI Window on AlmaLinux 9 (Seafoam Ocelot) #6899

Open elemeng opened 6 months ago

elemeng commented 6 months ago

What happened?

Title

Segmentation Fault When Maximizing UI Window on AlmaLinux 9.4 (Seafoam Ocelot)

Description

While executing the software on AlmaLinux 9.4 (Seafoam Ocelot), a segmentation fault occurs consistently upon attempting to maximize the UI window. The software functions normally until the maximize button is clicked, at which point it immediately crashes.

Both stable release: affine-0.14.3-stable-linux-x64.appimage and canary: affine-0.15.0-canary.5-canary-linux-x64.appimage generated the same problem

Steps to Reproduce

  1. Download and execute the software's AppImage on AlmaLinux 9.4.
  2. Allow the software to initialize and display its UI.
  3. Click on the maximize button in the title bar to attempt to maximize the UI window.
  4. Observe the segmentation fault and subsequent crash of the software.

Expected Behavior

The UI window should maximize without triggering a segmentation fault or causing the software to crash.

Actual Behavior

Upon maximizing the UI window, a segmentation fault occurs, leading to an immediate crash of the software.

Environment

Run Log

23:01:52.042 (main) › [ipc-api] updater:checkForUpdates [] - 2714.10 ms 23:02:01.325 (main) › [ipc-event] ui:onMaximized [ true ] Segmentation fault (core dumped)

Distribution version

Linux

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

Relevant log output

23:01:52.042 (main) › [ipc-api] updater:checkForUpdates [] - 2714.10 ms
23:02:01.325 (main) › [ipc-event] ui:onMaximized [ true ]
Segmentation fault (core dumped)

Anything else?

No response

affine-issue-bot[bot] commented 6 months ago

Issue Status: 🔍 Under Investigation

🔍 Under Investigation

We’ve triaged the issue, but now we need to investigate it more thoroughly. This may require processing additional information like logs or dumps.

This is an automatic reply by the bot.

chemarito commented 6 months ago

Same problem with Linux Mint, beta and stable versions. If you need more info, please contact me.

pengx17 commented 6 months ago

I am investigating this issue.

jesielviana commented 6 months ago

I'm having problems with Linux Pop OS. When I open the application and maximize and close it, when I open it again it closes automatically. And I can't use Affine anymore. To be able to use it again I have to delete the .config folder and log in again, but if I maximize it the same problem happens, this is happening in the latest versions.

elemeng commented 6 months ago

If you need more info, eg. detail running logs, or any futher test, i am happy to provide.

pengx17 commented 1 month ago

It seems the issue is not reproducible on latest version. Can you try again?