http://bugs.winehq.org/show_bug.cgi?id=18014
Summary: Paraworld page fault when starting game Product: Wine Version: 1.1.18 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: steve@dark-green.com
Created an attachment (id=20395) --> (http://bugs.winehq.org/attachment.cgi?id=20395) output from wine, WINEDEBUG set to empty in environment
Game starts OK, but selecting a campaign to start hangs the window. Wine reports an unhandled page fault in ntdll related to the Paraworld server PWServer.exe thread.
http://bugs.winehq.org/show_bug.cgi?id=18014
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-12 12:19:51 ---
PE 65f00000-65fc2000 Deferred ole32
Do not use any native dlls when reporting bugs. Or link to another bug explaining why you used this native dll.
http://bugs.winehq.org/show_bug.cgi?id=18014
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Component|ntdll |-unknown
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-12 22:16:13 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=18014
Steve De Caux steve@dark-green.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |steve@dark-green.com Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from Steve De Caux steve@dark-green.com 2009-04-13 01:50:09 --- (In reply to comment #0)
Created an attachment (id=20395)
--> (http://bugs.winehq.org/attachment.cgi?id=20395) [details]
output from wine, WINEDEBUG set to empty in environment
Game starts OK, but selecting a campaign to start hangs the window. Wine reports an unhandled page fault in ntdll related to the Paraworld server PWServer.exe thread.
attached is the log from wine with the native ole32 removed,
I hope this is better, sorry about the last tracelog
http://bugs.winehq.org/show_bug.cgi?id=18014
Steve De Caux steve@dark-green.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20395|0 |1 is obsolete| |
--- Comment #4 from Steve De Caux steve@dark-green.com 2009-04-13 01:51:34 --- Created an attachment (id=20413) --> (http://bugs.winehq.org/attachment.cgi?id=20413) wine log without ole32 native
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #5 from Steve De Caux steve@dark-green.com 2009-04-13 01:56:55 --- I should also clarify - I updated to wine 1.19 this am first.
If you could give me any hints what I could do to resolve this I would be extremely grateful !
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-13 08:59:39 --- You need to install debug symbols for Wine. Otherwise your backtrace is useless.
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #7 from Steve De Caux steve@dark-green.com 2009-04-17 04:41:23 --- Debug trace attached using WINEDEBUG=+relay,+seh,+tid
I've taken the liberty of removing the middle 1.6m lines that are generated while the main menu is displayed, so what's attached is the first 100k lines (wine.head.log.bz2) and the last 1m lines (wine.tail.log.bz2).
In the tail log, the unhandled page fault is reported at line 915706, with the Modules dump at 970461.
In userspace, process Paraworld.exe is running the main menu (threads 24, 25 etc). I select the campaign button from the main menu, then select the "Start Mission" button from the campaign menu. This is the point where it tries to crank up PWserver.exe and the page fault occurs soon after.
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #8 from Steve De Caux steve@dark-green.com 2009-04-17 04:42:22 --- Created an attachment (id=20499) --> (http://bugs.winehq.org/attachment.cgi?id=20499) Wine log head 100k lines
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #9 from Steve De Caux steve@dark-green.com 2009-04-17 04:43:00 --- Created an attachment (id=20500) --> (http://bugs.winehq.org/attachment.cgi?id=20500) wine log tail 1m lines
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #10 from Austin English austinenglish@gmail.com 2009-10-29 15:26:11 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18014
Andréas Livet andreas.livet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.livet@gmail.com
--- Comment #11 from Andréas Livet andreas.livet@gmail.com 2010-10-28 16:02:28 CDT --- I tried with Paraworld 1.05 and wine git ~1.3.5. Maybe my paraworld version differ cause it comes from a game magazin (Joystick), and I didn't need a Crack to install and run the game.
I got an ACCESS_VIOLATION exception at the same moment (when I try to start a level), then the program page fault, but the game is still running, I got the loading screen, the music etc. But I can't do anything (except moving the mouse).
I'll attach my log
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #12 from Andréas Livet andreas.livet@gmail.com 2010-10-28 16:07:58 CDT --- Created an attachment (id=31576) --> (http://bugs.winehq.org/attachment.cgi?id=31576) Here is the log with WINEDELAY=1 WINEDEBUG=+relay,+seh,+tid options
I started to log just before I click on the "start" button and stopped ~1 min (maybe less) after.
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #13 from Andréas Livet andreas.livet@gmail.com 2010-10-28 16:13:43 CDT --- (In reply to comment #12)
Created an attachment (id=31576)
--> (http://bugs.winehq.org/attachment.cgi?id=31576) [details]
Here is the log with WINEDELAY=1 WINEDEBUG=+relay,+seh,+tid options
I started to log just before I click on the "start" button and stopped ~1 min (maybe less) after.
(In reply to comment #11)
I tried with Paraworld 1.05 and wine git ~1.3.5. Maybe my paraworld version differ cause it comes from a game magazin (Joystick), and I didn't need a Crack to install and run the game.
I got an ACCESS_VIOLATION exception at the same moment (when I try to start a level), then the program page fault, but the game is still running, I got the loading screen, the music etc. But I can't do anything (except moving the mouse).
I'll attach my log
I really want to understand what is going on but I don't know how to look. I am a developer and I wanted to learn.
In the log I got the 0xC0000005 exception, then I got some calls to msvcrt.dll, does that mean that the bug come from msvcrt? Or does that mean that the application received the exception and then call a msvcrt function?
The wine message of the page fault is : "wine: Unhandled page fault on read access to 0x00000000"
Does that means that the application try to read a NULL pointer or is it a consequence of the ACCESS_VIOLATION exception?
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #14 from Austin English austinenglish@gmail.com 2010-11-03 16:43:28 CDT --- If you suspect msvcrt, try 'winetricks vcrun6'.
http://bugs.winehq.org/show_bug.cgi?id=18014
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #15 from GyB gyebro69@gmail.com 2011-08-28 02:17:22 CDT --- I've recently tried Paraworld Gold v1.05 on Fedora 15 and my experience differs a bit: when starting a single-player game (campaign or skirmish), the game neither crashes nor freezes...it just sits there with the loading screen (the mouse pointer is moving and music is playing but nothing else happens). As if the game was waiting for something...
After starting a single-player game, there are 3 processes running: PWClient.exe Paraworld.exe PWServer.exe 127.0.0.1:666
PWServer.exe tries to communicate on a low port number which is not allowed for a normal user under Linux. Unfortunately, I couldn't find a way to change that port number by looking into the game config files. Maybe it is hard-coded in the executable.
On the other hand, multiplayer works because in MP the PWServer.exe uses a higher port number. In case of hosting a MP game, in the process list: PWServer.exe my.ip.add.ress:1905
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #16 from Andréas Livet andreas.livet@gmail.com 2011-08-29 08:11:08 CDT --- (In reply to comment #15)
I've recently tried Paraworld Gold v1.05 on Fedora 15 and my experience differs a bit: when starting a single-player game (campaign or skirmish), the game neither crashes nor freezes...it just sits there with the loading screen (the mouse pointer is moving and music is playing but nothing else happens). As if the game was waiting for something...
After starting a single-player game, there are 3 processes running: PWClient.exe Paraworld.exe PWServer.exe 127.0.0.1:666
PWServer.exe tries to communicate on a low port number which is not allowed for a normal user under Linux. Unfortunately, I couldn't find a way to change that port number by looking into the game config files. Maybe it is hard-coded in the executable.
On the other hand, multiplayer works because in MP the PWServer.exe uses a higher port number. In case of hosting a MP game, in the process list: PWServer.exe my.ip.add.ress:1905
I must be really dumb... cause I got exactly the same behaviour : "...but the game is still running, I got the loading screen, the music etc. But I can't do anything (except moving the mouse)..."
The page fault must have occurred only when I force the game exit...
I think we can close this bug or change it's name...
Sorry for the bad report.
Andreas
http://bugs.winehq.org/show_bug.cgi?id=18014
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #17 from Bruno Jesus 00cpxxx@gmail.com 2012-09-01 20:31:33 CDT --- Is the page fault still an issue in wine 1.5.12 (or newer)?
The port restriction is most likely wontfix. Maybe some setcap magic or iptables redirection could do the trick.
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #18 from Andréas Livet andreas.livet@gmail.com 2012-09-02 07:13:34 CDT --- That is really strange cause now, when I try to install the game with wine 1.5.11 (I use Ubuntu 12.04 ppa) I can't insert all the activation key. The installer seems to limit the text input size, not by the number of caracters, but by the displayed size of those caracters... wierd.
So I can not insert the last caracter of the activation key. I tried with other serial found on internet (I owned the game, but just for trying) and depending on the caracter in the key, sometimes I can't insert the last two caracters, but I didn't found a combinaison "little enough" to let me enter the full key.
Is there a way to reduice wine default font size ?
I'll uplaod a screenshot if you want.
Andréas
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com 2012-09-02 07:15:39 CDT --- Thanks for trying again. You're hitting an other bug I don't recall now, as soon as I find it I will add to the "depends on".
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #20 from Andréas Livet andreas.livet@gmail.com 2012-09-02 07:17:33 CDT --- Created attachment 41554 --> http://bugs.winehq.org/attachment.cgi?id=41554 Paraworld activation window
I can't enter the last caracter of the activation key.
Should I fill a new bug for that ?
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #21 from Bruno Jesus 00cpxxx@gmail.com 2012-09-02 07:19:00 CDT --- Please, read http://bugs.winehq.org/show_bug.cgi?id=20456#c30 and check if it solves the issue.
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #22 from Andréas Livet andreas.livet@gmail.com 2012-09-02 08:48:52 CDT --- Thanks it solve the problem ;).
So tried to play the game, the problem describe by GyB on comment #15 is still present, but as explained there is no Segfault so I think the bug can be closed.
I tried to redirect udp and tcp port 666 to 6666 using this command : sudo iptables -t nat -A PREROUTING -i eth0 -p udp --dport 666 -j REDIRECT --to-port 6666 sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 666 -j REDIRECT --to-port 6666
But it didn't work, tought I don't know anything about iptables...
Andréas
http://bugs.winehq.org/show_bug.cgi?id=18014
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #23 from Bruno Jesus 00cpxxx@gmail.com 2012-09-02 09:02:39 CDT --- Erich, do you know if it's possible to use setcap to be able to bind to low ports? Or if there is any other way? Please, read comment 15 and comment 22.
http://bugs.winehq.org/show_bug.cgi?id=18014
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #24 from Bruno Jesus 00cpxxx@gmail.com 2012-09-02 09:04:04 CDT --- (In reply to comment #22)
So tried to play the game, the problem describe by GyB on comment #15 is still present, but as explained there is no Segfault so I think the bug can be closed.
Resolving fixed.
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #25 from GyB gyebro69@gmail.com 2012-09-02 10:18:13 CDT --- Using setcap on wineserver doesn't work here:
sudo setcap cap_net_raw+epi /usr/local/bin/wineserver
which resulted in
/usr/local/bin/wineserver: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
That's probably bug #26256
Fedora 17 x86
http://bugs.winehq.org/show_bug.cgi?id=18014
--- Comment #26 from Erich Hoover ehoover@mines.edu 2012-09-02 11:29:31 CDT --- (In reply to comment #25)
Using setcap on wineserver doesn't work here:
sudo setcap cap_net_raw+epi /usr/local/bin/wineserver
cap_net_raw is not the appropriate capability to bind to restricted ports, you need to use cap_net_bind_service instead.
...
/usr/local/bin/wineserver: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
...
I haven't played with capabilities in a while, but I believe you're supposed to apply them to wine-preloader.
http://bugs.winehq.org/show_bug.cgi?id=18014
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Alexandre Julliard julliard@winehq.org 2012-09-14 13:36:31 CDT --- Closing bugs fixed in 1.5.13.