Bug 128738 - Edit Macros crashes (kf5)
Summary: Edit Macros crashes (kf5)
Status: RESOLVED DUPLICATE of bug 123851
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: KDE
  Show dependency treegraph
 
Reported: 2019-11-12 10:17 UTC by Buovjaga
Modified: 2019-11-12 19:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
GDB trace of crash (35.34 KB, text/plain)
2019-11-12 10:17 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2019-11-12 10:17:47 UTC
Created attachment 155736 [details]
GDB trace of crash

1. Use the kf5 backend
2. Tools - Macros - Edit Macros

Macro security setting has no effect. This might be related to the Qt version because I am seeing this with all commits of 6.4 bibisect repo (I have Qt 5.13.2). Also, at some point with my master the problem went away. It is not related to user profile.

I am not seeing this with 6.3.

Arch Linux 64-bit
Version: 6.4.0.0.alpha1+
Build ID: bcc701e7c544331f0b5992df532919232b5ae5a0
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 12 November 2019
Comment 1 Michael Weghorn 2019-11-12 12:25:38 UTC
Works OK for me (no crash) on Debian testing with Qt 5.12.5 and

Version: 6.4.0.0.alpha1+
Build ID: a0c30af2ac83eb0f7e76c336d60a31872db19938
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: kf5; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded

(which is ~20 commits older than the commit you built)
Comment 2 Michael Weghorn 2019-11-12 12:33:51 UTC
Looking at the backtrace, this might be the same cause as bug 123851. We (I think it was bubli, jmux and me) quickly discussed the latter one a while ago, that seemed to be some "division by zero" problem inside the Qt styling code (maybe caused by values passed by LO), but we didn't dig deeper so far.
Comment 3 Jan-Marek Glogowski 2019-11-12 19:18:18 UTC
(In reply to Michael Weghorn from comment #2)
> Looking at the backtrace, this might be the same cause as bug 123851. We (I
> think it was bubli, jmux and me) quickly discussed the latter one a while
> ago, that seemed to be some "division by zero" problem inside the Qt styling
> code (maybe caused by values passed by LO), but we didn't dig deeper so far.

Both backtraces have a SIGFPE, Arithmetic exception, which can basically just happen by div/0 with normal math, or sqrt(-x) or somesuch. As with bug 123851 I can't reproduce. And both want to draw QStyle::CC_ScrollBar. I'm quite sure it's the same.
Comment 4 Buovjaga 2019-11-12 19:21:08 UTC
Duping is fine by me, so let's do it.

*** This bug has been marked as a duplicate of bug 123851 ***