Bug 158065

Summary: CRASH: Access Violation on Image or Shape selection
Product: LibreOffice Reporter: Martin <martin>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: serval2412
Priority: medium    
Version: 7.6.2.1 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Martin 2023-11-05 06:54:05 UTC
https://crashreport.libreoffice.org/stats/crash_details/2120e176-c964-40db-a215-051ea8ddbf87

Crash with both Calc and Writer.

It happened only 7.6.2.1 (X86_64) release which was installed via Chocolatey.

Selecting any image or drawing object causes instant crash.

Crash happens:
1) With all Windows anti-exploit function disabled
2) While LibreOffice is in safe mode.
3) With manufacturer or latest Intel Graphics driver versions. (Intel UHD 620)
4) Regardless of Software / Hardware rendering setting.
5) Fresh user profile folder

After downgrading to 7.5.6.2 (X86_64) / LibreOffice Community, crash can't be reproduced.

As per Claude analysis of the dump if it helps:

The crash seems to be happening in the cppu3.dll module, specifically in a function related to constructing a UNO sequence. This points to some issue when trying to create a UNO object that contains a sequence.

The stack trace indicates the sequence construction is being triggered from code dealing with gradients in the doc model. So it could be something like trying to get or set a gradient object property that internally uses a sequence.
Comment 1 Julien Nabet 2023-11-05 08:31:16 UTC
Do you reproduce this on a specific file only or if you create a brand new file then create a shape in it, you reproduce this too?

If only specific file, would it be possible you attach here?
Comment 2 Martin 2023-11-05 08:50:37 UTC
(In reply to Julien Nabet from comment #1)
> Do you reproduce this on a specific file only or if you create a brand new
> file then create a shape in it, you reproduce this too?
> 
> If only specific file, would it be possible you attach here?

Thanks for your response, I was so frustrated with the crash that I didn't attempted the most obvious - clean installation. After installing back 7.6.2.1 (X86_64), I was not able to reproduce the crash. Its possible this was result of corrupt installation.

If I am able to reproduce it again, I will reopen this with steps to reproduce.

Thanks
Comment 3 Julien Nabet 2023-11-05 09:06:02 UTC
Thank you for your feedback, let's rather put this one to WFM then.

Just for information, if you reproduce this again, please try:
https://wiki.documentfoundation.org/QA/FirstSteps