[Bug 17584] New: VB6 Textbox crash
http://bugs.winehq.org/show_bug.cgi?id=17584 Summary: VB6 Textbox crash Product: Wine Version: 1.1.13 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: gabmoa(a)yahoo.it Created an attachment (id=19742) --> (http://bugs.winehq.org/attachment.cgi?id=19742) Simple project to test VB.textbox escape problem In many vb6 applications I have experienced crash and now I think I have understand when this happen! A vb6 standard single line textbox (multi or single can be choosed at design time only in vb6) inside a container (in the example a simple picturebox), when I press Escape to hide (or disable) the container crash the application. Any other keys seems doesn't cause a crash. In the example attached any key pressed inside textbox make visible=false to container. Press the escape key to reproduce the crash. There are 2 textbox, the first one is single line while the second one is multiline (and it doesn't crash). Ubuntu 8.04 - VB6 runtime (SP6) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17584 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com Status|UNCONFIRMED |NEW Component|comctl32 |user32 Ever Confirmed|0 |1 Keywords| |download --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2009-03-02 06:58:50 --- Thanks for the good problem report. This is a problem in user32, not commctl32, as 'winetricks comctl32' doesn't work around it. The backtrace shows a crash deep inside vb. 0009:Call window proc 0x7eb9bc80 (hwnd=0x1003e,msg=WM_KEYDOWN,wp=0000001b,lp=00010001) trace:edit:EditWndProc_common hwnd=0x1003e msg=100 (WM_KEYDOWN) wparam=1b lparam=10001 trace:message:SPY_EnterMessage (0x1003c) L"{ThunderRT6Pic}" message [0111] WM_COMMAND sent from self wp=00000002 lp=00000000 0009:Call window proc 0x66004809 (hwnd=0x1003c,msg=WM_COMMAND,wp=00000002,lp=00000000) ... Unhandled exception: page fault on read access to 0x03455425 in 32-bit code (0x660597a7). Backtrace: =>0 0x660597a7 in msvbvm60 (+0x597a7) (0x0032f088) ... 12 SendMessageW+0x4c(hwnd=0x1003c, msg=273, wparam=2, lparam=0) [dlls/user32/message.c:2602] in user32 13 EDIT_WM_KeyDown+0x655(es=<?>, key=<?>) [dlls/user32/edit.c:3652] in user32 The line in EDIT_WM_KeyDown is SendMessageW(GetParent(es->hwndSelf), WM_COMMAND, IDCANCEL (LPARAM)GetDlgItem( GetParent(es->hwndSelf), IDCANCEL ) ); which was committed in April 2008 by Lei Zhang: http://source.winehq.org/git/wine.git/?a=commit;h=6736ed82ed5cb416771390c5c1... Lei, can you have a look at this new test case? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17584 --- Comment #2 from Gabriele Moabiti <gabmoa(a)yahoo.it> 2009-03-02 18:11:10 --- Does it should be handled in this mode? case VK_ESCAPE: /* VK_ESCAPE gets handled by the dialog box window process */ if (!EDIT_IsInsideDialog(es)) return 1; /* 1 is right?*/ if (!(es->style & ES_MULTILINE)) SendMessageW(GetParent(es->hwndSelf), WM_COMMAND, IDCANCEL, (LPARAM)GetDlgItem( GetParent(es->hwndSelf), IDCANCEL ) ); -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17584 --- Comment #3 from Gabriele Moabiti <gabmoa(a)yahoo.it> 2009-03-25 04:46:44 --- Created an attachment (id=20116) --> (http://bugs.winehq.org/attachment.cgi?id=20116) possible fix -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17584 Gabriele Moabiti <gabmoa(a)yahoo.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20116|0 |1 is obsolete| | --- Comment #4 from Gabriele Moabiti <gabmoa(a)yahoo.it> 2009-03-31 16:23:06 --- Created an attachment (id=20246) --> (http://bugs.winehq.org/attachment.cgi?id=20246) possible fix -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17584 Gabriele Moabiti <gabmoa(a)yahoo.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Gabriele Moabiti <gabmoa(a)yahoo.it> 2009-10-13 07:25:14 --- Seems fixed in wine 1.1.31 by commit 3b6ea11481e1a4a1301ada177cb8f53379bdeab5 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17584 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2009-10-23 13:18:53 --- Closing bugs fixed in 1.1.32. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org