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

            Bug ID: 115759
           Summary: Assertion triggered in
                    core/sd/source/ui/tools/IconCache.cxx:78
           Product: LibreOffice
           Version: 6.1.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When running a file conversion from PDF to SVG using LibreOfficeKit, my debug
build of LO chrashes intermittently due to a triggered assertion.

#0  0x00007ffff6e8d860 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff6e8eec9 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff6e860bc in __assert_fail_base () from /usr/lib/libc.so.6
#3  0x00007ffff6e86133 in __assert_fail () from /usr/lib/libc.so.6
#4  0x00007fffdb012f97 in sd::SdGlobalResourceContainer::Instance () at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/tools/SdGlobalResourceContainer.cxx:84
#5  0x00007fffdb009fbc in sd::IconCache::Instance () at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/tools/IconCache.cxx:78
#6  0x00007fffdaff1fd3 in
sd::slidesorter::view::PageObjectLayouter::PageObjectLayouter
(this=0x7fffde832240, rPageObjectWindowSize=..., rPageSize=...,
pWindow=0x7fffde827800, nPageCount=1)
    at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx:50
#7  0x00007fffdafefcf8 in
sd::slidesorter::view::Layouter::Implementation::Rearrange
(this=0x7fffd80c6180, rWindowSize=..., rPreviewModelSize=...,
nPageCount=nPageCount@entry=1)
    at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/view/SlsLayouter.cxx:520
#8  0x00007fffdafeff38 in sd::slidesorter::view::Layouter::Rearrange
(this=this@entry=0x7fffd0e1d820, eOrientation=<optimized out>, rWindowSize=...,
rPageSize=..., nPageCount=nPageCount@entry=1)
    at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/view/SlsLayouter.cxx:328
#9  0x00007fffdafba89c in
sd::slidesorter::controller::ScrollBarManager::TestScrollBarVisibilities
(this=this@entry=0x7fffde9ce100,
bHorizontalScrollBarVisible=bHorizontalScrollBarVisible@entry=false, 
    bVerticalScrollBarVisible=bVerticalScrollBarVisible@entry=false,
rAvailableArea=...) at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx:368
#10 0x00007fffdafbab4f in
sd::slidesorter::controller::ScrollBarManager::DetermineScrollBarVisibilities
(this=this@entry=0x7fffde9ce100, rAvailableArea=...,
bIsHorizontalScrollBarAllowed=<optimized out>, 
    bIsVerticalScrollBarAllowed=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx:312
#11 0x00007fffdafbac2d in
sd::slidesorter::controller::ScrollBarManager::PlaceScrollBars
(this=0x7fffde9ce100, rAvailableArea=...,
bIsHorizontalScrollBarAllowed=<optimized out>,
bIsVerticalScrollBarAllowed=<optimized out>)
    at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx:116
#12 0x00007fffdafa0557 in
sd::slidesorter::controller::SlideSorterController::Rearrange
(this=0x7fffde831e80, bForce=<optimized out>)
    at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/controller/SlideSorterController.cxx:695
#13 0x00007fffdafd4f73 in sd::slidesorter::SlideSorter::ArrangeGUIElements
(this=0x7fffdc656f40, rOffset=..., rSize=...) at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/shell/SlideSorter.cxx:359
#14 0x00007fffdafd88ae in
sd::slidesorter::SlideSorterViewShell::ArrangeGUIElements (this=0x7fffde976a00)
at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx:445
#15 0x00007fffdb15bdad in sd::ViewShell::Resize (this=0x7fffde976a00) at
/srv/installers/AUR/libreoffice-slim-git/src/core/sd/source/ui/view/viewshel.cxx:984
#16 0x00007ffff074f208 in WindowListenerMultiplexer::windowResized
(this=<optimized out>, evt=...) at
/srv/installers/AUR/libreoffice-slim-git/src/core/toolkit/source/helper/listenermultiplexer.cxx:82
#17 0x00007ffff05ffde3 in VCLXWindow::ProcessWindowEvent (this=0x7fffde9f17d0,
rVclWindowEvent=...) at
/srv/installers/AUR/libreoffice-slim-git/src/core/toolkit/source/awt/vclxwindow.cxx:477
#18 0x00007ffff05fd4e9 in VCLXWindow::WindowEventListener (this=0x7fffde9f17d0,
rEvent=...) at
/srv/installers/AUR/libreoffice-slim-git/src/core/toolkit/source/awt/vclxwindow.cxx:404
#19 0x00007fffef0209a6 in Link<VclWindowEvent&, void>::Call (data=...,
this=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/include/tools/link.hxx:84
#20 vcl::Window::CallEventListeners (this=this@entry=0x7fffde847d00,
nEvent=nEvent@entry=VclEventId::WindowResize, pData=pData@entry=0x0) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/event.cxx:239
#21 0x00007fffef021997 in vcl::Window::ImplCallResize
(this=this@entry=0x7fffde847d00) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/event.cxx:526
#22 0x00007fffef0df098 in vcl::Window::ImplPosSizeWindow (this=0x7fffde847d00,
nX=<optimized out>, nX@entry=3, nY=nY@entry=19, nWidth=<optimized out>,
nWidth@entry=240, nHeight=<optimized out>, nHeight@entry=574, 
    nFlags=<optimized out>, nFlags@entry=PosSizeFlags::PosSize) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/window.cxx:1609
