Re: tools to detect memory leaks

2003-06-25 Thread gilles civario
Vishal Jain wrote: Are there any tools that can one use to detect memory leaks in programs compiled and run on cygwin? thanks, Vishal I've used ElectricFence with Cygwin some times ago. I was quiet happy with it. http://perens.com/FreeSoftware Gilles. -- Unsubscribe info: http://cygwin.co

Re: cygwin-unsubscribe@sources.redhat.com

2003-06-25 Thread Elfyn McBratney
On Tue, 24 Jun 2003, Tim Thomas wrote: > [EMAIL PROTECTED] > You'll have to do better than that, I'm afraid. See . Elfyn -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: C compiler cannot create executables

2003-06-25 Thread Elfyn McBratney
On Tue, 24 Jun 2003, Arvind Raman wrote: > Hi, > I am trying to compile the xvid distribution in the > cygwin shell on my windows 2k box. On doing so I am > getting the following error > configure: error: C compiler cannot create executables > which I see is troubling quite a few other people. > I

Re: gtk on cygwin [was: Re: Python and PIL and rebase, oh my! (update)]

2003-06-25 Thread S . L .
Chuck, [...] > I have no idea why you replied personally to me. [...] Apologies for the annoyance. SLao -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si

Win2003 periodic failures

2003-06-25 Thread Allan Yates
I have been running Cygwin on WinNT and Win2000 platforms with no issues for a year or so. I recently installed the latest (1.3.22-1) version on a Win2003 machine. Running the same code (very simple shell scripts) I am see the following error 12-25% of the time: couldn't dynamically determine loa

assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Alex Vinokur
=== Windows 2000 CYGWIN_NT-5.0 1.3.22(0.78/3/2) GNU gcc version 3.2 20020927 (prerelease) === Here is some function. -- void read_file (char* filename_i) { int fd = open(filename_i,

Re: cygwin-unsubscribe@sources.redhat.com

2003-06-25 Thread Igor Pechtchanski
On Wed, 25 Jun 2003, Elfyn McBratney wrote: > On Tue, 24 Jun 2003, Tim Thomas wrote: > > > [EMAIL PROTECTED] > > You'll have to do better than that, I'm afraid. See > . > > Elfyn FYI, I submitted his e-mail for unsubscription using the

Re: builing insight-6.0 pre-release on cygwin- GUI not working

2003-06-25 Thread Igor Pechtchanski
On Wed, 25 Jun 2003, vadraj kulkarni wrote: > Hi all, > I have compiled and installed insight-6.0 pre-lease version which > fetched from CVS server on linux. Iam albe to connect to my own target. > I am trying to do the same on cygwin(on XP). I can do only with CLI. I > am not able to connect to t

grep not working due to missing cygpcre.dll

2003-06-25 Thread JK
I just updated my installation with the "current" list of packages in setup. On startup I get a message from grep.exe saying it can't find cygpcre.dll. So now grep, less and more are broken. It's the problem described here: http://cygwin.com/ml/cygwin-apps/2003-06/msg00034.html aside from waitin

Re: Win2003 periodic failures

2003-06-25 Thread Elfyn McBratney
On Wed, 25 Jun 2003, Allan Yates wrote: > I have been running Cygwin on WinNT and Win2000 platforms with no issues > for a year or so. I recently installed the latest (1.3.22-1) version on > a Win2003 machine. Running the same code (very simple shell scripts) I > am see the following error 12-25%

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Elfyn McBratney
On Wed, 25 Jun 2003, Alex Vinokur wrote: > === > Windows 2000 > CYGWIN_NT-5.0 1.3.22(0.78/3/2) > GNU gcc version 3.2 20020927 (prerelease) > === > > Here is some function. > > -- > v

Re: cygwin presentation ???

2003-06-25 Thread R. Scott Baer
No ones done a presintation to their local LUG(or anyone else) on cygwin ?? - Original Message - From: "Baer, Scott [LBRT/LNA]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 2:51 PM Subject: cygwin presentation ??? > > Hello, > > I'm getting ready to do a pre

Linker info message

2003-06-25 Thread Joost Kraaijeveld
Hi, In an attempt to create a dll I get a warning from the linker, trying to resolve a static class variable. Output of the complete make command: $ make for i in Dll Exe; do make -C $i || exit 1; done make[1]: Entering directory `/cygdrive/o/MinDll/Source/Dll' g++ -c -o"../../Objects/Dll/Objec

Re: Updated: Perl 5.8.0-3 breaks binmode()

2003-06-25 Thread Don Slutz
I have found a change (patch) that will make stdio work the same as perlio. Both are broken for text mounts in that they force binary mode. The is a bug/feature in fgetc/fopen in the way perl uses them that prevents text mode from working on read, but works on write. Here are the diff files: di

Re: grep not working due to missing cygpcre.dll

2003-06-25 Thread Ronald Landheer-Cieslak
Either the mirror you used is still not updated (which means it's really very slow) or you broke a dependency somewhere. The simplest way to fix this is to get the libpcre package (not libpcre0: libpcre) from a mirror near you - install it using Setup.exe. If the package is not on the mirror you

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Ronald Landheer-Cieslak
On Wed, 25 Jun 2003, Elfyn McBratney wrote: > On Wed, 25 Jun 2003, Alex Vinokur wrote: > > > === > > Windows 2000 > > CYGWIN_NT-5.0 1.3.22(0.78/3/2) > > GNU gcc version 3.2 20020927 (prerelease) > > === > > > > Here i

Re: grep not working due to missing cygpcre.dll

2003-06-25 Thread Max Bowsher
JK wrote: > I just updated my installation with the "current" list of packages in > setup. > On startup I get a message from grep.exe saying it can't find > cygpcre.dll. > So now grep, less and more are broken. > > It's the problem described here: > http://cygwin.com/ml/cygwin-apps/2003-06/msg0003

Re: grep not working due to missing cygpcre.dll

2003-06-25 Thread Christopher Faylor
On Wed, Jun 25, 2003 at 09:18:57AM -0500, JK wrote: >I just updated my installation with the "current" list of packages in >setup. >On startup I get a message from grep.exe saying it can't find >cygpcre.dll. >So now grep, less and more are broken. > >It's the problem described here: >http://cygwin.

Re: Win2003 periodic failures

2003-06-25 Thread Christopher Faylor
On Wed, Jun 25, 2003 at 03:21:21PM +0100, Elfyn McBratney wrote: >On Wed, 25 Jun 2003, Allan Yates wrote: >>I have been running Cygwin on WinNT and Win2000 platforms with no >>issues for a year or so. I recently installed the latest (1.3.22-1) >>version on a Win2003 machine. Running the same code

Re: grep not working due to missing cygpcre.dll

2003-06-25 Thread JK
I had been using mirrors.rcn.com which seemes to be up todate. reinstalling libpcre 4-1.1 from cygwin.mirrors.pair.com and uninstalling pcre seemed to do the trick. thanks. On Wed, 25 Jun 2003 17:53:03 +0200 (CEST), "Ronald Landheer-Cieslak" <[EMAIL PROTECTED]> said: > Either the mirror you us

Re: grep not working due to missing cygpcre.dll

2003-06-25 Thread Elfyn McBratney
On Wed, 25 Jun 2003, JK wrote: > I just updated my installation with the "current" list of packages in > setup. > On startup I get a message from grep.exe saying it can't find > cygpcre.dll. > So now grep, less and more are broken. No, it's perfectly fine. > It's the problem described here: > ht

Re: Linker info message

2003-06-25 Thread Elfyn McBratney
On Wed, 25 Jun 2003, Joost Kraaijeveld wrote: . [...] > Info: resolving Object::i by linking to __imp___ZN6Object1iE > (auto-import) > make[1]: Leaving directory `/cygdrive/o/MinDll/Source/Exe' > > Can I safely ignore this message? (The executable works like it supposed > to do) Yes. Elfyn

RE: Win2003 periodic failures

2003-06-25 Thread Allan Yates
This is definitely the string coming out. Performing a 'strings' on the DLL shows this 'dynamically determine load address' error message, though with a %s for the actual module name. Win 2003 is released. If you have enough money - Microsoft will be happy to sell it to you :) Thanks, Allan. -

Re: Linker info message

2003-06-25 Thread Max Bowsher
Joost Kraaijeveld wrote: > Hi, > > In an attempt to create a dll I get a warning from the linker, trying to > resolve a static class variable. ... > Info: resolving Object::i by linking to __imp___ZN6Object1iE > (auto-import) > make[1]: Leaving directory `/cygdrive/o/MinDll/Source/Exe' > > C

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Elfyn McBratney
On Wed, 25 Jun 2003, Ronald Landheer-Cieslak wrote: > On Wed, 25 Jun 2003, Elfyn McBratney wrote: > > > On Wed, 25 Jun 2003, Alex Vinokur wrote: > > > > > === > > > Windows 2000 > > > CYGWIN_NT-5.0 1.3.22(0.78/3/2) > > > GNU gcc version 3.2 20020927 (prerele

problem with runningsimple C program

2003-06-25 Thread Milos Puzovic
I was trying to run the following simple C code: void func(); main() { func(); } void func() { printf("Hello world from func()!"); } First, I compiled it with gcc program.c -o program. Then I tried to run it, but I got "Segmentation fault (core dumped)" message. The version of gcc is 3.2 2

Re: Cygwin DLL init error

2003-06-25 Thread Doru Carastan
I have found the problem. During 'make install prefix=/install' the cygwin1.dll is installed as a data file. 'cacls cygwin1.dll' shows that the file is lacking the FILE_EXECUTE and FILE_GENERIC_EXECUTE attributes. Doing 'chmod +x cygwin1.dll' or copying the file with Explorer restores the execu

Re: Win2003 periodic failures

2003-06-25 Thread Christopher Faylor
On Wed, Jun 25, 2003 at 01:23:02PM -0400, Allan Yates wrote: >This is definitely the string coming out. Performing a 'strings' on the >DLL shows this 'dynamically determine load address' error message, >though with a %s for the actual module name. I didn't say this wasn't a cygwin error. I said t

make is holding a directory open

2003-06-25 Thread Robert Mecklenburg
I seem to be having a subtle issue with make under cygwin. The problem appears to be that make is "improperly" holding an open file handle on a directory. This prevents rm from deleting the directory as part of a makefile action. The actual problem occurs in a 4,700 line makefile which I've pare

RE: problem with runningsimple C program

2003-06-25 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Milos Puzovic > > > I was trying to run the following simple C code: > > void func(); > > main() { >func(); >} > > void func() { printf("Hello world from func()!"); } > > First, I compiled it with gcc program.c -o program. Then

Re: problem with runningsimple C program

2003-06-25 Thread Max Bowsher
Milos Puzovic wrote: > I was trying to run the following simple C code: > > void func(); > > main() { >func(); >} > > void func() { printf("Hello world from func()!"); } > > First, I compiled it with gcc program.c -o program. Then I tried to run > it, but I got "Segmentation fault (core

Re: problem with runningsimple C program

2003-06-25 Thread Milos Puzovic
Max Bowsher wrote: Works for me. Have you oversimplified this example? Strange! I have just reinstalled whole cygwin, compiled the code and it was working. Still don't know what was the problem. Milos. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: ht

cmd.exe executes wildcard, bash displays error, Invalid argument

2003-06-25 Thread jerry . laney
cygwin-prob01.txt 6/25/2003 Problem: cmd.exe executes wildcard, bash displays error, Invalid argument Using Windows2000, version 5.0, build 2195, SP2, and setup.exe, with cygwin install, version 2.340.2.5, downloaded and installed cygwin-1.3.22-1.tar.bz2, together with most every gnu-tool. (See

cygwin.com

2003-06-25 Thread DEEPA SIVASANKARANE
Hi, I'm unable to access www.cygwin.com. Could someone please let me know when the site'll be up ? Thanx, Deepa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: problem with runningsimple C program

2003-06-25 Thread VSong
I tried it and it worked fine for me. "Milos Puzovic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I was trying to run the following simple C code: > > void func(); > > main() { >func(); >} > > void func() { printf("Hello world from func()!"); } > > First, I compiled it wi

website broken

2003-06-25 Thread Rolf Campbell
When I view "www.cygwin.com", I get an empty page. /home/rcampbell> wget -S www.cygwin.com --16:57:26-- http://www.cygwin.com/ => `index.html' Resolving www.cygwin.com... done. Connecting to www.cygwin.com[66.187.233.205]:80... connected. HTTP request sent, awaiting response... End of

Re: website broken

2003-06-25 Thread Karsten M. Self
on Wed, Jun 25, 2003 at 04:59:11PM -0400, Rolf Campbell ([EMAIL PROTECTED]) wrote: > When I view "www.cygwin.com", I get an empty page. > > /home/rcampbell> wget -S www.cygwin.com > --16:57:26-- http://www.cygwin.com/ >=> `index.html' > Resolving www.cygwin.com... done. > Connecting t

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Igor Pechtchanski
On Wed, 25 Jun 2003, Elfyn McBratney wrote: > On Wed, 25 Jun 2003, Ronald Landheer-Cieslak wrote: > > > On Wed, 25 Jun 2003, Elfyn McBratney wrote: > > > > > On Wed, 25 Jun 2003, Alex Vinokur wrote: > > > > > > > === > > > > Windows 2000 > > > > CYGWIN_NT-5.

Auto-response for your message to

2003-06-25 Thread mac-gs-bugs-admin
The mac-gs-bugs list is deprecated; all bug reports relating to Ghostscript on MacOS should be sent to the mac-gs list instead. See http://ghostscript.com/mailman/listinfo/mac-gs/ for information on subscribing. We'll forward your post if it's appropriate, or you can resend yourself. Thanks for t

Re: cygwin presentation ???

2003-06-25 Thread Larry Hall
R. Scott Baer wrote: No ones done a presintation to their local LUG(or anyone else) on cygwin ?? Sorry no. We're all just users here, not evangelists. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washin

Re: website broken

2003-06-25 Thread Randall R Schulz
Hi, At 15:03 2003-06-25, Karsten M. Self wrote: on Wed, Jun 25, 2003 at 04:59:11PM -0400, Rolf Campbell ([EMAIL PROTECTED]) wrote: > When I view "www.cygwin.com", I get an empty page. > > /home/rcampbell> wget -S www.cygwin.com > --16:57:26-- http://www.cygwin.com/ >=> `index.html' >

Re: cygwin.com

2003-06-25 Thread Larry Hall
DEEPA SIVASANKARANE wrote: Hi, I'm unable to access www.cygwin.com. Could someone please let me know when the site'll be up ? It's up... now! -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Stree

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Alex Vinokur
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] > > Umm, Elfyn, the semantics of "assert()" is that you assert some predicate > to be true. If the predicate is indeed true, the program continues > normally. If the predicate is false, the program fails. > Th

