nagyistoce / cuda-waste

Automatically exported from code.google.com/p/cuda-waste
0 stars 0 forks source link

Waste in 64-bit mode requires Admin privileges. #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to run the emulator, Waste needs to spawn the client program with DLL 
injection.  In 32-bit mode, this wasn't a problem.  But for some reason, it 
fails in GetThreadContext in 64-bit mode if Waste isn't started with elevated 
privileges.

Original issue reported on code.google.com by Ken.Dom...@gmail.com on 25 May 2013 at 3:33

GoogleCodeExporter commented 9 years ago
Fixed in r153. The two causes were large automatic variables being allocated, 
causing a stack overflow.  The other cause is a bug in SymInitialize().  It 
seems it can take an environment which must be less than 512 chars or some 
multiple.

Original comment by Ken.Dom...@gmail.com on 28 May 2013 at 12:35