Description: Open the attached file with 2 shapes. In the dbg build of LibreOffice already at opening the file I get the warning: warn:xmloff:711529:711529:xmloff/source/draw/shapeimport.cxx:354: unknown attribute urn:oasis:names:tc:opendocument:xmlns:text:1.0 text:anchor-type value=paragraph warn:xmloff:711529:711529:xmloff/source/draw/shapeimport.cxx:354: unknown attribute urn:oasis:names:tc:opendocument:xmlns:text:1.0 text:anchor-type value=paragraph - Then select all the shapes (easier if you activate View - Toolbar - Drawing - first icon) - Group them: Format - Group - Group - Ungroup them: Format - Group - Ungroup - CRASH and mesage in console: warn:sw.core:711529:711529:sw/source/core/doc/textboxhelper.cxx:1797: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! soffice.bin: /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sw/source/core/doc/textboxhelper.cxx:1798: SwFrameFormat* SwTextBoxNode::GetTextBox(const SdrObject*) const: Assertion `false' failed. warn:desktop:711529:711529:desktop/source/app/crashreport.cxx:61: minidump generated: /home/bogdan/Documente/LibreOfficeDev_7.6.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_7.6.0.0.alpha0_Linux_x86-64_archive/program/../program/../libreofficedev/4/crash//ae7f1d12-c6a5-43cb-69ec0fb0-968db234.dmp warn:legacy.osl:711529:711529:sw/source/core/frmedt/fefly1.cxx:1721: <SwFEShell::GetObjCntType(..)> - missing draw contact object warn:legacy.osl:711529:711529:sw/source/core/frmedt/fefly1.cxx:1721: <SwFEShell::GetObjCntType(..)> - missing draw contact object warn:legacy.osl:711529:711529:sw/source/core/frmedt/fefly1.cxx:1721: <SwFEShell::GetObjCntType(..)> - missing draw contact object warn:legacy.osl:711529:711529:sw/source/core/frmedt/fefly1.cxx:1721: <SwFEShell::GetObjCntType(..)> - missing draw contact object Steps to Reproduce: see description Actual Results: CRASH Expected Results: NO CRASH Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Created attachment 184431 [details] dmp file after the crash
You didn't attach the sample file, only the minidump file; I think
Confirm the crash Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 102846d45cb9660805e209b6954c7b8d707b8288 CPU threads: 8; OS: Mac OS X 12.3.1; UI render: Skia/Raster; VCL: osx Locale: nl-NL (nl_NL.UTF-8); UI: en-US Calc: threaded
Created attachment 184439 [details] demo document
No crash in Version: 7.5.0.1 (X86_64) / LibreOffice Community Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Recently was this commit. Could be this the cause? https://gerrit.libreoffice.org/c/core/+/143205
Noel, could you please take a look here?
Created attachment 184597 [details] bt with debug symbols + console logs Here's a bt retrieved on pc Debian x86-64 with master sources updated today. I also included some console logs.
(In reply to BogdanB from comment #6) > Recently was this commit. Could be this the cause? > > https://gerrit.libreoffice.org/c/core/+/143205 Nope, problem pre-dates that commit.
@Bogdan The bug is probably caused by the work done by Attila Bakos (NISZ) related to textbox grouping.
Not reproducible with a release build Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d993327eab0a2c9c8820c6528075b01de68b0ec6 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: x11 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
Resolved meanwhile Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c68d06dfa1498f862923eaddf3e5d247650a53d5 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: ro-RO (ro_RO); UI: en-US Calc: threaded
(In reply to BogdanB from comment #12) > Resolved meanwhile > Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community > Build ID: c68d06dfa1498f862923eaddf3e5d247650a53d5 > CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: > win > Locale: ro-RO (ro_RO); UI: en-US > Calc: threaded Are you sure? In the original report you were using a debug build, is it also a debug build ?
(In reply to Xisco Faulí from comment #13) > (In reply to BogdanB from comment #12) > > Resolved meanwhile > > Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community > > Build ID: c68d06dfa1498f862923eaddf3e5d247650a53d5 > > CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: > > win > > Locale: ro-RO (ro_RO); UI: en-US > > Calc: threaded > > Are you sure? > In the original report you were using a debug build, is it also a debug > build ? Sorry, repro also on today dbg version. Marked as New again. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d07b1cc8148140bd3a78103da668d002b9d266ab CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
No crash, just warnings now: warn:legacy.tools:152544:152544:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch! warn:sfx.dialog:152544:152544:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for WordPerfect warn:sfx.dialog:152544:152544:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerweb8_writer_template warn:sfx.dialog:152544:152544:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerglobal8 warn:xmloff:152544:152544:xmloff/source/draw/shapeimport.cxx:352: unknown attribute urn:oasis:names:tc:opendocument:xmlns:text:1.0 text:anchor-type value=paragraph warn:xmloff:152544:152544:xmloff/source/draw/shapeimport.cxx:352: unknown attribute urn:oasis:names:tc:opendocument:xmlns:text:1.0 text:anchor-type value=paragraph warn:legacy.tools:152544:152544:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch! warn:legacy.tools:152544:152544:sfx2/source/control/statcach.cxx:399: setting state of dirty message warn:sw.core:152544:152544:sw/source/core/doc/textboxhelper.cxx:1796: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! warn:sw.core:152544:152544:sw/source/core/doc/textboxhelper.cxx:1796: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: f3aab159f1c1e00c25e6b4ca1e50813bc343f4f3 CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
(In reply to BogdanB from comment #15) > No crash, just warnings now: > ... > warn:sw.core:152544:152544:sw/source/core/doc/textboxhelper.cxx:1796: > SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! > warn:sw.core:152544:152544:sw/source/core/doc/textboxhelper.cxx:1796: > SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! Just for the record, I got the same too.
Attila: noticing 1d3d2a995239c3c71432006cb795324c56a0412a, thought you might be interested in this one.
Restested with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0e17d8ddccdee7d4f46b256153853e1cab87c99e CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded warn:sfx.dialog:1066119:1066119:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for WordPerfect warn:sfx.dialog:1066119:1066119:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerweb8_writer_template warn:sfx.dialog:1066119:1066119:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerglobal8 warn:xmloff:1066119:1066119:xmloff/source/draw/shapeimport.cxx:352: unknown attribute urn:oasis:names:tc:opendocument:xmlns:text:1.0 text:anchor-type value=paragraph warn:xmloff:1066119:1066119:xmloff/source/draw/shapeimport.cxx:352: unknown attribute urn:oasis:names:tc:opendocument:xmlns:text:1.0 text:anchor-type value=paragraph warn:stoc:1066119:1066119:stoc/source/javaloader/javaloader.cxx:383: getJavaVM returned null warn:legacy.tools:1066119:1066119:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch! warn:sw.core:1066119:1066119:sw/source/core/doc/textboxhelper.cxx:1796: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! warn:sw.core:1066119:1066119:sw/source/core/doc/textboxhelper.cxx:1796: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch!
Retested. When opening the file, no warnings. When group and ungroup, I just get these warnings: warn:sw.core:708930:708930:sw/source/core/doc/textboxhelper.cxx:1792: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! warn:sw.core:708930:708930:sw/source/core/doc/textboxhelper.cxx:1792: SwTextBoxNode::GetTextBox(): RefCount and TexBox count mismatch! Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 6d39b1a6068bbbd5ca4947f668f989dbfb73342d CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded