Re: Problem with pthreads and signaling - Attachment

2003-12-08 Thread Arash Partow
Hi Chris, I forgot to attach the ThreadTestPrototype.cpp file in my previous post, here it is if you would like to have a fiddle with it. Regards Arash Partow __ Be one who knows what they don't know, Instead of being one who knows not what they

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Arash Partow
Hi Chris, The ThreadTest was used to demonstrate a deficiency in cygwin's pthreads implementation, and in doing so was successful in finding 4 serious problems that ranged from memory leaks, application crashes to improper handling of context switches in the thread pools. So continue to be mystifi

Re: g++ link errors

2003-12-08 Thread Dean Scarff
Christopher Faylor wrote: On Tue, Dec 09, 2003 at 12:14:41PM +0800, Dean Scarff wrote: Hannu E K Nevalainen wrote: Your compile displays "gcc version 3.2.3" but cygcheck output says you have 3.3.* installed. May I suggest that you try to uninstall+reinstall the gcc packages? Though: I'm not sure

Re: g++ link errors

2003-12-08 Thread Christopher Faylor
On Tue, Dec 09, 2003 at 12:14:41PM +0800, Dean Scarff wrote: >Hannu E K Nevalainen wrote: >>Your compile displays "gcc version 3.2.3" but cygcheck output says you >>have 3.3.* installed. >> >>May I suggest that you try to uninstall+reinstall the gcc packages? >>Though: I'm not sure this will help y

Re: g++ link errors

2003-12-08 Thread Larry Hall
At 11:14 PM 12/8/2003, Dean Scarff you wrote: >Hannu E K Nevalainen wrote: > >>Your compile displays "gcc version 3.2.3" but >>cygcheck output says you have 3.3.* installed. >>May I suggest that you try to uninstall+reinstall the gcc packages? >>Though: I'm not sure this will help you. > >Yep, the

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Christopher Faylor
On Tue, Dec 09, 2003 at 03:01:56AM +, Arash Partow wrote: >Hello Sherly, > >I haven't tried the ThreadTest on a solaris system however ive e-mailed >someone that does have access to one, they will try it i'll get the results >back to you, but out of interest what do you think the solaris system

Re: g++ link errors

2003-12-08 Thread Dean Scarff
Hannu E K Nevalainen wrote: Your compile displays "gcc version 3.2.3" but cygcheck output says you have 3.3.* installed. May I suggest that you try to uninstall+reinstall the gcc packages? Though: I'm not sure this will help you. Yep, the problem seemed to be that all the 3.2.3 stuff was in /usr/l

reading mutt mail folders in outlook express?

2003-12-08 Thread Ajay Simha
Hi, There are times I can use outlook express or some thing with a gui. Is there a way I can open my inbox (/var/spool/mail/asimha) and my folders ~asimha/mail with something like outlook express? I know I can do this with netscape mail (netscape 4.7). Thanks, /ajay "From listening comes wisdo

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Arash Partow
Hello Sherly, I haven't tried the ThreadTest on a solaris system however ive e-mailed someone that does have access to one, they will try it i'll get the results back to you, but out of interest what do you think the solaris system will do? and how do you think that behaviour will relate to cygiwn

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Arash Partow
Hi Chris, I have to agree with marcus, the dll from the 8th still has the signalling issue. you have to let the threadtest run for a bit, meaning let it get to around 3k-4k of threads being created, at that point the SIGINT does not seem to fire. Arash

Re: "cp: will not create hard link"

2003-12-08 Thread Duncan Murdoch
On Mon, 8 Dec 2003 20:18:50 -0500, you wrote: >On Mon, Dec 08, 2003 at 07:43:32PM -0500, Duncan Murdoch wrote: >>I think I've tracked this down. My path contained an old version of >>cp.exe, ahead of the newly installed one. It must have been >>incompatible with the newly installed cygwin dll. >

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Marcus Van Der Beek
Hi Chris, I've tried the latest snapshot 8/12/2003, that dll doesn't seem to have the win32-hndl problem that was seen in previous versions of the dll, but it is still exibiting the signalling problems. Marcus I fixed a handle leak problem last night. I don't suppose that it occurred to you

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Sherly Smith
Hi, I've tried the latest snapshot 8th of december, that doesn't seem to show the handel issue arash was talking about (which i think chris fixed), however the signal problem with SIGINT is there. The behavior i see is as follows, after the 1st 700 threads have been created, i press ctrl+c instant

