AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

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

Open elemeng opened this issue 9 months ago • 7 comments

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

  • Operating System: AlmaLinux 9.4 (Seafoam Ocelot)
  • OS Release Information:
    • /etc/redhat-release: AlmaLinux release 9.4 (Seafoam Ocelot)
    • /etc/os-release:
      • NAME: AlmaLinux
      • VERSION: 9.4 (Seafoam Ocelot)
      • ID: almalinux
      • ID_LIKE: rhel centos fedora
      • VERSION_ID: 9.4
      • PLATFORM_ID: platform:el9

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?

  • [ ] Yes

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

elemeng avatar May 12 '24 15:05 elemeng

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.

affine-issue-bot[bot] avatar May 12 '24 15:05 affine-issue-bot[bot]

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

chemarito avatar May 14 '24 17:05 chemarito

I am investigating this issue.

pengx17 avatar May 15 '24 03:05 pengx17

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.

jesielviana avatar May 15 '24 10:05 jesielviana

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

elemeng avatar May 22 '24 08:05 elemeng

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

pengx17 avatar Oct 14 '24 01:10 pengx17