Bug 144101 - Immediate crash when attempting to edit a database report (only with --backtrace)
Summary: Immediate crash when attempting to edit a database report (only with --backtr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2021-08-26 09:57 UTC by Alex Thurgood
Modified: 2022-10-19 15:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
LLDB backtrace (14.33 KB, text/plain)
2021-08-26 09:58 UTC, Alex Thurgood
Details
Sample ODB file containing report (7.03 KB, application/vnd.oasis.opendocument.database)
2021-08-26 10:00 UTC, Alex Thurgood
Details
GDB trace of crash (20.52 KB, text/plain)
2021-08-27 10:13 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2021-08-26 09:57:49 UTC
Description:
When attempting to edit a database report, I get an immediate crash/hang.
Attempting to debug indicates a problem in the UnoAffine bridge.

1) Download the enclosed sample ODB file.
2) Load into LO.
3) Click on the Reports button
4) Right mouse button click on RptTasks and choose Edit from the context menu.
5) Immediate hang/crash


Steps to Reproduce:
See above

Actual Results:
Immediate crash / hang and restart of LO application

Expected Results:
Should not crash, should instead open the Report for editing.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 847a8e065f0b35fdab637f6f5abfb1be82a262d7
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Alex Thurgood 2021-08-26 09:58:47 UTC
Created attachment 174551 [details]
LLDB backtrace
Comment 2 Alex Thurgood 2021-08-26 10:00:13 UTC
Created attachment 174552 [details]
Sample ODB file containing report
Comment 3 Julien Nabet 2021-08-26 15:57:56 UTC

*** This bug has been marked as a duplicate of bug 117159 ***
Comment 4 Alex Thurgood 2021-08-26 20:41:47 UTC
Is this really a duplicate of bug 117159?
The backtraces are different and the described behaviour leading to the crash is different. 

In this report, simply opening the report in Edit mode causes the crash, whereas in bug 117159 the crash is caused when attempting to edit a chart object.
Comment 5 Buovjaga 2021-08-27 10:13:29 UTC
Created attachment 174576 [details]
GDB trace of crash

Interestingly, it only crashes for me with a --backtrace session (dbgutil build). I guess it's close enough.

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67879304f61252838a6b2e2549d7205b445776f8
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 27 August 2021
Comment 6 Mike Kaganski 2021-08-31 11:54:08 UTC
Doesn't crash for me on Windows using 7.2.1.1 and today's master (dbgutil).
Comment 7 Xisco Faulí 2021-09-02 13:16:03 UTC
Not reproducible in

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 4f4452f6a74201e862971a79ba5bdcd06f3ba9ce
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 8 Buovjaga 2021-09-02 13:31:54 UTC
Mike and Xisco: are you running under GDB?
Comment 9 Xisco Faulí 2021-09-02 13:58:32 UTC
(In reply to Buovjaga from comment #8)
> Mike and Xisco: are you running under GDB?

Yes, it crashes only if I use --backtrace

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: d5ade739771ddf06cc7ee6d4af15672bfcf09ed6
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF-dbg, Branch:master, Time: 2021-08-31_22:17:16
Calc: threaded

Not sure whether it's related to the original report though.
Alex, are you using a ARM build? then this issue is related to bug 144130
Comment 10 Alex Thurgood 2021-09-03 06:53:59 UTC
(In reply to Xisco Faulí from comment #9)


> Not sure whether it's related to the original report though.
> Alex, are you using a ARM build? then this issue is related to bug 144130

Hi Xisco,

No, the 7300alpha build I have is for x86_64.
Comment 11 Buovjaga 2021-09-03 08:52:50 UTC
Alex: would be nice, if you could bibisect this.
Comment 12 Alex Thurgood 2021-09-03 10:34:03 UTC
Not sure what to do about this now. 

In normal use, I tried switching JDKs (from 12 to 14) to see if that would make any difference, and now I don't get an immediate crash.

Even switching back to the previously used JDK no longer causes a crash.

Only in a debug session do I get the immediate crash (and the bt I've already uploaded), as confirmed by Buovjaga.
Comment 13 Timur 2022-03-10 12:39:09 UTC
Repro 5.2 and 7.4+. I remove regression until it's explained.