Opened 16 years ago
Closed 9 years ago
#5 closed defect (worksforme)
setup crashes in win64, windows server 2003
Reported by: | warmerdam | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Installer |
Version: | Alpha | Keywords: | |
Cc: | warmerdam |
Description
"Tamas and I have experienced crashes of the installer before the first window comes up. Tamas on win64, and me on Windows Server 2003. The same problem does not occur with the distributed cygwin setup.exe.
A debug traceback indicates it occurs in the call to OpenProcessToken?() in the is_admin() function. " --frank
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Tamas writes:
I've just tried the current installer (compressed) and the yesterday's version and both were working pretty well on my Win2003 x64 R2. I wonder why you've found such problems with the current version.
...
I'd add to my previous statements that the big setup cannot be renamed. If I rename the file eg. to osgeo4w-setup1.exe then the crashing issue is stepping up. The compressed version can be renamed without problems though.
Frank writes:
I wonder if you have an opinions on why this might be? I'm getting the impression there is something that is corrupting the stack or heap in a subtle way and it is very sensitive to details of memory layout and code arrangement. But, I don't really know how to dig into the problem and try to resolve it.
comment:3 by , 16 years ago
Reporter: | changed from | to
---|
comment:4 by , 16 years ago
I've not had any problems with setup on WinXP Professional x64, SP2 (other than the ones previously documented, which I don't believe are related). The last setup I used is:
20/03/2008 04:24 PM 1,144,320 osgeo4w-setup.exe
cheers,
matt wilkie
comment:6 by , 9 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No recent similar reports. Probably fixed.
"In r1027, r1028 and r1029 I have added a hacky "--safe" mode that skips a bunch of win32 calls related to administrative capabilities. This safe mode can be turned on with the --safe commandline switch to setup. I would consider making this the default, but I don't really understand what the code I'm disabling does.
The changes can be seen at:
Tamas, I'm uploading a new osgeo4w-setup.exe. I'd appreciate it if you could test it sometime on win64 (passing the --safe switch) and see if it works.
My debugging conditions on my test win2003 server were very painful (remote desktop over a very high latency link) so I did not try and do a good job of debugging, just hack around the problem code. Further analysis of this problem will be needed some day." --frank