Bug 154411 - UI Freeze and OOM-kill on csv FILEOPEN if environment variable QT_SCREEN_SCALE_FACTORS is set
Summary: UI Freeze and OOM-kill on csv FILEOPEN if environment variable QT_SCREEN_SCAL...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 10:37 UTC by pk
Modified: 2023-10-25 03:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pk 2023-03-27 10:37:36 UTC
Description:
On Debian 11 KDE, the desktop sets this environment variable by default for my user:

QT_SCREEN_SCALE_FACTORS="eDP-1=1.4;HDMI-1=1.4;"

When I open any csv file, Calc freezes at the `Text Import - [b.csv]` empty window and is killed for "Out of memory" after a few seconds, but the computer has 4 GB of unused RAM.

If I unset this variable prior to starting Calc, there is no issue. In fact, other users do not have the issue.

The variable is changed by the `Global scale` slider in the KDE system setting panel `Hardware` - `Display and Monitor` - `Display Configuration`. However, the variable seems to be Qt-specific rather than KDE-specific.

Version: 7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.utf8); UI: en-US
Debian package version: 4:7.4.5-1~bpo11+1
Calc: threaded


Actual Results:
Freeze and crash.

Expected Results:
Not freeze, not crash.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
The same happened on 7.2 also (1:7.2.5-1~bpo11+1).

Any csv file will do, even an empty file made with `touch empty.csv`.
Comment 1 Stéphane Guillou (stragu) 2023-03-27 12:40:13 UTC
Couldn't reproduce by setting the variable by hand on Ubuntu 20.04 with GNOME 3.36.8 and opening a CSV with:

Version: 7.4.6.2 / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Even using GNOME's fractional scaling on all my displays.

Do you also reproduce on LO 7.5?
Comment 2 QA Administrators 2023-09-24 03:15:16 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2023-10-25 03:14:29 UTC
Dear pk,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp