Description: While reading the .pdf file I've decided to insert into the .docx a table from .pdf. The table was inserted and after that, I decided to press Ctrl + Z (undo) and a crash occurred. Steps to Reproduce: 1. Open .pdf file called "Многопользовательские игры. Разработка сетевых приложений.pdf" which is attached. 2. Go to page 114 and copy table on this page like on the attached screenshot. 3. Paste it in the .docx file (even empty .docx file will be fine) opened in the LibreOffice Writer. 4. Press Ctrl + Z (undo). Actual Results: Crash. Expected Results: Delete pasted table. Reproducible: Always User Profile Reset: Yes Additional Info: Crash report link: http://crashreport.libreoffice.org/stats/crash_details/1561e036-3a27-47f1-b5a8-5b40813f3705. As it says you got EXCEPTION_ACCESS_VIOLATION_READ. Seems like you guys messed up with indexes or read something out of bounds. I get this exception in C++ after these things but you know your software better than me so... Help - About LibreOffice: Версия: 6.2.4.2 (x64) ID сборки: 2412653d852ce75f65fbfa83fb7e7b669a126d64 Потоков ЦП: 4; ОС:Windows 10.0; Отрисовка ИП: по умолчанию; VCL: win; Локаль: ru-RU (ru_RU); Язык UI: ru-RU Calc: threaded translating to English would be something like this: Version: 6.2.4.2 (x64) ID build: 2412653d852ce75f65fbfa83fb7e7b669a126d64 Threads: 4; OS:Windows 10.0; Отрисовка ИП: default; VCL: win; Locale: ru-RU (ru_RU); Language UI: ru-RU Calc: threaded
Created attachment 152489 [details] .pdf with table that caused the crash.
Created attachment 152490 [details] how to select the table
Alexandr, how do you paste a table in to document? I mean just Ctrl+V or may be Paste Special or anything else? Can you rename user profile or start LibreOffice in Safe mode (Help->Restart in Safe mode) and then retest your problem? I can't repro it in Версия: 6.2.4.2 (x64) ID сборки: 2412653d852ce75f65fbfa83fb7e7b669a126d64 Потоков ЦП: 4; ОС:Windows 10.0; Отрисовка ИП: GL; VCL: win; Локаль: ru-RU (ru_RU); Язык UI: ru-RU Calc: threaded I tried to open PDF in Firefox and in PDF-XChange viewer.
Yes, I tried the safe mode, and now, after restarting my laptop, I tried it again (same result). I just copied the table like on the screenshot pressed Ctrl + V in LibreOffice Writer (empty document) and right after that, I pressed Ctrl + Z. I use Adobe Acrobat Reader DC for .pdf (version in 'Help - Check for Updates' is: 19.012.20035). You have "Отрисовка ИП: GL" change it to 'default' because I have it so.
Hello Aleksandr, Does it happen if the pdf is open with another software different than Adobe Acrobat ?
No, apparently this happens only when using Adobe Reader.
confirm in Версия: 6.2.4.2 ID сборки: 2412653d852ce75f65fbfa83fb7e7b669a126d64 Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; VCL: win; Локаль: ru-RU (ru_RU); Язык UI: ru-RU Calc: threaded it happens when copy from Adobe Reader and paste to new LO Writer document and undoing with Crt+Z I copy/pasted simple text from PDF crashreport.libreoffice.org/stats/crash_details/f6de3595-420b-4a44-bbdb-0b42ff5cf1e1
Hi Aleksandr, Roman, Could you please save the document once you paste the content from the pdf and share it here ?
Created attachment 152532 [details] document with pasted table from pdf
What happens if you enable Track changes ( Edit - Track Changes - Record ), then you paste the content and finally you reject all changes ( Edit - Track changes - Reject all ), does it crash as well ?
No, it does not crash. Record, paste, reject all - no crash.
(In reply to Aleksandr from comment #11) > No, it does not crash. Record, paste, reject all - no crash. With this, it does not crash. Otherwise it crashes. Version: 6.4.0.0.alpha0+ (x64) Build ID: 25bf2c5c0074fbcc162c02593d896705e225b5b5 CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-07-03_06:33:11 Locale: fi-FI (fi_FI); UI-Language: en-US Calc: threaded
I've just tried with foxit reader but it doesn't crash...
Bibisected with win32-6.1 to https://gerrit.libreoffice.org/plugins/gitiles/core/+/deaa16bd24fba4a3a6b072ab2b94542a7dbd41c6%5E!/ tdf#72942 Do not overwrite styles from the inserted doc During inserting of the text from the external document we should not change original default styles in currently opened document. Adding Cc: to Serge Krot
The difference between the problematic commit and preceding is that in the preceding, the pasted result is a table. With the problematic one, straight up text is pasted.
This sounds identical to bug 134693 except that it bibisects to a different commit.
*** Bug 134693 has been marked as a duplicate of this bug. ***
Dear Aleksandr, 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