All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
RE: ksh dumping core (dep off)
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
RE: ksh dumping core (dep off) - Sep. 10, '05, 6:42:18 AM
|
|
|
prj32
Posts: 29
Joined: Oct. 16, '04,
Status: offline
|
Anyone seen this when executing perl? (after having the abovementioned patch applied). I haven't yet disabled DEP (need to arrange reboot) - however I have tried inserting PSXSS.EXE into the DEP exclusion list, which doesn't sort it out.
$ perl
Memory fault (core dumped)
|
|
|
RE: ksh dumping core (dep off) - Sep. 10, '05, 10:47:44 AM
|
|
|
breiter
Posts: 294
Joined: Jun. 14, '04,
From: Washington, DC
Status: offline
|
Yeah. DEP causes any Interix binaries compiled with GCC to fault out. I have never had any luck with setting exclusion lists. It just has to be turned off entirely, which is a real shame.
Microsoft are you listening? What bout fixing GCC for Interix so that it builds binaries that are compatible with DEP? Could it be GCC 4 while you're at it? And it would be nice if you got the code accepted into the CVS tree, too.
|
|
|
RE: ksh dumping core (dep off) - Sep. 10, '05, 2:43:25 PM
|
|
|
markfunk
Posts: 622
Joined: Mar. 31, '03,
Status: offline
|
with respect to "putting it into the CVS tree", this is not
a Microsoft problem.
Microsoft (and before that, Softway Systems) tried really, really,
really hard to get the gcc changes back into the gcc CVS tree.
But for whatever reason, the gcc folks were not receptive to
incorporating the changes.
You should really focus your comments/complaints/suggestions
at the gcc maintainers.
I really don't see Microsoft doing very much with gcc compilers.
They really don't want to be in this business.
|
|
|
RE: ksh dumping core (dep off) - Sep. 10, '05, 7:19:20 PM
|
|
|
prj32
Posts: 29
Joined: Oct. 16, '04,
Status: offline
|
I just read on another post that if you exclude "posix.exe, psxss.exe, psxrun.exe" to excep list of DEP and restart your box - it works? Not disabling this whole lot, but a restart is required.
Any comments? or should I not waste my time - reboots are far between :-)
|
|
|
RE: ksh dumping core (dep off) - Sep. 10, '05, 7:50:19 PM
|
|
|
breiter
Posts: 294
Joined: Jun. 14, '04,
From: Washington, DC
Status: offline
|
> Microsoft (and before that, Softway Systems) tried really, really,
> really hard to get the gcc changes back into the gcc CVS tree.
> But for whatever reason, the gcc folks were not receptive to
> incorporating the changes.
Hmm. I wasn't aware of this. I'm sorry if my remarks were offensive.
In my ignorance, I assumed that Microsoft had been somewhat less than
collaborative with the GCC maintainers. It sounds like a political,
if not religious, problem.
> I really don't see Microsoft doing very much with gcc compilers.
> They really don't want to be in this business.
<rant>
Well that is the expectation that they have created by buying Interix,
continuing to ship it with GCC and promoting Interix to be a Windows
Subsystem in Win2k3 R2 and Vista. Competitors such as SUN and Apple ship
GCC and support it on their platform. How can the Subsystem for UNIX Applications
be taken seriously if it doesn't have binutils and GCC, etc. Microsoft may
not like the GNU project, but it is just reality that these are least common
denominator tools on a UNIX-like system.
I would think that Microsoft's main interest in the GCC compilers and
the rest of the GNU toolchain is to allow their customers to re-target UNIX
applications designed to be compiled with GCC onto the Interix subsystem. Which
is to say: make it easy for people to run just about everything on the Windows
platform.
To be honest, I'm not that interested in having these GNU tools for thier own sake.
They are just a vehicle to get code to build and just work without much trouble.
And *that* is interesting.
I don't think there can be any dispute that it is a problem that the GCC that Microsoft
ships with Interix won't build binaries that run with DEP, which is the default
setting of XP SP2 and Win2k3 SP1 and later. Microsoft should fix it or quietly sponsor
someone else to do so.
</rant>
|
|
|
RE: ksh dumping core (dep off) - Sep. 10, '05, 9:03:47 PM
|
|
|
breiter
Posts: 294
Joined: Jun. 14, '04,
From: Washington, DC
Status: offline
|
quote:
ORIGINAL: prj32
I just read on another post that if you exclude "posix.exe, psxss.exe, psxrun.exe" to excep list of DEP and restart your box - it works? Not disabling this whole lot, but a restart is required.
Any comments? or should I not waste my time - reboots are far between :-)
Nope. It doesn't work. I wish it did. You would just be wasting reboots.
For example, if you put these 3 binaries into the exception list in "OptOut" mode and then try to use the /toos ssh client, for example, it will segfault on you. It doesn't help to add specific Interix binaries that are segfaulting to the list, either. I don't understand the DEP system enough to know why this doesn't work or if there is a way around it. Unless someone else does know a real solution, you need to set "/noexecute=AlwaysOff" in boot.ini.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|