Re: "cp: will not create hard link"

2003-12-08 Thread Christopher Faylor
On Mon, Dec 08, 2003 at 07:43:32PM -0500, Duncan Murdoch wrote: >I think I've tracked this down. My path contained an old version of >cp.exe, ahead of the newly installed one. It must have been >incompatible with the newly installed cygwin dll. It doesn't work that way. New dlls always work wit

Re: Memory Management on AMD64 in 32-bit mode

2003-12-08 Thread Christopher Faylor
On Mon, Dec 08, 2003 at 07:30:17PM -0500, Benson Margulies wrote: >I happen to have access to a an AMD64 system running Windows. All the >cygwin shells fail to fork with the following. I'd be willing to try >coding and running a patch if the experts would care to offer an idea of >what to try. Sor

Re: Cygrunsrv and spawned processes

2003-12-08 Thread Frank Seesink
Corinna & Brian, Thank you! Thank you! Thank you! :-) I downloaded cygrunsrv 0.97-1 and it works! Thanks a bunch. I truly appreciate this. Thanks for all your help in this. Corinna Vinschen wrote: On Dec 5 18:00, Brian Ford wrote: 2003-12-05 Brian Ford <[EMAIL PROTECTED]> * cygr

Re: "cp: will not create hard link"

2003-12-08 Thread Duncan Murdoch
On Mon, 08 Dec 2003 11:51:48 -0500, I wrote: >To the Cygwin mailing list: > >Back in January, Thomas Baker (who is BCC'd on this) posted a question >about a large call to cp giving an error message about not being able >to create a hard link. Ref: >

Memory Management on AMD64 in 32-bit mode

2003-12-08 Thread Benson Margulies
I happen to have access to a an AMD64 system running Windows. All the cygwin shells fail to fork with the following. I'd be willing to try coding and running a patch if the experts would care to offer an idea of what to try. $P$Gls C:\cygwin\bin\zsh.exe: *** fork: can't reserve memory for stack 0x

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Christopher Faylor
On Mon, Dec 08, 2003 at 11:09:37PM +, Marcus Van Der Beek wrote: >I've downloaded the tests and dlls both from you're site and last >few cygwin snapshots and CONFIRMED your results. There is a major >bug in both the signaling during threads and also the problem >of accumulating handles. Just by

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Arash Partow
hello marcus, thanx for your confirmation, however i don't think its a good idea to be blaming anyone for these bugs, they are a natural occurrence during development and of course addition of new features. In any case could you please tell me how you ascertained the accumulating handles count, di

Re: Problem with pthreads and signaling, behavior broken...

2003-12-08 Thread Marcus Van Der Beek
Hi Arash, I've downloaded the tests and dlls both from you're site and last few cygwin snapshots and CONFIRMED your results. There is a major bug in both the signaling during threads and also the problem of accumulating handles. Just by looking at the various changes in the snapshots it seems cgf

Re: Invalid program file name, pif file

2003-12-08 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: I emailed AOL directly, to see if there was an option to disable auto compressing files. This is the response I got... "Based on your mail, you want to disable the option in automatically decompressing files when sending a large file as an attachment. Unfortunately, th

Re: Anonymous ftp - ls hangs

2003-12-08 Thread Andrew DeFaria
Corinna Vinschen wrote: On Fri, Dec 05, 2003 at 12:43:16PM -0800, Andrew DeFaria wrote: I decided to resurrect anonymous ftp on a server here under Cygwin and managed to get it working again except that when one ftp's and types ls the ls hangs. I search the list and found one person having a sim

RE: setup.exe "Can't get list of download sites"

2003-12-08 Thread Gene Ballard
> > Hi, > > > > Trying to install cygwin using setup.exe on a > Win2K PC but get error > > "Can't get list of download sites. Make sure your > >network settings are > > correct and try again". > > > > I have disabled antivirus and firewalls. > > > > I use a cable modem with a Linksys router issues

Re: setup.exe "Can't get list of download sites"

2003-12-08 Thread Igor Pechtchanski
On Mon, 8 Dec 2003, Gene Ballard wrote: > Hi, > > Trying to install cygwin using setup.exe on a Win2K PC but get error > "Can't get list of download sites. Make sure your network settings are > correct and try again". > > I have disabled antivirus and firewalls. > > I use a cable modem with a Link

Re: Problems with setup handling of gcc-core & gcc-testsuite

2003-12-08 Thread Robert Collins
On Tue, 2003-12-09 at 07:22, Brian Ford wrote: > I think he and I just want clicking on all->install to not continually > download those two packages. I didn't ever hand select them to begin > with. I just get them continually for "free". Ah, well thats deliberate behaviour. Hmm, I'll think abou

statvfs vs statfs - replacement for f_frsize?

2003-12-08 Thread Luis Torres
Hello, The question is posted again,starting a new thread. I changed code from another platform that relied on statvfs.h. However the struct statfs, does not have f_frsize and I replaced it by f_bsize, but apparently this creates problems, and I am getting strange numbers, like 1999 Mb, when I

Re: Problems with setup handling of gcc-core & gcc-testsuite

2003-12-08 Thread Brian Ford
On Tue, 9 Dec 2003, Robert Collins wrote: > On Tue, 2003-12-09 at 07:10, David A. Cobb wrote: > > The first time I saw it, I explicitly selected "Install" the gcc-core. > > However, it keeps showing up as something to be installed. > > It still shows with the "new or omitted" packages view. > > My

Re: Problems with setup handling of gcc-core & gcc-testsuite

2003-12-08 Thread Brian Ford
On Mon, 8 Dec 2003, David A. Cobb wrote: > Brian Ford wrote: > >On Sat, 6 Dec 2003, David A. Cobb wrote: > >>I couldn't find this in the archives, but the two packages gcc-core & > >>gcc-testsuite, which are distinguished by being source-only, > >>never get registered as "installed." Setup has now

Re: Problems with setup handling of gcc-core & gcc-testsuite

2003-12-08 Thread Robert Collins
On Tue, 2003-12-09 at 07:10, David A. Cobb wrote: > > > Well, I read that. It doesn't sound like the same thing. > > The first time I saw it, I explicitly selected "Install" the gcc-core. > However, it keeps showing up as something to be installed. > It still shows with the "new or omitted" pa

Re: Problems with setup handling of gcc-core & gcc-testsuite

2003-12-08 Thread David A. Cobb
Brian Ford wrote: On Sat, 6 Dec 2003, David A. Cobb wrote: I couldn't find this in the archives, but the two packages gcc-core & gcc-testsuite, which are distinguished by being source-only, never get registered as "installed." Setup has now re-installed them about 6 times. I know, I don't ne

Re: still cannot read /cygdrive/c

2003-12-08 Thread Brian Ford
On Tue, 9 Dec 2003 [EMAIL PROTECTED] wrote: > I am on the 1116 snapshot > > -rwx--+ 1 jakezNone 1081698 Nov 16 03:23 cygwin1.dll > Bingo! 2003-11-19 Corinna Vinschen <[EMAIL PROTECTED]> * dtable.cc (build_fh_pc): Resurrect accidentally removed DEV_CYGDRIVE_MAJOR

setup.exe "Can't get list of download sites"

2003-12-08 Thread Gene Ballard
Hi, Trying to install cygwin using setup.exe on a Win2K PC but get error "Can't get list of download sites. Make sure your network settings are correct and try again". I have disabled antivirus and firewalls. I use a cable modem with a Linksys router issues static ips to each pc. No problem conn

still cannot read /cygdrive/c

2003-12-08 Thread cygwin
I am having the same problem. Please also see: http://www.cygwin.com/ml/cygwin/2003-11/msg00742.html $ mount E:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) E:\cygwin\bin on /usr/bin type system (binmode) E:\cygwin\lib on /usr/lib type system (binmode) E:\cygw

Re: #pragma inteface - was - RE: DDD 3.3.8 recipe - was - RE: lib tool created import libs broken? was RE: DDD 3.3.8 (i686-pc-cygwin) get s `Segmentation fault

2003-12-08 Thread Richard Campbell
>Related to "#pragma interface" and gang, could you submit a bug report >to the gcc folks ? Related to "#pragma interface", It appears to be a known problem: http://sources.redhat.com/ml/cygwin/2003-11/msg01066.html I do intend to push on it somewhat, as I agree that "#ifndef __CYWIN__" is cert

Re: Problems with setup handling of gcc-core & gcc-testsuite

2003-12-08 Thread Brian Ford
On Sat, 6 Dec 2003, David A. Cobb wrote: > I couldn't find this in the archives, but the two packages gcc-core & > gcc-testsuite, which are distinguished by being source-only, > never get registered as "installed." Setup has now re-installed them > about 6 times. I know, I don't need to select t

Re: system call socket, bind etc not working

2003-12-08 Thread Brian Ford
Please set your mailer to line wrap at <= 80 characters. Thanks. On Sat, 6 Dec 2003, Nikhil Bhargava wrote: >I have installed latest version of cygwin for writing programs in c on >gcc like environment. But i am not able to get the support for many >system calls like socket(), bind() and all SVR

Re: about xfig and ghoscript

2003-12-08 Thread Igor Pechtchanski
On Thu, 4 Dec 2003, Nathalie Henrich wrote: > Dear Igor, > > Thank you for your reply and explanations. > > Igor Pechtchanski wrote: > > >Well, the first thing to check is: does the file exist? Is it readable? > > > yes, the file exist and can even be opened in xfig when it is the first > image t

RE: Cygwin on windows2003 Server

2003-12-08 Thread Brian Ford
On Mon, 8 Dec 2003, Amit RATHEE wrote: > I do Remsh on two different servers and the results are: > > 1)Windows 2000 server : Passed > 2)Windows 2003 server : Permission denied. > > All the things are similar in both the case.I am using 1005.5.0.0 as > "cygwin1.dll " > > Can anyone please help wha

