In glyph fallback throwing away the language property of en because the detected script for '0x9f3' is Bengali and that language doesn't make sense....

Richard PALO richard at netbsd.org
Fri Dec 19 05:18:36 PST 2014


Yeah, sort of surprised myself.

Running scalc 'LibreOfficeDev 4.3.4.1 430m0(Build:1)' I figured out that I can easily force a core
by right clicking on any cell and selecting 'format cell'

I get the following in the terminal window:
> richard at omnis:/home/richard$ soffice test.ods 
> warn:sfx.control:101172:1:sfx2/source/control/dispatch.cxx:1505: Childwindow slot missing: 10365
<right-click> & format cell here!
> warn:vcl:101172:1:vcl/generic/fontmanager/fontconfig.cxx:868: In glyph fallback 
> throwing away the language property of en because the detected script for '0x9f
> 3' is Bengali and that language doesn't make sense. Autodetecting instead.

My locale is fr_FR.UTF-8 on SunOS 5.11 under pkgsrc.

it's coring with:
	sigmask = 0xffffbefc,0xffffffff,0x000001ff
	cursig = SIGSEGV

Coredump indicates:
> 08045fb8 libi18nlangtag.so`LiblantagDataRef::setup+0x4c(fe5b5bdc, fe5b5bdc, 
> fe5b5a1c, 804605c)
> 08046128 libi18nlangtag.so`LanguageTagImpl::canonicalize+0x784(e34a900, 0, 
> fe59b58b, fe5b28bc)
> 08046158 libi18nlangtag.so`_ZN15LanguageTagImpl15synCanonicalizeEv.part.179+0xf(
> fed8d824, 0, 8046198, feca4a02, 18, e33df90)
> 08046278 libi18nlangtag.so`LanguageTag::registerImpl+0x1a50(80462a0, 8046458, 
> f8f52a40, fed1086b, fed8d830, 0)
> 080462b8 libi18nlangtag.so`LanguageTag::getImpl+0x50(80462e8, 8046458, 80462e8, 
> fed8d000, fed8d824, 8046458)
> 08046308 libi18nlangtag.so`LanguageTag::getLanguage+0x24(804639c, 8046458, 
> 8046338, fee83cba, e346860, f3)
> 08046358 libi18nlangtag.so`LanguageTag::getLanguageAndScript+0x21(804639c, 
> 8046458, 80463d8, fcb1bb2e, fed8d824, 80464fc)
> 080463d8 libvcllo.so`_GLOBAL__N_1::mapToFontConfigLangTag+0x10b(f8f52a40, 
> fed1086b, fcb819f0, e2e9e18, 804651c, 8046528)
> 080465c8 libvcllo.so`psp::PrintFontManager::Substitute+0x98b(fcc71b80, 80465f8, 
> 804676c, fcb0325a, 8046684, 0)
> 08046678 libvcllo.so`FcGlyphFallbackSubstititution::FindFontSubstitute+0x140(
> fcc67480, 8046788, 804676c, 80467ac)
> 080466c8 libvcllo.so`PhysicalFontCollection::GetGlyphFallbackFont+0xbc(ce997c8, 
> 8046788, 804676c, 0, 10, 8046770)
> 08046718 libvcllo.so`ImplFontCache::GetGlyphFallbackFont+0x37(ce91d78, ce997c8, 
> 8046788, 1, 804676c, 8046774)
> 08046808 libvcllo.so`OutputDevice::ImplGlyphFallbackLayout+0x367(e31fc08, 
> e33f138, 8046840, fed8d000, fed8d824, 8046840)
> 080468b8 libvcllo.so`OutputDevice::ImplLayout+0x12d(e31fc08, e346780, 0, 20, 
> 804690c, 0)
> 080469d8 libvcllo.so`OutputDevice::GetTextArray+0x8c(e31fc08, e346780, 0, 0, 
> ffffffff, 0)
> 08046a08 libvcllo.so`OutputDevice::GetTextWidth+0x25(e31fc08, e346780, 0, 
> ffffffff, fed8d824, 0)
> 08046a78 libvcllo.so`ImplListBoxWindow::ImplUpdateEntryMetrics+0x285(e31fc08, 
> e346780, e346780, 0)
> 08046aa8 
> libvcllo.so`_ZN17ImplListBoxWindow11InsertEntryElP13ImplEntryType.part.119+0x64(
> e346780, 481, e31bc18, a)
> 08046ae8 libvcllo.so`ImplListBox::InsertEntry+0x6e(e31fad8, 7fffffff, e3447f4, 
> 548, f0ef6864, d4c1700)
> 08046b18 libvcllo.so`ListBox::InsertEntry+0x33(e31bc18, e3447f4, 7fffffff, 
> fdfec5aa)
> 08046b68 libcuilo.so`SvxNumberFormatTabPage::FillCurrencyBox+0x74(e2f8f28, 
> 8046bc4, 26, 0, f12c5d08, 0)          
> 08046be8 libcuilo.so`SvxNumberFormatTabPage::Reset+0x342(e2f8f28, e2e6298, 
> e2f8f28, fdef2c4c, 0, fdd8e2e4)
> 08046cb8 libsfxlo.so`SfxTabDialog::ActivatePageHdl+0x4ff(e2f50e0, e2f7f00, 
> 8046cf0, 0, fed8d824, 0)
> 08046d28 libsfxlo.so`SfxTabDialog::Start_Impl+0xd5(e2f50e0, e2f50e0, 8046d68, 
> f11f589e, f450d87c, e2e42a8)
> 08046d48 libsfxlo.so`SfxTabDialog::Execute+0x34(e2f50e0, c0000001, f11f586b, 
> f450d87c)
> 08046d68 libscuilo.so`ScAbstractTabDialog_Impl::Execute+0x15(e2e42a8, d4d7508, 
> d66e4c0, e2e6298, 0, 0)
> 08046e78 libsclo.so`ScTabViewShell::ExecuteCellFormatDlg+0x3bc(d66b430, 80472c0
> , 8046efc, fed8d000, f8f52a40, fed8d824)
> 080470e8 libsclo.so`ScCellShell::Execute+0x2064(d612100, 80472c0, fe76c38b, 
> fe13e51c)
> 08047108 libsclo.so`SfxStubScCellShellExecute+0x1d(d612100, 80472c0, fdda2330, 0
> )
> 08047178 libsfxlo.so`SfxDispatcher::Call_Impl+0x27a(d30a760, d612100, f46eadc4, 
> 80472c0, 1, 0)
> 080471e8 libsfxlo.so`SfxBindings::Execute_Impl+0x66(d57c3a8, 80472c0, f46eadc4, 
> d612100, 8068b80, 0)
> 08047368 libsfxlo.so`SfxDispatchController_Impl::dispatch+0xeef(e2f0798, e2f5658
> , 80473f0, 8047394, fcbb6654, 8068a60)
> 080473b8 libsfxlo.so`SfxOfficeDispatch::dispatch+0xfc(e2f0760, e2f5658, 80473f0
> , fed11d78, feee69e0, 0)
> 08047488 libsfxlo.so`SfxAsyncExec_Impl::TimerHdl+0x6b(e2f5658, e2f5688, 108, 
> 137f0c7f)
> 080474a8 libvcllo.so`Timer::Timeout+0x19(e2f5688, fcbb6654, 80474e8, fca5b961, 
> e2f2c94, 3e8)
> 080474e8 libvcllo.so`Timer::ImplTimerCallbackProc+0x191(fc539418, ce5d920, 
> f8c891bb, fc538290, e1af058, e2f2c60)
> 08047508 libvclplug_gtklo.so`sal_gtk_timeout_dispatch+0x5a(e2f2c60, fc484bf0, 0
> , 8047548, 912faf1e, 8047548)
> 08047568 libglib-2.0.so.0.4200.1`g_main_context_dispatch+0x129(ce5d920, 12c, 
> d1e5860, 2)
> 080475b8 libglib-2.0.so.0.4200.1`g_main_context_iterate.isra.29+0x209(1, 0, 
> 80475e8, fc483e1d, 8068ac0, 1)
> 080475e8 libglib-2.0.so.0.4200.1`g_main_context_iteration+0x3a(0, 1, 8047618, 
> feab0bfa)
> 08047638 libvclplug_gtklo.so`GtkData::Yield+0xda(8073c08, 1, 0, 8047724)
> 08047668 libvclplug_gtklo.so`GtkInstance::Yield+0x46(8071310, 1, 0, fca5539a, 
> fcbb6654, fcc70880)
> 08047688 libvcllo.so`Application::Yield+0x64(fee4a070, 0, 8047898, fedee3c3, 
> 80476e0, fed116bb)
> 08047698 libvcllo.so`Application::Execute+0x35(80476e0, fed116bb, fed91400, 
> 804771c, 8047718, 8047714)
> 08047898 libsofficeapp.so`desktop::Desktop::Main+0x12a3(804791c, 1, 80478d8, 
> fca5a9d6)
> 080478d8 libvcllo.so`ImplSVMain+0x116(fee1436d, 0, 0, 0, fca5aad9, fee4a070)
> 080478f8 libvcllo.so`SVMain+0x20(fef804d8, fef804d8, 8047914, fee57280, 12, 
> feec2630)
> 08047968 libsofficeapp.so`soffice_main+0x13d(3, 80479d0, 804798c, 805717a, 
> 8067834, 804798c)
> 08047998 main+0x2d(fed1eaf7, fed976c8, 80479c4, 8051a63, 3, 80479d0)
> 080479c4 _start+0x83(3, 8047ad8, 8047b0c, 8047b15, 0, 8047b25)

This is not the first time I see issues involving liblangtag, seems I remember needing to disable system wide dictionaries and thesauri else a crash upon startup was garanteed with soffice.

Anybody come across this before?



More information about the LibreOffice mailing list