Re: [FIXED] was: Re: Unattended setup succeeding but not really

2016-02-15 Thread Csaba Raduly
On Fri, Feb 12, 2016 at 4:35 PM, Matthew Adams  wrote:
> Thanks to 
> http://superuser.com/questions/1031675/why-is-this-dos-batch-file-that-installs-cygwin-unattended-failing?noredirect=1#comment1451429_1031675
> the installation has been fixed!
>
> The problem was that I was using -D without understanding that it
> meant "download only".  I was basing everything on the output of the
> setup executable when giving --help as an argument.  Notice the
> description of the -D option:
>
> C:\Users\user\cyg64>cygsetup64.exe --help
>
> Command Line Options:
>
>  -D --download Download from internet
> ...
>
> It would be nice if the description was "Download from internet but do
> not install" or something.
>
> -matthew
>
>
> On Thu, Jan 28, 2016 at 10:32 AM, Matthew Adams  
> wrote:
>>
>> Anyone knowledgeable has had a chance to look into this?
>>
>> On Tue, Jan 26, 2016 at 5:30 PM, Matthew Adams  
>> wrote:

Please don't top-post. https://cygwin.com/acronyms/#TOFU is frowned
upon on this list.

I had to remove *eight* *hundred* *and* *fourty-four* lines which had
nothing to do with your current message.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Error in Cygwin/X 64-bit

2016-02-15 Thread Girish Joglekar
I installed cygwin and cygwin/X 64-bit on a Windows 10 laptop. I have
an application that uses Motif and Xt libraries. It runs on Linux and
Windows Vista with cygwin cygwin/X 32-bit. On Windows 10 I get
segmentation fault in cygXm-4.dll in the function XmRenderTableCopy().

Please help. I can send screen dumps of stack. I do not know how to
copy from X term screen and paste into gmail on PC. Email with screen
is not deliverable to cygwin.

Thank you.
Girish

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2

2016-02-15 Thread Corinna Vinschen
On Feb 14 05:10, Qian Hong wrote:
> Hi John,
> 
> Thanks a lot for testing Cygwin on Wine.
> Wine Staging team and I done some Cygwin support work on Wine, we are
> glad to see people using Cygwin on Wine!
> However, generic speaking, if Cygwin works on Windows but breaks on
> Wine, I believe the first place to report is the Wine project. You are
> welcome to submit bug report to https://bugs.wine-staging.com/ and CC
> me :)  It's also a good idea to search msys2/cygwin before submit new
> bugs: https://bugs.wine-staging.com/buglist.cgi?quicksearch=msys2&list_id=4821
> 
> If any Cygwin developers are annoyed by Wine related post then I'll feel 
> guilty.

Not at all.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: Possible Security Hole in SSHD w/ CYGWIN?

2016-02-15 Thread Corinna Vinschen
On Feb 14 13:36, Erik Soderquist wrote:
> I think the key point is that if no network password is stored using
> the "passwd -R" option, then there should be absolutely no network
> access at all in the current code/design, not a fall through to the
> cyg_server account's network access, regardless of how much or little
> network access that account has.

The problem is this:

I'm not aware of any explicit OS call which allows the process calling
CreateProcessAsUser to drop network credentials of the *caller* in the
child process running under another user token.

In fact, I'm not even aware of any call which allows to drop network
credentials even for the calling process, and that would be the wrong
thing to do anyway.

This is a clear cut case of "I need help" and "Patches gratefully
accepted".


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: Error in Cygwin/X 64-bit

2016-02-15 Thread Jon Turney

On 15/02/2016 11:35, Girish Joglekar wrote:

I installed cygwin and cygwin/X 64-bit on a Windows 10 laptop. I have
an application that uses Motif and Xt libraries. It runs on Linux and
Windows Vista with cygwin cygwin/X 32-bit. On Windows 10 I get
segmentation fault in cygXm-4.dll in the function XmRenderTableCopy().


Is this unnamed application available for others to try to reproduce the 
problem?



Please help. I can send screen dumps of stack. I do not know how to
copy from X term screen and paste into gmail on PC. Email with screen
is not deliverable to cygwin.


Xterm copies text selected using the left-mouse button to the clipboard.

Please attach your cygcheck output per https://cygwin.com/problems.html


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Last Version of Cygwin for XP