Problem in getting the latest version

2003-12-08 Thread Amit RATHEE
I tried to Reinstall the Latest version of Cygwin1.5.5 on the web. It Installs everything but in the last it gives an error message that cygwin cannot start as cygwin1.dll could not be located. With Warm Regards, Amit Rathee 099-6069 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

"cp: will not create hard link"

2003-12-08 Thread Duncan Murdoch
To the Cygwin mailing list: Back in January, Thomas Baker (who is BCC'd on this) posted a question about a large call to cp giving an error message about not being able to create a hard link. Ref: . I've just upgraded cygwin from 1.3.22-1 (M

Re: lack of libgen.h in Cygwin (dirname+basename). Solved? + statvfs.h

2003-12-08 Thread Gerrit P. Haase
Luis wrote: > Hello Gerrit, > Danke.Thanks for the hint. I downloaded it and it works fine (at least > compile/linked without > warnings ...). That is a much satisfactory solution. I had grabbed some code for > dir/basename > but they were non standard, and would oblige me to change the calls

Re: Again: *** CreateFileMapping, Win32 error 5. Terminating.

2003-12-08 Thread Corinna Vinschen
On Dec 8 15:52, Gerrit P. Haase wrote: > I have not tried a > snapshot yet. That's what I was talking about. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscri

RE: Cygwin on windows2003 Server

2003-12-08 Thread Amit RATHEE
I do Remsh on two different servers and the results are: 1)Windows 2000 server : Passed 2)Windows 2003 server : Permission denied. All the things are similar in both the case.I am using 1005.5.0.0 as "cygwin1.dll " Can anyone please help what to do? With Warm Regards, Amit Rathee -- Unsubscri

