Issue 32448 - Crash when closing connector dialog
Summary: Crash when closing connector dialog
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: ui (show other issues)
Version: 680m49
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
: 31643 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-08-02 14:49 UTC by wolframgarten
Modified: 2004-09-17 12:40 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 wolframgarten 2004-08-02 14:49:51 UTC
Open a new draw, insert a connector. Right click and open the connector dialog.
Click on ok: Crash .
Comment 1 Armin Le Grand 2004-08-12 16:26:22 UTC
AW: Tried on fresh installed SRC680 m50 (with and without svx with debug), works
here. Used a en-US version.
Comment 2 Armin Le Grand 2004-08-12 16:27:19 UTC
.
Comment 3 Armin Le Grand 2004-08-12 16:28:42 UTC
AW->WG: Cannot reproduce. Please show me if it still happens on
src680_m50-9_en-US.8800.
Comment 4 wolframgarten 2004-08-13 07:41:21 UTC
Still occurs in version src680m50-8-01 on windows and solaris, as well with the
dimensions dialog. Back to AW. 
Comment 5 Armin Le Grand 2004-08-16 15:23:37 UTC
AW: Happens in pro version only, so i guess it's a optimizer or rebuild problem.
With freshly build svx it works okay. Need to look deeper (search for code which
may not be optimized).
Comment 6 Armin Le Grand 2004-08-18 09:31:22 UTC
AW: Stack from m51:
---------- report ----------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE errormail:errormail PUBLIC "-//OpenOffice.org//DTD ErrorMail 1.0//EN"
"errormail.dtd">
<errormail:errormail xmlns:errormail="http://openoffice.org/2002/errormail"
usertype="">
<reportmail:mail xmlns:reportmail="http://openoffice.org/2002/reportmail"
version="1.1" feedback="false" email="">
<reportmail:title></reportmail:title>
<reportmail:attachment name="description.txt"
media-type="text/plain;charset=UTF-8" class="UserComment"/>
<reportmail:attachment name="user.dmp" media-type="application/octet-stream"
class="UserDump"/>
</reportmail:mail>
<officeinfo:officeinfo xmlns:officeinfo="http://openoffice.org/2002/officeinfo"
build="680m51(Build:8801)" platform="wntmsci10" language="en-US"
procpath="D:\testinstall_SRC680_m51\program\" exceptiontype="0xC0000005"
product="StarOffice 8"/>
<systeminfo:systeminfo xmlns:systeminfo="http://openoffice.org/2002/systeminfo">
<systeminfo:System name="Windows NT" version="5.1" build="2600"
locale="0x00000407"/>
<systeminfo:CPU type="x86"/>
</systeminfo:systeminfo>
<errormail:Stack type="Win32">
<errormail:StackInfo pos="0" ip="0x013C0C51" rel="0x00060C51"
ordinal="SfxItemPool::Remove+0x000003E1" name="svl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="1" ip="0x013C0A3F" rel="0x00060A3F"
ordinal="SfxItemPool::Remove+0x000001CF" name="svl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="2" ip="0x013B93D1" rel="0x000593D1"
ordinal="SfxItemSet::ClearItem+0x000001C1" name="svl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="3" ip="0x04831CF2" rel="0x00171CF2"
ordinal="SfxSingleTabDialog::OKHdl_Impl+0x00000042" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="4" ip="0x048322DF" rel="0x001722DF"
ordinal="SfxSingleTabDialog::LinkStubOKHdl_Impl+0x0000000F" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="5" ip="0x100D419D" rel="0x000D419D"
ordinal="Button::Click+0x0000004D" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="6" ip="0x100D7C35" rel="0x000D7C35"
ordinal="PushButton::Tracking+0x000000E5" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="7" ip="0x1015F86A" rel="0x0015F86A"
ordinal="Window::EndTracking+0x0000011A" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="8" ip="0x100A05D5" rel="0x000A05D5"
ordinal="ImplHandleMouseEvent+0x00000C75" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="9" ip="0x100A1025" rel="0x000A1025"
ordinal="ImplHandleSalMouseButtonUp+0x00000035" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="10" ip="0x100A0924" rel="0x000A0924"
ordinal="ImplWindowFrameProc+0x00000104" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="11" ip="0x1017B1F0" rel="0x0017B1F0"
ordinal="WinSalFrame::Beep+0x00000330" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="12" ip="0x1017F0D1" rel="0x0017F0D1"
ordinal="SalFrameWndProc+0x000006D1" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="13" ip="0x1017F69E" rel="0x0017F69E"
ordinal="SalFrameWndProcW+0x0000004E" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="14" ip="0x77D43A50" rel="0x00003A50" name="USER32.dll"
path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="15" ip="0x77D43B1F" rel="0x00003B1F" name="USER32.dll"
path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="16" ip="0x77D43D79" rel="0x00003D79"
ordinal="GetMessageW+0x00000125" name="USER32.dll" path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="17" ip="0x77D43DDF" rel="0x00003DDF"
ordinal="DispatchMessageW+0x0000000B" name="USER32.dll" path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="18" ip="0x10156119" rel="0x00156119"
ordinal="ImplSalYield+0x00000069" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="19" ip="0x101561FD" rel="0x001561FD"
ordinal="WinSalInstance::Yield+0x000000BD" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="20" ip="0x100AFDAC" rel="0x000AFDAC"
ordinal="Application::Yield+0x0000003C" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="21" ip="0x100EA66F" rel="0x000EA66F"
ordinal="Dialog::Execute+0x0000020F" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="22" ip="0x0884803E" rel="0x0011803E"
ordinal="sd::FuConnectionDlg::FuConnectionDlg+0x0000010E" name="sd680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="23" ip="0x087DD9D3" rel="0x000AD9D3"
ordinal="sd::DrawViewShell::FuTemp01+0x00000CC3" name="sd680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="24" ip="0x08871101" rel="0x00141101"
ordinal="sd::DrawViewShell::FuTemporary+0x00000211" name="sd680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="25" ip="0x088E40FF" rel="0x001B40FF"
ordinal="SfxStubGraphicViewShellFuTemporary+0x0000000F" name="sd680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="26" ip="0x04825690" rel="0x00165690"
ordinal="SfxDispatcher::Call_Impl+0x000004D0" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="27" ip="0x0482774A" rel="0x0016774A"
ordinal="SfxDispatcher::_Execute+0x0000023A" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="28" ip="0x0478BE03" rel="0x000CBE03"
ordinal="SfxBindings::Execute_Impl+0x00000593" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="29" ip="0x0478B763" rel="0x000CB763"
ordinal="SfxBindings::Execute_Impl+0x00000513" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="30" ip="0x0478B1F9" rel="0x000CB1F9"
ordinal="SfxBindings::Execute+0x00000079" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="31" ip="0x047DBCB6" rel="0x0011BCB6"
ordinal="SfxMenuManager::Select+0x00000086" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="32" ip="0x047DCD2F" rel="0x0011CD2F"
ordinal="SfxMenuManager::LinkStubSelect+0x0000000F" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="33" ip="0x1004ED81" rel="0x0004ED81"
ordinal="Menu::Select+0x00000041" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="34" ip="0x10054449" rel="0x00054449"
ordinal="PopupMenu::Execute+0x00000449" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="35" ip="0x100545E9" rel="0x000545E9"
ordinal="PopupMenu::Execute+0x00000029" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="36" ip="0x047DDE68" rel="0x0011DE68"
ordinal="SfxPopupMenuManager::ExecutePopup+0x00000258" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="37" ip="0x0482C541" rel="0x0016C541"
ordinal="SfxDispatcher::ExecutePopup+0x00000081" name="sfx680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="38" ip="0x08830C83" rel="0x00100C83"
ordinal="sd::DrawViewShell::Command+0x00000B33" name="sd680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="39" ip="0x088BF149" rel="0x0018F149"
ordinal="sd::Window::Command+0x00000019" name="sd680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="40" ip="0x1009DC49" rel="0x0009DC49"
ordinal="ImplCallEvent+0x000004D9" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="41" ip="0x100A0766" rel="0x000A0766"
ordinal="ImplHandleMouseEvent+0x00000E06" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="42" ip="0x100A0FE5" rel="0x000A0FE5"
ordinal="ImplHandleSalMouseButtonDown+0x00000035" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="43" ip="0x100A08C2" rel="0x000A08C2"
ordinal="ImplWindowFrameProc+0x000000A2" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="44" ip="0x1017B1F0" rel="0x0017B1F0"
ordinal="WinSalFrame::Beep+0x00000330" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="45" ip="0x1017F0D1" rel="0x0017F0D1"
ordinal="SalFrameWndProc+0x000006D1" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="46" ip="0x1017F69E" rel="0x0017F69E"
ordinal="SalFrameWndProcW+0x0000004E" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="47" ip="0x77D43A50" rel="0x00003A50" name="USER32.dll"
path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="48" ip="0x77D43B1F" rel="0x00003B1F" name="USER32.dll"
path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="49" ip="0x77D43D79" rel="0x00003D79"
ordinal="GetMessageW+0x00000125" name="USER32.dll" path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="50" ip="0x77D43DDF" rel="0x00003DDF"
ordinal="DispatchMessageW+0x0000000B" name="USER32.dll" path="C:\WINXP\system32\"/>
<errormail:StackInfo pos="51" ip="0x10156119" rel="0x00156119"
ordinal="ImplSalYield+0x00000069" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="52" ip="0x101561FD" rel="0x001561FD"
ordinal="WinSalInstance::Yield+0x000000BD" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="53" ip="0x100B136B" rel="0x000B136B"
ordinal="Application::Execute+0x0000005B" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="54" ip="0x0040E41E" rel="0x0000E41E"
ordinal="desktop::Desktop::Main+0x0000132E" name="soffice.exe"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="55" ip="0x10115DB1" rel="0x00115DB1"
ordinal="SVMain+0x000000C1" name="vcl680mi.dll"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="56" ip="0x0042D3B5" rel="0x0002D3B5"
ordinal="WinMain+0x00000005" name="soffice.exe"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="57" ip="0x0042E1F1" rel="0x0002E1F1"
ordinal="WinMainCRTStartup+0x00000185" name="soffice.exe"
path="D:\testinstall_SRC680_m51\program\"/>
<errormail:StackInfo pos="58" ip="0x77E814C7" rel="0x000214C7"
ordinal="GetCurrentDirectoryW+0x00000044" name="kernel32.dll"
path="C:\WINXP\system32\"/>
</errormail:Stack>
AW: Looks like the dialog is used, but it's ItemPool is gone ?!?
Comment 7 Armin Le Grand 2004-08-18 10:29:28 UTC
AW: Looked for  IMPL_LINK( SfxSingleTabDialog, OKHdl_Impl, Button *, pButton ):
There is only one call to ClearItem(), and that exactly after creation of the
ItemSet:
                pOutSet = new SfxItemSet( *pOptions );
                pOutSet->ClearItem();
