Bug 152768 - Insert - Table of Contents: warnings in console with debug LO
Summary: Insert - Table of Contents: warnings in console with debug LO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes-Dialog console-noise
  Show dependency treegraph
 
Reported: 2022-12-31 10:51 UTC by BogdanB
Modified: 2024-06-08 07:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
demo document (9.88 KB, application/vnd.oasis.opendocument.text)
2022-12-31 10:51 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BogdanB 2022-12-31 10:51:31 UTC
Description:
Open the demo document with 2 heading 1 (from a new 7.6 Writer document). Insert - Cross-reference. But not press OK. Just open the window in order to insert it.

In the dbg build of LibreOffice I get in terminal this warnings:
warn:sfx.dialog:1508021:1508021:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for WordPerfect
warn:sfx.dialog:1508021:1508021:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerweb8_writer_template
warn:sfx.dialog:1508021:1508021:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerglobal8
warn:vcl.unx.print:1508021:1508021:vcl/unx/generic/printer/ppdparser.cxx:845: no Resolution in /tmp/63b0130b87463
warn:xmloff.style:1508021:1508021:xmloff/source/style/xmlstyle.cxx:268: Here is a duplicate Style
warn:xmloff.style:1508021:1508021:xmloff/source/style/xmlstyle.cxx:268: Here is a duplicate Style
warn:emfio:1508021:1508021:emfio/source/reader/wmfreader.cxx:1327: TODO: WMF record not implemented: META_SETSTRETCHBLTMODE
warn:legacy.osl:1508021:1508021:sw/source/core/doc/doclay.cxx:1616: Found a FlySection but not a Format!
warn:svl.items:1508021:1508021:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:1508021:1508021:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:1508021:1508021:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:1508021:1508021:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:1508021:1508021:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:legacy.osl:1508021:1508021:sw/source/core/layout/calcmove.cxx:2166: Only a warning for task 108824:/n<SwContentFrame::WouldFit_(..) - follow not valid!
warn:legacy.osl:1508021:1508021:sw/source/core/layout/calcmove.cxx:2166: Only a warning for task 108824:/n<SwContentFrame::WouldFit_(..) - follow not valid!
warn:legacy.osl:1508021:1508021:sw/source/core/layout/calcmove.cxx:2166: Only a warning for task 108824:/n<SwContentFrame::WouldFit_(..) - follow not valid!
warn:sw:1508021:1508021:sw/inc/tox.hxx:636: Wrong type
warn:sw:1508021:1508021:sw/inc/tox.hxx:642: Wrong type
warn:sw:1508021:1508021:sw/inc/tox.hxx:636: Wrong type
warn:sw:1508021:1508021:sw/inc/tox.hxx:642: Wrong type
warn:legacy.osl:1508021:1508021:sw/source/core/doc/doclay.cxx:1616: Found a FlySection but not a Format!

If I close the window without inserting the Table of content:
warn:sw.core:1508021:1508021:sw/source/core/attr/calbck.cxx:196: a 16SwTextFormatColl client added as listener to a 16SwTextFormatColl during client iteration.
warn:sw.core:1508021:1508021:sw/source/core/attr/calbck.cxx:196: a 16SwTextFormatColl client added as listener to a 16SwTextFormatColl during client iteration.
warn:sw.core:1508021:1508021:sw/source/core/attr/calbck.cxx:196: a N2sw13ListenerEntryE client added as listener to a 12SwCharFormat during client iteration.

If I press OK in order to insert The Table of Content:
warn:sw.core:1508021:1508021:sw/source/core/attr/calbck.cxx:196: a 16SwTextFormatColl client added as listener to a 16SwTextFormatColl during client iteration.
warn:sw.core:1508021:1508021:sw/source/core/attr/calbck.cxx:196: a 16SwTextFormatColl client added as listener to a 16SwTextFormatColl during client iteration.
warn:sw.core:1508021:1508021:sw/source/core/attr/calbck.cxx:196: a N2sw13ListenerEntryE client added as listener to a 12SwCharFormat during client iteration.


Steps to Reproduce:
see description

Actual Results:
warnings

Expected Results:
no warnings


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
Comment 1 BogdanB 2022-12-31 10:51:59 UTC
Created attachment 184409 [details]
demo document
Comment 2 Stéphane Guillou (stragu) 2023-02-14 15:52:44 UTC
Bogdan, in your description, I assume you mean "Insert - Table of Contents - Table of Contents, Index or Bibliography", not cross-reference, right?

I only get the ubiquituous svl.items warnings on opening the dialog:

warn:svl.items:43185:43185:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
[...]

And nothing on closing/inserting.

Can you have another look to confirm the situation improved?
Comment 3 BogdanB 2023-02-14 20:09:57 UTC Comment hidden (obsolete)
Comment 4 BogdanB 2023-02-14 20:11:07 UTC
Yes, it's about Insert - Table of Contents.

The situation is much better now.
Without inserting anything, I get this:
warn:sfx.dialog:37293:37293:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for WordPerfect
warn:sfx.dialog:37293:37293:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerweb8_writer_template
warn:sfx.dialog:37293:37293:sfx2/source/dialog/filtergrouping.cxx:359: already have an element for writerglobal8
warn:svl.items:37293:37293:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:37293:37293:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:37293:37293:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:37293:37293:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:37293:37293:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.

If I cancel, no problem.

If I press OK, no problem.
Comment 5 BogdanB 2023-08-03 15:52:37 UTC
Retested 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

Much better now:

warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
warn:svl.items:385374:385374:svl/source/items/itempool.cxx:442: old secondary pool: EditEngineItemPool of pool: XOutdevItemPool must be empty.
Comment 6 BogdanB 2024-06-08 07:41:59 UTC
Just after I press OK, I get:

warn:sal.osl:118088:118088:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory
warn:sal.osl:118088:118088:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory
warn:sal.osl:118088:118088:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory
warn:sal.osl:118088:118088:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory
warn:sal.osl:118088:118088:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so, 1): /home/bogdan/Documente/LibreOfficeDev_24.8.0.0.alpha0_Linux_x86-64_archive/LibreOfficeDev_24.8.0.0.alpha1_Linux_x86-64_archive/program/libi18npool.so: cannot open shared object file: No such file or directory


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