Bug 115194 - I/O warning : failed to load external entity "/usr/local/share/liblangtag/language-subtag-registry.xml"
Summary: I/O warning : failed to load external entity "/usr/local/share/liblangtag/lan...
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: David Tardon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 12:26 UTC by Andras Timar
Modified: 2023-10-23 14:48 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Open this to provoke the error (511.14 KB, application/vnd.apple.pages)
2018-01-24 14:12 UTC, Andras Timar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2018-01-24 12:26:24 UTC
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
Comment 1 Eike Rathke 2018-01-24 13:55:57 UTC
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).
Comment 2 Andras Timar 2018-01-24 14:10:47 UTC
(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]
Comment 3 Andras Timar 2018-01-24 14:12:01 UTC
Created attachment 139330 [details]
Open this to provoke the error
Comment 4 Xisco Faulí 2018-04-26 08:26:45 UTC
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.
Comment 5 BogdanB 2023-10-22 18:25:11 UTC Comment hidden (noise)
Comment 6 Eike Rathke 2023-10-23 14:48:47 UTC Comment hidden (noise)