[Bug 5807] Mercora IMRadio crashes while attempting to run

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 24 07:45:09 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=5807





--- Comment #8 from Anastasius Focht <focht at gmx.net>  2008-06-24 07:45:05 ---
Created an attachment (id=14317)
 --> (http://bugs.winehq.org/attachment.cgi?id=14317)
SWT win32 snippets to show Java code expecting webbrowser IDispatch in
completion handlers

Hello,

it seems the well known Eclipse IDE (win32) suffers from same problem.

If Eclipse 3.x opens the workspace for the first time, an embedded browser
window is about to be displayed.
It crashes in completion handlers due to wrong IDispatch supplied.

Same happens if you select "Help" -> "Help Contents".

--- snip ---
0025:trace:seh:raise_exception code=c0000005 flags=0 addr=0x74b6b2
0025:trace:seh:raise_exception  info[0]=00000000
0025:trace:seh:raise_exception  info[1]=00000008
0025:trace:seh:raise_exception  eax=00000000 ebx=0000002e ecx=000000f0
edx=00000000 esi=1bf03c19 edi=7c23de7c
0025:trace:seh:raise_exception  ebp=7c23de58 esp=7c23de38 cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00210202
0025:trace:seh:call_stack_handlers calling handler at 0x6d983f40 code=c0000005
flags=0
0025:trace:seh:call_stack_handlers handler at 0x6d983f40 returned 0
Exception in thread "Help Browser UI" java.lang.NullPointerException
        at org.eclipse.swt.browser.IE.hookMouseListeners(IE.java:968)
        at org.eclipse.swt.browser.IE$4.handleEvent(IE.java:407)
        at
org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTable.java:55)
        at
org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEventSink.java:144)
        at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.java:119)
        at
org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink.java:96)
        at
org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSink.java:70)
        at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2265)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291)
        at
org.eclipse.help.ui.internal.browser.embedded.EmbeddedBrowserAdapter$UIThread2.run(EmbeddedBrowserAdapter.java:40)
--- snip ---

I attached small snippets of the appropriate Eclipse source which officially
proves my earlier findings and patch, see
http://bugs.winehq.org/show_bug.cgi?id=5807#c6

The attached patch lets Eclipse it successfully load and display embedded
browser windows.
I'm sure this also applies to many apps which use IDispatch in completion
handlers (MFC apps with dynamic html controls, ...).

Jacek, can you acknowledge this issue and send in a fix.

Regards


-- 
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.



More information about the wine-bugs mailing list