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

            Bug ID: 170277
           Summary: Crash in setting different page orientation on master
                    pages in Draw
           Product: LibreOffice
           Version: 26.8.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 204983
  --> https://bugs.documentfoundation.org/attachment.cgi?id=204983&action=edit
File to reproduce the crash

This is a followup report for the new feature implemented in bug 49787.

Open the attached document.
Switch to Master View.
Select second slide in page pane. It is named "Hoch".
Open menu Page -> Page properties.
Go to tab Page
unselect checkbox "Resize all pages"
In radiobutton group "Orientation" click on "Portrait".

=> Crash

The error message is 
Exception thrown: read access violation.
**this** was nullptr.

The last lines of call stack are
        svxcorelo.dll!sdr::MasterPageDescriptor::GetUsedPage() Line 59  C++
        svxcorelo.dll!SdrPage::TRG_GetMasterPage() Line 1682    C++
        sdlo.dll!SdDrawDocument::ResizeCurrentPage(SdPage * pPage, const Size &
rNewSize, PageKind ePageKind, SdUndoGroup * pUndoGroup, __int64 nLeft, __int64
nRight, __int64 nUpper, __int64 nLower, bool bScaleAll, Orientation
eOrientation, unsigned short nPaperBin, bool bBackgroundFullSize) Line 468  
C++
        sdlo.dll!sd::ViewShell::SetPageSizeAndBorder(PageKind ePageKind, const
Size & rNewSize, __int64 nLeft, __int64 nRight, __int64 nUpper, __int64 nLower,
bool bScaleAll, Orientation eOrientation, unsigned short nPaperBin, bool
bBackgroundFullSize) Line 559   C++
        sdlo.dll!sd::FuPage::ApplyItemSet(const SfxItemSet * pArgs) Line 598   
C++
        sdlo.dll!sd::FuPage::ApplyItemSet(SdStyleSheet & styleSheet, const
std::shared_ptr<SfxItemSet> & newAttr, SfxItemSet & tempSet, const
std::shared_ptr<SfxItemSet> & mergedAttr) Line 487        C++
       
sdlo.dll!sd::FuPage::ExecuteAsyncDialog::__l38::<lambda_1>::operator()(long
nResult) Line 363   C++
        sdlo.dll!std::invoke<`sd::FuPage::ExecuteAsyncDialog'::`38'::<lambda_1>
&,long>(sd::FuPage::ExecuteAsyncDialog::__l38::<lambda_1> & _Obj, long &&
_Arg1) Line 1680      C++
       
sdlo.dll!std::_Func_impl_no_alloc<`sd::FuPage::ExecuteAsyncDialog'::`38'::<lambda_1>,void,long>::_Do_call(long
&& <_Args_0>) Line 880   C++

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

Reply via email to