http://bugs.winehq.org/show_bug.cgi?id=10916
Summary: Latest eclipse crashes on startup in comctl32 Product: Wine Version: CVS/GIT Platform: Other URL: http://eclipse.org OS/Version: other Status: NEW Keywords: download Severity: enhancement Priority: P2 Component: wine-comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Created an attachment (id=9832) --> (http://bugs.winehq.org/attachment.cgi?id=9832) hs_err_pid8.log from java
... probably in imagelist.
$ cd .wine/drive_c $ unzip ~/eclipse-java-europa-fall2-win32.zip $ cd eclipse $ wine eclipse.exe
fails with
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7eb9149a, pid=8, tid=9 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing) # Problematic frame: # C [comctl32.dll+0x9149a] # # An error report file with more information is saved as hs_err_pid8.log
fairly early (after grinding for only 20 seconds).
I'll attach hs_err_pid8.log. I also tried running WINEDEBUG=+seh,+imagelist,+relay ~/wine-git/wine eclipse.exe but the log was really big and not obviously helpful.
This was with the very latest sun jre installed, Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
http://bugs.winehq.org/show_bug.cgi?id=10916
--- Comment #1 from Dan Kegel dank@kegel.com 2007-12-27 22:59:06 --- Created an attachment (id=9833) --> (http://bugs.winehq.org/attachment.cgi?id=9833) egrep 'imagelist|comctl' of +relay,+imagelist log
This log shows why I suspect imagelist.
http://bugs.winehq.org/show_bug.cgi?id=10916
--- Comment #2 from Anastasius Focht focht@gmx.net 2008-06-20 11:23:37 --- Created an attachment (id=14211) --> (http://bugs.winehq.org/attachment.cgi?id=14211) patch to work around comctl32 treeview EN_UPDATE with selected Item already cleared
Hello,
no it's in Treeview. It crashes in command handler for EN_UPDATE because editing item (node) is already cleared. Attached patch works this around - though the real cause should be investigated further by using native comctl32 and message spy. It might indicate a wrong or missing message sequence.
Used Eclipse 3.3.3 Europa from:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads...
After that you will run into:
http://bugs.winehq.org/show_bug.cgi?id=14015 (null REFCLSID passed to ole32.WriteClassStg) http://bugs.winehq.org/show_bug.cgi?id=14016 (WebBrowser_GetIDsOfNames needs to be fleshed out)
Regards
http://bugs.winehq.org/show_bug.cgi?id=10916
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-18 10:52:12 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=10916
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Target Milestone|--- |1.2.0
--- Comment #4 from Dan Kegel dank@kegel.com 2008-12-18 11:06:05 --- eclipse is a very popular app, mostly java, and should make a good performance test (comparing native and wine implementations). Because the failure is mostly understood, I'm nominating this for 1.2.
http://bugs.winehq.org/show_bug.cgi?id=10916
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #5 from Austin English austinenglish@gmail.com 2009-01-18 03:47:29 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=10916
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2009-04-22 15:22:18 --- Hello,
--- quote --- Please retest in current git. --- quote ---
yes obviously still a problem.
--- snip --- ... 0018:trace:win:RedrawWindow 0x100dc whole window flags: RDW_INVALIDATE RDW_ERASE RDW_FRAME 0018:trace:treeview:TREEVIEW_WindowProc hwnd 0x100d2 msg 0111 wp=040000dc lp=000100dc 0018:trace:treeview:TREEVIEW_Command 40000dc 65756 0018:trace:win:GetDCEx hwnd 0x10020, hrgnClip (nil), flags 00000003 0018:trace:win:GetDCEx (0x10020,(nil),0x13): returning 0x53ec 0018:trace:seh:raise_exception code=c0000005 flags=0 addr=0x604332b5 ip=0x604332b5 tid=0018 0018:trace:seh:raise_exception info[0]=00000000 0018:trace:seh:raise_exception info[1]=0000005c 0018:trace:seh:raise_exception eax=00000000 ebx=604492c4 ecx=0000001e edx=00000010 esi=0033d5bc edi=00634800 0018:trace:seh:raise_exception ebp=0033d444 esp=0033cbac cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010216 First chance exception: page fault on read access to 0x0000005c in 32-bit code (0x604332b5). 001a:trace:msg:peek_message got type 6 msg 113 (WM_TIMER) hwnd 0x10026 wp 1 lp 0 Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:604332b5 ESP:0033cbac EBP:0033d444 EFLAGS:00010216( - 00 -RIAP1) EAX:00000000 EBX:604492c4 ECX:0000001e EDX:00000010 ESI:0033d5bc EDI:00634800 Stack dump: 0x0033cbac: 000053ec 0033d3e4 00000000 0033d420 0x0033cbbc: 040000dc 000100dc 7375636f 70616441 0x0033cbcc: 0000001e 0000002d 0033d31c 0033ccc8 0x0033cbdc: 00000004 00000002 00000000 008a8ff4 0x0033cbec: 667a68a3 668a8ff4 667a68a3 00000000 0x0033cbfc: 7bcb7355 66799bad 0033d34c 6687407c Backtrace: =>0 0x604332b5 TREEVIEW_Command+0x1c9(infoPtr=0x50e5b60, wParam=67109084, lParam=65756) [/opt/wine/wine-git/dlls/comctl32/treeview.c:3614] in comctl32 (0x0033d444) 1 0x604384af TREEVIEW_WindowProc+0xb18(hwnd=0x100d2, uMsg=273, wParam=67109084, lParam=65756) [/opt/wine/wine-git/dlls/comctl32/treeview.c:5625] in comctl32 (0x0033d4b4) 2 0x60264faa WINPROC_wrapper+0x1a() in user32 (0x0033d4e4) 3 0x6026564e call_window_proc+0xca(hwnd=0x100d2, msg=273, wp=67109084, lp=65756, result=0x33d568, arg=0x60437997) [/opt/wine/wine-git/dlls/user32/winproc.c:458] in user32 (0x0033d534) 4 0x6026cda0 CallWindowProcW+0x66(func=0x60437997, hwnd=0x100d2, msg=273, wParam=67109084, lParam=65756) [/opt/wine/wine-git/dlls/user32/winproc.c:2310] in user32 (0x0033d574) 5 0x0468220a in swt-win32-3452 (+0x220a) (0x0033d590) 6 0x0095a159 _XimProtoEventToWire+0x109() in libx11.so.6 (0x0033d5c8) 7 0x0095a34c _XimProtoEventToWire+0x2fc() in libx11.so.6 (0x0033d5f8) 8 0x00742ec5 (0x0033d648) 9 0x0094cc8c in libx11.so.6 (+0x55c8c) (0x0033d6b8) 10 0x00742ec5 (0x0033d70c) 11 0x0080f56c (0x0033d7a8) 12 0x007402ca (0x0033d7f8) 13 0x6d8c934d in jvm (+0xc934d) (0x00740265) 14 0xe1c1204d (0x8bec8b55) 15 0x00000000 (0x00000000) 0x604332b5 TREEVIEW_Command+0x1c9 [/opt/wine/wine-git/dlls/comctl32/treeview.c:3614] in comctl32: movl 0x5c(%eax),%eax 3614 sz.cx = min(sz.cx, --- snip ---
infoPtr->selectedItem == NULL
--- snip dlls/comctl32/treeview.c --- static LRESULT TREEVIEW_Command(TREEVIEW_INFO *infoPtr, WPARAM wParam, LPARAM lParam) { TRACE("%lx %ld\n", wParam, lParam);
switch (HIWORD(wParam)) { case EN_UPDATE: { /* * Adjust the edit window size */ WCHAR buffer[1024]; TREEVIEW_ITEM *editItem = infoPtr->selectedItem; ...
if (GetTextExtentPoint32W(hdc, buffer, strlenW(buffer), &sz)) { TEXTMETRICW textMetric;
/* Add Extra spacing for the next character */ GetTextMetricsW(hdc, &textMetric); sz.cx += (textMetric.tmMaxCharWidth * 2);
sz.cx = max(sz.cx, textMetric.tmMaxCharWidth * 3); sz.cx = min(sz.cx, infoPtr->clientWidth - editItem->textOffset + 2); ... --- snip dlls/comctl32/treeview.c ------
Regards
http://bugs.winehq.org/show_bug.cgi?id=10916
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |bunglehead@gmail.com Summary|Latest eclipse crashes on |TreeView: Eclipse crashes |startup in comctl32 |on startup
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2009-08-06 06:07:32 --- Problem is still here with
Eclipse: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads...
JRE: jre-6u15-windows-i586-s.exe
Wine wine-1.1.26-390-g31dab8f.
Workaround from comment 2 still works - UI shows with some drawing/refreshing/etc issues, but it's another bug of course.
I'll look closer at it.
http://bugs.winehq.org/show_bug.cgi?id=10916
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |19610
http://bugs.winehq.org/show_bug.cgi?id=10916
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2009-08-06 15:51:25 --- +treeview shows that application doesn't create edit label here, but control is still notified with WM_COMMAND (EN_UPDATE) which leads to crash. Simply checking for Edit control handle is enough here (we're doing the same in Listview code too).
Patch sent for this:
http://www.winehq.org/pipermail/wine-patches/2009-August/076743.html
http://bugs.winehq.org/show_bug.cgi?id=10916
Bug 10916 depends on bug 19610, which changed state.
Bug 19610 Summary: Eclipse exits on load with X Error http://bugs.winehq.org/show_bug.cgi?id=19610
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=10916
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2009-08-07 08:56:42 --- Fixed by commit:
http://source.winehq.org/git/wine.git/?a=commit;h=83c9cdb79768b7ba6ec7e08e58...
After that GUI starts up fine, but almost unusable - no toolbars or panels at all. Native comctl32 is still a workaround, but it's another bug.
http://bugs.winehq.org/show_bug.cgi?id=10916
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2009-08-07 12:06:27 --- Closing bugs fixed in 1.1.27.
http://bugs.winehq.org/show_bug.cgi?id=10916
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |83c9cdb79768b7ba6ec7e08e581 | |c24144085ecea Version|unspecified |0.9.51.
--- Comment #11 from Anastasius Focht focht@gmx.net 2011-10-13 13:03:19 CDT --- Hello,
filling/correcting fields...
Regards
http://bugs.winehq.org/show_bug.cgi?id=10916
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux
https://bugs.winehq.org/show_bug.cgi?id=10916
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=10916
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://eclipse.org |https://web.archive.org/web | |/20150303033139/http://arch | |ive.eclipse.org/technology/ | |epp/downloads/release/europ | |a/winter/eclipse-java-europ | |a-winter-win32.zip