Where pOptions is a pointer to an ItemSet itself. There are 2 constructors which
allow to not set the ItemSet, defaulted to 0L. So there are two possibilities:
The ItemSet constructwed with is no longer valid, or there was no one set.
Comment 8 Armin Le Grand 2004-08-18 10:40:53 UTC
AW: Dialog is FuConnectionDlg, and it's constructed using a constructor which
hands over a reference to an ItemSet, so cause one can be elimminated.
AW: Looking at FuConnectionDlg constructor, cause two can be elliminated, too,
since the ItemSet lives over the lifetime of the dialog. It is also impossible
that the ItemPool of the document is removed, so i see no reason here. Since it
does not happen always, i more and more guess on a build errror.
Comment 9 Armin Le Grand 2004-08-18 11:10:05 UTC
AW: Tried a similar action: Drawing a measurement line, calling the measurement
dialog, clicking OK -> same effect. But here i got an assert saying
__rtl_memory_corruption or something similar.
AW: WIth all that i guess we still have a severe memory overwrite error in
draw/impress somewhere, there were some prio1 bugs fixed in that direction
recently. I32109 seems to be in the same range...
Comment 10 Armin Le Grand 2004-08-18 14:22:36 UTC
AW: Started to look and analyze in m51. Found that it's an error in SfxItemSet
(!) which is there since 8 (9?) jears. If there is a disabled item in an itemset
(via DisableItem) a call to ClearItem() crashes. This has never happened before
since disabled items were only used in framework stuff. With a feature it was
used in Draw/Impress now, too (no names here).
AW: This was triggered since the ModalDialog which is used calls ClearItem()
before filling the dialog result set.
AW: Two changes: (1) Add handling of disabled items to SfxItemSet::CLearItem(),
and (2) do not disable items in ItemSet on GetAttrFromMarked, but remove them.
AW: Tested, works, asked RT to add svtools to CWS.
Comment 11 Armin Le Grand 2004-08-18 14:35:16 UTC
AW: OK,added.
Comment 12 wolframgarten 2004-08-26 13:01:12 UTC
Reopened.
Comment 13 wolframgarten 2004-08-26 13:01:41 UTC
Reassigned for Testing.
Comment 14 wolframgarten 2004-08-26 13:01:58 UTC
Set to fixed again.
Comment 15 wolframgarten 2004-08-27 12:40:22 UTC
Verified in CWS:
Comment 16 groucho266 2004-08-27 14:29:53 UTC
*** Issue 31643 has been marked as a duplicate of this issue. ***
Comment 17 groucho266 2004-08-27 14:31:42 UTC
*** Issue 31643 has been marked as a duplicate of this issue. ***
Comment 18 wolframgarten 2004-09-01 15:30:08 UTC
Only verified on Linux and Solaris because no Windows builds where available.
Comment 19 wolframgarten 2004-09-17 12:40:34 UTC
Tested in master m54. Closed.