https://issues.apache.org/ooo/show_bug.cgi?id=122027

            Bug ID: 122027
        Issue Type: DEFECT
           Summary: [sidebar] Dispatching ".uno:NumberType" crashes
    Classification: Code
           Product: General
           Version: AOO400-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 80517
  --> https://issues.apache.org/ooo/attachment.cgi?id=80517&action=edit
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to