Description: Crash when I attempt to insert a Cross-References Only with this doc Steps to Reproduce: 1. Place the cursor at the right place 2. Insert a cross reference 3. Crach Actual Results: Crash Expected Results: a cross reference Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: fr-FR Calc: threaded https://crashreport.libreoffice.org/stats/crash_details/d5ef17f6-7c73-4d5e-a1b9-ea5372028f73
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Created attachment 196837 [details] Document witch occure crash
With this document, If you search the word "figure" and try to insert a cross reference instead of th static number... Libreoffice is ever crashing
Created attachment 196855 [details] gdb bt On pc Debian x86-64 with master sources updated today, I got an assertion. I provided bt + some console logs.
(In reply to Julien Nabet from comment #4) > Created attachment 196855 [details] > gdb bt > > On pc Debian x86-64 with master sources updated today, I got an assertion. > > I provided bt + some console logs. Sorry, I forgot to tell, I had an assertion just when trying to open the document.
And did you success to insert the cross reference ? Thanks for helping
Created attachment 196886 [details] test With master sources updated today, since I can't open the file, I can't test the insert. With LO Debian package 24.8.2.1, I could insert a cross reference. (see the attached file, page 6, just after "figure")
Thanks. I've taken a look at your file. Your cross reference is present, but not with the good number. And I couldn't insert my cross reference... LO is still crashing
2 things you can try: 1) Rename your LO directory profile (see https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile). I don't think it'll help but at least, we'll be sure it's not a pb related to LO profile 2) copy paste all the content of your document in a brand new odt file and give it a try on the new file. Perhaps something is corrupted in your existing file. BTW, https://crashreport.libreoffice.org/stats/crash_details/d5ef17f6-7c73-4d5e-a1b9-ea5372028f73 gives 404 error. If you got another crashreport, please report the url of it.
Hi ! Thx for your advices ! I've just try to copy my file in a new file and it works well ! Is it possible to repair my first file because I cannot copy everything (like styles..)
[Automated Action] NeedInfo-To-Unconfirmed
(In reply to Brioche from comment #10) > Hi ! Thx for your advices ! > > I've just try to copy my file in a new file and it works well ! > Is it possible to repair my first file because I cannot copy everything > (like styles..) No idea.
I still repro Julien's assertion with a debug build. Regarding the crash when inserting a cross reference, I repro it with a non-debug build. It seems to appear in version 6.4, but there is something unreliable about it. On Linux, at first the oldest commit crashed, but then running in safe mode did not crash, so I bisected in safe mode. I got a bogus result, all were bad. Then I tried in Windows where the oldest commit did not crash even in normal mode, but I got the same bogus result. I guess there is something wrong with the file, but it would be nice to not crash and certainly we had states in the past where we did not crash. Others are welcome to try a bibisect.