http://bugs.winehq.org/show_bug.cgi?id=4619
damjan.jov(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4099 is|0 |1
obsolete| |
------- Additional Comments From damjan.jov(a)gmail.com 2006-15-11 01:58 -------
Created an attachment (id=4100)
--> (http://bugs.winehq.org/attachment.cgi?id=4100&action=view)
winsock-based patch to wake up select
try this patch (it uses the winsock shutdown instead of the native one)
--
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=6622
------- Additional Comments From patrol(a)sinus.cz 2006-15-11 01:52 -------
It still didn't help here (openGL problems caused by running wine remotely
over ssh X forwarding, but I think it's not important):
patrol@arcus:~/xnview/XnView$ wine xnview.exe
Xlib: extension "GLX" missing on display "localhost:10.0".
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect
problems
err:wgl:has_opengl Intialization of OpenGL info failed, disabling OpenGL!
fixme:seh:check_no_exec No-exec fault triggered at 0x401000, enabling
work-around
fixme:seh:check_no_exec No-exec fault triggered at 0x4c9551, enabling
work-around
Segmentation fault
--
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=6622
------- Additional Comments From mike(a)codeweavers.com 2006-15-11 01:36 -------
My patch fixes XnView with Linux black 2.6.18.1-skas3-v9-pre9 (ie. Linux
2.6.18.1 with the skas3 patch applied).
--
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=4619
------- Additional Comments From martin(a)gamesplace.info 2006-15-11 01:30 -------
The patch does not solve the issue for me, but it would be better to have
someone else who confirms that it really does not work.
--
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=6622
------- Additional Comments From patrol(a)sinus.cz 2006-15-11 01:21 -------
Yes I have, and you don't have to download anything. Just rename your .wine
directory and run wineprefixcreate:
/opt/wine/bin/wineprefixcreate: line 171: 17866 Segmentation fault (core
dumped) "${WINELOADER:-$bindir/wine}" rundll32.exe
setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf
This fault also goes away when the kernel has noexec disabled, so I hope it is
related to this bug.
--
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=4619
------- Additional Comments From damjan.jov(a)gmail.com 2006-15-11 01:19 -------
Created an attachment (id=4099)
--> (http://bugs.winehq.org/attachment.cgi?id=4099&action=view)
patch to wake up select
So far, Jan's theory (that "Test failed: closesocket did not wakeup select" is
responsible) seems the most probable to me. I've run some tests, and on Linux,
this is standard behaviour: if one thread is polling with an infinite timeout,
and another closes one of the sockets being polled, the poll never wakes up
(whether you are using select, poll, or epoll). See
http://lkml.org/lkml/2006/7/14/115 and
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6299188.
This is not a bug, it's a POSIX-compliant feature (see
http://lkml.org/lkml/2006/7/14/225). A possible workaround is to call
shutdown() before close(), which will wake up all selects on that socket.
So try this patch (cd wine-0.9.25; patch -p1 < wakeup_select.patch) and report
how it goes.
--
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=6622
------- Additional Comments From mail(a)science.su 2006-15-11 01:14 -------
> The original bug says "a lot of windows apps cause wine to segfault or
> crash".
Yes. Almost all my favorite Windows applications (20+) crashes because of this bug.
> Do you have any freely downloadable examples?
Here is enough complex but relatively small program (freeware, 3.2MB):
http://download2.xnview.com/XnView-win.zip
Install it with noexec=off. Then try to run it. It should work perfectly.
Then reboot with noexec=on. Now it should crash at startup because of this bug.
Unfortunately I cannot test the patch right now but I will try it soon and
report about results.
--
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=6595
------- Additional Comments From truiken(a)gmail.com 2006-15-11 01:06 -------
The install isn't correct. C:\Data and some other directory that is in C:\
should be in the Gun program file's directory.
--
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=6622
------- Additional Comments From mike(a)codeweavers.com 2006-15-11 00:45 -------
The original bug says "a lot of windows apps cause wine to segfault or crash".
Do you have any freely downloadable examples?
--
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.