Description: I've got the following error printed on console after stating libreoffice-master build: I/O warning : failed to load external entity "/usr/local/share/liblangtag/language-subtag-registry.xml" W: Error raised: W: Unable to read the xml file: /usr/local/share/liblangtag/language-subtag-registry.xml W: Backtraces: W: 0. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(lt_xml_get_subtag_registry+0x18b) [0x7fbe1329faab] W: 1. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(+0xd5e3) [0x7fbe132935e3] W: 2. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(lt_grandfathered_db_lookup+0xc8) [0x7fbe13293c48] etc. language-subtag-registry.xml was in instdir/share/liblangtag/language-subtag-registry.xml of course. Steps to Reproduce: . Actual Results: . Expected Results: . Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
You mean during the build, not soffice start-up? Can you find out what calls into liblangtag and why? soffice uses lt_db_set_datadir() to set the directory in i18nlangtag/source/languagetag/languagetag.cxx LiblangtagDataRef::setupDataPath(), that place probably has to do something similar (but can't use the bootstrap macros).
(In reply to Eike Rathke from comment #1) > You mean during the build, not soffice start-up? At startup. > Can you find out what calls into liblangtag and why? > soffice uses lt_db_set_datadir() to set the directory in > i18nlangtag/source/languagetag/languagetag.cxx > LiblangtagDataRef::setupDataPath(), that place probably has to do something > similar (but can't use the bootstrap macros). Yes, I could have read the backtrace more, so it would be more helpful. :) The culprit was libetonyek. I/O warning : failed to load external entity "/usr/local/share/liblangtag/language-subtag-registry.xml" W: Error raised: W: Unable to read the xml file: /usr/local/share/liblangtag/language-subtag-registry.xml W: Backtraces: W: 0. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(lt_xml_get_subtag_registry+0x18b) [0x7f4f6fe8faab] W: 1. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(+0xd5e3) [0x7f4f6fe835e3] W: 2. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(lt_grandfathered_db_lookup+0xc8) [0x7f4f6fe83c48] W: 3. /home/timar/libreoffice-master/instdir/program/liblangtag-lo.so.1(+0x1569d) [0x7f4f6fe8b69d] W: 4. /home/timar/libreoffice-master/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x9ee5b) [0x7f4f53613e5b] W: 5. /home/timar/libreoffice-master/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x9fe98) [0x7f4f53614e98] W: 6. /home/timar/libreoffice-master/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x7fe1b) [0x7f4f535f4e1b] W: 7. /home/timar/libreoffice-master/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x6cf81) [0x7f4f535e1f81] W: 8. /home/timar/libreoffice-master/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x1032d7) [0x7f4f536782d7] W: 9. /home/timar/libreoffice-master/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek15EtonyekDocument5parseEPN10librevenge15RVNGInputStreamEPNS1_17RVNGTextInterfaceE+0x5a0) [0x7f4f535bf9e0] W: 10. /home/timar/libreoffice-master/instdir/program/../program/libwpftwriterlo.so(+0x48c26) [0x7f4f539a2c26] W: 11. /home/timar/libreoffice-master/instdir/program/libsfxlo.so(_ZN14SfxObjectShell10ImportFromER9SfxMediumRKN3com3sun4star3uno9ReferenceINS4_4text10XTextRangeEEE+0x9a0) [0x7f4f7a69bad0] W: 12. /home/timar/libreoffice-master/instdir/program/libsfxlo.so(_ZN14SfxObjectShell6DoLoadEP9SfxMedium+0xf47) [0x7f4f7a6a0df7] W: 13. /home/timar/libreoffice-master/instdir/program/libsfxlo.so(_ZN12SfxBaseModel4loadERKN3com3sun4star3uno8SequenceINS2_5beans13PropertyValueEEE+0x1f4) [0x7f4f7a6d5594] W: 14. /home/timar/libreoffice-master/instdir/program/libsfxlo.so(+0x556585) [0x7f4f7a76e585] W: 15. /home/timar/libreoffice-master/instdir/program/../program/libfwklo.so(+0x1295e5) [0x7f4f5d9ac5e5] W: 16. /home/timar/libreoffice-master/instdir/program/../program/libfwklo.so(+0x12aa78) [0x7f4f5d9ada78] W: 17. /home/timar/libreoffice-master/instdir/program/../program/libfwklo.so(+0xbaf6b) [0x7f4f5d93df6b] W: 18. /home/timar/libreoffice-master/instdir/program/../program/libfwklo.so(+0xbbd28) [0x7f4f5d93ed28] W: 19. /home/timar/libreoffice-master/instdir/program/libcomphelper.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_iRKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x3cf) [0x7f4f7c1b762f] W: 20. /home/timar/libreoffice-master/instdir/program/libsofficeapp.so(+0x40343) [0x7f4f7f0ce343] W: 21. /home/timar/libreoffice-master/instdir/program/libsofficeapp.so(+0x4d35a) [0x7f4f7f0db35a] W: 22. /home/timar/libreoffice-master/instdir/program/libsofficeapp.so(+0x2789a) [0x7f4f7f0b589a] W: 23. /home/timar/libreoffice-master/instdir/program/libsofficeapp.so(+0x28dca) [0x7f4f7f0b6dca] W: 24. /home/timar/libreoffice-master/instdir/program/libvcllo.so(+0x317b5a) [0x7f4f76f10b5a] W: 25. /home/timar/libreoffice-master/instdir/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x192) [0x7f4f770fc272] W: 26. /home/timar/libreoffice-master/instdir/program/libvclplug_gtk3lo.so(+0x43bf9) [0x7f4f65cd5bf9] W: 27. /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x135) [0x7f4f7d4a3015] W: 28. /usr/lib64/libglib-2.0.so.0(+0x4c388) [0x7f4f7d4a3388] W: 29. /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f4f7d4a342c] W: 30. /home/timar/libreoffice-master/instdir/program/libvclplug_gtk3lo.so(+0x44f3b) [0x7f4f65cd6f3b] W: 31. /home/timar/libreoffice-master/instdir/program/libvcllo.so(_ZN11Application5YieldEv+0x2e) [0x7f4f7710ceae] W: 32. /home/timar/libreoffice-master/instdir/program/libvcllo.so(_ZN11Application7ExecuteEv+0x35) [0x7f4f7710e645] W: 33. /home/timar/libreoffice-master/instdir/program/libsofficeapp.so(+0x29e83) [0x7f4f7f0b7e83] W: 34. /home/timar/libreoffice-master/instdir/program/libvcllo.so(+0x51a5a6) [0x7f4f771135a6] W: 35. /home/timar/libreoffice-master/instdir/program/libvcllo.so(_Z6SVMainv+0x12) [0x7f4f77113682] W: 36. /home/timar/libreoffice-master/instdir/program/libsofficeapp.so(soffice_main+0x77) [0x7f4f7f0e2e67] W: 37. /home/timar/libreoffice-master/instdir/program/soffice.bin() [0x40066b] W: 38. /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f4f7ed0d6d5] W: 39. /home/timar/libreoffice-master/instdir/program/soffice.bin() [0x4006a9]
Created attachment 139330 [details] Open this to provoke the error
Dear David Tardon, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assigned it back to yourself if you're still working on this.
I'm getting this messages from dbg version: PageSpan::get: can not find a master page name PageSpan::get: can not find a master page name ParagraphStyleManager::findOrAdd: Paragraph Hash Key: fo:hyphenate: true, fo:margin-bottom: 0.0000in, fo:margin-left: 0.0000in, fo:margin-right: 0.0000in, fo:margin-top: 0.0000in, fo:orphans: 2, fo:text-indent: 0.0000in, fo:widows: 2, librevenge:zone-style: 0, style:master-page-name: PM2, style:parent-style-name: Standard SpanStyleManager::findOrAdd: Span Hash Key: fo:color: #000000, fo:country: US, fo:font-size: 0.1528in, fo:language: en, fo:letter-spacing: 100.0000%, fo:script: Latn, librevenge:zone-style: 0, style:font-name: HelveticaNeue OdtGenerator: Document Body: Printing out the header stuff.. OdtGenerator: Document Body: Start Document OdtGenerator: Document Body: preamble TextElement: write TagCloseElement: write (meta:generator) TagCloseElement: write (style:font-face) TagCloseElement: write (office:font-face-decls) OdtGenerator: Document Body: Writing out the styles.. warn:xmloff:77170:77170:xmloff/source/style/xmlstyle.cxx:414: Unknown element urn:oasis:names:tc:opendocument:xmlns:style:1.0 style:default-style warn:xmloff:77170:77170:xmloff/source/style/xmlstyle.cxx:414: Unknown element urn:oasis:names:tc:opendocument:xmlns:style:1.0 style:default-style SpanStyle: Writing a span style.. warn:xmloff:77170:77170:xmloff/source/core/xmlerror.cxx:163: An error or a warning has occurred during XML import/export! Error-Id: 0x10020002 Flags: 1 WARNING Class: 2 FORMAT Number: 2 Parameters: 0: fo:letter-spacing 1: 100.0000% Exception-Message: ParagraphStyle: Writing a paragraph style.. OdtGenerator: Document Body: Writing out the document.. TagCloseElement: write (text:span) TagCloseElement: write (text:p) OdtGenerator: Document Body: Finished writing all doc els.. OdtGenerator: Cleaning up our mess.. warn:sal.osl:77170:77170:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.2.0.0.alpha0_Linux_x86-64_archive/program/libjava_gcc3.so, 257): /home/bogdan/Documente/LibreOfficeDev_24.2.0.0.alpha0_Linux_x86-64_archive/program/libjava_gcc3.so: cannot open shared object file: No such file or directory warn:sal.osl:77170:77170:sal/osl/unx/module.cxx:100: dlopen(/home/bogdan/Documente/LibreOfficeDev_24.2.0.0.alpha0_Linux_x86-64_archive/program/libgcc3_java.so, 257): /home/bogdan/Documente/LibreOfficeDev_24.2.0.0.alpha0_Linux_x86-64_archive/program/libgcc3_java.so: cannot open shared object file: No such file or directory warn:legacy.tools:77170:77170:sfx2/source/control/bindings.cxx:1771: No cache for OfficeDispatch!
That's completely unrelated noise in this context, a warning during writing styles.