Issue 18280 - Repeated paste primary selection causes crash (100% cpu)
Summary: Repeated paste primary selection causes crash (100% cpu)
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC3
Hardware: All Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 04:08 UTC by Joe Smith
Modified: 2013-08-07 15:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2003-08-16 04:08:41 UTC
1. Open calc (new, empty sheet)
2. Select some text (in calc or another window; 1 char is enough)
3. Paste in toolbar edit area (mouse button 2)
4. Rapidly paste again 3-4 times
5. OOo is crashed in infinite loop; reponds only to 'kill' (INT or TERM; not HUP)

This may have to do with a double click being detected, because sometimes the
text which gets pasted on the first click gets selected, even though it's the
middle button that was clicked.

Only happens in edit area, not pasting directly in cell.

Found in RC2; also in RC3.  Does NOT happen in 1.0.2.
Comment 1 peter.junge 2003-08-19 15:46:03 UTC
I'll check this one.
Comment 2 peter.junge 2003-08-28 15:46:24 UTC
Hi,
I can confirm this. On Solaris it's a real crash.

=>[1] ImpEditEngine::GetXPos(0x3, 0xa93fe8, 0x108a38, 0x3, 0x0,
0xa98ac8), at 0xf94f54a0
  [2] ImpEditView::DrawSelection(0xa95a68, 0xffbedd3c, 0x1, 0x0, 0x0,
0x0), at 0xf94e3c74
  [3] ImpEditEngine::Paint(0xa9a4c8, 0xa95a68, 0x278d, 0x278d, 0xf,
0x788d98), at 0xf94ffc20
  [4] ImpEditEngine::UpdateViews(0xa93de8, 0x641618, 0x277f, 0x0,
0xffff8001, 0x641618), at 0xf94f7bf0
  [5] EditEngine::QuickFormatDoc(0x108908, 0x1, 0x0, 0xfe7d0e88,
0xfe7d0e90, 0xa95a68), at 0xf94cd384
  [6] 0xf611cd50(0x66dc08, 0x1, 0x6e19bc, 0x3, 0xf67fe6b0, 0xfe0c8),
at 0xf611cd4f
  [7] 0xf612003c(0x66dc08, 0x641618, 0x1, 0xf612327c, 0x30c64,
0x66dc34), at 0xf612003b
  [8] 0xf61232b0(0x788d98, 0x0, 0x0, 0x0, 0xffbee4ac, 0x641618), at
0xf61232af
  [9] 0xf6123248(0x788d98, 0x0, 0x810b20, 0xff2bc004, 0x91cf9, 0x0),
at 0xf6123247
  [10] ImpEditEngine::DocModified(0xa93de8, 0x0, 0x2, 0xff2c27c0, 0x6,
0xf6123240), at 0xf94f67ac
  [11] ImpEditEngine::LinkStubDocModified(0xa93de8, 0x0, 0x1571, 0x14,
0xfb8ffbec, 0x0), at 0xf94f6784
  [12] EditDoc::SetModified(0xa93e14, 0x1, 0x3, 0x61a1e0, 0x0,
0xf94f677c), at 0xf94c5ebc
  [13] EditDoc::RemoveChars(0xffbee2dc, 0xa93e14, 0xffbee2d4, 0x3,
0x9800, 0x3), at 0xf94c6380
  [14] ImpEditEngine::ImpRemoveChars(0xa93de8, 0xffbee3a0, 0x3,
0xa9a4c8, 0x0, 0x810b20), at 0xf94f02fc
  [15] ImpEditEngine::ImpDeleteSelection(0xffbee47c, 0xa93de8,
0xffbee46c, 0x0, 0xa93e14, 0x0), at 0xf94f113c
  [16] ImpEditView::Paste(0xa95a68, 0xf94e121c, 0x0, 0x0, 0xffbee4ac,
0x300c3), at 0xf94e7588
  [17] ImpEditView::MouseButtonUp(0xa95a68, 0xffbee69c, 0x1084859,
0x0, 0xfe5903f0, 0x108908), at 0xf94e6760
  [18] EditView::MouseButtonUp(0x641618, 0xffbee69c, 0x20e0f0, 0x0,
0xfe576bf8, 0x2800), at 0xf94d7e08
  [19] 0xf61228d8(0x788d98, 0xffbee69c, 0xf6815440, 0x0, 0xffbee69c,
0xf6815440), at 0xf61228d7
  [20] ImplHandleMouseEvent(0x0, 0x0, 0x788d98, 0x2, 0x3, 0x48e73243),
