Issue 18255 - Crashes in recorded macro
Summary: Crashes in recorded macro
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows 98
: P2 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: joerg.skottke
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-15 18:58 UTC by drc
Modified: 2004-06-16 09:09 UTC (History)
1 user (show)

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


Attachments
Comlex spreadsheet with learned macros (53.15 KB, application/octet-stream)
2003-08-15 18:59 UTC, drc
no flags Details
The spreadsheet as it crashes RC4 in Win98SE with 192Mb RAM (66.46 KB, application/octet-stream)
2003-09-10 00:02 UTC, drc
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description drc 2003-08-15 18:58:28 UTC
File attached - on the LatLongs sheet click the SORT button, then the PLOG 
button.

PLOG somtimes hangs withn the alert 'You are pasting into cells that already 
contain data...' (or something similar) and crashes when OK'd to continue, 
giving the 'unrecoverable error' message.

This problem has been present through a few versions of the spreadsheet on RC2, 
resulting in several automatic error reports to Sun.  The latest such report 
(Acknowledged 15/08/03 09:30) relates to the attached file on RC3.
Comment 1 drc 2003-08-15 18:59:40 UTC
Created attachment 8486 [details]
Comlex spreadsheet with learned macros
Comment 2 frank 2003-08-19 10:56:32 UTC
Hi Joerg,

please have a look.

Frank
Comment 3 drc 2003-09-10 00:00:20 UTC
Present in RC4 - crash report sent approx 22:30 utc 9 Sept.

Copy file rc4crash.sxc 
Remove read only flag
Double click to open
Allow macros to run
Select sheet named LatLongs
A3 Delete Enter
A8 6 Enter (was 5)
A32 3 Enter (was empty)
A41 5 Enter (was empty)
Click SORT button (near A1 - brings waypoints to the top)
Click PLOG.  Yes to overwrite existing data 
      (puts waypoints into calc sheet)
After processing.... CRASH - OpenOffice error report



Comment 4 drc 2003-09-10 00:02:42 UTC
Created attachment 9145 [details]
The spreadsheet as it crashes RC4 in Win98SE with 192Mb RAM
Comment 5 joerg.skottke 2003-09-16 14:17:08 UTC
Confirmed.
Comment 6 joerg.skottke 2003-09-16 14:27:14 UTC
Reassign to NN
Comment 7 drc 2003-09-26 00:15:28 UTC
RC5 has crashed in the same way on Mandrake Linux so it looks 
platform independent.  Crash report went to Sun at approx midnight 
local (UK) time (23:00 UTC)on 25th Sept.
Comment 8 niklas.nebel 2003-10-17 14:39:59 UTC
Crash report ID is 20617.
The macro is connected to the button's "Mouse button pressed" event
and switches to a different sheet, so the button is deleted. This
isn't checked before accessing the members near the end of
Window::ImplNotifyKeyMouseEventListeners.

Chris, as a workaround, connect the macro to the "When initiating"
event instead.
Comment 9 stephan_schaefer 2003-10-17 15:45:16 UTC
Fixed in CWS vcl7pp1r3.

Comment 10 stephan_schaefer 2003-11-13 15:55:01 UTC
ssa->jsk: please verify.
Comment 11 joerg.skottke 2003-11-24 07:23:05 UTC
Both bugdocs now work. Fixed
Comment 12 joerg.skottke 2003-11-24 07:23:28 UTC
verified
Comment 13 joerg.skottke 2004-06-16 09:09:14 UTC
closed