https://bugs.documentfoundation.org/show_bug.cgi?id=101249

Stephan Bergmann <sberg...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |REOPENED
                 CC|                            |sberg...@redhat.com,
                   |                            |s.mehrbr...@gmail.com
         Resolution|FIXED                       |---

--- Comment #20 from Stephan Bergmann <sberg...@redhat.com> ---
Bisecting shows that the commit from comment 5 caused the following regression:
 (At least with a fresh UserInstallation, at least on Linux), open a new Writer
document, then "Insert - Object - OLE Object... - Create new - LibreOffice 5.3
Spreadsheet - OK" causes a crash at

> sfx2::SfxNotebookBar::StateMethod(SystemWindow*, 
> com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, 
> rtl::OUString const&) (pSysWindow=0x0, xFrame=uno::Reference to ((anonymous 
> namespace)::Frame *) 0x6160005ef8f0, rUIFile="modules/scalc/ui/") at 
> sfx2/source/notebookbar/SfxNotebookBar.cxx:182
> sfx2::SfxNotebookBar::StateMethod(SfxBindings&, rtl::OUString const&) 
> (rBindings=..., rUIFile="modules/scalc/ui/") at 
> sfx2/source/notebookbar/SfxNotebookBar.cxx:175
> ScDocShell::GetState(SfxItemSet&) (this=0x61d00235a080, rSet=SfxItemSet of 
> pool 0x619000747280 with parent 0x0 and Which ranges: [(6586, 6587), (10338, 
> 10338), (26084, 26084), (26204, 26204), (26238, 26238), (26309, 26310), 
> (26317, 26317)] = {...}) at sc/source/ui/docshell/docsh4.cxx:1874
> SfxStubScDocShellGetState(SfxShell*, SfxItemSet&) (pShell=0x61d00235a080, 
> rSet=SfxItemSet of pool 0x619000747280 with parent 0x0 and Which ranges: 
> [(6586, 6587), (10338, 10338), (26084, 26084), (26204, 26204), (26238, 
> 26238), (26309, 26310), (26317, 26317)] = {...}) at 
> workdir/SdiTarget/sc/sdi/scslots.hxx:1098
> SfxShell::CallState(void (*)(SfxShell*, SfxItemSet&), SfxItemSet&) 
> (this=0x61d00235a080, pFunc=0x7ffcc4326c70 
> <SfxStubScDocShellGetState(SfxShell*, SfxItemSet&)>, rSet=SfxItemSet of pool 
> 0x619000747280 with parent 0x0 and Which ranges: [(6586, 6587), (10338, 
> 10338), (26084, 26084), (26204, 26204), (26238, 26238), (26309, 26310), 
> (26317, 26317)] = {...}) at include/sfx2/shell.hxx:216
> SfxDispatcher::FillState_(SfxSlotServer const&, SfxItemSet&, SfxSlot const*) 
> (this=0x6020004408b0, rSvr=..., rState=SfxItemSet of pool 0x619000747280 with 
> parent 0x0 and Which ranges: [(6586, 6587), (10338, 10338), (26084, 26084), 
> (26204, 26204), (26238, 26238), (26309, 26310), (26317, 26317)] = {...}, 
> pRealSlot=0x7ffccfa08780 <aScDocShellSlots_Impl>) at 
> sfx2/source/control/dispatch.cxx:1914
> SfxBindings::Update_Impl(SfxStateCache*) (this=0x604001368090, 
> pCache=0x607002162bc0) at sfx2/source/control/bindings.cxx:327
> SfxBindings::NextJob_Impl(Timer*) (this=0x604001368090, 
> pTimer=0x6110004c69c8) at sfx2/source/control/bindings.cxx:1506
> SfxBindings::NextJob(Timer*) (this=0x604001368090, pTimer=0x6110004c69c8) at 
> sfx2/source/control/bindings.cxx:1441
> SfxBindings::LinkStubNextJob(void*, Timer*) (instance=0x604001368090, 
> data=0x6110004c69c8) at sfx2/source/control/bindings.cxx:1439
> Link<Timer*, void>::Call(Timer*) const (this=0x6110004c69e8, 
> data=0x6110004c69c8) at include/tools/link.hxx:84
> Timer::Invoke() (this=0x6110004c69c8) at vcl/source/app/timer.cxx:88
> ImplSchedulerData::Invoke() (this=0x603001df9500) at 
> vcl/source/app/scheduler.cxx:45
> Scheduler::ProcessTaskScheduling(bool) (bTimerOnly=true) at 
> vcl/source/app/scheduler.cxx:177
> ImplYield(bool, bool, unsigned long) (i_bWait=false, i_bAllEvents=false, 
> nReleased=0) at vcl/source/app/svapp.cxx:522
> Application::Yield() () at vcl/source/app/svapp.cxx:555
> Application::Execute() () at vcl/source/app/svapp.cxx:472
> desktop::Desktop::DoExecute() () at desktop/source/app/app.cxx:1319
> desktop::Desktop::Main() (this=0x7fff76646e50) at 
> desktop/source/app/app.cxx:1646
> ImplSVMain() () at vcl/source/app/svmain.cxx:185
> SVMain() () at vcl/source/app/svmain.cxx:223
> soffice_main() () at desktop/source/app/sofficemain.cxx:165
> sal_main () at desktop/source/app/main.c:48
> main (argc=1, argv=0x7fffffffe268) at desktop/source/app/main.c:47

because pSysWindow is null.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to