Bug 151959

Summary: Crash in: EditEngine::InsertText(EditSelection const&, rtl::OUString const&) EDITING Paste by mouse middle click
Product: LibreOffice Reporter: S.Andreason <sandreas41>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: aron.budea, stephane.guillou
Priority: medium    
Version: 7.3.1.3 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: ["EditEngine::InsertText(EditSelection const&, rtl::OUString const&)"] Regression By:

Description S.Andreason 2022-11-08 15:00:36 UTC
This bug was filed from the crash reporting server and is br-da19fc10-139b-4cae-92fd-08b3209a5faa.
=========================================
I had 2 documents open, editing both, typing, changing background color, fill down, copy, paste, resize width... Using the 3-button mouse I dragged text from a terminal, and pasted using the middle-mouse button. Pasted to cells: AB5, AC5, AB4, AC4, AB3, and this time AC3 it crashed.
The text I pasted was 
00:90:c2:ce:1b:28

After recovering the documents, I tried it again, and could not reproduce the error. I also tried pasting just above and below the text entry rectangle, thinking maybe I missed. Not sure.

Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2022-11-08 15:34:55 UTC
You can upgrade to 7.3.7 or try last 7.4.2 LO version (by using packages from the repositories of your Linux distrib).
I mean perhaps the bug is already fixed.
Comment 2 S.Andreason 2022-11-09 17:16:08 UTC
The newest package for my older Debian distribution is 5.2.7.2
So it was recommended by Raal I use the AppImage container with libraries included to get v7 to fix another bug, 151138.

Since the newest version at
https://libreoffice.soluzioniopen.com/stable-2/
is this one... I guess I'll go looking for more download links.

Is AppImage not being maintained fast enough?
Thank you
Comment 3 Julien Nabet 2022-11-09 17:26:48 UTC
I don't use AppImage so can't tell.
Now you can mix different repos in Debian to install LO from testing repo on a stable Debian but I must recognize if libs versions are well taken into account.

Remark: I just wonder why using an old Debian.
Either you use your machine as a server and needs only security patches and in this case, no need to have an Office suite,
or it's not a server and you can upgrade to Debian testing, it's what I use daily, it's a good compromise between stability and recent versions of softs.
Comment 4 S.Andreason 2022-11-09 20:51:55 UTC
Upgrading the Operating System means migrating 4 dozen custom programs that break compatibility, and will require many hours to rewrite or integrate with newer libraries. Some just won't work.
I recently made the move to 64-bit and after spending a month fixing things, I am still finding programs I don't use as often, that are broken and won't work without rewriting the code.
Sometimes it is easier to stick with something that works and is familiar, rather than risk upgrading and finding out "4 steps forward, 2 steps backward" is always true.
Comment 5 Julien Nabet 2022-11-09 21:22:58 UTC
Ok your choice, I can't help here, uncc myself.
Comment 6 S.Andreason 2022-11-09 22:27:57 UTC
I'm sorry, I thought I was reporting a crash in the most current version at the AppImage link.
I finally found a link to newer LibO versions at https://appimage.sys42.eu/
but have found they require a newer library of libnss3.so: version `NSS_3.34' not found 
so the concept of AppImage including all necessary libraries has apparently been broken.
I'll go away now until I can upgrade my OS and get all my legacy programs working on it.
Comment 7 Stéphane Guillou (stragu) 2023-06-26 12:56:32 UTC
Thanks for the report!
There should be a few more options to update:

First, try to install the latest version directly from deb files by downloading from the LibreOffice website: https://www.libreoffice.org/download/download-libreoffice/

If that doesn't work because of missing libraries, you can try with flatpak:

https://flathub.org/apps/org.libreoffice.LibreOffice

Let us know how you go.
However, I will pre-emptively close this as "resolved - insufficient data" as you haven't been able to consistently reproduce the issue with precise steps, and you might not be able to test further for a while. Hope that makes sense. Please set back to "unconfirmed" if you witness it again in an updated version.
(seeing the crash signature, it does seem quite elusive... but in any case, it's good to have a report attached to it!)

Thank you!