[ANNOUNCEMENT] Updated: setup (2.911)

Rainer Emrich rainer-lists@emrich-ebersheim.de
Thu Dec 30 19:04:32 GMT 2021


Some additional Info.

Am 30.12.2021 um 19:31 schrieb Rainer Emrich:
> Hi Jon,
> 
> thanks for your quick answer.
> 
> Am 30.12.2021 um 18:38 schrieb Jon Turney:
>> On 30/12/2021 16:45, Rainer Emrich wrote:
>>> Hi Jon,
>>>
>>> Am 29.12.2021 um 16:58 schrieb Jon Turney:
>>>> A new version of Setup (2.911) has been uploaded to:
>>>>
>>>>   https://cygwin.com/setup-x86_64.exe  (64 bit version)
>>>>   https://cygwin.com/setup-x86.exe     (32 bit version)
>>>>
>>> for me the new setup executables do not work, same for both:
>>>
>>> Microsoft Windows [Version 10.0.19044.1415]
>>> (c) Microsoft Corporation. Alle Rechte vorbehalten.
>>>
>>> D:\System\Software\cygwin-all>setup-x86_64.exe --version
>>>
>>> D:\System\Software\cygwin-all>Cygwin setup 2.911
>>>
>>> D:\System\Software\cygwin-all>setup-x86_64.exe
>>>
>>> D:\System\Software\cygwin-all>Starting cygwin install, version 2.911
>>> User has backup/restore rights
>>> User has symlink creation right
>>
>> That's disappointing.
>>
>> Perhaps you can try the following (unfortunately complex) procedure to 
>> help me investigate the problem:
>>
>> 1. Using an old setup from https://cygwin.com/setup/, install the gdb 
>> and upx packages.
>>
>> 2. Fetch setup 2.911, and the corresponding symbols.  Make sure setup 
>> is executable.
>>
>> $ wget https://cygwin.com/setup/setup-2.911.x86_64.exe
>> $ chmod +x setup-2.911.x86_64.exe
>> $ wget https://cygwin.com/setup/setup-2.911.x86_64.dbg
>>
>> 3. Decompress the setup executable using 'upx -d'.
>>
>> $ upx -d setup-2.911.x86_64.exe
>>
>> 4. Run setup under gdb.  Avoid elevation so setup stays under the 
>> control of gdb.  Load the symbol file into gdb.
>>
>> $ gdb --args ./setup-2.911.x86_64.exe -B
>> [...]
>> (gdb) symbol-file setup-2.911.x86_64.dbg
>> Reading symbols from setup-2.911.x86_64.dbg...
>> (gdb) r
>>
>> 5. When gdb reports an error, capture a backtrace.
>>
>> (gdb) bt full
> I get the following:
> 
> (gdb) r
> Starting program: /home/rainer/tmp/setup-2.911.x86_64.exe -B
> [New Thread 23512.0x4d2c]
> [New Thread 23512.0x4e2c]
> [New Thread 23512.0x585c]
> Starting cygwin install, version 2.911
> User has NO backup/restore rights
> User has symlink creation right
> [Thread 23512.0x4d2c exited with code 1]
> [Thread 23512.0x4e2c exited with code 1]
> [Thread 23512.0x585c exited with code 1]
> 
> Program terminated with signal SIGHUP, Hangup.
> The program no longer exists.
> (gdb)
> 
> That's for a unprivileged user.
> 

My unpriveleged user has symlink creation right and the SYSTEM CYGWIN 
environment variable is set to winsymlink:native.



More information about the Cygwin mailing list