Bug 171852 - non-default table styles desappearing, then crash
Summary: non-default table styles desappearing, then crash
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Table-Styles
  Show dependency treegraph
 
Reported: 2026-04-24 13:29 UTC by Paolo Benvenuto
Modified: 2026-04-25 09:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
crash in tdf#171852 (17.10 KB, text/plain)
2026-04-24 20:45 UTC, Paolo Benvenuto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Benvenuto 2026-04-24 13:29:46 UTC
with current master from the terminal

- open a new writer doc
- insert a new table
- manipulate the table and the default style (lamentably I could establish a precise list of action for reproducibility)

You get that the table style list reduces to the default style, while you get warnings like the following:


warn:svx.dialog:1575092:1575092:svx/source/dialog/rlrcitem.cxx:75: SvxTabStopItem expected
warn:sw.ui:1575092:1575092:sw/source/uibase/app/docst.cxx:1446: Where's the StyleSheet
warn:legacy.osl:1575092:1575092:sfx2/source/dialog/StyleList.cxx:1563: Style not found
warn:legacy.osl:1575092:1575092:sw/source/uibase/app/docst.cxx:1469: Unknown family

Eventually you get a crash when saving the default style.

I'm adding more information if I can establish a reproducible list of actions
Comment 1 Paolo Benvenuto 2026-04-24 20:45:14 UTC
reproduce this way:

- open a new writer document
- F11 (if styles are not visible)
- click on table styles
- right click on Default style, then Edit style...
- ESC key to close the dialog
- click on paragraph (or any other) styles
- click on table styles -> only the Default style is shown, all other styles (children of default style) has desappeared.

I attacch the output in the terminal
Comment 2 Paolo Benvenuto 2026-04-24 20:45:33 UTC
Created attachment 206810 [details]
crash in tdf#171852
Comment 3 Paolo Benvenuto 2026-04-24 20:52:05 UTC
this bug comes with the new implementation of table style, it isn't present in 26.2
Comment 4 BogdanB 2026-04-25 06:03:38 UTC
Confirm with a debug build

warn:svx.dialog:524829:524829:svx/source/dialog/rlrcitem.cxx:75: SvxTabStopItem expected
warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1018,66

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1033,70

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: Source Han Sans CN Regular
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: Lohit Devanagari
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name
    1: Liberation Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-asian
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:xmloff:524829:524829:xmloff/source/core/xmlerror.cxx:186: An error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: style:font-name-complex
    1: DejaVu Sans
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///home/bogdan/Documents/LibreOfficeDev_26.8.0.0.alpha0_Linux_x86-64_archive/program/../share/svx/tablestyles.xml
    Row, Column: 1082,1

warn:legacy.osl:524829:524829:sfx2/source/dialog/StyleList.cxx:1563: Style not found
warn:sfx.appl:524829:524829:sfx2/source/appl/appserv.cxx:364: no parent for dialogs

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 848614ffd1eecaf675978bad716d5448bcf26f98
CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 5 Paolo Benvenuto 2026-04-25 07:27:55 UTC
is this bug related to https://bugs.documentfoundation.org/show_bug.cgi?id=71261 ?