Hi!
This is still the same app, that used previously for testing freereport. How the app works. 0. show main window 1. call simple and meaningless freereport funtions (works now) 2. show [OK] dialog saying what above function returned 3. allow to press [OK] (of course ;-) 4. show main windows until it's closed.
The app hangs after or around [2] it seems. Frames of main window and of the dialog show up, hovever their content is not painted and I cannot click/Enter/Esc/space anything.
Final part of +relay log is this:
08072028:Ret x11drv.SetWindowPos() retval=00000001 ret=408c83ef 08072028:Ret x11drv.ShowWindow() retval=00000001 ret=408c7690 08072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=408deb6f 08072028:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000102 ret=408deb6f 08072028:Call window proc 0x418a0fef (hwnd=00010021,msg=WM_USER+ac00,wp=00000000,lp=00000000) 08072028:Ret window proc 0x418a0fef (hwnd=00010021,msg=WM_USER+ac00,wp=00000000,lp=00000000) retval=00000000 08072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=408deb6f 08072028:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000102 ret=408deb6f 08072028:Call window proc 0x418a0fef (hwnd=00010021,msg=WM_ENTERIDLE,wp=00000000,lp=0001002a) 08072028:Call user32.DefWindowProcA(00010021,00000121,00000000,0001002a) ret=40620e03 08072028:Ret user32.DefWindowProcA() retval=00000000 ret=40620e03 08072028:Ret window proc 0x418a0fef (hwnd=00010021,msg=WM_ENTERIDLE,wp=00000000,lp=0001002a) retval=00000000 08072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=408deb6f 08072028:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000102 ret=408deb6f 08072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000001,403c53e8,ffffffff,00000000,00000000) ret=408dee6d
So it seems that MsgWaitForMultipleObjectsEx doesn't return if it has anything to do (first parameter is number of objects to wait for).
It is almost exactly the same, as the "big app", which hangs at this: 08072028:Ret window proc 0x422408ed (hwnd=0001004d,msg=WM_PAINT,wp=00000000,lp=00000000) retval=0000000008072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=408deb6f 08072028:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000102 ret=408deb6f 08072028:Call window proc 0x42240fef (hwnd=00010021,msg=WM_ENTERIDLE,wp=00000000,lp=00010052) 08072028:Call user32.DefWindowProcA(00010021,00000121,00000000,00010052) ret=40620e03 08072028:Ret user32.DefWindowProcA() retval=00000000 ret=40620e03 08072028:Ret window proc 0x42240fef (hwnd=00010021,msg=WM_ENTERIDLE,wp=00000000,lp=00010052) retval=00000000 08072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=408deb6f 08072028:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000102 ret=408deb6f 08072028:Call x11drv.MsgWaitForMultipleObjectsEx(00000001,403c7eb8,ffffffff,00000000,00000000) ret=408dee6d
It seems, that dll/x11drv/event.c:X11DRV_MsgWaitForMultipleObjectsEx is being called which in turn is calling scheduler/synchro.c:WaitForMultipleObjectsEx (I think).
I looked at the code, but ATM it's still black magic for me - too many unknown wine interlans ivolved :-/
Is this known problem? What should I look for while debugging? Any pointers/hints? (I don't mean general wine-developers docs pointers) Regards
Grzegorz B. Prokopski
PS: I compiled wine from CVS, but not today's version (as it had some problems with compilation) but 2 weeks old.
--- Grzegorz Prokopski greg@sente.pl wrote: [skipped]
Is this known problem? What should I look for while debugging? Any pointers/hints? (I don't mean general wine-developers docs pointers) Regards
I'm currently researching the problem with the same symptoms - cygwin installer hangs on the call to x11drv.MsgWaitForMultipleObjectsEx. Plus, very recently I saw similiar hang signature in some other bug report in Bugzilla. I have source of the installer and am trying to localize the issue.
Andriy
Boston, MA
__________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
Grzegorz, I found the cause of my problem, I wonder if you have the same issue.
In my case was the problem was caused by not implemented processing of property sheet message PSM_SETCURSELID. The application printed to terminal a fixme message:
fixme:propsheet:PROPSHEET_DialogProc Unimplemented msg PSM_SETCURSELID
Do you have the same message in the application output?
Andriy
Boston, MA
__________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
W liście z śro, 21-08-2002, godz. 22:39, Andriy Palamarchuk pisze:
Grzegorz, I found the cause of my problem, I wonder if you have the same issue.
Would be just too easy :-/
In my case was the problem was caused by not implemented processing of property sheet message PSM_SETCURSELID. The application printed to terminal a fixme message:
fixme:propsheet:PROPSHEET_DialogProc Unimplemented msg PSM_SETCURSELID
Do you have the same message in the application output?
No, I don't. My full output when I 'just' run wine and my app is this:
greg@greg:/opt/wine_c/$ wine greg.exe fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:InitializeFlatSB stub fixme:commctrl:FlatSB_SetScrollProp stub [....many of them....] fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:InitializeFlatSB stub fixme:commctrl:FlatSB_SetScrollProp stub [....many of them....] fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:InitializeFlatSB stub fixme:commctrl:FlatSB_SetScrollProp stub [....many of them....] fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:InitializeFlatSB stub fixme:commctrl:FlatSB_SetScrollProp stub [....many of them....] fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:InitializeFlatSB stub fixme:commctrl:FlatSB_SetScrollProp stub [....many of them....] fixme:commctrl:FlatSB_SetScrollProp stub
However I found (see my other mail), that this app crashes somewhere in freereport.bpl. It's not impossible that this is the reason for such behaviour of MsgWaitForMultipleObjectsEx - a side effect of earlier problem.
I'll take a look at TPreviewForm::FormResize - maybe I'll learn sth.
Thanks for all
Grzegorz B. Prokopski
PS: I _am_ subscribed to the list, no _need_ to Cc: me (but you may if you wish, such mail is sorted to Wine's folder anyway - no diff for me)
<snip>
fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:InitializeFlatSB stub
did you look at MSDN if these 2 stubs aren't the cause of your problem ?
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
On Sun, Aug 25, 2002 at 09:03:31PM +0200, Sylvain Petreolle wrote:
<snip> > fixme:commctrl:FlatSB_SetScrollProp stub > fixme:commctrl:InitializeFlatSB stub did you look at MSDN if these 2 stubs aren't the cause of your problem ?
This shouldn't be a problem at all because FlatScrollBar controll defaults to the ScrollBar controll if the FlatScrollBar wasn't initialized. This behaviour is documented by msdn.
bye michael