https://bugs.documentfoundation.org/show_bug.cgi?id=148949

Stéphane Guillou (stragu) <stephane.guil...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.3.0 release               |Inherited From OOo
                 CC|                            |stephane.guillou@libreoffic
                   |                            |e.org,
                   |                            |vmik...@collabora.com
    Crash report or|                            |["SwUndoFormatDelete::SwUnd
    crash signature|                            |oFormatDelete","libswlo.so"
                   |                            |]
             Blocks|                            |127592, 108014

--- Comment #7 from Stéphane Guillou (stragu) 
<stephane.guil...@libreoffice.org> ---
Still reproduced in recent daily build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f4ef5435df5560e6b6b061ce4053c71e2819bf51
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

Getting crash signature "libswlo.so" in 24.2.2:
https://crashreport.libreoffice.org/stats/crash_details/9335bff0-065d-4fb3-8adc-6a1ecb80111f
And "SwUndoFormatDelete::SwUndoFormatDelete" in 6.2.0.3 and 6.3.0.4:
-
https://crashreport.libreoffice.org/stats/crash_details/820f9935-060f-4ed7-b36d-c0e8298dbf1c
-
https://crashreport.libreoffice.org/stats/crash_details/550ba548-9293-459e-8592-dd8d68dda885

Running the same macro in 6.1.0.3 and earlier, it does not crash, and instead
can't find the "Standard" character style:

   BASIC runtime error.
   An exception occurred 
   Type: com.sun.star.container.NoSuchElementException
   Message: .

Name "Standard" exists since:

   commit       9d754a59154c40235c240bb0e7f47a2006fa85bd
   author       Miklos Vajna    Mon Jul 09 18:03:04 2018 +0200
   committer    Miklos Vajna    Mon Jul 09 20:04:26 2018 +0200
   sw: give the 'Default Style' char style a programmatic name
   Reviewed-on: https://gerrit.libreoffice.org/57191

(this is [eaeddeb2c1de88ee0ee9f4be7316efefe0e44f24] in linux-64-6.2 bibisect
repo)

So one can crash it earlier than 6.2 by using e.g. "Default Style" instead.
Back in OOo 3.3, it would be "Default" and would crash all the same.

(Miklos, copying you in in case you're interested)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108014
[Bug 108014] [META] Writer character style bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=127592
[Bug 127592] [META] LibreOffice Basic macros incl."Option Compatible" modules
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to