Re: [PATHC] for w32api/sql.h (was: Re: broken?)

2003-12-08 Thread Gerrit P. Haase
Rafael wrote: I've thought about doing that, but mingw and Cygwin use the same w32api headers, and mingw (aka gcc -mno-cygwin) does not understand . However, this works: --- sql.h 2003-12-08 04:20:17.328125000 -0800 +++ sql.h.new 2003-12-08 04:19:36.71875 -0800 @@ -10,7 +10,11 @@ #if

Re: Again: *** CreateFileMapping, Win32 error 5. Terminating.

2003-12-08 Thread Gerrit P. Haase
Corinna wrote: > On Dec 8 11:42, Gerrit P. Haase wrote: >> Hallo, >> >> Is there a snapshot available with a cygwin1.dll which can handle this >> problem? A new Cygwin release including this patch is scheduled? > Did you try the latest ones? I downloaded today and have still this package her

RE: Invalid program file name, pif file

2003-12-08 Thread Buchbinder, Barry (NIH/NIAID)
Yahoo can send attached files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, December 07, 2003 1:29 PM To: [EMAIL PROTECTED] Subject: Re: Invalid program file name, pif file [snip] I have a free yahoo.com email account.

Re: Again: *** CreateFileMapping, Win32 error 5. Terminating.

