https://bugs.kde.org/show_bug.cgi?id=512167

            Bug ID: 512167
           Summary: Freeze and Cpu Hog when editing message in Chinese
                    under X11
    Classification: Applications
           Product: NeoChat
      Version First git master
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 186830
  --> https://bugs.kde.org/attachment.cgi?id=186830&action=edit
Freeze

## Description

When Using `neochat` under X11, editing messages containing Chinese characters
(maybe also other languages) cause `neochat` freezing.

Detail is listed below.

## Steps to reproduce

1. Build app with `-DBUILD_TESTING=OFF` (Or just use distro's package in Arch
Linux)
2. Open app and logging to any account
3. Send a message in Chinese or just find a message already sent including
Chinese characters.
4. Try editing it. App will freeze.

## What is the current bug behavior?

When freezing, cpu hogs with about 100% occupation, which means single thread
is fully occupied. (Maybe an infinite loop?)

#### Some Notable facts:

1. `SIGINT` and `SIGTERM` cannot help to quit the app. Only `SIGKILL` can do.

2. This bug exist both in release version `25.08` and up-to-date git version.

3. `gdb` fails to get any log at such situation.

4. This bug depends on building parameters:

When built with `-DBUILD_TESTING=OFF`, this bug exists.

When build as default (without any parameters), this bug disappears.

When build without `-DBUILD_TESTING=OFF`, but with some other parameters, this
bug can also happens. I have not find out what parameters can cause the bug.

5. This bug will not happen when run under wayland. 

6. Sorry for no logs. Screen-shots attached.

## System/Matrix Information
#### Detect this bug under several different System. Here is one of them.

 - **Distribution / Platform:** Arch Linux  
 - **Qt Version:** 6.10.0
 - **NeoChat version:** 25.08.1 (*ALSO* for git master!)
 - **Quotient version:** 0.9.4
 - **Matrix server:** mozilla.org and opensuse.org, ....

#### Note:
flathub version has same bug.

openSUSE Leap 16 seems to not have same bug.

This difference is mainly caused by building parameters.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to