Re: 1.5.6-pre: Occasional bad memory accesses within cygwin1.dll

2003-12-30 Thread Christopher Faylor
On Tue, Dec 30, 2003 at 04:48:28PM -0500, Christopher Faylor wrote: >Oh. This is probably with current CVS, which is broken. Known problem. >It's why I haven't generated a snapshot yet. This should be fixed now. I'm uploading a snapshot. cgf -- Unsubscribe info: http://cygwin.com/ml/#uns

Re: help: dumper 1.10 not giving expected stack trace in gdb

2003-12-30 Thread Christopher Faylor
On Tue, Dec 30, 2003 at 10:23:57PM -0500, Robert Baruch wrote: >Igor Pechtchanski wrote: > >> >>If I'm reading the code correctly, the stackdump file is generated from >>the failed thread. The core file contains the information about all >>threads, with no info on what the current (failed) one is.

Re: DLL and external symbols

2003-12-30 Thread Jani Tiainen
Larry Hall wrote: At 04:35 PM 12/30/2003, Jani Tiainen you wrote: Hi, I'm sure that this has been answered several times, but I'll ask again because couldn't find any solution by myself. I would like to build DLL (or any other sort of library) that refers to external symbols in main application.

Re: DLL and external symbols

2003-12-30 Thread Larry Hall
At 04:35 PM 12/30/2003, Jani Tiainen you wrote: >Hi, > >I'm sure that this has been answered several times, but I'll ask again because >couldn't find any solution by myself. > >I would like to build DLL (or any other sort of library) that refers to external >symbols in main application. > >So far

Re: SetConsoleCtrlHandler problem

2003-12-30 Thread Michi Henning
Michi Henning wrote: Shouldn't the same binary behave identically, regardless of whether I run it from cygwin/bash or a console window? Just tried this with /bin/sh, and the problem disappears with that. Looks like the problem is with bash then? Cheers, Michi. -- Unsubscribe info: http://

Re: SetConsoleCtrlHandler problem

2003-12-30 Thread Michi Henning
Michi Henning wrote: Shouldn't the same binary behave identically, regardless of whether I run it from cygwin/bash or a console window? Oops, forgot... Here is the version info: CYGWIN_NT-5.1 yoyo 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin Cheers, Michi. -- Unsubscribe in

SetConsoleCtrlHandler problem

2003-12-30 Thread Michi Henning
Hi, it appears that Windows binaries won't run correctly under cygwin/bash if they use SetConsoleCtrlHandler(). I've attached a trivial program below. If you run this from a Windows console window, it prints "handler called" every time you hit Ctrl-C. When run from a cygwin bash window, the progra

Re: help: dumper 1.10 not giving expected stack trace in gdb

2003-12-30 Thread Robert Baruch
Igor Pechtchanski wrote: If I'm reading the code correctly, the stackdump file is generated from the failed thread. The core file contains the information about all threads, with no info on what the current (failed) one is. So, try running 'info threads' in gdb, and then switch to each thread us

