Problem after libreoffice upgrade

From: Mario Lobo <lobo_at_bsd.com.br>
Date: Wed, 03 Aug 2022 19:40:53 UTC
Good afternoon.

Just to set the environment:

- FreeBSD 13.1-STABLE #0 stable/13-0c4d13c521: Tue Aug  2 06:58:39 -03 2022
- libreoffice-7.3.5.2 (installed via pkg)
Name           : libreoffice
Version        : 7.3.5.2
Installed on   : Wed Aug  3 13:04:17 2022 -03

After this upgrade, everytime I try to create/open any type of document, a
get the following:

# LoboLap/root [16:32:55]
[~]>libreoffice
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'


Fatal exception: Signal 6
Stack:
/usr/local/lib/libreoffice/program/libuno_sal.so.3+0x5e873(osl_unloadUserProfile+0x5d3)[0x8002a3873]
/usr/local/lib/libreoffice/program/libuno_sal.so.3+0x5e75f(osl_unloadUserProfile+0x4bf)[0x8002a375f]
/lib/libthr.so.3+0x19a5e(pthread_sigmask+0x54e)[0x8003b8a5e]
/lib/libthr.so.3+0x18f4e(pthread_setschedparam+0x82e)[0x8003b7f4e]
[0x7ffffffff2d3]
/lib/libc.so.7+0x164529(abort+0x49)[0x800530529]
/lib/libcxxrt.so.1+0xf2a7(__gxx_personality_v0+0x247)[0x8009152a7]
/lib/libgcc_s.so.1+0x110d0(_Unwind_RaiseException+0x460)[0x8009730d0]
/lib/libgcc_s.so.1+0x112e0(_Unwind_Resume+0x60)[0x8009732e0]
/usr/local/lib/libreoffice/program/libvcllo.so+0x96f8a9(_Z6SVMainv+0x159)[0x80436f8a9]
/usr/local/lib/libreoffice/program/libuno_sal.so.3+0x2c719(osl_getGlobalMutex+0xa9)[0x800271719]
/usr/local/lib/libreoffice/program/libuno_sal.so.3+0x5e4cd(osl_unloadUserProfile+0x22d)[0x8002a34cd]
/lib/libthr.so.3+0x19a5e(pthread_sigmask+0x54e)[0x8003b8a5e]
/lib/libthr.so.3+0x18f4e(pthread_setschedparam+0x82e)[0x8003b7f4e]
[0x7ffffffff2d3]
/usr/local/lib/libreoffice/program/liblnglo.so+0x7d812(_ZN10linguistic23PropertyHelper_Spelling31removeLinguServiceEventListenerERKN3com3sun4star3uno9ReferenceINS3_11linguistic226XLinguServiceEventListenerEEE+0xb172)[0x805ec2812]
/usr/local/lib/libreoffice/program/liblnglo.so+0x7de49(_ZN10linguistic23PropertyHelper_Spelling31removeLinguServiceEventListenerERKN3com3sun4star3uno9ReferenceINS3_11linguistic226XLinguServiceEventListenerEEE+0xb7a9)[0x805ec2e49]
/usr/local/lib/libreoffice/program/liblnglo.so+0x7458b(_ZN10linguistic23PropertyHelper_Spelling31removeLinguServiceEventListenerERKN3com3sun4star3uno9ReferenceINS3_11linguistic226XLinguServiceEventListenerEEE+0x1eeb)[0x805eb958b]
/usr/local/lib/libreoffice/program/liblnglo.so+0x73929(_ZN10linguistic23PropertyHelper_Spelling31removeLinguServiceEventListenerERKN3com3sun4star3uno9ReferenceINS3_11linguistic226XLinguServiceEventListenerEEE+0x1289)[0x805eb8929]
/usr/local/lib/libreoffice/program/liblnglo.so+0x813ac(linguistic_LngSvcMgr_get_implementation+0x1c)[0x805ec63ac]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x90966(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x1b56)[0x80151c966]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x907e1(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x19d1)[0x80151c7e1]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x94536(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x5726)[0x801520536]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x947a2(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x5992)[0x8015207a2]
/usr/local/lib/libreoffice/program/../program/libswlo.so+0xf8d0d2(com_sun_star_comp_Writer_FilterOptionsDialog_get_implementation+0x1742)[0x82ff8d0d2]
/usr/local/lib/libreoffice/program/../program/libswlo.so+0xf8ca01(com_sun_star_comp_Writer_FilterOptionsDialog_get_implementation+0x1071)[0x82ff8ca01]
/usr/local/lib/libreoffice/program/../program/libswlo.so+0xdd00f6(_ZN8SwModuleC2EP16SfxObjectFactoryS1_S1_+0x306)[0x82fdd00f6]
/usr/local/lib/libreoffice/program/../program/libswlo.so+0xdcccbe(_ZN9SwGlobals6ensureEv+0x2be)[0x82fdcccbe]
/usr/local/lib/libreoffice/program/../program/libswlo.so+0xdccaa2(_ZN9SwGlobals6ensureEv+0xa2)[0x82fdccaa2]
/usr/local/lib/libreoffice/program/../program/libswlo.so+0xf99aec(Writer_SwTextDocument_get_implementation+0x3c)[0x82ff99aec]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x90966(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x1b56)[0x80151c966]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x9082f(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x1a1f)[0x80151c82f]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x94536(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x5726)[0x801520536]
/usr/local/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3+0x947a2(_ZN4cppu20OPropertyArrayHelper11fillHandlesEPiRKN3com3sun4star3uno8SequenceIN3rtl8OUStringEEE+0x5992)[0x8015207a2]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x4d5b96(com_sun_star_comp_office_FrameLoader_get_implementation+0x3116)[0x802229b96]
/usr/local/lib/libreoffice/program/libfwklo.so+0x22c728(com_sun_star_comp_framework_LayoutManager_get_implementation+0x21b18)[0x801a18728]
/usr/local/lib/libreoffice/program/libfwklo.so+0x22949c(com_sun_star_comp_framework_LayoutManager_get_implementation+0x1e88c)[0x801a1549c]
/usr/local/lib/libreoffice/program/libfwklo.so+0x227d1b(com_sun_star_comp_framework_LayoutManager_get_implementation+0x1d10b)[0x801a13d1b]
/usr/local/lib/libreoffice/program/libfwklo.so+0x16f4de(com_sun_star_comp_framework_ModuleAcceleratorConfiguration_get_implementation+0x1a9be)[0x80195b4de]
/usr/local/lib/libreoffice/program/libfwklo.so+0x16fb11(com_sun_star_comp_framework_ModuleAcceleratorConfiguration_get_implementation+0x1aff1)[0x80195bb11]
/usr/local/lib/libreoffice/program/libcomphelper.so+0x1343c2(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_RKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x272)[0x80140f3c2]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x20d3b2(_ZN14SfxApplication12LoadTemplateER18SfxObjectShellLockRKN3rtl8OUStringENSt3__110unique_ptrI10SfxItemSetNS6_14default_deleteIS8_EEEE+0x4542)[0x801f613b2]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x290a1f(_ZNK13SfxDispatcher15IsAppDispatcherEv+0x27f)[0x801fe4a1f]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x292b57(_ZN13SfxDispatcher7ExecuteEt11SfxCallModeRK10SfxItemSet+0x1c7)[0x801fe6b57]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x20bc5c(_ZN14SfxApplication12LoadTemplateER18SfxObjectShellLockRKN3rtl8OUStringENSt3__110unique_ptrI10SfxItemSetNS6_14default_deleteIS8_EEEE+0x2dec)[0x801f5fc5c]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x290a1f(_ZNK13SfxDispatcher15IsAppDispatcherEv+0x27f)[0x801fe4a1f]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x290f26(_ZN13SfxDispatcher14PostMsgHandlerENSt3__110unique_ptrI10SfxRequestNS0_14default_deleteIS2_EEEE+0x116)[0x801fe4f26]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x29b9b8(_ZNK13SfxDispatcher9GetModuleEv+0x4bd8)[0x801fef9b8]
/usr/local/lib/libreoffice/program/libsfxlo.so+0x48a24b(com_sun_star_comp_sfx2_GlobalEventBroadcaster_get_implementation+0x5bbb)[0x8021de24b]
/usr/local/lib/libreoffice/program/libvcllo.so+0x667062(_Z17ImplCallPreNotifyR11NotifyEvent+0x2642)[0x804067062]
/usr/local/lib/libreoffice/program/libvcllo.so+0x91f509(_ZN16SalUserEventList18DispatchUserEventsEb+0x2b9)[0x80431f509]
/usr/local/lib/libreoffice/program/libvclplug_qt5lo.so+0x82a2d(_ZN10QtInstance9ImplYieldEbb+0x3d)[0x8089a0a2d]
/usr/local/lib/libreoffice/program/libvclplug_qt5lo.so+0x84dfa(_ZN10QtInstance7DoYieldEbb+0xea)[0x8089a2dfa]
/usr/local/lib/libreoffice/program/libvcllo.so+0x96742a(_ZN11Application7ExecuteEv+0x14a)[0x80436742a]
/usr/local/lib/libreoffice/program/libsofficeapp.so+0x50df4(_ZTSN3com3sun4star12datatransfer13XTransferableE+0x17551)[0x800309df4]
/usr/local/lib/libreoffice/program/libvcllo.so+0x96e20e(_Z10ImplSVMainv+0x8e)[0x80436e20e]
/usr/local/lib/libreoffice/program/libsofficeapp.so+0x7e9af(soffice_main+0xff)[0x8003379af]
/usr/local/lib/libreoffice/program/soffice.bin+0x1950[0x201950]
/usr/local/lib/libreoffice/program/soffice.bin+0x1750[0x201750]
[0x800226008]

Things I've tried but ended up with the same result:

1) Compile from ports
2) Copied /usr/src from my desktop, where this upgrade worked and
recompiled world from scratch
3) Downgrade libreoffice port

I'd appreciate it if anyone has any suggestions on how I can fix this.

Thanks,
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]