Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"

2005-07-05 Thread Boris Kirzner
Michael Bax SPAM.bigfoot.com> writes: > > I discovered that my .history file was 53 MB in size! This is with > history 1024 > savehist(1024 merge) > in my .login. > > > wc .history > 0 3316299 53060768 .history > I've got the same problem with the same symptoms (the

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Jacek Piskozub
Hi, Using even more of your precious time I re-run the Mozilla suite compilation. This is the final part of the output: make[4]: Entering directory `/cygdrive/d/mozilla_source/mozilla/netwerk/resources' +++ making chrome /cygdrive/d/mozilla_source/mozilla/netwerk/resources => ../../dist/bi

Re: Memory error with PDKSH 5.2.14-3?

2005-07-05 Thread Thomas Baker
On Mon, Jun 06, 2005 at 10:26:26AM -0400, Igor Pechtchanski wrote: > On Mon, 6 Jun 2005, Thomas Baker wrote: > > Just wanted to report that I was seeing error messages such as the > > following in Korn shell scripts: > > > > /home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing > >

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Gerrit P. Haase
Chris, It is really strange. It should start immediately when running the script and the whole process lasts about 5 seconds. Using system $systemcall; instead of open (DDF, "$systemcall") ... works fine. This also works: $systemcall='\\/c/WINDOWS/system32/makecab.exe /V3 /F ... And this too:

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Jacek Piskozub
Hi, More test results: I added "-d" to the Mozilla rule file that runs make-jars.pl (yes, it is definitely this script, see http://lxr.mozilla.org/seamonkey/source/config/make-jars.pl for a copy). This is the output I got main::(/cygdrive/d/mozilla_source/mozilla/config/make-jars.pl:5): 5

RE: SV: Bug in printf ?

2005-07-05 Thread Dave Korn
Original Message >From: Peter J. Acklam >Sent: 30 June 2005 13:13 > Dave Korn [EMAIL PROTECTED] wrote: > >> [EMAIL PROTECTED] wrote: ^^ Peter, please do http://cygwin.com/acronyms#PCYMTNQREAIYR before you get me

RE: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Dave Korn
Original Message >From: Jacek Piskozub >Sent: 05 July 2005 10:19 > Hi, > > More test results: > > I added "-d" to the Mozilla rule file that runs make-jars.pl (yes, it is > definitely this script, see > http://lxr.mozilla.org/seamonkey/source/config/make-jars.pl for a copy). [EMAIL PRO

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Jacek Piskozub
Hi, More random ramblings: I tried to debug the script using the ancient "print" inserting technique. The result was interesting. I can stop the crash from happening by adding a lot of print commands. Does it show it is a timing (race) problem? To make it even more interesting, by adding ju

RE: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18 (corection)

2005-07-05 Thread Jacek Piskozub
Ignore my previous post. I attached the HTMLized version downloaded as a test of wget :-( This is the real script. J. #!/perl # make-jars [-f] [-v] [-l] [-x] [-a] [-e] [-d ] [-s ] [-t ] [-c ] [-z zipprog] [-o operating-system] < my $cygwin_mountprefix = ""; if ($^O eq "cygwin") { $cygwi

RE: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18 (corection)

2005-07-05 Thread Dave Korn
Original Message >From: Jacek Piskozub >Sent: 05 July 2005 12:09 > Ignore my previous post. I attached the HTMLized version downloaded as a > test of wget :-( > > This is the real script. > > J. [EMAIL PROTECTED] /test/perl> ./make-jars.pl : bad interpreter: No such file or directory [E

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18 (mozLock)

2005-07-05 Thread Jacek Piskozub
Dave, Can't locate mozLock.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin Find it attached. Chris will probably kill me when he wakes up :-( J. # # * BEGIN LICENSE BLOCK * # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public Li

Re: chmod suddenly ceased to work on old files - AFTER CYGWIN UPDATE

2005-07-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to FischRon.external AT infineon DOT com on 7/4/2005 6:19 AM: >>And who knows, doing the update may even resolve your issue >>with chmod > > Unfortunately, it doesn't. chmod behaves still as before :-( > > I have enclosed an updated cygch

Bug with strcat

2005-07-05 Thread Ivan Mari
This code produces an access violation. Commenting out the arr[] it works fine. Leaving the arr[] and commenting out the strcat works too. Anyway on a Linux with GCC 3.4.2 it works as it is presented here without problems #include #include #include #include int main() { int arr[]

RE: chmod suddenly ceased to work on old files - AFTER CYGWIN UPDATE

2005-07-05 Thread FischRon.external
> According to FischRon.external AT infineon DOT com on > 7/4/2005 6:19 AM: > >>And who knows, doing the update may even resolve your issue > >>with chmod > > > > Unfortunately, it doesn't. chmod behaves still as before :-( > > > > I have enclosed an updated cygcheck log. Because of the > upg

Problem installing cygwin - no PATH, mounts, /etc/passwd ...

2005-07-05 Thread Paul Moore
Hi, I'm having problems installing cygwin onto my PC. This is not the first time I've installed cygwin on this machine, but I wanted to do a clean install, so I deleted my C:\Cygwin directory, removed the icons, and deleted the registry entries, as suggested in the FAQ. I then downloaded the full

Re: Bug with strcat

2005-07-05 Thread Corinna Vinschen
On Jul 5 10:11, Ivan Mari wrote: > This code produces an access violation. Yep, no wonder. > Commenting out the arr[] it works > fine. Leaving the arr[] and commenting out the strcat works too. > Anyway on a Linux with GCC 3.4.2 it works as it is presented here without > problems Only coinci

RE: Problem installing cygwin - no PATH, mounts, /etc/passwd ...

2005-07-05 Thread Dave Korn
Original Message >From: Paul Moore >Sent: 05 July 2005 14:25 > Hi, > I'm having problems installing cygwin onto my PC. This is not the > first time I've installed cygwin on this machine, but I wanted to do > a clean install, so I deleted my C:\Cygwin directory, removed the > icons, and del

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Christopher Faylor
On Mon, Jul 04, 2005 at 07:39:39PM -0400, Volker Quetschke wrote: >>>It is a standalone testcase, unfortunately it depends on the absolute path >>>it resides in. To reproduce unpack perlfreeze.zip to d: and then >>>do: >>>$ cd /cygdrive/d/perlfreeze >>>$ ./perltest.pl >>> >>>and see it hang. (In rx

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Christopher Faylor
On Tue, Jul 05, 2005 at 08:52:25AM +0200, Jacek Piskozub wrote: >I'll risk wasting some more precious time (ypurs or mine) adding a Perl >stackdump I found in the Mozilla directory where the build failed: > >===begin stackdump >Exception: STATUS_ACCESS_VIOLATION at eip=610AA95A >eax=2F632F65 eb

RE: man.conf missing after cygwin upgrade

2005-07-05 Thread Igor Pechtchanski
Ron, Please make sure your mailer respects the Reply-To: header -- I set it for a reason. There's no need to Cc: me on the messages, as I read the list. On Tue, 5 Jul 2005, FischRon.external wrote: > > On Mon, 4 Jul 2005, FischRon.external wrote: > > > > > Now I checked /usr/share/misc and foun

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Volker Quetschke
I've downloaded this and it does just sit there but I don't know how long I'm supposed to wait. Is it supposed to print a lot of stuff right away? Yes, it's supposed to produce a cab file while reporting what it is doing. I realized that if you press CTRL-c it really starts to build the cab fi

RE: Problem installing cygwin - no PATH, mounts, /etc/passwd ...

2005-07-05 Thread Igor Pechtchanski
On Tue, 5 Jul 2005, Dave Korn wrote: > Original Message > >From: Paul Moore > >Sent: 05 July 2005 14:25 > > > Hi, > > I'm having problems installing cygwin onto my PC. This is not the > > first time I've installed cygwin on this machine, but I wanted to do > > a clean install, so I deleted

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Yitzchak Scott-Thoennes
On Tue, Jul 05, 2005 at 10:17:28AM -0400, Christopher Faylor wrote: > The malloc implementation in perl was updated to the latest version of > Doug Lea's malloc so there is a possibility that this is a malloc bug. > However, given that the perl on my linux system routinely trips a > "double free" e

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Jacek Piskozub
Yitzchak Scott-Thoennes wrote: > What perl version (on linux)? Do you have a test case? No, it works fine on Linux. Same script, same Mozilla build, same Perl version (5.8.6). I would bet my money that the fault is on cygwin side, especially as with cygwin 1.5.17, mozilla builds work fine. Fu

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Igor Pechtchanski
On Tue, 5 Jul 2005, Jacek Piskozub wrote: > Yitzchak Scott-Thoennes wrote: > > > What perl version (on linux)? Do you have a test case? > > No, it works fine on Linux. Same script, same Mozilla build, same Perl > version (5.8.6). > > I would bet my money that the fault is on cygwin side, especia

RE: Exiting Emacs (Attn: emacs maintainer)

2005-07-05 Thread David Masterson
[EMAIL PROTECTED] wrote: > On Sat, 2 Jul 2005, Nick Kirchner wrote: > >> I just installed Cygwin on my Windows 98 computer and tried playing >> around with Emacs. Having toyed with it a little in the past, I know >> that C-x C-c is supposed to exit the program. As you may have >> guessed, C-x C-c

RE: Exiting Emacs (Attn: User's Guide maintainer)

2005-07-05 Thread Igor Pechtchanski
On Tue, 5 Jul 2005, David Masterson wrote: > [EMAIL PROTECTED] wrote: . Thanks. > > On Sat, 2 Jul 2005, Nick Kirchner wrote: > > > >> I just installed Cygwin on my Windows 98 computer and tried playing > >> around with Emacs. Having toyed with it a lit

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Christopher Faylor
On Tue, Jul 05, 2005 at 07:59:32AM -0700, Yitzchak Scott-Thoennes wrote: >On Tue, Jul 05, 2005 at 10:17:28AM -0400, Christopher Faylor wrote: >>The malloc implementation in perl was updated to the latest version of >>Doug Lea's malloc so there is a possibility that this is a malloc bug. >>However,

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-05 Thread Christopher Faylor
On Tue, Jul 05, 2005 at 12:52:49PM -0400, Christopher Faylor wrote: >On Tue, Jul 05, 2005 at 07:59:32AM -0700, Yitzchak Scott-Thoennes wrote: >>On Tue, Jul 05, 2005 at 10:17:28AM -0400, Christopher Faylor wrote: >>>The malloc implementation in perl was updated to the latest version of >>>Doug Lea's

Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"

2005-07-05 Thread Larry Hall
At 04:02 AM 7/5/2005, you wrote: >Michael Bax SPAM.bigfoot.com> writes: > >> >> I discovered that my .history file was 53 MB in size! This is with >> history 1024 >> savehist(1024 merge) >> in my .login. >> >> > wc .history >> 0 3316299 53060768 .history >> > >I've got the same probl

Re: Subversion depends on crypt

2005-07-05 Thread Max Bowsher
Mikael Eriksson wrote: Not sure if this is the right list, I do hope so. Please also cc me since I'm not subscribed. When installing subversion via setup.exe, crypt is not installed. Therefore the message "cygcrypt-0.dll could not be found" is displayed when I run svn.exe Actually subversion d

Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Ross MacGillivray
I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin. I have installed the additional packages needed for KDE 3.4 and I even did a complete re-install of all packages to ensure that I have a clean system. when I start bash and enter 'echo $path'. This is the path statement returned. C:\cygwin>ba

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18 (mozLock)

2005-07-05 Thread Gerrit P. Haase
Jacek Piskozub wrote: Dave, Can't locate mozLock.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin Find it attached. Chris will probably kill me when he wakes up :-( Lol. Gerrit -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

Load a shared library using gcc/Cygwin

2005-07-05 Thread Yu-Cheng Chou
Hi, main.c below is for loading the shared library module.dll /* command to create main.exe cl -c main.c link main.obj */ #include #include int main(){ void *handle; int (*fp)(); char *modname = "./module.dll"; HMODULE h; void (*init)(); printf("hello1\

cygcheck exit status

2005-07-05 Thread Eric Blake
It is annoying that cygcheck exits with status 0, even if it could not find a file: $ cygcheck /bin/lilypond.exe C:/cygwin/bin/lilypond.exe C:/cygwin/bin\cygwin1.dll C:\WINNT\system32\ADVAPI32.DLL C:\WINNT\system32\NTDLL.DLL C:\WINNT\system32\KERNEL32.DLL C:\WINNT\system32

Re: Problem installing cygwin - no PATH, mounts, /etc/passwd ...

2005-07-05 Thread Paul Moore
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > On Tue, 5 Jul 2005, Dave Korn wrote: [...] >> Found: C:\Cygwin\bin\cp.exe >> Found: C:\Utils\GnuWin32\bin\cp.exe >> Warning: C:\Cygwin\bin\cp.exe hides C:\Utils\GnuWin32\bin\cp.exe > [snip more of the same] >> Not Found: sh > > !!

RE: Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Reid Thompson
Ross MacGillivray wrote: > I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin. > > I have installed the additional packages needed for KDE 3.4 > and I even did a complete re-install of all packages to > ensure that I have a clean system. > > when I start bash and enter 'echo $path'. This is the

problem with strtoimax?

2005-07-05 Thread Eric Blake
The release notes for 1.5.18 state that strtoimax was added. But compare the output of the following: $ uname -a CYGWIN_NT-5.0 eblake 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin $ cat > foo.c #include #include int main(int argc, char**argv) { printf("%lld\n", strtoimax("

RE: Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Eric Blake
> > when I start bash and enter 'echo $path'. This is the path statement > > returned. > > Not sure how you've got things setup, but `echo $path` should result in > an empty return statement. the variable is PATH not path, case > sensitive. > Or maybe you are thinking of tcsh syntax, wher

Re: cygcheck exit status

2005-07-05 Thread Christopher Faylor
On Tue, Jul 05, 2005 at 07:25:04PM +, Eric Blake wrote: >It is annoying that cygcheck exits with status 0, even if it could not find a >file: > >$ cygcheck /bin/lilypond.exe >C:/cygwin/bin/lilypond.exe > C:/cygwin/bin\cygwin1.dll >C:\WINNT\system32\ADVAPI32.DLL > C:\WINNT\system32\NT

Re: problem with strtoimax?

2005-07-05 Thread Christopher Faylor
On Tue, Jul 05, 2005 at 08:26:26PM +, Eric Blake wrote: >The release notes for 1.5.18 state that strtoimax was added. But compare >the output of the following: > >$ uname -a >CYGWIN_NT-5.0 eblake 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown >Cygwin >$ cat > foo.c >#include >#inclu

Re: chmod suddenly ceased to work on old files - AFTER CYGWIN UPDATE

2005-07-05 Thread Lev Bishop
On 05/07/05, FischRon wrote: > Actually I wasn't able to use "-d" with mkpasswd, because this command > hung, so I did a "mkpasswd -l >/etc/passwd" instead. Maybe I should > rerun mkgroup -l (without -d option)? Really hung, or just taking a very very long time (it will, if it is a large domain)?

Re: Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Ross MacGillivray
Ross MacGillivray yahoo.ca> writes: > > > I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin. > > I have installed the additional packages needed for > KDE 3.4 and I even did a > complete re-install of all packages to ensure that I have a clean system. > > when I start bash and enter 'echo $

Re: problem with strtoimax?

2005-07-05 Thread Eric Blake
> On Tue, Jul 05, 2005 at 08:26:26PM +, Eric Blake wrote: > >$ gcc -o foo foo.c > >/cygdrive/c/DOCUME~1/eblake/LOCALS~1/Temp/ccQLtRpQ.o:foo.c:(.text+0x42): > undefined reference to `_strtoimax' > >collect2: ld returned 1 exit status > > WJFFM. It seems like you have an outdated libcygwin.a.

