http://bugs.winehq.org/show_bug.cgi?id=33564
Bug #: 33564 Summary: Enterprise Architect crashes when adding an operation via the Message properties window Product: Wine Version: 1.5.29 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ea@mailinator.com Classification: Unclassified
Created attachment 44436 --> http://bugs.winehq.org/attachment.cgi?id=44436 Backtrace
Enterprise Architect 10 produces a Page Fault when "Operations" button is clicked on the properties of an entity.
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #1 from Enterprise Architect ea@mailinator.com 2013-05-11 10:29:04 CDT --- Created attachment 44437 --> http://bugs.winehq.org/attachment.cgi?id=44437 Window where the problem occurs
Reproduce: 1. Click operations 2. Add new operation on the window that opens. 3. Click OK.
http://bugs.winehq.org/show_bug.cgi?id=33564
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |leslie_alistair@hotmail.com Ever Confirmed|0 |1
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-06-12 17:31:10 CDT --- Confirming the crash.
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-06-12 17:31:30 CDT --- Still an issue with 1.6rc1
http://bugs.winehq.org/show_bug.cgi?id=33564
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |comctl32
http://bugs.winehq.org/show_bug.cgi?id=33564
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2013-06-12 18:17:18 CDT --- Does a native comctl32 fix the crash?
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-06-12 19:12:23 CDT --- (In reply to comment #4)
Does a native comctl32 fix the crash?
Yes, installing native comctl32 works around the issue.
http://bugs.winehq.org/show_bug.cgi?id=33564
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2013-06-13 05:03:45 CDT --- Could you attach a project to reproduce that? I can see some messages in example project but Operations button is disabled for all I tried, so I can't test it.
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-06-13 05:24:49 CDT --- In the example project search for "seq" or create a sequence diagram and add two life lines.
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2013-06-14 03:45:18 CDT --- Yes, I can see it now. However it crashes when I close window opened with Operations button, not when I press a button. After reverting regression commit from bug 33001 crashes moves around, so this appears to be older problem.
http://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- It looks like it crashes after some actions done by TVN_SELCHANGED handler:
--- 004f:trace:treeview:TREEVIEW_WindowProc hwnd 0x900aa msg 1101 wp=00000000 lp=112d2c08 004f:trace:treeview:TREEVIEW_DeleteItem 0x112d2c08 (L"Tagged Values") 004f:trace:treeview:TREEVIEW_DeleteItem newSelection = 0x116a81f8 004f:trace:treeview:TREEVIEW_RemoveItem 0x112d2c08, (L"Tagged Values") 004f:trace:treeview:TREEVIEW_SendTreeviewNotify code:-458 action:0 olditem:0x112d2c08 newitem:(nil) 004f:trace:treeview:TREEVIEW_SendRealNotify wParam=101, lParam=0x3737a88 004f:trace:dpa:DPA_DeletePtr (0x116a7c60 3) 004f:trace:dpa:DPA_DeletePtr -- move dest=0x116a70e4 src=0x116a70e8 size=8 004f:trace:treeview:TREEVIEW_DoSelectItem Entering item 0x116a81f8 (L"Properties"), flag 9, cause 0, state 96 004f:trace:treeview:TREEVIEW_DoSelectItem TVN_SELCHANGING prev=(nil), new=0x116a81f8 004f:trace:treeview:TREEVIEW_SendTreeviewNotify code:-450 action:0 olditem:(nil) newitem:0x116a81f8 004f:trace:treeview:TREEVIEW_SendRealNotify wParam=101, lParam=0x3737a78 004f:trace:treeview:TREEVIEW_GetVisibleCount client=630, item=16 004f:trace:treeview:TREEVIEW_EnsureVisible 0x116a81f8 (L"Properties") 0 - 0 viscount(39) 004f:trace:treeview:TREEVIEW_EnsureVisible -- << 004f:trace:treeview:TREEVIEW_DoSelectItem TVN_SELCHANGED prev=(nil), new=0x116a81f8 004f:trace:treeview:TREEVIEW_SendTreeviewNotify code:-451 action:0 olditem:(nil) newitem:0x116a81f8 004f:trace:treeview:TREEVIEW_SendRealNotify wParam=101, lParam=0x3737a78 004f:trace:treeview:TREEVIEW_WindowProc hwnd 0x900aa msg 110a wp=00000009 lp=00000000 004f:trace:treeview:TREEVIEW_GetNextItem flags:9, returns 0x116a81f8 004f:trace:treeview:TREEVIEW_WindowProc hwnd 0x900aa msg 113e wp=00000000 lp=03737608 004f:trace:treeview:TREEVIEW_GetItemT item 0x116a81f8 004f:trace:treeview:TREEVIEW_UpdateDispInfo mask=0x4, callbackmask=0x22 004f:trace:treeview:TREEVIEW_GetItemT item <0x116a81f8>, txt 0x14dac09, img 57898540, mask 4 004f:trace:treeview:TREEVIEW_WindowProc hwnd 0x900aa msg 113e wp=00000000 lp=03737608 004f:trace:treeview:TREEVIEW_GetItemT item 0x116a81f8 004f:trace:treeview:TREEVIEW_UpdateDispInfo mask=0x4, callbackmask=0x22 004f:trace:treeview:TREEVIEW_GetItemT item <0x116a81f8>, txt 0x14dac09, img 57898540, mask 4 004f:trace:treeview:TREEVIEW_WindowProc hwnd 0x900aa msg 113e wp=00000000 lp=03737608 004f:trace:treeview:TREEVIEW_GetItemT item 0x11685b28 004f:trace:treeview:TREEVIEW_ValidItem invalid item 0x11685b28 004f:trace:treeview:TREEVIEW_GetItemT got item from different tree 0x11685b20, called from 0x10ff1960 ---
earlier in a log:
--- 004f:trace:treeview:TREEVIEW_WindowProc hwnd 0x900aa msg 1101 wp=00000000 lp=11685b28 004f:trace:treeview:TREEVIEW_DeleteItem 0x11685b28 (L"General") 004f:trace:treeview:TREEVIEW_DeleteItem newSelection = 0x11685ba0 004f:trace:treeview:TREEVIEW_RemoveItem 0x11685b28, (L"General") ---
so item "General" somehow survived deletion.
It feels like application stored this 'selected' item for later use, and TVN_SELCHANGING/TVN_SELCHANGED don't properly notify about selection change - see 'prev=(nil)' - because if currently selected item is removed then selection is reset.
This will need some tests but idea is to check what TVN_SELCHANGING/TVN_SELCHANGED report on selected item delete request, notification sequence order is correct.
https://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #10 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Still an issue with 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=33564
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Nikolay Sivov from comment #9)
This will need some tests but idea is to check what TVN_SELCHANGING/TVN_SELCHANGED report on selected item delete request, notification sequence order is correct.
Quick test shows that when removing selected item notifications have old item as NULL and new item as root (new default selection). This is also what Windows does.
https://bugs.winehq.org/show_bug.cgi?id=33564
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|Enterprise Architect |Enterprise Architect 10.0 |crashes when adding an |crashes when adding an |operation via the Message |operation via the Message |properties window |properties window URL| |https://web.archive.org/web | |/20130116143016/http://www. | |sparxsystems.com.au/bin/eas | |etup.exe CC| |focht@gmx.net