Re: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread Igor Pechtchanski
Please make sure your mailer doesn't leave raw e-mail addresses in the message -- they're food for spam harvesters. Your cygcheck output looks a bit weird (i.e., you have findutils installed, but "find" was not found; your path doesn't contain /usr/X11R6/bin even though you've installed XFree86 --

Re: help: dumper 1.10 not giving expected stack trace in gdb

2003-12-30 Thread Igor Pechtchanski
On Tue, 30 Dec 2003, Robert Baruch wrote: > Hi all, > > I've compiled a simple C program, t.c, via gcc-3.3.1, with -g: > > #include > > int main(void) > { > abort(); > } > > I've set CYGWIN='error_start=C:\cygwin\bin\dumper.exe'. So when I run > the program, abort causes dumper to run, and I en

Re: Posting to cygwin-developer [I must have forgotten something]

2003-12-30 Thread Igor Pechtchanski
On Tue, 30 Dec 2003, Brian Keener wrote: > Igor Pechtchanski wrote: > > Since you've mentioned it so many times, I assume it's not a typo. > > > It wasn't the s on developer but what about the fact I am using an anti spam > email when I submit and I receive the list under my real email - I bet tha

Re: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread prgmmer
Cygwin 1.5.5-1 under Xp Currently ssh-host-config runs after i deleted some other paths off of this old computer. However I get: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. Thanxs. - Original Message - From: "Igor Pechtch

java.lang.UnsatisfiedLinkError

2003-12-30 Thread Anjali Bharat Shah
Hi, I was using the "export" command in my script file. But that was not working. So, I tried specifying the paths using the -classpath option with javac and java. Thats where I got the below mentioned error. I have attached my script file for your reference. REI_HOME=E:/Profiles/ReiConfig/R

Re: problem comport, iocl and FIONREAD

2003-12-30 Thread Brian Dessent
Arash Partow wrote: > > Hi all, > > I'm seeing a problem with ioctl and FIONREAD, I use the > following code to check if there are any bytes in the > input buffer of a comport. > ie: Check the return value of ioctl(), I bet it's returning error and setting EINVAL. I think you want TIOCINQ inste

problem comport, iocl and FIONREAD

2003-12-30 Thread Arash Partow
Hi all, I'm seeing a problem with ioctl and FIONREAD, I use the following code to check if there are any bytes in the input buffer of a comport. ie: unsigned int SerialIO::getBufferSize() { int bufferedBytes = 0; ioctl(IOPortHandle, FIONREAD, &bufferedBytes); if (bufferedBytes == -1)

Re: Posting to cygwin-developer [I must have forgotten something]

2003-12-30 Thread Brian Keener
Igor Pechtchanski wrote: > Since you've mentioned it so many times, I assume it's not a typo. > It wasn't the s on developer but what about the fact I am using an anti spam email when I submit and I receive the list under my real email - I bet that is it. I am going to post to developers with my

Re: Path Errors

2003-12-30 Thread Anjali Bharat Shah
Hi, I was using the "export" command in my script file. But that was not working. So, I tried specifying the paths using the -classpath option with javac and java. Thats where I got the below mentioned error. I have attached my script file for your reference. Thanking You Sincerely, Anjali. >>

Re: 1.5.6-pre: Occasional bad memory accesses within cygwin1.dll

2003-12-30 Thread Christopher Faylor
On Tue, Dec 30, 2003 at 03:45:18PM -0600, Brian Ford wrote: >On Tue, 30 Dec 2003, Christopher Faylor wrote: > >> On Tue, Dec 30, 2003 at 02:36:12PM -0600, Brian Ford wrote: >> >On Mon, 29 Dec 2003, Christopher Faylor wrote: >> > >> >> On Sun, Dec 28, 2003 at 03:52:33PM -, Max Bowsher wrote: >>

Re: 1.5.6-pre: Occasional bad memory accesses within cygwin1.dll

2003-12-30 Thread Brian Ford
On Tue, 30 Dec 2003, Christopher Faylor wrote: > On Tue, Dec 30, 2003 at 02:36:12PM -0600, Brian Ford wrote: > >On Mon, 29 Dec 2003, Christopher Faylor wrote: > > > >> On Sun, Dec 28, 2003 at 03:52:33PM -, Max Bowsher wrote: > >> >I installed a self-built cygwin HEAD version - mostly it works

Re: 1.5.6-pre: Occasional bad memory accesses within cygwin1.dll

2003-12-30 Thread Christopher Faylor
On Tue, Dec 30, 2003 at 02:36:12PM -0600, Brian Ford wrote: >On Mon, 29 Dec 2003, Christopher Faylor wrote: > >> On Sun, Dec 28, 2003 at 03:52:33PM -, Max Bowsher wrote: >> >I installed a self-built cygwin HEAD version - mostly it works fine, but it >> >causes odd failures during builds (specul

help: dumper 1.10 not giving expected stack trace in gdb

2003-12-30 Thread Robert Baruch
Hi all, I've compiled a simple C program, t.c, via gcc-3.3.1, with -g: #include int main(void) { abort(); } I've set CYGWIN='error_start=C:\cygwin\bin\dumper.exe'. So when I run the program, abort causes dumper to run, and I end up with a t.exe.stackdump file and a t.exe.core file. The stac

DLL and external symbols

2003-12-30 Thread Jani Tiainen
Hi, I'm sure that this has been answered several times, but I'll ask again because couldn't find any solution by myself. I would like to build DLL (or any other sort of library) that refers to external symbols in main application. So far I have been able to build non-working constructs. =) Le

Re: Posting to cygwin-developer [I must have forgotten something]

2003-12-30 Thread Brian Keener
Thanks Igor, But unfortunately it was a typo or more so - laziness. I was more referring to the developers list than its actual name. The actual headers for my post show this: Date: Mon, 29 Dec 2003 15:15:11 EST To: [EMAIL PROTECTED] Subject: Problems compiling Cygwin from CVS - Undefined sym

Re: Posting to cygwin-developer [I must have forgotten something]

2003-12-30 Thread Igor Pechtchanski
Brian, The name of the list is "cygwin-developers" (note the trailing "s"). Since you've mentioned it so many times, I assume it's not a typo. Igor On Tue, 30 Dec 2003, Brian Keener wrote: > I am sorry to bother everyone with this but I seem to have gone brain > dead ( I know - nothing n

Posting to cygwin-developer [I must have forgotten something]

2003-12-30 Thread Brian Keener
I am sorry to bother everyone with this but I seem to have gone brain dead ( I know - nothing new there) and I don't seem to be able to get a post into cygwin-developer. I know the archive is now restricted via password (although I had forgotten that) and I seem to be subscribed because I am ge

Re: 1.5.6-pre: Occasional bad memory accesses within cygwin1.dll

2003-12-30 Thread Brian Ford
On Mon, 29 Dec 2003, Christopher Faylor wrote: > On Sun, Dec 28, 2003 at 03:52:33PM -, Max Bowsher wrote: > >I installed a self-built cygwin HEAD version - mostly it works fine, but it > >causes odd failures during builds (speculation: race when many processes > >being created and destroyed?)

Re: Path Errors

2003-12-30 Thread Igor Pechtchanski
On Tue, 30 Dec 2003, Anjali Bharat Shah wrote: > Hi, > I have a script file which runs fine with Linux. However, when the same > script file when I try to run using Cygwin, I get the following error: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: no XSB in java.librar > y.path >

RE: Question about ash and getopts

2003-12-30 Thread Blair P. Houghton
>> % cygcheck --version >> cygcheck version 1.30 >> System Checker for Cygwin >> Copyright 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. >> Compiled on Feb 8 2003 > >FYI, this doesn't tell us anything about the version of Cygwin D'oh! --Blair

Path Errors

2003-12-30 Thread Anjali Bharat Shah
Hi, I have a script file which runs fine with Linux. However, when the same script file when I try to run using Cygwin, I get the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: no XSB in java.librar y.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:

Re: Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread Igor Pechtchanski
On Tue, 30 Dec 2003, prgmmer wrote: > I've been following and looking at a couple guides to setting up sshd on > cygwin. > > So i've already download openssh and cygwin of course and cygwin runs fine. > > I create some environement variables and I add Path > > Then here's the problem. When I : > >

Fw: Problem configuring sshd as a service -expr error

2003-12-30 Thread prgmmer
- Original Message - From: prgmmer To: [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 12:35 AM Subject: Problem configuring sshd as a service -expr error I've been following and looking at a couple guides to setting up sshd on cygwin. So i've already download openssh and cygwin of

RE: 'man' shows escape sequences after updating to docbook_xsl 1.64.1-1

2003-12-30 Thread Ross Boulet
> > * Thorsten Kampe (2003-12-29 19:48 +0100) > > * Lynn Wilson (2003-12-23 19:40 +0100) > >> It seems that a few months ago the man pages were showing > the ESC[1m etc. escape > >> sequences in a bash shell. The problem was quickly fixed. > > >> I downloaded docbook_xsl 1.64.1-1 yesterday and

Re: Please try the latest snapshot -- it is close to cygwin 1.5.6

2003-12-30 Thread Pierre A. Humblet
Christopher Faylor wrote: > >I fixed some more problems with both vfork and with fork recently. The >fixes are currently in cvs. It's much better. CYGWIN_ME-4.90 hpn5170x 1.5.6(0.108/3/2) 2003-12-29 22:44 i686 unknown unknown Cygwin I only have problems with the more complicated tests. Open tw

Re: 'man' shows escape sequences after updating to docbook_xsl 1.64.1-1

2003-12-30 Thread Thorsten Kampe
* Thorsten Kampe (2003-12-29 19:48 +0100) > * Lynn Wilson (2003-12-23 19:40 +0100) >> It seems that a few months ago the man pages were showing the ESC[1m etc. escape >> sequences in a bash shell. The problem was quickly fixed. >> I downloaded docbook_xsl 1.64.1-1 yesterday and the problem is bac

[ANNOUNCEMENT] Updated Cygwin Package: python-2.3.3-1

2003-12-30 Thread Jason Tishler
New News: === I have updated the version of Python to 2.3.3-1. The tarballs should be available on a Cygwin mirror near you shortly. Old News: === Python is an interpreted, interactive, object-oriented programming language. If interested, see the Python web site for more details:

Re: Having problems with a program after upgrading to Cygwin 1.5.5

2003-12-30 Thread Nuno Ferreira
On Ter, 2003-12-30 at 10:19, Jarrod Hermer wrote: > I have been successfully using Kannel, latest cvs release from > www.kannel.org under cygwin 1.3.4 for quite some time. As soon as I > upgraded to 1.5.5 the program stopped functioning correctly. I think it > may be because of the way it (kannel a

Re: Having problems with a program after upgrading to Cygwin 1.5.5

2003-12-30 Thread Nuno Ferreira
On Ter, 2003-12-30 at 10:19, Jarrod Hermer wrote: > I have been successfully using Kannel, latest cvs release from > www.kannel.org under cygwin 1.3.4 for quite some time. As soon as I > upgraded to 1.5.5 the program stopped functioning correctly. I think it > may be because of the way it (kannel a

Having problems with a program after upgrading to Cygwin 1.5.5

2003-12-30 Thread Jarrod Hermer
Hi All, I understand that this is not the forum to complain about 3rd party apps breaking when using a different cygwin release but maybe someone knows of a simple solution... I have been successfully using Kannel, latest cvs release from www.kannel.org under cygwin 1.3.4 for quite some time. As

Re: [despammed] RE: [1.5.5] sshd error on local machine. [the return of sshd nightmare]

2003-12-30 Thread dominix
RE: [1.5.5] sshd error on local machine. [the return of sshd nightmare]many thanks Andrew, so now I'm able to dig aroung my ssh log :^P but it doesn't enlight me much more <:-( it keep me in a terrible computer mystery I still don't know if I have a cygwin issue or a Microsoft issue on this compu