https://bugs.freedesktop.org/show_bug.cgi?id=70617
Priority: medium
Bug ID: 70617
Assignee: [email protected]
Summary: SEGV on Mac in COMMAND_WHEEL "Mobile / touch scrolling
section" branch with null pHScrl
Severity: normal
Classification: Unclassified
OS: Mac OS X (All)
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.2.0.0.alpha0+ Master
Component: UI
Product: LibreOffice
Created attachment 87823
--> https://bugs.freedesktop.org/attachment.cgi?id=87823&action=edit
dialog screenshot
With local build of current master on Mac OS X 10.8, with a "Download and
Installation" dialog open that has a text box with just a vertical scrollbar
(see attached screenshot.png), I somehow managed to get into the branch labeled
"Mobile / touch scrolling section" (introduced by
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=4e7495ac2cb6b015ad492def45fd24f4ba0f54f8>
"Fix for iOS scroll by pixels, and pinch to zoom") in the COMMAND_WHEEL case of
Window::HandleScrollCommand (vcl/source/window/window2.cxx) with pHScrl = 0,
which causes a SEGV:
> #0 ScrollBar::GetVisibleSize (this=0x0) at scrbar.hxx:133
> #1 0x0489e13e in Window::HandleScrollCommand (this=0x6dc5c730,
> rCmd=@0xbff441a0, pHScrl=0x0, pVScrl=0x6dc5e170) at
> core/vcl/source/window/window2.cxx:1217
> #2 0x0437f9af in ImpVclMEdit::HandleCommand (this=0x6dc5c6b0,
> rCEvt=@0xbff441a0) at core/vcl/source/edit/vclmedit.cxx:702
> #3 0x043835ff in VclMultiLineEdit::Notify (this=0xb01025f8,
> rNEvt=@0xbff43f90) at core/vcl/source/edit/vclmedit.cxx:1411
> #4 0x048c1233 in Window::Notify (this=0x6dc5c730, rNEvt=@0xbff43f90) at
> core/vcl/source/window/window.cxx:5270
> #5 0x048bfc84 in Window::Command (this=0x6dc5c730, rCEvt=@0xbff441a0) at
> core/vcl/source/window/window.cxx:4960
> #6 0x04380b57 in TextWindow::Command (this=0x6dc5c730, rCEvt=@0xbff441a0) at
> core/vcl/source/edit/vclmedit.cxx:899
> #7 0x048e4305 in ImplCallWheelCommand (pWindow=0x6dc5c730, rPos=@0xbff44318,
> pWheelData=0xbff44358) at core/vcl/source/window/winproc.cxx:1420
> #8 0x048e1f82 in ImplHandleWheelEvent (pWindow=0xb0101f88, rEvt=@0xbff44748,
> scaleDirectly=false) at core/vcl/source/window/winproc.cxx:1496
> #9 0x048dfa3f in ImplWindowFrameProc (pWindow=0xb0101f88, nEvent=21,
> pEvent=0xbff44748) at core/vcl/source/window/winproc.cxx:2502
> #10 0x04903176 in SalFrame::CallCallback (this=0x6dc5abe0, nEvent=21,
> pEvent=0xbff44748) at salframe.hxx:243
> #11 0x0497cab5 in -[SalFrameView scrollWheel:] (self=0x6dc59910,
> _cmd=0x99fd6771, pEvent=0x81229800) at
> core/vcl/aqua/source/window/salframeview.mm:913
> #12 0x99841af1 in -[NSWindow sendEvent:] ()
> #13 0x9983c90f in -[NSApplication sendEvent:] ()
> #14 0x0496515b in -[VCL_NSApplication sendEvent:] (self=0x7c62f900,
> _cmd=0x99fbcdb1, pEvent=0x81229800) at
> core/vcl/aqua/source/app/vclnsapp.mm:200
> #15 0x049007c0 in AquaSalInstance::Yield (this=0x7c22af60, bWait=true,
> bHandleAllCurrentEvents=false) at core/vcl/aqua/source/app/salinst.cxx:702
> #16 0x042a46d2 in ImplYield (i_bWait=true, i_bAllEvents=false) at
> core/vcl/source/app/svapp.cxx:364
> #17 0x0429ff4a in Application::Yield () at core/vcl/source/app/svapp.cxx:396
> #18 0x0429ff0b in Application::Execute () at core/vcl/source/app/svapp.cxx:345
> #19 0x001c56ed in desktop::Desktop::Main (this=0xbff45b38) at
> core/desktop/source/app/app.cxx:1670
> #20 0x042b034b in ImplSVMain () at core/vcl/source/app/svmain.cxx:162
> #21 0x048ffd43 in AquaSalInstance::handleAppDefinedEvent (pEvent=0x7c22b2a0)
> at core/vcl/aqua/source/app/salinst.cxx:528
> #22 0x0496496f in -[VCL_NSApplication sendEvent:] (self=0x7c62f900,
> _cmd=0x99fbcdb1, pEvent=0x7c22b2a0) at core/vcl/aqua/source/app/vclnsapp.mm:64
> #23 0x9975662c in -[NSApplication run] ()
> #24 0x996f95f6 in NSApplicationMain ()
> #25 0x048feab3 in ImplSVMainHook (pnInit=0xbff45ad0) at
> core/vcl/aqua/source/app/salinst.cxx:221
> #26 0x042b1a8e in SVMain () at core/vcl/source/app/svmain.cxx:195
> #27 0x00228978 in soffice_main () at
> core/desktop/source/app/sofficemain.cxx:85
> #28 0x000bbf5b in sal_main () at core/desktop/source/app/main.c:48
> #29 0x000bbf40 in main (argc=1, argv=0xbff45be4) at
> core/desktop/source/app/main.c:47
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs