Bug 40023 - CRASH (sigsegv) when dragging a slide to another place in presentation
Summary: CRASH (sigsegv) when dragging a slide to another place in presentation
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.4.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 10:20 UTC by Andreas K. Hüttel
Modified: 2012-08-31 10:05 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
A simple presentation with which to test the bug. (12.11 KB, application/vnd.oasis.opendocument.presentation)
2011-09-29 09:31 UTC, -- removed --
Details
Crash log. (128.69 KB, text/x-log)
2011-09-29 09:36 UTC, -- removed --
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel 2011-08-11 10:20:33 UTC
More info on request... System is Gentoo Linux amd64, libreoffice is compiled from source.


Core was generated by `/usr/lib64/libreoffice/program/soffice.bin --impress Lab-Measurement.odp'.
Program terminated with signal 11, Segmentation fault.
#0  classId (pixmap=...) at ../../include/QtGui/private/../../../src/gui/image/qpixmapdata_p.h:115
115     ../../include/QtGui/private/../../../src/gui/image/qpixmapdata_p.h: Datei oder Verzeichnis nicht gefunden.
        in ../../include/QtGui/private/../../../src/gui/image/qpixmapdata_p.h
(gdb) bt
#0  classId (pixmap=...) at ../../include/QtGui/private/../../../src/gui/image/qpixmapdata_p.h:115
#1  qt_toX11Pixmap (pixmap=...) at image/qpixmap_x11.cpp:98
#2  0x00007fe111e57658 in QX11PaintEngine::drawPixmap (this=<value optimized out>, r=<value optimized out>, px=..., _sr=...) at painting/qpaintengine_x11.cpp:1918
#3  0x00007fe111d89cf6 in QPaintEngine::drawImage (this=0x7fe0fc00fc90, r=..., image=..., sr=<value optimized out>, flags=<value optimized out>) at painting/qpaintengine.cpp:624
#4  0x00007fe111e58112 in QX11PaintEngine::drawImage (this=0x7fe0fc00fc90, r=..., image=..., sr=..., flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction 
with DW_OP_piece or DW_OP_bit_piece.
) at painting/qpaintengine_x11.cpp:1903
#5  0x00007fe111da4135 in QPainter::drawImage (this=<value optimized out>, targetRect=..., image=..., sourceRect=..., flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone 
or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at painting/qpainter.cpp:5711
#6  0x00007fe113c99db6 in drawImage (this=0x222cfc0, type=<value optimized out>, part=<value optimized out>, rControlRegion=<value optimized out>, nControlState=32769, value=...)
    at /usr/include/qt4/QtGui/qpainter.h:927
#7  KDESalGraphics::drawNativeControl (this=0x222cfc0, type=<value optimized out>, part=<value optimized out>, rControlRegion=<value optimized out>, nControlState=32769, value=...)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/vcl/unx/kde4/KDESalGraphics.cxx:634
#8  0x00007fe11b652f8f in SalGraphics::DrawNativeControl (this=0x222cfc0, nType=60, nPart=1001, rControlRegion=..., nState=32769, aValue=..., aCaption=..., pOutDev=0x2ce01c0)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/vcl/source/gdi/salgdilayout.cxx:743
#9  0x00007fe11b5b67ba in OutputDevice::DrawNativeControl (this=0x2ce01c0, nType=<value optimized out>, nPart=1001, rControlRegion=<value optimized out>, nState=1, aValue=<value optimized out>, 
    aCaption=...) at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/vcl/source/gdi/outdevnative.cxx:264
#10 0x00007fe11b78ed3d in ScrollBar::ImplDrawNative (this=0x2ce01c0, nDrawFlags=<value optimized out>)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/vcl/source/control/scrbar.cxx:578
#11 0x00007fe11b79028e in ScrollBar::ImplDraw (this=0x2ce01c0, nDrawFlags=28, pOutDev=0x2ce01c0)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/vcl/source/control/scrbar.cxx:705
#12 0x00007fe11b78f49f in ScrollBar::ImplCalc (this=0x2ce01c0, bUpdate=<value optimized out>)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/vcl/source/control/scrbar.cxx:473
#13 0x00007fe101f41053 in sd::ViewShell::Scroll (this=0x2cdf1a0, nScrollX=<value optimized out>, nScrollY=0)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/view/viewshe2.cxx:343
#14 0x00007fe10223b291 in sd::slidesorter::controller::ScrollBarManager::RepeatAutoScroll (this=0x2d17d30)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx:630
#15 0x00007fe10223ba30 in sd::slidesorter::controller::ScrollBarManager::AutoScroll(const Point &, const boost::function<void()> &) (this=0x2d17d30, rMouseWindowPosition=..., 
    rAutoScrollFunctor=<value optimized out>)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx:605
#16 0x00007fe1022324c7 in sd::slidesorter::controller::DragAndDropContext::UpdatePosition (this=0x7fe0fc007720, rMousePosition=..., 
eMode=sd::slidesorter::controller::InsertionIndicatorHandler::MoveMode, 
    bAllowAutoScroll=<value optimized out>)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx:154
#17 0x00007fe102241ad0 in sd::slidesorter::controller::DragAndDropModeHandler::ProcessDragEvent (this=<value optimized out>, rDescriptor=...)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx:1917
#18 0x00007fe10223df1a in sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessEvent (this=0x7fe0fc004900, rDescriptor=...)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx:1160
#19 0x00007fe10223e443 in sd::slidesorter::controller::SelectionFunction::ProcessEvent (this=<value optimized out>, rDescriptor=...)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx:812
#20 0x00007fe102241041 in sd::slidesorter::controller::SelectionFunction::MouseDragged (this=0x2d1c4c0, rEvent=<value optimized out>, nDragAction=<value optimized out>)
    at /opt/virtual/tmp-portage/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx:791
#21 0x00007fe10222e90d in sd::slidesorter::controller::Clipboard::AcceptDrop (this=<value optimized out>, rEvent=..., rTargetHelper=<value optimized out>, pTargetWindow=0xffffffff, nPage=65535,
Comment 1 Rainer Bielefeld Retired 2011-08-13 00:13:54 UTC
Wikipedia: On POSIX-compliant platforms, SIGSEGV is the signal sent to a process when it makes an invalid memory reference, or segmentation fault. 

Might be related to "Bug 39526 - Particular document crashes when copy /paste slide"

@Andreas K. Hüttel:
Crash with all presentations or only particular ones?
May I ask you to read  hints on <http://wiki.documentfoundation.org/BugReport> carefully?
Then please:
- Attach a sample document 
- Attach screenshots with comments (you can add information using LibO DRAW
  and then attach your screenshot with comments as PDF) if necessary, because
  you can not know what others will see with your sample
- Contribute a step by step instruction containing every key press and every 
  mouse click how to reproduce your problem
- add information 
  -- concerning your PC (especially: video card)
  -- concerning your LibO localization (UI language)
  –- Libo settings that might be related to your problems 
    (video hardware acceleration ...)
  -- how you launch LibO and how you opened the sample document
  -- everything else crossing your mind after you read a.m. URL
Can you please file Bug reports with status UNCONFIRMED if your are not absolutely sure that you contributed all required background information and that the problem will be reproducible with information you can provide?
Thank you!
Comment 2 Jeffrey 2011-08-13 07:11:36 UTC
Failed to reproduce on LibreOffice 3.4  340m1(Build:103) for OpenSuse Linux.

I managed to drag and copy slides to any position in presentation with no problem. Could you possibly provide more information on the bug? For example steps to reproduce would be nice.
Comment 3 -- removed -- 2011-09-29 09:31:26 UTC
Created attachment 51764 [details]
A simple presentation with which to test the bug.

The presentation contains just enough slides to fill the left pane with the slide thumbnails (in my display resolution at least).
Comment 4 -- removed -- 2011-09-29 09:33:58 UTC
I encountered a crash too when dragging slides.

The crash happened when I tried to drag any slide (except for the last one) in the left pane with the slide thumbnails behind the last one. The key for triggering the crash is to have the last slide thumb not fully shown in the pane and then try to drag another slide behind it, which requires to scroll the content of the pane. It happens just before I get to the lower bottom with the mouse cursor, so it's right before the scrolling down animation would start.

I'm on OpenSUSE 11.4 x86_64
Comment 5 -- removed -- 2011-09-29 09:36:04 UTC
Created attachment 51765 [details]
Crash log.
Comment 6 Rainer Bielefeld Retired 2011-09-29 10:33:50 UTC
NOT reproducible with reporter's sample and "LibreOffice 3.4.3 RC2 - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:302)]" 

Seems to be Linux specific?
Comment 7 Tapio Auvinen 2011-11-22 03:05:01 UTC
I am able to reproduce this in LibreOffice 3.4.3 OOO340m1 (Build:302) in KDE (Kubuntu 11.10). Uninstalling libreoffice-kde seems to fix the problem.
Comment 8 Björn Michaelsen 2011-12-23 12:32:11 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 9 sasha.libreoffice 2012-03-22 05:34:55 UTC
Thanks for bugreport
Please, verify if in last version of LibreOffice still reproducible
Comment 10 Frank Winklmeier 2012-05-23 04:42:12 UTC
I can reproduce this with LibreOffice 3.5.3.2 on MacOS. Also see a similar problem I reported in the fullscreen slide sorter (bug 50147).
Comment 11 sasha.libreoffice 2012-05-23 04:50:08 UTC
Thanks for additional testing. Sorry for I can not reproduce this bug in 3.5.3 on Fedora 64 bit
Comment 12 Florian Reisinger 2012-08-14 14:01:12 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 13 Florian Reisinger 2012-08-14 14:02:19 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 14 Florian Reisinger 2012-08-14 14:06:56 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 15 Florian Reisinger 2012-08-14 14:09:00 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian