http://bugs.winehq.org/show_bug.cgi?id=2859
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download, NoAppDBEntry
------- Additional Comments From tony_lambregts(a)telusplanet.net 2005-07-04 10:59 -------
Sodoma Lite can be downloaded here.
http://sodoma.mindnever.org/sodomaLite.zip
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2813
------- Additional Comments From burnus(a)gmx.de 2005-07-04 10:56 -------
If you mean the following block, the last attachment contains the trace, it is:
trace:edit:EDIT_EM_ReplaceSel text_width = 20, fw=7
--------------------
else {
TRACE("in !ES_MULTILINE if\n");
INT fw = es->format_rect.right - es->format_rect.left;
EDIT_CalcLineWidth_SL(es);
/* remove chars that don't fit */
if (!(es->style & ES_AUTOHSCROLL) && (es->text_width > fw)) {
TRACE("es->text_width = %d, fw=%d\n",
es->text_width, fw);
while ((es->text_width > fw) && s + strl >= s) {
strcpyW(es->text + s + strl - 1, es->text + s +
strl);
strl--;
EDIT_CalcLineWidth_SL(es);
}
EDIT_NOTIFY_PARENT(es, EN_MAXTEXT, "EN_MAXTEXT");}}
--------------------------------------
Regarding what happens after the EDIT_NOTIFY_PARENT:
trace:edit:EDIT_EM_ReplaceSel notification EN_MAXTEXT sent to hwnd=0x10084
trace:msg:SendMessageTimeoutW
- in if("dest_tid == GetCurrentThreadId()) call
trace:msg:call_window_proc
- and walk into the if(unicode) block
trace:msg:WINPROC_CallProc32WTo32A func 0x5f4019fa
(hwnd=0x10084,msg=WM_COMMAND,wp=050103e9,lp=00010088)
trace:win:CallWindowProcA CallWindowProcASendMessageTimeoutW
trace:msg:SendMessageTimeoutW
- and again, walk on and into the if("dest_tid == GetCurrentThreadId())
trace:msg:call_window_proc
- and there again go into the if(unicode) and call
trace:msg:WINPROC_CallProc32WTo32A func 0x5f4019fa
(hwnd=0x10066,msg=WM_COMMAND,wp=ffff026e,lp=00010084)
- which calls trace:msg:call_window_proc
trace:msg:call_window_proc
- and walk to the "else" (!) block of if(unicode)
- and call CallWindowProcA
trace:win:CallWindowProcA CallWindowProcAstack overflow 52 bytes in thread 0009
eip 401cf514 esp 405c0fcc stack 0x405c0000-0x406c0000
Why the last call has unicode == false, I don't know. Any idea what to TRACE there?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2859
Summary: GPL - Game Sodoma Lite not running
Product: Wine
Version: CVS
Platform: Other
URL: http://www.pgd.netstarweb.com/competitions/PGDCompetitio
n2005.html
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: CaptainSifff(a)gmx.de
I just tried out SodomaLite from the link above.
It fails from the start due to missing d3d9 support(Although the game is
supposed to use OpenGL...).
A MessageBox appears:
"Access violation at address 4195CB74 in module 'wined3d.dll'. Read of address
00000000"
wine produces the following Errormessages:
fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is nonexistent
at the moment!
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e860) call to
IWineD3DDevice_CreateRenderTarget failed
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e860) call to
IWineD3DDevice_CreateRenderTarget failed
tracing with WINEDEBUG=trace+d3d9 :
fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is nonexistent
at the moment!
trace:d3d9:IDirect3DDevice9Impl_CreateRenderTarget Relay
trace:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e870) Relay
trace:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e870) : w(1024) h(768)
fmt(22) surf@(nil)
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e870) call to
IWineD3DDevice_CreateRenderTarget failed
trace:d3d9:IDirect3DDevice9Impl_CreateRenderTarget Relay
trace:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e870) Relay
trace:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e870) : w(1024) h(768)
fmt(22) surf@(nil)
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e870) call to
IWineD3DDevice_CreateRenderTarget failed
trace:d3d9:IDirect3DDevice9Impl_Release (0x4044e870) : ReleaseRef to 0
tracing with WINEDEBUG=trace+opengl :
trace:opengl:X11DRV_OpenGL_Init GLX is up and running error_base = 77
fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is nonexistent
at the moment!
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e878) call to
IWineD3DDevice_CreateRenderTarget failed
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x4044e878) call to
IWineD3DDevice_CreateRenderTarget failed
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2616
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From tony_lambregts(a)telusplanet.net 2005-07-04 10:23 -------
Yes you can Resolve your own bug :^)
Closing then
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2813
------- Additional Comments From tony_lambregts(a)telusplanet.net 2005-07-04 10:20 -------
You know... I am really curious what es->text is right before the call to
EDIT_NOTIFY_PARENT() also es->es->text_width. I suspect that there is something
wrong with the "while ((es->text_width.." loop.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2813
------- Additional Comments From tony_lambregts(a)telusplanet.net 2005-07-04 09:54 -------
Well EDIT_NOTIFY_PARENT() is defined in a macro (in edit.c)
#define EDIT_NOTIFY_PARENT(es, wNotifyCode, str) \
do \
{ /* Notify parent which has created this edit control */ \
TRACE("notification " str " sent to hwnd=%p\n", es->hwndParent); \
SendMessageW(es->hwndParent, WM_COMMAND, \
MAKEWPARAM(GetWindowLongPtrW((es->hwndSelf),GWLP_ID), wNotifyCode), \
(LPARAM)(es->hwndSelf)); \
} while(0)
SendMessageW() is in dlls/user/message.c and is actually forwarded to
SendMessageTimeoutW() you will want to add some fixme's (or traces) in there to
see what is happening. If you use traces you will need to include msg in the
WINEDEBUG string.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2616
kilgus(a)fuenfsieben.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From kilgus(a)fuenfsieben.de 2005-07-04 06:33 -------
Yes. Is it okay, that I changed the status accordingly instead of waiting for
one of the developers to do so?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2813
------- Additional Comments From burnus(a)gmx.de 2005-07-04 04:52 -------
Created an attachment (id=837)
--> (http://bugs.winehq.org/attachment.cgi?id=837&action=view)
Complete WINEDEBUG=+win,+edit with current CVS
I'm not completely sure whether the -22 is indeed the reason, it seems to point
to another window (handle).
What is sure: The last line executed in edit.c's EDIT_EM_ReplaceSel is the
EDIT_NOTIFY_PARENT(es, EN_MAXTEXT, "EN_MAXTEXT");
in the "else" block of "if (es->style & ES_MULTILINE)", my extra trace after
the else block is not executed. In the innerst if before the notify,
es->text_width = 20 and fw=7.
Re-looking at attachment 833, I don't know how to trace the "what happens
next".
WINEDEBUG=+win,+edit shows (look at the handles) while it creates the splash
window - or maybe when it starts to create the main (mdi) window is attached.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1969
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tony_lambregts(a)telusplanet.net 2005-06-04 23:27 -------
I had to touch d3d9.dll in the windows system directory to get it to work.
touch ~/.wine/drive_c/windows/system/d3d9.dll
There is no problem about the installer slowing down the system for me. Running
the demo is another thing though. resolving as FIXED.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.