Re: problem with strtoimax?

2005-07-05 Thread Eric Blake
> >$ cat > foo.c > >#include > >#include > > > >int main(int argc, char**argv) > >{ > > printf("%llx\n", strtoll("1", NULL, 10)); > > return 0; > >} > >$ gcc -o foo foo.c > >$ ./foo > >a0001 > > This, I can confirm. PTC. > No patch necessary (PEBCAK). strtoimax is in inttypes.h, but

Re: Load a shared library using gcc/Cygwin

2005-07-05 Thread Brian Dessent
Yu-Cheng Chou wrote: > int main(){ >void *handle; >int (*fp)(); >char *modname = "./module.dll"; >HMODULE h; >void (*init)(); > printf("hello1\n"); >h = LoadLibrary("cygwin1.dll"); > printf("hello1 h = %p\n", h); >init = ( void (*)())GetProcAddress(h, "cygwin_dll_init"

Re: Gdb and stopping at assert or segmentation faults

2005-07-05 Thread Kris Thielemans
Hi all > > Dave Korn artimi.com> writes: > > > > > > Anyway, "break __assert" works for catching the assertions. Dunno what's > > up with the SEGVs. > > well, it turns out Dave's suggestion doesn't work anymore on latest cygwin (tested this only with C++ programs): GNU gdb 6.3.50_2004-12

ssh problems

2005-07-05 Thread Eli Barzilay
(If this is not the right place for this, please direct me.) I have recently updated an old Windows setup, including a new cygwing installation. We use this machine for nightly builds, using a shell script that connects to multiple machines and runs the builds (DevStudio in the Windows case). Wi

Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-05 Thread Arash Partow
Hi Chris, I've done a clean install of cygwin with dll 1.5.18 and also tried snapshots from 2nd, 4th and 5th. Unfortunetly issues relating to threading and memory leaks as described in the following post - still exists: http://sources.redhat.com/ml/cygwin/2005-06/msg00186.html Regards Ar

Re: ssh problems

2005-07-05 Thread Larry Hall
At 08:45 PM 7/5/2005, you wrote: >(If this is not the right place for this, please direct me.) > >I have recently updated an old Windows setup, including a new cygwing >installation. We use this machine for nightly builds, using a shell >script that connects to multiple machines and runs the build

Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-05 Thread Christopher Faylor
On Wed, Jul 06, 2005 at 01:36:54AM +, Arash Partow wrote: >I've done a clean install of cygwin with dll 1.5.18 and also tried >snapshots from 2nd, 4th and 5th. Unfortunetly issues relating to >threading and memory leaks as described in the following post - still >exists: > >http://sources.redh

Re: Qestion about Bash Fork Resource Temporily Unavailable for NS2.28 and NS2.27

2005-07-05 Thread Larry Hall
At 02:05 AM 7/5/2005, Question NS wrote: >While I install NS2.28, it tells no gcc, but I >actually installed gcc, and during the installation, >it said my gcc is not a cross compile, I don't know if >this is matter. And if it is, which gcc version shall >I install? I ran the strace.exe command, get

Re: ssh problems

2005-07-05 Thread Eli Barzilay
On Jul 5, Larry Hall wrote: > At 08:45 PM 7/5/2005, you wrote: > >(If this is not the right place for this, please direct me.) > > > >I have recently updated an old Windows setup, including a new cygwing > >installation. We use this machine for nightly builds, using a shell > >script that connect

Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-05 Thread Arash Partow
Hi Chris, Actually things are getting slightly worse, basically same test scenario (not the full blown app you keep on mentioning), but this time mutex locks are failing + the ye-olde massive memory leaks. I have the mutex set to default mode, and after a few seconds of the test running mutexes

Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-05 Thread Christopher Faylor
On Wed, Jul 06, 2005 at 04:17:34AM +, Arash Partow wrote: >I have the mutex set to default mode, and after a few seconds of the >test running mutexes locking unlocking, all of a sudden the mutexes >stop locking, and basically report back EBUSY from pthread_mutex_lock. The message that you are

Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-05 Thread Brian Dessent
Arash Partow wrote: > I've done a clean install of cygwin with dll 1.5.18 and also tried > snapshots from 2nd, 4th and 5th. Unfortunetly issues relating to > threading and memory leaks as described in the following post - still > exists: > > http://sources.redhat.com/ml/cygwin/2005-06/msg00186.ht

Re: Qestion about Bash Fork Resource Temporily Unavailable for NS2.28 and NS2.27

2005-07-05 Thread Question NS
Hi, Larry, What is virus programing, I don't think that I have it. I run my machine same as a year ago, and cygwin problem happens just this time. I confused. Could you possibly download ns2.28 and install it in your cygwin? While I use ns-allinone-2.28-cygwin-binaries.zip, I can't gunzip this fil