2016-02-15 Thread Eric Blake
On 02/13/2016 05:41 PM, Erik Soderquist wrote:
> 
> Yes, I have, two of them fail entirely to start, and the third starts,
> but crashes quickly.  As each also has its own hardware drivers, I
> suspect it would be harder getting it to work in Wine than writing
> fresh.  They are currenty in VMware Player because they do not work
> correctly in VirtualBox either.  (I wanted the VM to be open source as
> well, but no such luck).  If anyone has suggestions on other open
> source virtual environments, I'm willing to try so I can eliminate
> VMware.  (Long term goal is 100% open source).

qemu-kvm works just fine at running Windows guests.  It's what I use for
maintaining my Cygwin packages.

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature


Re: cygwin_conv_path sometimes removes trailing slash

2016-02-15 Thread Corinna Vinschen
Hi Ken,

On Feb 14 14:08, Ken Brown wrote:
> On 1/29/2016 10:21 PM, Ken Brown wrote:
> >I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and
> >I'm puzzled by the conversion
> >
> >   d:/ --> /cygdrive/d
> >
> >without the trailing slash.
> 
> Hi Corinna,
> 
> After your recent patch (git commit 8b83da2), I now see the conversion
> 
>   d:/ --> /cygdrive/d/
> 
> as expected.  But I have
> 
>   C: /c some_fs binary,posix=0 0 0
> 
> in my /etc/fstab, and I get the conversion
> 
>   C:/ --> /c
> 
> I would expect conversion to preserve the trailing slash here too.

Right.  You're hitting a border case there.  I fixed in in the repo.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: Error in Cygwin/X 64-bit

2016-02-15 Thread Girish Joglekar
Unfortunately I inherited this code which is huge. I do not know how
to create a simple case which will reproduce the behavior. Is there a
way to create the dlls which shed some light on the problem through
gdb?
Thank you.
Girish

Here is the stack from gdb/where at the time it crashes.

#0  0x0003fe819d25 in cygXm-4!XmRenderTableCopy ()
   from /usr/bin/cygXm-4.dll
#1  0x0003fe7e5411 in cygXm-4!XmTextFieldSetEditable ()
   from /usr/bin/cygXm-4.dll
#2  0x0003fe7e5917 in cygXm-4!XmTextFieldSetEditable ()
   from /usr/bin/cygXm-4.dll
#3  0x0003fe619bb1 in cygXt-6!_XtAddDefaultConverters ()
   from /usr/bin/cygXt-6.dll
#4  0x0003fe61a65c in cygXt-6!XtInitializeWidgetClass ()
   from /usr/bin/cygXt-6.dll
#5  0x0003fe61a906 in cygXt-6!_XtCreateWidget () from /usr/bin/cygXt-6.dll
#6  0x0003fe61abd9 in cygXt-6!XtCreateWidget () from /usr/bin/cygXt-6.dll
#7  0x0003fe7e6511 in cygXm-4!XmCreateTextField ()
   from /usr/bin/cygXm-4.dll
#8  0x00010097cfbc in mosprshCreateSpreadsheet (parentFM=0x600286760,
spreadSheetTitle=0x1009ec40e <__FUNCTION__.12658+126> "Measuring
Unit Specification", rowNames=0x600288d50, columnNames=0x600265b80,
cellSize=0,
mosprshCheckButtonCallback=0x0) at mosprshx.c:248
#9  0x000100982064 in moCreateSpreadsheet (parentFM=0x600286760,
spreadSheetTitle=0x1009ec40e <__FUNCTION__.12658+126> "Measuring
Unit Specification", rowNames=0x600288d50, columnNames=0x600265b80,
mosprshCheckButtonCallback=0x0) at mosprshx.c:678

On Mon, Feb 15, 2016 at 7:21 AM, Jon Turney  wrote:
> On 15/02/2016 11:35, Girish Joglekar wrote:
>>
>> I installed cygwin and cygwin/X 64-bit on a Windows 10 laptop. I have
>> an application that uses Motif and Xt libraries. It runs on Linux and
>> Windows Vista with cygwin cygwin/X 32-bit. On Windows 10 I get
>> segmentation fault in cygXm-4.dll in the function XmRenderTableCopy().
>
>
> Is this unnamed application available for others to try to reproduce the
> problem?
>
>> Please help. I can send screen dumps of stack. I do not know how to
>> copy from X term screen and paste into gmail on PC. Email with screen
>> is not deliverable to cygwin.
>
>
> Xterm copies text selected using the left-mouse button to the clipboard.
>
> Please attach your cygcheck output per https://cygwin.com/problems.html
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Error in Cygwin/X 64-bit

