Bug 160208 - Crash in: cppu::UnoType<com::sun::star::beans::UnknownPropertyException>::get() when changing chart element's corner style in sidebar
Summary: Crash in: cppu::UnoType<com::sun::star::beans::UnknownPropertyException>::get...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, haveBacktrace, regression
Depends on:
Blocks: Sidebar-Properties-Line Crash
  Show dependency treegraph
 
Reported: 2024-03-15 00:05 UTC by Tex2002ans
Modified: 2026-03-23 03:13 UTC (History)
7 users (show)

See Also:
Crash report or crash signature: ["cppu::UnoType<com::sun::star::beans::UnknownPropertyException>::get()","libc.so.6"]


Attachments
LO24.2.2.-.Crash.-.Line.Chart.-.Sidebar.ods (17.29 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-03-15 00:05 UTC, Tex2002ans
Details
bt (1.51 KB, text/plain)
2024-03-20 13:46 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tex2002ans 2024-03-15 00:05:52 UTC
Created attachment 193118 [details]
LO24.2.2.-.Crash.-.Line.Chart.-.Sidebar.ods

This bug was filed from the crash reporting server and is br-26ad4107-46f2-47be-9aba-375cccdb981a.
=========================================

Steps to Reproduce:

0. Open attachment.
1. Alt+1 (to open Properties sidebar)
2. Double-Click on chart.
3. Single-Click on the blue line in the graph:
   - The one that shows 1, 2, 5, 3.

Now, in the Properties sidebar, down towards the bottom/middle...

Under "Line", you should see multiple settings:

- Line
- Thickness
- Color
- Transparency
- Corner Style
- Cap Style

4. Change "Corner Style" from "Rounded" -> "Mitered".

CRASH.

- - -

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

- - -

I also tried bibisecting using the linux-64-7.1 repo.

And LO 7.1 doesn't instantly crash, it just:

- Hangs for a long time.

(I did not test any earlier versions.)
Comment 1 Tex2002ans 2024-03-15 00:09:49 UTC
And by LO 7.1 hanging "for a long time". I meant "forever".

So I guess it's gotten better since then. Before was infinite hang, now it crashes right away. :)
Comment 2 stragu 2024-03-15 06:39:52 UTC
With a current trunk build, I don't see Corner Style or Cap Style in the Line properties section:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c8b8a2c2cb34a1ae0b0aeee0564b39260258f184
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

But in 24.2 I can reproduce: https://crashreport.libreoffice.org/stats/crash_details/f1ce2d3f-172f-4632-9cbb-dfedaa452108

Setting to new, but would need to find when this sidebar section changed in 24.8.
Comment 3 stragu 2024-03-15 06:45:07 UTC
Related:
- bug 133630
- bug 136611
Comment 4 Aron Budea 2024-03-15 07:30:13 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> Setting to new, but would need to find when this sidebar section changed in
> 24.8.
It changed with bug 157882's fix/implementation. Should/could that be backported to 24.2?

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8cd4cd31e9cffb593ccfba765fa28c2494a2d6f7
author		AkshayWarrier <aksmen121@gmail.com>	2024-01-22 20:31:16 +0530
committer	Hossein <hossein@libreoffice.org>	2024-02-20 20:54:17 +0100

tdf#157882 svx: Remove cap/corner styles and move arrowhead control to new row
Comment 5 Xisco Faulí 2024-03-15 11:29:33 UTC
(In reply to Aron Budea from comment #4)
> (In reply to Stéphane Guillou (stragu) from comment #2)
> > Setting to new, but would need to find when this sidebar section changed in
> > 24.8.
> It changed with bug 157882's fix/implementation. Should/could that be
> backported to 24.2?

Not ideal. it's a UI change
Comment 6 Xisco Faulí 2024-03-15 11:41:48 UTC
The "Corner Style" widget was added to the sidebar in

author	andreas kainz <kainz.a@gmail.com>	2022-10-12 23:29:08 +0200
committer	Adolfo Jayme Barrientos <fitojb@ubuntu.com>	2022-10-17 19:15:50 +0200
commit e960180092a30738655e7e091b51f690914461ce (patch)
tree df5fe213992f85575103292fbf5bf9325ef4b0d5
parent 2c5c611077278edd86247c58a078398ecf17a701 (diff)
tdf#148017 harmonize sidebar .ui files

Bisected with: bibisect-linux64-7.5
Comment 7 Julien Nabet 2024-03-20 13:46:38 UTC
Created attachment 193212 [details]
bt

Here's a bt on pc Debian x86-64 with libreoffice-24-2 updated today.
Comment 8 Julien Nabet 2024-03-20 15:02:28 UTC
I gave a try on pc Debian x86-64 with master sources updated today.
Ok it's not in the sidebar because it's been removed but even when double-clicking the blue line, I don't see "Corner Style" and "Cap Style".
Did I miss them?

The goal is to test if values are saved for these 2 attributes because I could fix the crash locally for 24.2 but values aren't saved for both of them.
Comment 9 stragu 2024-03-21 01:33:09 UTC
(In reply to Julien Nabet from comment #8)
> even when
> double-clicking the blue line, I don't see "Corner Style" and "Cap Style".
I also noticed that it was missing. I just checked, it wasn't available either in the dialog at Adolfo's e960180092a30738655e7e091b51f690914461ce, nor in OOo 3.3.
I think it would be good to have those options in the dialogs for chart elements, but that's for a separate enhancement request.
There might be some limitation in how chart elements can be customised. c1b96424b65aed2401a3e86d53a48cc12284de7c for bug 133630 might inspire a fix?
Comment 10 Heiko Tietze 2024-03-21 08:44:28 UTC
(In reply to Julien Nabet from comment #8)
> I don't see "Corner Style" and "Cap Style".
Maybe bug 157882, https://gerrit.libreoffice.org/c/core/+/162403
Comment 11 Xisco Faulí 2024-03-21 08:52:30 UTC
(In reply to Heiko Tietze from comment #10)
> (In reply to Julien Nabet from comment #8)
> > I don't see "Corner Style" and "Cap Style".
> Maybe bug 157882, https://gerrit.libreoffice.org/c/core/+/162403

See comment 4
Comment 12 Julien Nabet 2024-03-22 07:41:27 UTC
I still don't see how to test the 2 commands on master branch (I understood that they're been removed from sidebar but it seems they're nowhere to be seen at all in the whole UI).
uncc myself.
Comment 13 QA Administrators 2026-03-23 03:13:20 UTC
Dear Tex2002ans,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug