app is hung when I input any word by keyboard

Questions about Wine on Linux
Locked
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

app is hung when I input any word by keyboard

Post by sun5kong »

1. RedHat 5
2. wine 1.7.40

Code: Select all

fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
fixme:thread:GetThreadPreferredUILanguages 56, 0x33f59c, 0x33f5ac 0x33f5a0
fixme:module:load_library unsupported flag(s) used (flags: 0x00000060)
fixme:ver:GetCurrentPackageId (0x33efa4 (nil)): stub
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ieframe:PersistStreamInit_InitNew (0x2ad8e28)
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x321d901, context 0x6123b90, init_notify 0, handle 0x69ee854): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
fixme:imm:ImmReleaseContext (0x10126, 0x2afc298): stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ieframe:BrowserService_GetTravelLog 0x2af1788 0x33a2cc
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x2ad8ee0)->((null) 1 0x33a294 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClientSite_GetContainer (0x2ad8ee0)->(0x33a2ac)
fixme:mshtml:nsChannel_GetContentDisposition (0x2afe438)->(0x339a44)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0x2afe438)->(0x339264)
fixme:ieframe:ClientSite_GetContainer (0x2ad8ee0)->(0x33bfec)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:PersistStreamInit_InitNew (0x2b01688)
fixme:ieframe:BrowserService_GetTravelLog 0x2b01fa0 0x33a08c
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x2b01740)->((null) 1 0x33a054 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClientSite_GetContainer (0x2b01740)->(0x33a06c)
fixme:mshtml:nsChannel_GetContentDisposition (0x2b03da0)->(0x339804)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0x2b03da0)->(0x339024)
fixme:ieframe:ClientSite_GetContainer (0x2b01740)->(0x33bdac)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:PersistStreamInit_InitNew (0x2b02600)
fixme:ieframe:BrowserService_GetTravelLog 0x2b049d0 0x33a2cc
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x2b026b8)->((null) 1 0x33a294 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClientSite_GetContainer (0x2b026b8)->(0x33a2ac)
fixme:mshtml:nsChannel_GetContentDisposition (0x2b07a40)->(0x339a44)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0x2b07a40)->(0x339264)
fixme:ieframe:ClientSite_GetContainer (0x2b026b8)->(0x33bfec)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x2ad8ee0)
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x2b01740)
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x2b026b8)
fixme:advapi:RegisterTraceGuidsW (0x3080301, 0x88026b0, {509962e0-406b-46f4-99ba-5a009f8d2225}, 3, 0x878bd70, (null), (null), 0x88026e0): stub
fixme:volume:GetVolumePathNameW (L"C:\\users\\root\\Application Data\\wine_gecko", 0x33bc18, 256), stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:volume:GetVolumePathNameW (L"C:\\windows\\system32\\gecko\\2.36\\wine_gecko", 0x33bcf8, 256), stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:volume:GetVolumePathNameW (L"C:\\windows", 0x33bcf8, 256), stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:win:EnumDisplayDevicesW ((null),0,0x33e5bc,0x00000000), stub!
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2af2c38)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b06840)->(0x1273a8)
fixme:iphlpapi:SendARP (DestIP 0xfe54a8c0, SrcIP 0x00000000, pMacAddr 0xa3eac50, PhyAddrLen 0xa3eac5c): stub
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b06840)->(0x1273a8)
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:gdiplus:GdipDrawPath graphics object has no HDC
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:gdiplus:GdipDrawPath graphics object has no HDC
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:winhttp:request_query_option partial stub
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b02d98)->(0x1273a8)
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

What app is this, and have you checked the AppDB and Bugzilla for known problems/workarounds?
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote:What app is this, and have you checked the AppDB and Bugzilla for known problems/workarounds?
my app is MetaTrader.

BTW, winecfg also will be hung when I press keyboard.
I need to Ctrl+C to quit it.

I tested IE, it will not be hung.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

sun5kong wrote: BTW, winecfg also will be hung when I press keyboard.
I need to Ctrl+C to quit it.
Does that happen in a clean wineprefix? If it does, something is wrong with your Wine build. If it doesn't, some change you've made to the wineprefix with Metatrader is causing the problem.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote: Does that happen in a clean wineprefix? If it does, something is wrong with your Wine build. If it doesn't, some change you've made to the wineprefix with Metatrader is causing the problem.
1. Yes, when I finish installation of wine, winecfg will be hung when I press keyboard. (wine 1.7.40, 1.6.x)
2. In beginning, I install wine 1.0.x by yum, wine can not launch any app, no any info is displayed, and no any window, then I compiled and installed 1.6.x, and 1.7.40.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

sun5kong wrote: 1. Yes, when I finish installation of wine, winecfg will be hung when I press keyboard. (wine 1.7.40, 1.6.x)
I asked about a clean wineprefix. Reinstalling Wine does not wipe the old wineprefix; you have to delete it manually and then recreate it. If you haven't done that, do so with 1.7.40, and if the problem persists, post terminal output from running winecfg.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote: I asked about a clean wineprefix. Reinstalling Wine does not wipe the old wineprefix; you have to delete it manually and then recreate it. If you haven't done that, do so with 1.7.40, and if the problem persists, post terminal output from running winecfg.
I list the commands I used and log of winecfg.

Code: Select all

#make uninstall
#make install
#mv .wine/ .wine.bk

# winecfg
wine: created the configuration directory '/root/.wine'
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x78d901, context 0x3693e10, init_notify 0, handle 0x3f5e854): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/root/.wine' has been updated.
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
Attachments
Screenshot.JPG
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

Code: Select all

wine: created the configuration directory '/root/.wine'
Never run Wine as root. Delete that wineprefix and create one as a normal user.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote:Never run Wine as root. Delete that wineprefix and create one as a normal user.
issue is not gone.

Do you mean do it like this?

Code: Select all

sun@test_linux ~ $ mv .wine/ .wine.bk
sun@test_linux ~ $ winec
winecfg      wineconsole  winecpp      
sun@test_linux ~ $ winecfg 
wine: created the configuration directory '/home/sun/.wine'
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x78d901, context 0x3693e10, init_notify 0, handle 0x3f5e854): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/home/sun/.wine' has been updated.
fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
sun@test_linux ~ $ 
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

MetaTrader has no this issue.
IE has no this issue.

sounds the some kinds of windows will be hung when we press keyboard,
but windows with TextEdit box has not this issue.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

I have confirmed the Dialog window will be hung when we press any key.
Other window will not be hung.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

Does winecfg have this problem in a clean wineprefix when run as a normal user? If yes, something is wrong with your system. Try disabling desktop effects and checking/unchecking various combinations of allowing the desktop manager to control/decorate the windows.

It's also possible your Wine build is broken. Did you install everything ./configure complained about being missing?
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote:Does winecfg have this problem in a clean wineprefix when run as a normal user? If yes, something is wrong with your system. Try disabling desktop effects and checking/unchecking various combinations of allowing the desktop manager to control/decorate the windows.
Yes, but I do nothing in my gnome desktop. I don't know what combinations should be checked/unchecked.
dimesio wrote: It's also possible your Wine build is broken. Did you install everything ./configure complained about being missing?
No, I don't install everything, there are still some warning in ./configure.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

sun5kong wrote:I don't know what combinations should be checked/unchecked.
Experiment.
No, I don't install everything, there are still some warning in ./configure.
Post them.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote:
No, I don't install everything, there are still some warning in ./configure.
Post them.

Code: Select all

./tools/makedep.c: In function 'get_expanded_make_variable':
./tools/makedep.c:1483: warning: 'tmp' may be used uninitialized in this function
config.status: executing Makefile commands
config.status: executing .gitignore commands

configure: libxcursor development files not found, the Xcursor extension won't be supported.
configure: libxi development files not found, the Xinput extension won't be supported.
configure: XShm development files not found, X Shared Memory won't be supported.
configure: XShape development files not found, XShape won't be supported.
configure: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
configure: libxrandr development files not found, XRandr won't be supported.
configure: libxinerama development files not found, multi-monitor setups won't be supported.
configure: libxcomposite development files not found, Xcomposite won't be supported.
configure: libGLU development files not found, GLU won't be supported.
configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL development files not found, OpenCL won't be supported.
configure: pcap development files not found, wpcap won't be supported.
configure: libdbus development files not found, no dynamic device support.
configure: libsane development files not found, scanners won't be supported.
configure: libv4l development files not found.
configure: libgphoto2 development files not found, digital cameras won't be supported.
configure: libgphoto2_port development files not found, digital cameras won't be auto-detected.
configure: liblcms2 development files not found, Color Management won't be supported.
configure: gstreamer-0.10 base plugins development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcapi20 development files not found, ISDN won't be supported.
configure: libcups development files not found, CUPS won't be supported.
configure: fontconfig development files not found, fontconfig won't be supported.
configure: libgsm development files not found, gsm 06.10 codec won't be supported.
configure: libtiff development files not found, TIFF won't be supported.
configure: libmpg123 development files not found (or too old), mp3 codec won't be supported.
configure: libopenal development files not found (or too old), OpenAL won't be supported.

configure: WARNING: libxrender development files not found, XRender won't be supported.

configure: WARNING: libjpeg development files not found, JPEG won't be supported.

configure: Finished.  Do 'make' to compile Wine.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

Code: Select all

configure: WARNING: libxrender development files not found, XRender won't be supported.
You definitely need to install that, and everything else listed related to X.

As to the rest of it, which ones you need depends on what devices you have and whether any of your apps use sound.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

dimesio wrote:

Code: Select all

configure: WARNING: libxrender development files not found, XRender won't be supported.
You definitely need to install that, and everything else listed related to X.

As to the rest of it, which ones you need depends on what devices you have and whether any of your apps use sound.
Thank you, I will try it.

I have one more question, what pkg is related to XShm?
I hear it will improve the performance.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

Ask your distro what packages you need. I don't use Red Hat, so I don't know.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: app is hung when I input any word by keyboard

Post by sun5kong »

I have installed
libxcursor libxi XShm libOSMesa libxrender, but issue is not solved.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: app is hung when I input any word by keyboard

Post by dimesio »

Then try installing the other things ./configure complains about.
Locked