Issue 31643 - Crash when changing unit in a Draw document
Summary: Crash when changing unit in a Draw document
Status: CLOSED DUPLICATE of issue 32448
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m47
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
: 31685 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-07-17 18:46 UTC by lcombe
Modified: 2004-09-17 12:55 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 lcombe 2004-07-17 18:46:14 UTC
Steps to reproduce:
1. Open OOo Draw.
2. Go to Format/Dimensions.
3. In a dialog that opens switch the unit from "Automatic" to "Meter"
then OOo is crashing ...
Comment 1 wolframgarten 2004-07-19 07:49:44 UTC
Changed OS to "all", reproducible under Windows,too.
Reassigned to Christian.
Comment 2 wolframgarten 2004-07-19 07:49:57 UTC
Set to new.
Comment 3 wolframgarten 2004-07-19 08:34:57 UTC
*** Issue 31685 has been marked as a duplicate of this issue. ***
Comment 4 clippka 2004-07-19 15:54:25 UTC
accepted
Comment 5 clippka 2004-07-23 13:55:08 UTC
Andre, looks like a view problem

Stack:
 	svl680mi.dll!SfxItemIter::SfxItemIter()  + 0xa3	C++
 	dl680mi.dll!SdrPaintView::SetDefaultAttr()  + 0x22	C++
 	dl680mi.dll!SdrPaintView::SetAttributes()  + 0x10	C++
 	dl680mi.dll!SdrObjEditView::SetAttributes()  + 0x35	C++
>	sd680mi.dll!sd::DrawView::SetAttributes()  + 0x9fe	C++
 	sd680mi.dll!sd::FuMeasureDlg::FuMeasureDlg()  + 0x15b	C++
 	sd680mi.dll!sd::DrawViewShell::FuTemp01()  + 0xb50	C++
Comment 6 groucho266 2004-07-26 09:35:29 UTC
Accepted.
Comment 7 groucho266 2004-07-26 16:46:22 UTC
In FuConnectionDlg and FuMeasureDlg the resulting item set of the dialog was
used after the dialog had been deleted.  The item set thus became invalid and
let to the crash.

Fixed by putting the dialogs in auto_ptrs so that they are deleted after their
item set is used.
Comment 8 groucho266 2004-08-02 08:03:08 UTC
Step 1 of sending issue to QA.
Comment 9 groucho266 2004-08-02 08:03:57 UTC
Step 2 of sending issue to QA.
Comment 10 groucho266 2004-08-02 08:04:10 UTC
Step 3 of sending issue to QA.
Comment 11 wolframgarten 2004-08-02 08:44:51 UTC
Verified in CWS.
Comment 12 wolframgarten 2004-08-11 12:50:39 UTC
This is not ok in the master m50, the crash still occurs. Under linux it works
sometimes, sometimes not.
Comment 13 wolframgarten 2004-08-11 12:51:00 UTC
Reopened, back to AF.
Comment 14 groucho266 2004-08-27 14:29:54 UTC
The remaining problem has already been fixed for issue 32448 so I set this one
as duplicate.

*** This issue has been marked as a duplicate of 32448 ***
Comment 15 groucho266 2004-08-27 14:30:54 UTC
Step 1 of sending task to QA.
Comment 16 groucho266 2004-08-27 14:31:19 UTC
Step 2 of sending task to QA.
Comment 17 groucho266 2004-08-27 14:31:43 UTC
Step 3 of sending task to QA.

*** This issue has been marked as a duplicate of 32448 ***
Comment 18 wolframgarten 2004-09-17 12:55:46 UTC
Tested in master m54. Closed.