2003-12-08 Thread Corinna Vinschen
On Dec 8 11:42, Gerrit P. Haase wrote: > Hallo, > > Is there a snapshot available with a cygwin1.dll which can handle this > problem? A new Cygwin release including this patch is scheduled? Did you try the latest ones? Corinna -- Corinna Vinschen Please, send mails regardin

Re: httping 0.0.3 make error

2003-12-08 Thread Dirk Sondermann
Hallo Michael, try make CC='gcc -ansi' or replace the first line of the makefile by CC=gcc -ansi. 'strip' will not be able to find the resulting executable unless the line strip httping is replaced by strip httping.exe . Dirk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-sim

[PATHC] for w32api/sql.h (was: Re: broken?)

2003-12-08 Thread Gerrit P. Haase
Rafael wrote: > I just tried compiling: > #include > #include > int main() { return 0; } > with: gcc -mno-cygwin > and it worked fine. So it's a conflict with the cygwin headers > sqltypes.h somewhere, I'll try to figure it out. Just received this patch for sql.h: PC09:/usr/include/w32api

Re: lack of libgen.h in Cygwin (dirname+basename). Solved? + statvfs.h

2003-12-08 Thread Luis Torres
Hello Gerrit, Danke.Thanks for the hint. I downloaded it and it works fine (at least compile/linked without warnings ...). That is a much satisfactory solution. I had grabbed some code for dir/basename but they were non standard, and would oblige me to change the calls to those functions ... N

Recommend zsh

2003-12-08 Thread zzapper
Hi Y'All I always feel threatened when something I've spent ages learning appears to be superceded. Anyway I made the plunge and switched from bash to zsh (change cygwin.bat , zsh --login -i). I feared rewriting all my existing scripts, but in fact they are still using a bash bang. The transition

httping 0.0.3 make error

2003-12-08 Thread svartsjel
Hi, I didn't work with make so far, and would like to install httping 0.0.3 by Folkert van Heusden (http://osx.freshmeat.net/projects/httping) for the current Cygwin release. Did anyone manage to compile this program? I read the FAQ items concerning make and verified that MAKE_MODE is set to unix.

Again: *** CreateFileMapping, Win32 error 5. Terminating.

2003-12-08 Thread Gerrit P. Haase
Hallo, Is there a snapshot available with a cygwin1.dll which can handle this problem? A new Cygwin release including this patch is scheduled? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documenta

Re: Accident: deleted installed.db

2003-12-08 Thread fergus
> cd /etc/setup > echo "INSTALLED.DB 2" > installed.db > ls *.lst.gz | sed -e 's/^\(.*\)\.lst\.gz$/\1 \1-0.tar.bz2 0/' >> installed.db Thank you. This worked and saved a lot of effort. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.