#23 0x00007fffef0e3cf7 in vcl::Window::setPosSizePixel (this=0x7fffde847d00,
nX=<optimized out>, nY=<optimized out>, nWidth=240, nHeight=574,
nFlags=PosSizeFlags::PosSize)
    at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/window.cxx:2836
#24 0x00007ffff323ce26 in sfx2::TitledDockingWindow::impl_layout
(this=this@entry=0x7fffdc75e000) at
/srv/installers/AUR/libreoffice-slim-git/src/core/sfx2/source/dialog/titledockwin.cxx:126
#25 0x00007ffff323d441 in sfx2::TitledDockingWindow::Paint
(this=0x7fffdc75e000, rRenderContext=..., i_rArea=...) at
/srv/installers/AUR/libreoffice-slim-git/src/core/sfx2/source/dialog/titledockwin.cxx:152
#26 0x00007fffeefa227d in PaintHelper::DoPaint (this=this@entry=0x7fffdf3fdc40,
pRegion=pRegion@entry=0x0) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:300
#27 0x00007fffeefa2d93 in vcl::Window::ImplCallPaint
(this=this@entry=0x7fffdc75e000, pRegion=0x0, nPaintFlags=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:604
#28 0x00007fffeefa2efe in PaintHelper::~PaintHelper (this=0x7fffdf3fdd30,
__in_chrg=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:540
#29 0x00007fffeefa2bf9 in vcl::Window::ImplCallPaint
(this=this@entry=0x7fffd2c1f100, pRegion=0x0, nPaintFlags=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:601
#30 0x00007fffeefa2efe in PaintHelper::~PaintHelper (this=0x7fffdf3fde20,
__in_chrg=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:540
#31 0x00007fffeefa2bf9 in vcl::Window::ImplCallPaint
(this=this@entry=0x7fffd7275080, pRegion=0x0, nPaintFlags=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:601
#32 0x00007fffeefa2efe in PaintHelper::~PaintHelper (this=0x7fffdf3fdf10,
__in_chrg=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:540
#33 0x00007fffeefa2bf9 in vcl::Window::ImplCallPaint
(this=this@entry=0x7fffd7277380, pRegion=0x0, nPaintFlags=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:601
#34 0x00007fffeefa2efe in PaintHelper::~PaintHelper (this=0x7fffdf3fe000,
__in_chrg=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:540
#35 0x00007fffeefa2bf9 in vcl::Window::ImplCallPaint
(this=this@entry=0x7fffdfbc2500, pRegion=0x0, nPaintFlags=<optimized out>) at
/srv/installers/AUR/libreoffice-slim-git/src/core/vcl/source/window/paint.cxx:601


Steps to Reproduce:
1. Run a custom code that uses LibreOfficeKit under debugger repeatedly.
2. After about ten attempts, the assertion is triggered.
3.

Actual Results:  
Crash, sometimes.

Expected Results:
No crashes at all.


Reproducible: Sometimes


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.0

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

Reply via email to