at 0xfe489e38
  [21] ImplWindowFrameProc(0x2d7f68, 0x7000, 0x4, 0xffbee8d0, 0x1c0,
0x20000), at 0xfe48c758
  [22] SalFrameData::HandleMouseEvent(0x35ddb0, 0xffbeeaa0, 0x136,
0x0, 0x4, 0xfe576bf8), at 0xfe4e0d2c
  [23] SalFrameData::Dispatch(0x35ddb0, 0xffbeeaa0, 0xfe4e2bac, 0x2a4,
0xc, 0xfe576bf8), at 0xfe4e2e54
  [24] SalDisplay::Dispatch(0xa6b70, 0xffbeeaa0, 0x5, 0x1, 0xfde26b18,
0xfe587d6c), at 0xfe50eb9c
  [25] SalDisplay::Yield(0xa6b70, 0x0, 0xa1698, 0x1, 0xff2bf1b4, 0x5),
at 0xfe50e85c
  [26] 0xfe509bd4(0x28a0, 0xa6b70, 0xff150fc4, 0xfe509b74, 0xfe576bf8,
0x2800), at 0xfe509bd3
  [27] SalXLib::Yield(0xa1698, 0x7, 0x4, 0x0, 0x3, 0xfe576bf8), at
0xfe508a40
  [28] SalInstance::Yield(0x28a0, 0x1, 0x64cb8, 0xfe511f68,
0xfe576bf8, 0x2800), at 0xfe511f68
  [29] Application::Yield(0xfe587d6c, 0x28a0, 0xfe3663cc, 0xfe576bf8,
0xfe587bcc, 0x2800), at 0xfe3663cc
  [30] Application::Execute(0xfe587d6c, 0x28a0, 0x98bc4, 0xfe576bf8,
0x210990, 0x2800), at 0xfe36629c
  [31] desktop::Desktop::Main(0x9a3e4, 0x910, 0x1109c0, 0x1427e0,
0xffbeefc4, 0xffbeefe0), at 0x2acd4
  [32] SVMain(0x28a0, 0x2800, 0x98bc4, 0xfe576bf8, 0xfe587bcc, 0x1),
at 0xfe36bad0
  [33] main(0x2, 0xffbef164, 0xffbef170, 0x9a000, 0x0, 0x400), at 0x4e5ac
Comment 3 malte_timmermann 2003-08-29 06:47:13 UTC
MT->NN: Should be fixed with #i18364#, please verify.
Comment 4 niklas.nebel 2003-09-11 17:27:20 UTC
accepting, will try again when issue 18364 is fixed.
Comment 5 niklas.nebel 2003-10-09 17:36:31 UTC
The stack above is the same as #i18364#. But this happens only with
data from spreadsheet cells. The reported error also occurs with text
from other applications and was actually caused by the same problem as
#i20282#.
Peter, please try to reproduce the issues as reported, not just
something similar.
Anyway, both problems are fixed with CWS calc19.
Comment 6 niklas.nebel 2003-10-20 09:25:38 UTC
Reassigning to QA for verification.
Comment 7 frank 2003-10-23 12:41:14 UTC
setting to fixed
Comment 8 frank 2003-10-23 14:46:57 UTC
Found fixed in CWS Calc19 on Solaris, Linux and Windows
Comment 9 frank 2003-11-05 09:43:58 UTC
FST: As requested by TZ and AK back to you
Comment 10 niklas.nebel 2003-11-05 11:11:43 UTC
It's already in a right childworkspace, so nothing to do for dev.
Comment 11 frank 2003-11-05 14:46:10 UTC
restoring fixed state
Comment 12 frank 2003-11-05 14:48:28 UTC
verified in internal 645m21-3 on Linux, Solaris and Windows
Comment 13 frank 2004-01-19 15:28:37 UTC
found integrated in srx645m25s1-1 using Linux, Solaris and Windows.

Frank