2016-02-15 Thread Jon Turney

On 15/02/2016 16:17, Girish Joglekar wrote:

Is there a
way to create the dlls which shed some light on the problem through
gdb?


For source-level debugging of these DLL with gdb, you can get debug 
information for these DLLs by installing the motif-debuginfo and 
libXt-debuginfo packages.



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* dosbox-0.74-2

DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, 
joystick, modem, etc., necessary for running many old MS-DOS games that 
simply cannot be run on modern PCs and operating systems.

--
Yaakov

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] djgpp-binutils 2.25-2, djgpp-gcc 4.9.2-1, djgpp-runtime 2.05-1

2016-02-15 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution:

* djgpp-binutils-2.25-2
* djgpp-gcc-core-4.9.2-1
* djgpp-gcc-g++-4.9.2-1
* djgpp-gcc-fortran-4.9.2-1
* djgpp-gcc-objc-4.9.2-1
* djgpp-gcc-objc++-4.9.2-1
* djgpp-gcc-ada-4.9.2-1
* djgpp-runtime-2.05-1

These packages provide cross-compilers for the DJGPP platform.

--
Yaakov

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread Erwin Waterlander


Why would anyone run DosBOX under Cygwin???

Op 15-2-2016 om 18:13 schreef Yaakov Selkowitz:

The following packages have been uploaded to the Cygwin distribution:

* dosbox-0.74-2

DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse,
joystick, modem, etc., necessary for running many old MS-DOS games that
simply cannot be run on modern PCs and operating systems.

--
Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread Yaakov Selkowitz

On 2016-02-15 13:41, Erwin Waterlander wrote:

Why would anyone run DosBOX under Cygwin???


64-bit Windows versions do not have any compatibility layer for DOS 
programs.


--
Yaakov

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread waterlan

Yaakov Selkowitz schreef op 2016-02-15 21:12:

On 2016-02-15 13:41, Erwin Waterlander wrote:

Why would anyone run DosBOX under Cygwin???


64-bit Windows versions do not have any compatibility layer for DOS 
programs.


I run DosBOX-win32 directly on 64 bit Windows. No need for a Cygwin 
POSIX layer here.


--
Erwin

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread Yaakov Selkowitz

On 2016-02-15 17:46, waterlan wrote:

Yaakov Selkowitz schreef op 2016-02-15 21:12:

On 2016-02-15 13:41, Erwin Waterlander wrote:

Why would anyone run DosBOX under Cygwin???


64-bit Windows versions do not have any compatibility layer for DOS
programs.


I run DosBOX-win32 directly on 64 bit Windows. No need for a Cygwin
POSIX layer here.


You could say the same of many packages.  If you want to run MinGW or 
MSYS, go right ahead.  If you want to use Cygwin as an environment in 
and of its own, then the more packages therein the better.


--
Yaakov

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] dosbox 0.74-2

2016-02-15 Thread waterlan

Yaakov Selkowitz schreef op 2016-02-16 01:03:

On 2016-02-15 17:46, waterlan wrote:

Yaakov Selkowitz schreef op 2016-02-15 21:12:

On 2016-02-15 13:41, Erwin Waterlander wrote:

Why would anyone run DosBOX under Cygwin???


64-bit Windows versions do not have any compatibility layer for DOS
programs.


I run DosBOX-win32 directly on 64 bit Windows. No need for a Cygwin
POSIX layer here.


You could say the same of many packages.  If you want to run MinGW or
MSYS, go right ahead.  If you want to use Cygwin as an environment in
and of its own, then the more packages therein the better.


I agree with you, but I can't see the advantage for DosBOX. I would also 
not run Wine or VirtualBox under Cygwin. It only adds slowness.


Thanks for porting anyway. It demonstrates how mature Cygwin is.

best regards,

--
Erwin

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple