http://bugs.winehq.org/show_bug.cgi?id=11661
Summary: Confusing error message when executing application on noexec fs Product: Wine Version: 0.9.55. Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: ntoskrnl AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net
Hi there,
I'm suggesting to make some checks prior to loading and executing applications. The problem I encountered yesterday was that when trying to start applications from a filesystem with the noexec parameter enabled the whole app pagefaults.
That was really my mistake because I accidentally changed some lines in the fstab after changing the encryption engine of my system. I only have the exec parameter enabled on the games filesystem, all other data filesystem don't have it enabled.
It would be a good thing to output a somehow more informative error message when such a configuration is encountered (executing code from noexec fs).
I suggest this because I was quite confused seeing the application to pagefault that was running two days ago (and I didn't do any package updates in these two days).
Thanks, Tobias
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2008-02-21 10:05:06 --- Can you attach (as a file) the entire console output when your app crashes?
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2008-02-21 15:40:31 --- Created an attachment (id=10888) --> (http://bugs.winehq.org/attachment.cgi?id=10888) Counter-Strike 1.5 (Old HL engine)
Pagefault when starting the engine from noexec filesystem
http://bugs.winehq.org/show_bug.cgi?id=11661
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com Severity|minor |enhancement Component|ntoskrnl |loader
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2008-02-22 10:27:20 --- Hm... My only guess is that, if a page is attempted to be mmap'ed as executable by the preloader, and this fails, that we could print a better error message. I'm not sure other than that. (And I'm really tempted to say this isn't exactly a Wine bug, but perhaps you're right.)
I'll mark this as an enhancement, if you don't mind. Oh, and the component isn't ntoskrnl. I'll put it in the loader.
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #4 from Tobias Jakobi liquid.acid@gmx.net 2008-02-22 12:54:27 --- OK, sorry about the wrong component and the other stuff. I usually only file reports about problems with the ddraw, d3d and input components and here I didn't knew where exactly the crash did originate from.
And thanks for looking into this!
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=11661
Jan Buecken jb.faq@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Jan Buecken jb.faq@gmx.de 2008-05-27 09:58:53 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #6 from Tobias Jakobi liquid.acid@gmx.net 2008-05-27 10:06:40 --- I thought this was fixed already?
The loader really should output some meaningfull error message when trying to start binaries from a nonexec fs. At least this saves us from bug reports that are not really related to the problem reported..
http://bugs.winehq.org/show_bug.cgi?id=11661
Jan Buecken jb.faq@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jb.faq@gmx.de
--- Comment #7 from Jan Buecken jb.faq@gmx.de 2008-05-27 10:08:15 --- Hi, since I updatet my system to an amd64, I had the problem that I cannot start any exe from a ntfs partition (this works on an old system).
This leads up that I believed this bug
http://bugs.winehq.org/show_bug.cgi?id=12836
belongs to my problem. But the solution was to set the exec option to my mount options for ntfs. Hence a test of wine, which detect this error would be gread and maybe prevent some bugs.
Thanks
http://bugs.winehq.org/show_bug.cgi?id=11661
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.0
--- Comment #8 from Austin English austinenglish@gmail.com 2008-05-27 12:23:20 --- This shouldn't be too hard to fix, and would prevent a few false bugs. Might be too late, but nominating for 1.0.
http://bugs.winehq.org/show_bug.cgi?id=11661
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.0 |1.0.0
http://bugs.winehq.org/show_bug.cgi?id=11661
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |simchak@umd.edu
--- Comment #9 from Dan Kegel dank@kegel.com 2008-05-30 11:57:18 --- *** Bug 12836 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11661
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Target Milestone|1.0.0 |1.2.0
--- Comment #10 from Dan Kegel dank@kegel.com 2008-06-09 11:40:05 --- Wine is in deep code freeze, deferring.
http://bugs.winehq.org/show_bug.cgi?id=11661
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #11 from Rafal Stanilewicz washuu@eastnews.com.pl 2008-11-04 18:55:07 --- I confirm this bug as of wine 1.1.7.
The bug is strange - not happens in all cases, but it's always dependable on program. In another words - there are programs, that wine CAN run from noexec partition.
My configuration: Ubuntu 8.10 64bit, partition ext3 with noexec.
When I try to run for example ftp://ftp.autodesk.com/WebPub/VoloView/english/vve201setup.exe it crashes with coredump, on the third machine line of code:
First chance exception: page fault on execute access to 0x004083f7 in 32-bit code (0x004083f7). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:004083f7 ESP:0033ff0c EBP:0033ffe8 EFLAGS:00010202( - 00 - -RI1) EAX:00000000 EBX:7b8b4888 ECX:ea0430d5 EDX:00000000 ESI:7ffdf000 EDI:004083f7 Stack dump: 0x0033ff0c: 7b8784d7 7ffdf000 00000000 00000000 0x0033ff1c: 00000000 00000000 00000000 00000000 0x0033ff2c: ffffffff 7b875e30 7b845180 7b8b4888 0x0033ff3c: 7ffdf000 00000000 0033ffe8 05299e22 0x0033ff4c: 6ddf08d5 00000000 00000000 00000000 0x0033ff5c: 00000000 00000000 00000000 00000000 Backtrace: =>1 0x004083f7 EntryPoint() in vve201setup (0x0033ffe8) 0x004083f7 EntryPoint in vve201setup: pushl %ebp
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #12 from Tobias Jakobi liquid.acid@gmx.net 2009-01-29 16:48:23 --- Reconfirming with wine-1.1.13:
Tested again with CS 1.5
err:module:attach_process_dlls "vgui.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"H:\Half-Life\Client\hl.exe" failed, status c0000005
http://bugs.winehq.org/show_bug.cgi?id=11661
Predatory QQmber virtuousfox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |virtuousfox@gmail.com
--- Comment #13 from Predatory QQmber virtuousfox@gmail.com 2009-04-09 22:38:42 --- *** Bug 17988 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #14 from Tobias Jakobi liquid.acid@gmx.net 2009-04-19 16:18:31 --- Reconfirming with wine-1.1.19
http://bugs.winehq.org/show_bug.cgi?id=11661
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fn65j24kqrgxys7@thisisnotmy | |realemail.com
--- Comment #15 from Austin English austinenglish@gmail.com 2009-06-04 22:46:53 --- *** Bug 18783 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11661
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #16 from Tobias Jakobi liquid.acid@gmx.net 2009-08-06 11:03:13 --- Reconfirming with wine-1.1.26
http://bugs.winehq.org/show_bug.cgi?id=11661
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=11661
--- Comment #17 from Jan Buecken jb.faq@gmx.de 2010-05-10 05:44:06 --- I run in this bug again with a new harddrive. Reconfirming with wine-1.1.43.
This bug is marked as milestone for 1.2. Now I read it come to a new code freeze. Please fix this and don't let me read "comment 10" again!
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=11661
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2010-06-16 13:34:38 --- Warning now printed by b9a13d6d819ac265b1a75005045b42edfecfb704.
http://bugs.winehq.org/show_bug.cgi?id=11661
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2010-06-18 12:46:17 --- Closing bugs fixed in 1.2-rc4.
https://bugs.winehq.org/show_bug.cgi?id=11661
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b9a13d6d819ac265b1a75005045 | |b42edfecfb704 URL| |https://web.archive.org/web | |/20171114231847/http://down | |load.autodesk.com/WebPub/Vo | |loView/english/vve201setup. | |exe CC| |focht@gmx.net Hardware|Other |x86