Apache OpenOffice (AOO) Bugzilla – Issue 122027
[sidebar] Dispatching ".uno:NumberType" crashes
Last modified: 2022-10-28 12:54:15 UTC
Created attachment 80517 [details] Bug doc Open the attached document It has a custom toolbar with a toolbar item that dispatches ".uno:NumberType" Select this toolbar item. The application crashes: Program received signal SIGSEGV, Segmentation fault. 0x00007f96cb4319ba in ScFormatShell::ExecuteNumFormat (this=0x3a637c8, rReq=...) at /build/aoo/src/sidebar/main/sc/source/ui/view/formatsh.cxx:1109 1109 SfxInt16Item aFormatItem((const SfxInt16Item&)rReq.GetArgs()->Get(nSlot)); (gdb) bt #0 0x00007f96cb4319ba in ScFormatShell::ExecuteNumFormat (this=0x3a637c8, rReq=...) at /build/aoo/src/sidebar/main/sc/source/ui/view/formatsh.cxx:1109 #1 0x00007f96cb42dfcc in SfxStubScFormatShellExecuteNumFormat (pShell=0x3a637c8, rReq=...) at ../../../unxlngx6/inc/scslots.hxx:5764 #2 0x00007f97082b3bc6 in SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libsfx.so #3 0x00007f97082aaa2f in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libsfx.so #4 0x00007f97082ace68 in SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest&, unsigned short) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libsfx.so #5 0x00007f9708157384 in SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, SfxShell*) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libsfx.so #6 0x00007f970816a089 in SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libsfx.so #7 0x00007f970816a5ec in SfxOfficeDispatch::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libsfx.so #8 0x00007f96f2662774 in framework::GenericToolbarController::ExecuteHdl_Impl(framework::GenericToolbarController*, framework::ExecuteInfo*) () from /home/ariel/aoo/sidebar/openoffice4/program/../basis-link/program/libfwk.so
Created attachment 80518 [details] Patch to fix the crash
Side note: the command seems to be in the wrong category, "View" (cf. Tools - Customize).
"af" committed SVN revision 1466881 into trunk: 122027: Fixed crash when processing .uno:NumberType command.
Thanks for the patch. Applied.