Re: Please test snapshots

2012-08-09 Thread Achim Gratz
Daniel Colascione dancol.org> writes: > It works for me in bash. I don't have tcsh installed, but I don't see > why SIGINT would work differently there. Yes, it works in bash for me, too. Tcsh does something that apparently breaks with the new snapshot, but since I don't get any error messages,

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Zach Saw gmail.com> writes: > > On Cygwin: > > This is perl 5, version 14, subversion 2 (v5.14.2) built for > > cygwin-thread-multi-64int > > Just out of curiousity are you running XP-32bit? > If you are, could you try running the multithreaded test with CPU > affinity set to 1 (single core)?

Re: running interactive process on xp through cron not working

2012-08-09 Thread Larry Hall (Cygwin)
On 8/9/2012 9:15 PM, Mark Smith wrote: so I am trying to run notepad through cron on my xp machine, but it simply won't work. running cron-config works fine: --- $ cron-config Cron is already installed as a service under account LocalSystem. Do you want to remove or reinstall it? (yes/no) yes OK

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Linda Walsh tlinx.org> writes: > I can confirm the perl test case: > > Using the referenced prog: > on Linux: > cyg-perl-thread-test.pl > This is perl 5, version 14, subversion 2 (v5.14.2) built for > x86_64-linux-thread-multi > Processing 10 tasks in 1 threads completed in 0.468952secs > Proce

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Larry Hall (Cygwin cygwin.com> writes: > The easier it is to demonstrate the problem with a minimum of > overhead/code, the quicker the fix. And now that it's reported to the > Cygwin list, the problem is at least on the right radar. > Ah thanks Larry. This makes sense but I simply do not have

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Daniel Colascione dancol.org> writes: > Cygwin developers are experts in Cygwin, not Perl or Boost. Their job > is hard enough as it is. If you're not interested in being helpful, > I'm sure someone will sell you a support contract. > No one said their job is easy. And are *you* paying me to ma

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Linda Walsh
Zach Saw wrote: Corinna Vinschen cygwin.com> writes: Thanks for the testcase, but... would you mind to change it to take the boost lib out of the picture, by using just plain pthread functions, if possible in plain C? Apparently someone else has already encountered similar problems in cygwin

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Larry Hall (Cygwin)
On 8/9/2012 11:29 PM, Zach Saw wrote: Corinna Vinschen cygwin.com> writes: Thanks for the testcase, but... would you mind to change it to take the boost lib out of the picture, by using just plain pthread functions, if possible in plain C? Apparently someone else has already encountered simi

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Daniel Colascione
On 8/9/12 8:29 PM, Zach Saw wrote: > Corinna Vinschen cygwin.com> writes: > >> Thanks for the testcase, but... would you mind to change it to take the >> boost lib out of the picture, by using just plain pthread functions, if >> possible in plain C? > > Apparently someone else has already encoun

Re: Random segmentation faults since upgrade to Cygwin 1.7.16

2012-08-09 Thread Larry Hall (Cygwin)
On 8/9/2012 9:33 PM, Buist, Eric wrote: Hi, I am running Cygwin 1.7 under Windows 7 64 bits for some time without problems, except it is sometimes slow when performing tab completion. But after I upgraded to Cygwin 1.7.16, no more Cygwin tool is working correctly. Even simple commands such as l

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Corinna Vinschen cygwin.com> writes: > Thanks for the testcase, but... would you mind to change it to take the > boost lib out of the picture, by using just plain pthread functions, if > possible in plain C? Apparently someone else has already encountered similar problems in cygwin perl (http:

Random segmentation faults since upgrade to Cygwin 1.7.16

2012-08-09 Thread Buist, Eric
Hi, I am running Cygwin 1.7 under Windows 7 64 bits for some time without problems, except it is sometimes slow when performing tab completion. But after I upgraded to Cygwin 1.7.16, no more Cygwin tool is working correctly. Even simple commands such as ls, uname, dirname, or bash -version ret

Re: how to update

2012-08-09 Thread Tom Schutter
On 03 Aug 2012 09:34:14, Larry Hall wrote: > On 8/2/2012 6:10 PM, J.V. wrote: > > I want cygwin to silently run the package manager and update my system > > everytime I login. > > > > I have over 100 vm's that I use for various things and it is quite the > > hassle to update every component in the

mkpasswd with domain gives The security database is corrupted error

2012-08-09 Thread Orion Poplawski
Fresh install of cygwin 1.7.16 on Windows Server 2008 R2. Trying to add my domain users to /etc/passwd, but when I run mkpasswd I get (somewhat obfuscated): $ mkpasswd -l -d CO-RA SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-N

child_info_spawn::worker: CreateWindowStation failed,in32 error 5

2012-08-09 Thread Uzzell, Stephan
Hi all, I'm struggling with a Cygwin / SSH connection issue, and I'm hoping someone can provide some insight. I'm fairly new to both Cygwin and SSH, so I may well be missing something obvious. I've installed Cygwin and configured SSH (using a domain cyg_server account), and I am able to connect

Re: Visual C# 2010 console applications do not start from xterm any longer

2012-08-09 Thread Larry Hall (Cygwin)
On 8/8/2012 6:03 AM, Sergei Vorobyov wrote: Previously I could easily start any VS 2010 console applications from xterm (under MS Windows XP and Windows 7), as good as from command.exe Today I discovered that I cannot do it any longer on two Windows 7 machines (one Win 7 with an older cygwin sti

Re: problem using recursive grep (-r option)

2012-08-09 Thread Larry Hall (Cygwin)
On 8/9/2012 2:27 AM, Andrey Repin wrote: Greetings, AngusC! This works find . -name "*.log" | grep -nH -r "my pattern" *.* What? This is ridiculous. Do you read what you write? Indeed. Can we all agree that this thread has drifted far enough away from anything Cygwin-specific that it c

Re: Please test snapshots

2012-08-09 Thread Achim Gratz
Christopher Faylor writes: >>deadbeef PING Statistics >>2 packets transmitted, 0 packets received, 100.0% packet loss > > Ping doesn't time out after only two packets. It sure looks like CTRL-C > worked > above. Maybe ping got indeed interrupted, but I didn't get the shell prompt back fo

Re: Please test snapshots

2012-08-09 Thread Daniel Colascione
On 8/9/12 2:21 AM, Achim Gratz wrote: > Christopher Faylor cygwin.com> writes: >> You mention generic "signal handling" rather than "sigwaitinfo" so I don't >> know if there are other issues. It doesn't seem like much would work if >> signal handling was completely broken, though. > > With the l

Re: Please test snapshots

2012-08-09 Thread Christopher Faylor
On Thu, Aug 09, 2012 at 09:21:47AM +, Achim Gratz wrote: >Christopher Faylor cygwin.com> writes: >> You mention generic "signal handling" rather than "sigwaitinfo" so I don't >> know if there are other issues. It doesn't seem like much would work if >> signal handling was completely broken, t

Re: cygwin: how to mount linux FS from cygwin

2012-08-09 Thread Tom Schutter
On Wed, 11 Jul 2012 10:30:28 -0400, cgf wrote: >On Wed, Jul 11, 2012 at 10:23:29AM -0400, ping wrote: >>so I'm now using dokan sshfs GUI tool to mount remote linux server FS >>via ssh, everything (mostly) works, except: >> >>1) it's a GUI based tool, I don't see any command line options >>2) someho

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Unfortunately, I'm not paid to minimize test cases for Cygwin. It already took me quite some time to create the test case to demonstrate a multicore issue in Cygwin. And Boost 1.48.0 that I used is officially released as part of Cygwin (i.e. Cygwin patched - which is different from official Boost).

Re: Please test snapshots

2012-08-09 Thread Achim Gratz
Christopher Faylor cygwin.com> writes: > You mention generic "signal handling" rather than "sigwaitinfo" so I don't > know if there are other issues. It doesn't seem like much would work if > signal handling was completely broken, though. With the latest snapshot (2012-08-07), pinging a dead mac

Re: App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Corinna Vinschen
On Aug 9 18:07, Zach Saw wrote: > Hi all, > > While trying to compile my multithreaded app written for Linux on > Cygwin to run on Windows, I discovered the app would perform 8x slower > on a machine with the same specs. I then went on to triage the issue > and found that if I set CPU affinity of

App runs 8x slower on dual core machine (with test case to replicate issue)

2012-08-09 Thread Zach Saw
Hi all, While trying to compile my multithreaded app written for Linux on Cygwin to run on Windows, I discovered the app would perform 8x slower on a machine with the same specs. I then went on to triage the issue and found that if I set CPU affinity of that process to 1 (i.e. single core), I'd ge