http://bugs.winehq.org/show_bug.cgi?id=9670
Summary: SparVoip Product: Wine Version: 0.9.25. Platform: Other URL: http://www.sparvoip.de/ OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: dennisschneck@web.de
Created an attachment (id=8084) --> (http://bugs.winehq.org/attachment.cgi?id=8084) Debug File
Hello,
i try to use "SparVoip" unter wine-0.9.25 on a Debian Etch.
But SparVoip not working.
http://www.sparvoip.de/getfrommirror.php?lang=de
Thanks
bye
dennis
http://bugs.winehq.org/show_bug.cgi?id=9670
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8084|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9670
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-15 12:53:32 --- Please remove ~/.wine directory, upgrade to latest Wine (0.9.45 or at least 0.9.44) and try again.
The error you are having already been fixed.
http://bugs.winehq.org/show_bug.cgi?id=9670
--- Comment #2 from Dennis Schneck dennisschneck@web.de 2007-09-15 13:29:13 ---
i have download the file: wine_0.9.44~winehq0~debian~4.0-1_i386.deb
the i have deinstalled the wine-0.9.25 pakets
the i installed the: wine_0.9.44~winehq0~debian~4.0-1_i386.deb with: dpkg -i wine_0.9.44~winehq0~debian~4.0-1_i386.deb
if i start wine /home/user/.wine/drive_c/Program Files/SparVoip/SparVoip.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsof t.Windows.Common-Controls" Xlib: extension "XFree86-DRI" missing on display ":0.0". fixme:advapi:RegisterEventSourceW ((null),L"PDH"): stub fixme:win:EnumDisplayDevicesW ((null),0,0x33f534,0x00000000), stub! err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not regist ered err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not regist ered err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registere d fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x17 err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not regist ered err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not regist ered err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registere d fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x17 Xlib: extension "XFree86-DRI" missing on display ":0.0". Xlib: extension "XFree86-DRI" missing on display ":0.0". fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsof t.Windows.Common-Controls" err:x11drv:X11DRV_CreateWindow invalid window height -222
the SparVoip.exe messages:
The application crashed due to an unexpected event. The development team would like to have some additional information. By pressing the 'Send information button' detailed process information will be sent to us. The datasize is limited to 200kB.
We honor your privacy so no confidential data will be sent during this process.
http://bugs.winehq.org/show_bug.cgi?id=9670
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Status|UNCONFIRMED |NEW Component|wine-binary |wine-comctl32 Ever Confirmed|0 |1
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-15 14:39:36 --- Looks like a bug in comctl32.dll
Using native comctl32.dll i got the application starting up into the main window
http://bugs.winehq.org/show_bug.cgi?id=9670
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|SparVoip |SparVoip crashes
http://bugs.winehq.org/show_bug.cgi?id=9670
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2007-09-15 15:50:57 --- First of all DO NOT PASTE LOGS HERE!!! Attach them instead!!!
the i have deinstalled the wine-0.9.25 pakets
That is not enough. I told you to "remove ~/.wine directory". You have to do that.
if i start wine /home/user/.wine/drive_c/Program Files/SparVoip/SparVoip.exe
Wrong, read FAQ about how properly run applications with Wine.
Xlib: extension "XFree86-DRI" missing on display ":0.0".
Fix your video drivers.
http://bugs.winehq.org/show_bug.cgi?id=9670
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-15 16:08:28 ---
That is not enough. I told you to "remove ~/.wine directory". You have to do that.
The crash also happens on a new ~/.wine. I already confirmed it
http://bugs.winehq.org/show_bug.cgi?id=9670
--- Comment #6 from Austin English austinenglish@gmail.com 2008-03-29 06:03:58 --- Still present in git. Now needs native gdiplus as well to get around a crash there.
http://bugs.winehq.org/show_bug.cgi?id=9670
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #7 from Anastasius Focht focht@gmx.net 2008-03-29 10:18:56 --- Hello,
--- quote --- Still present in git. Now needs native gdiplus as well to get around a crash there. --- quote ---
It needs native gdiplus if you set comctl32 to native ;-)
This seems to be a bug in the creation phase of wine's statusbar control.
--- snip wine builtin comctl32 trace --- 0009:trace:win:WIN_CreateWindowEx (null) L"msctls_statusbar32" ex=00000000 style=50000000 0,0 0x0 parent=0x1003e menu=(nil) inst=0x400000 params=(nil) .. 0009:Call window proc 0x6d732f (hwnd=0x10040,msg=WM_NCCREATE,wp=00000000,lp=0033db54) .. 0009:trace:msg:WINPROC_CallProcWtoA (hwnd=0x10040,msg=WM_NCCALCSIZE,wp=00000000,lp=0033d8e8) .. 0009:trace:statusbar:StatusWindowProc hwnd=0x10040 msg=83 wparam=0 lparam=33d8e8 (hwnd=0x10040,msg=WM_CREATE,wp=00000000,lp=0033db54) .. 0009:trace:statusbar:StatusWindowProc hwnd=0x10040 msg=1 wparam=0 lparam=33d1b0 0009:trace:statusbar:STATUSBAR_WMCreate .. 0009:trace:msg:WINPROC_CallProcWtoA (hwnd=0x1003e,msg=WM_NOTIFYFORMAT,wp=00010040,lp=00000003) .. 0009:trace:msg:WINPROC_CallProcWtoA (hwnd=0x10040,msg=WM_STYLECHANGING,wp=fffffff0,lp=0033c0ac) .. 0009:trace:statusbar:StatusWindowProc hwnd=0x10040 msg=3 wparam=0 lparam=ffff0000 .. 0009:trace:statusbar:StatusWindowProc hwnd=0x10040 msg=5 wparam=0 lparam=1301d4 0009:trace:statusbar:STATUSBAR_WMSize flags 0000 0009:trace:statusbar:STATUSBAR_SetPartBounds client wnd size is (0,0)-(468,19) .. 0009:trace:statusbar:StatusWindowProc hwnd=0x10040 msg=406 wparam=3 lparam=339c38 .. 0009:trace:statusbar:STATUSBAR_GetParts (3) .. (hwnd=0x10040,msg=WM_USER+6,wp=00000003,lp=00339c38) retval=00000001 0009:Ret user32.CallWindowProcA() retval=00000001 ret=006d48da 0009:Ret window proc 0x6d732f (hwnd=0x10040,msg=WM_USER+6,wp=00000003,lp=00339c38) retval=00000001 0009:Ret user32.SendMessageA() retval=00000001 ret=0048ce21 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x6da625 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=00000050 0009:trace:seh:raise_exception eax=00339c28 ebx=0048cd30 ecx=00000000 edx=00000004 esi=001301d4 edi=00fdd520 0009:trace:seh:raise_exception ebp=00339be4 esp=00339be4 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00210282 0009:trace:seh:call_stack_handlers calling handler at 0x89df6e code=c0000005 flags=0 --- snip wine builtin comctl32 trace ---
vs.
--- snip wine native comctl32 trace --- 0017:trace:win:WIN_CreateWindowEx (null) L"msctls_statusbar32" ex=00000000 style=50000000 0,0 0x0 parent=0x10078 menu=(nil) inst=0x400000 params=(nil) .. 0017:Call window proc 0x6d732f (hwnd=0x1007a,msg=WM_NCCREATE,wp=00000000,lp=0033db54) .. 0017:trace:msg:WINPROC_CallProcWtoA (hwnd=0x1007a,msg=WM_NCCALCSIZE,wp=00000000,lp=0033d8e8) .. 0017:trace:msg:WINPROC_CallProcAtoW (hwnd=0x1007a,msg=WM_CREATE,wp=00000000,lp=0033db54) .. 0017:trace:msg:WINPROC_CallProcWtoA (hwnd=0x10078,msg=WM_NOTIFYFORMAT,wp=0001007a,lp=00000003) .. 0017:trace:msg:WINPROC_CallProcWtoA (hwnd=0x10078,msg=WM_QUERYUISTATE,wp=00000000,lp=00000000) .. 0017:trace:win:RedrawWindow 0x1007a whole window flags: RDW_ALLCHILDREN RDW_UPDATENOW .. 0017:Call user32.NotifyWinEvent(0000800c,0001007a,fffffffc,00000001) ret=5d4572d0 0017:Ret user32.NotifyWinEvent() retval=00000000 ret=5d4572d0 .. (hwnd=0x1007a,msg=WM_CREATE,wp=00000000,lp=0033d1b0) retval=00000000 0017:Ret user32.CallWindowProcA() retval=00000000 ret=006d48da .. <control creation done> .. 0017:Call user32.GetClassInfoA(00400000,012514d0 "VsnQualityCtrl",0033d2d0) ret=00540950 .. --- snip wine native comctl32 trace ---
ExtStyle = 0 Style = WS_CHILD|WS_VISIBLE X = 0 Y = 0 Width = 0 Height = 0 hParent = 0x1003e ('Main Applicationdialog',class='#32770',parent=0x205FE) hMenu = NULL hInst = 0x400000 lParam = NULL
native sequence condensed form:
WM_NCCREATE -> WM_NCCALCSIZE -> WM_CREATE WM_NOTIFYFORMAT WM_QUERYUISTATE (not needed) <return from WM_CREATE handler> <statusbar child control gets created here>
The culprit seems to be the resize code in statusbar's WM_CREATE handler which triggers messages sent to app window procs which are not expected. App window proc code dereferences some internal C++ objects - wrappers for child controls which are not created yet, resulting in exception. See native trace, "VsnQualityCtrl" which is created after parent (return from parent WM_CREATE handler).
Using the spy++ on windows, there is no statusbar resizing message while the control is being created (WM_SIZE/MOVE whatever). The statusbar and its child controls are resized fine after the controls have been completely created.
--- snip dlls/comctl32/status.c --- diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index e704635..b7d5635 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -1044,8 +1044,6 @@ STATUSBAR_WMCreate (HWND hwnd, const CREATESTRUCTA *lpCreate) ReleaseDC (hwnd, hdc); }
- SetWindowPos(hwnd, 0, lpCreate->x, lpCreate->y - 1, - width, infoPtr->height, SWP_NOZORDER); STATUSBAR_SetPartBounds (infoPtr); } --- snip dlls/comctl32/status.c ---
Apply the patch and app starts fine.
And yes, the app exposes additional bugs ... file them separately.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9670
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-29 14:56:11 --- great, i'll add keyword patch
http://bugs.winehq.org/show_bug.cgi?id=9670
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
http://bugs.winehq.org/show_bug.cgi?id=9670
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark144@alice.it
--- Comment #9 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-06-14 15:43:13 --- *** Bug 8600 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9670
--- Comment #10 from Anastasius Focht focht@gmx.net 2008-07-27 02:01:25 --- Hello,
the bug is now fixed by this commit: 1e43f207cd5a2436928cf50f115d33a1b86bbdf0 (comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE)
Regards
http://bugs.winehq.org/show_bug.cgi?id=9670
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-07-27 02:22:04 ---
the bug is now fixed by this commit: 1e43f207cd5a2436928cf50f115d33a1b86bbdf0
yip, both sparvoip and voipstunt start fine in current git. resolving fixed
http://bugs.winehq.org/show_bug.cgi?id=9670
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2008-08-22 10:45:41 --- Closing bugs fixed in 1.1.3.
http://bugs.winehq.org/show_bug.cgi?id=9670
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1e43f207cd5a2436928cf50f115 | |d33a1b86bbdf0 Hardware|Other |x86 OS|other |Linux