"Attempt to execute non-executable address" on Server 2008 when ???Terminal Services installed

"Attempt to execute non-executable address" on Server 2008 when ???Terminal Services installed

Post by Corinna Vi » Fri, 31 Oct 2008 21:19:27



That seems to depend on the GNU ld version used to link the executable.
Some applications in the distro have a R/O text segment, some don't.
The applications in the distro have been built by many different people
at different times. But that doesn't explain the effect and works fine
on any other system, just not on 2008 with TS.


I did that, see my posting from about an hour ago, Message ID
<gec49u$kh3$ XXXX@XXXXX.COM >.


I have written a more detailed description of my findings to the MS
support, asking to re-open the case. Setting the page protection
apparently occurs in tsappcmp.dll, so it's not a problem in a third
party application per se, which was the reasoning to refuse the case.

I didn't get a reply yet, though...


Corinna

--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
 
 
 

1. "Attempt to execute non-executable address" on Server 2008 when Terminal Services installed

2. "Attempt to execute non-executable address" on Server 2008 when ?Terminal Services installed


Thanks for the hint. I checked the initialization process and there are
only two cases in which VirtualProtect could be called at init time:

- Fixing inherited shared memory regions created by the parent process
using the POSIX mmap call in the child process after fork.
- Reloading shared libraries dynamically loaded by the parent process
using the LD_PRELOAD mechanism in the child process after fork.

Both cases are only triggered by a fork() and there's no fork involved
in the crashing cases. In fact, bash already crashes when called
immediately or through a cmd script. To be sure I debugged this again
and no VirtualProtect call within Cygwin gets called.

Thanks all the same. Every idea could be helpful.


Corinna

--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

3. "Attempt to execute non-executable address" on Server 2008 when ??Terminal Services installed

4. Server 2008 - Terminal Services Not Working After Installing Updat

5. Adobe Reader Download & Install Server 2008 Terminal Services

6. Server 2008 - Terminal Services Not Working After Installing U

7. Installing Terminal Services under Server 2008

8. Windows 2008 Terminal Server socket error executable on network sh

9. Spooler service stopping on Windows Server 2008 Terminal Server

10. Terminal Services on Non-Auth Windows 2008 Datacenter - is that legal?

11. Cannot Install SQL Server 2008 Reporting Services on Windows 2008

12. Sql server 2008 will not install on extra Windows 2008 server that comes with SBS 2008

13. TS License manager on 2008 DC - Terminal Server on 2008 Member Server

14. Execute> non-executable from VB

15. Windows Terminal Server 2008 / non-clients need to access internet