Apache OpenOffice (AOO) Bugzilla – Issue 18364
Paste after undo causes crash
Last modified: 2013-08-07 15:13:02 UTC
1. Calc/New Spreadsheet 2. Paste text from primary selection (mouse button 2) directly into any cell. 3. Undo (Ctrl-Z). This will remove the pasted text but the cell itself will be highlighted. 4. Paste text into entry box in toolbar area. 5. Crash with report. This catches me quite often because the paste-primary operation now supports rich-text from the source. This is almost never what I want: I almost always want the plain unformatted text. If I paste into the edit box, I get plain text. So, I forget and paste directly into a cell, then undo and paste into the edit box. Poof!
I confirm the crash on Mandrake 9.1 w/ OOo11rc3 from Stable. As indicated below. One difference: After the Ctrl-Z I pasted the text (an URL) into the entry box via Ctrl-V, which worked fine but actually copied into both the cell and the entry box. Ctrl-Z to undo and then used middle mouse button when it locked up and presented the new Error Reporter. Good luck. Richard.
I have reproduced on Solaris 2.8 (SPARC) OOo 1.1RC3. I will upload the output of the GUI crash logger as an attachment.
Created attachment 8558 [details] Output from GUI crash report.
Confirming crash per Daniel and Richard
JA->MT: looks like your code... error report ID 14383 0 0xfefa5eb0 0x25eb0 libsal.so.3.1.0 osl_releaseVolumeDeviceHandle+0xb50 <procpath> 1 0xfefa6704 0x26704 libsal.so.3.1.0 osl_releaseVolumeDeviceHandle+0x13a4 <procpath> 2 0xff3660a0 0x160a0 libthread.so.1 _setitimer+0xfc /usr/lib/ 3 0xff35fdd8 0xfdd8 libthread.so.1 _sema_post+0x4f4 /usr/lib/ 4 0xff35ff88 0xff88 libthread.so.1 _sema_post+0x6a4 /usr/lib/ 5 0xf9cf187c 0x4f187c libsvx645ss.so __1cNImpEditEngineNImpInsertText6MnNEditSelection_rknGString__nHEditPaM__+0x144 <procpath> 6 0xf9ce76bc 0x4e76bc libsvx645ss.so __1cLImpEditViewFPaste6MrnDcomDsunEstarDunoJReference4n0DMdatatransferJclipboardKXClipboard___C_v_+0x314 <procpath> 7 0xf9ce6710 0x4e6710 libsvx645ss.so __1cLImpEditViewNMouseButtonUp6MrknKMouseEvent__C_+0xd8 <procpath> 8 0xf9cd7db8 0x4d7db8 libsvx645ss.so __1cIEditViewNMouseButtonUp6MrknKMouseEvent__C_+0x8 <procpath> 9 0xf8922818 0x122818 libsc645ss.so SC_1_0+0x122818 <procpath> 10 0xfee09e28 0x209e28 libvcl645ss.so __1cUImplHandleMouseEvent6FpnGWindow_HCllLHH_l_+0xe44 <procpath> 11 0xfee0c748 0x20c748 libvcl645ss.so __1cTImplWindowFrameProc6FpvpnISalFrame_Hpkv_l_+0x188 <procpath> 12 0xfee60d1c 0x260d1c libvcl645ss.so __1cMSalFrameDataQHandleMouseEvent6MpnH_XEvent__l_+0x5ac <procpath> 13 0xfee62e44 0x262e44 libvcl645ss.so __1cMSalFrameDataIDispatch6MpnH_XEvent__l_+0x224 <procpath> 14 0xfee8eb8c 0x28eb8c libvcl645ss.so __1cKSalDisplayIDispatch6MpnH_XEvent__l_+0x31c <procpath> 15 0xfee8e84c 0x28e84c libvcl645ss.so __1cKSalDisplayFYield6MC_v_+0xc8 <procpath> 16 0xfee89bc4 0x289bc4 libvcl645ss.so __1cKSalDisplay2T5B6M_v_+0x43c <procpath> 17 0xfee88708 0x288708 libvcl645ss.so __1cHSalXLibFYield6MC_v_+0xdc <procpath> 18 0xfee91f58 0x291f58 libvcl645ss.so __1cLSalInstanceFYield6MC_v_+0x34 <procpath> 19 0xfece63cc 0xe63cc libvcl645ss.so __1cLApplicationFYield6F_v_+0x7c <procpath> 20 0xfece629c 0xe629c libvcl645ss.so __1cLApplicationHExecute6F_v_+0x40 <procpath> 21 0x2aa5c 0x1aa5c soffice.bin __1cHdesktopHDesktopEMain6M_v_+0x16e4 <procpath> 22 0xfecebad0 0xebad0 libvcl645ss.so __1cGSVMain6F_C_+0x5c <procpath> 23 0x4e3e8 0x3e3e8 soffice.bin main+0x30 <procpath> 24 0x24e80 0x14e80 soffice.bin _start+0x108 <procpath>
MT->NN: You are killing me :( svx645mi.dll!ImpEditView::~ImpEditView() svx645mi.dll!EditView::~EditView() svx645mi.dll!EditView::`scalar deleting destructor'() sc645mi.dll!ScTextWnd::StopEditEngine() sc645mi.dll!ScInputHandler::EnterHandler() sc645mi.dll!ScTabView::UpdateInputLine() sc645mi.dll!ScViewFunc::CopyToClip() sc645mi.dll!ScSelectionTransferObj::CreateCellData() sc645mi.dll!ScSelectionTransferObj::GetData() svt645mi.dll!TransferableHelper::getTransferData() svx645mi.dll!ImpEditView::Paste(...) svx645mi.dll!ImpEditView::MouseButtonUp(const MouseEvent & rMouseEvent={...}) svx645mi.dll!EditView::MouseButtonUp(const MouseEvent & rMouseEvent={...}) sc645mi.dll!ScTextWnd::MouseButtonUp() vcl645mi.dll!ImplHandleMouseEvent()
MT->NN: Also on Windows, just configure the middle mouse button to paste.
Also happens without undo...
accepting.
Fixed in CWS calc19. Changed files: viewfunc.hxx 1.16.266.1 viewfun3.cxx 1.22.266.1 seltrans.cxx 1.6.156.1
Reassigning to QA for verification.
set to resolved fixed
No crash anymore so found fixed on Solaris, Linux and Windows.
FST: As requested by TZ and AK back to you
It's already in a right childworkspace, so nothing to do for dev.
restoring fixed state
verified in internal 645m21-3 on Solaris, Windows and Linux
found fixed on srx645m25s1-1 using Linux, Windows and Solaris Frank