Re: cygwin presentation ???

2003-06-25 Thread Christopher Faylor
On Wed, Jun 25, 2003 at 09:13:19PM -0400, Larry Hall wrote: >R. Scott Baer wrote: >>No ones done a presintation to their local LUG(or anyone else) on >>cygwin ?? > >Sorry no. We're all just users here, not evangelists. ;-) If I gave a presentation I'd end up scaring everyone with my mean visage

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Alex Vinokur
"Alex Vinokur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [snip] > > > > Umm, Elfyn, the semantics of "assert()" is that you assert some predicate > > to be true. If the predicate is indeed true

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Brian Dessent
Alex Vinokur wrote: > char* ptr = (char*)mmap(0, sz, PROT_READ, 0, fd, 0); > >errno = 0; > if (ptr != MAP_FAILED) > { > string str(ptr, ptr+sz); > munmap(ptr, sz); > } > else > { > assert (ptr == MAP_FAILED); > printf ("=== Error : %u %s ===\n", errno, strerror (errn

Re: website broken

2003-06-25 Thread Karsten M. Self
on Wed, Jun 25, 2003 at 06:28:53PM -0700, Randall R Schulz ([EMAIL PROTECTED]) wrote: > Hi, > > At 15:03 2003-06-25, Karsten M. Self wrote: > >on Wed, Jun 25, 2003 at 04:59:11PM -0400, Rolf Campbell > >([EMAIL PROTECTED]) wrote: > >> When I view "www.cygwin.com", I get an empty page. > >> > >> /h

Re: assertion "ptr != MAP_FAILED" failed while using mmap

2003-06-25 Thread Brian Dessent
Alex Vinokur wrote: > > The program prints: > === Error : 22 Invalid argument === > > Which argument? The flags argument requires at least one of MAP_SHARED or MAP_PRIVATE, I think. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.co