Re: fetchmail problem with latest cygwin-1.5.6-1
> "Christopher" == Christopher Faylor <[EMAIL PROTECTED]> writes: Christopher> Yes. And, building with --enable-debugging might be useful since there is Christopher> a chance that it will detect handle corruption which, I suspect is what is Christopher> going wrong. Ok here some more information. First of all fetchmail seems to work fine when NOT running in daemon mode (fetchmail --nodetach). I build a debugable dll from the 20040122 snapshot and also debugable versions of fetchmail and procmail. I then followed the instuctions in winsup/cygwin/how-to-debug-cygwin.txt. Here are the results from the fetchmail.log file and below the three console windows which appear as soon as fetchmail starts fetching the first mail. fetchmail: skipping message [EMAIL PROTECTED]:1086 not flushed fetchmail: reading message [EMAIL PROTECTED]:1087 of 1088 (1286 header octets) fetchmail: (12104 body octets) *** starting debugger for pid 1024 fetchmail: MDA returned nonzero status 128 fetchmail: not flushed fetchmail: reading message [EMAIL PROTECTED]:1088 of 1088 (1460 header octets) 5311969 [main] fetchmail 1732 fhandler_base::dup: dup(/dev/null) failed, handle 1DC, Win32 error 6 5776268 [main] fetchmail 1732 mark_closed: attempt to close protected handle int proc_subproc(long unsigned int, long unsigned int):337(pid_handle<0x1DC>) winpid 1732 5982191 [main] fetchmail 1732 mark_closed: by virtual int fhandler_pipe::close():96(read_state<0x1DC>) *** starting debugger for pid 1648 - D:\>rem D:\>set CYGWIN_TESTING=1 D:\>D:\tmp\cygdeb\gdb.exe -nw "D:/bin/sh.exe" 1024 GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)... Attaching to program `/usr/bin/sh.exe', process 1024 [Switching to thread 1024.0x73c] (gdb) bt #0 0x77fa144c in ntdll!DbgUiConnectToDbg () from /c/WINNT/system32/NTDLL.DLL #1 0x7c50dfdb in KERNEL32!DebugActiveProcess () from /c/WINNT/system32/KERNEL32.DLL #2 0x7c4e987c in SetThreadExecutionState () from /c/WINNT/system32/KERNEL32.DLL - D:\>rem D:\>set CYGWIN_TESTING=1 D:\>D:\tmp\cygdeb\gdb.exe -nw "D:/bin/sh.exe" 1648 GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)... Can't attach to process. //1648: No such file or directory. (gdb) bt No stack. - D:\>rem D:\>set CYGWIN_TESTING=1 D:\>D:\tmp\cygdeb\gdb.exe -nw "D:/bin/fetchmail.exe" 1732 GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... Can't attach to process. //1732: No such file or directory. (gdb) bt No stack. - I dont know if this is enough information to solve the fetchmail issue. But if somebody has any ideas how to debug this further please tell me. Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fetchmail problem with latest cygwin-1.5.6-1
On Thu, Jan 22, 2004 at 09:51:39AM +0100, Dr. Volker Zell wrote: >> "Jason" == Jason Tishler <[EMAIL PROTECTED]> writes: > >Jason> Volker, >Jason> On Mon, Jan 19, 2004 at 08:00:54PM +0100, Dr. Volker Zell wrote: >>> fetchmail doesn't work with the latest cygwin-1.5.6-1. See below: >>> >>> fetchmail: reading message [EMAIL PROTECTED]:207 of 213 (3253 header octets) > fetchmail: (10881 body octets) >>> 691 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle > 0x324, Win32 error 232 >>> 51772 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle > 0x324, Win32 error 232 >>> fetchmail: not flushed >>> fetchmail: reading message [EMAIL PROTECTED]:208 of 213 (3204 header octets) >>> 125 [main] fetchmail 2200 fhandler_base::dup: dup(/dev/null) failed, handle > 1C0, Win32 error 6 > >Jason> FWIW, I cannot reproduce the above problem on Windows 2000 SP4 under >Jason> cygwin-1.5.6-1 or the 2004-Jan-21 snapshot. BTW, my fetchmail and >Jason> procmail setups appear to be similar to yours. > >Well I cannot produce the problem either on a W2K server edition at >home, which is otherwise setup exactly as my laptop on w2k prof. edition. > >I just noticed that on my laptop fetchmail runs fine when running under >gdb. > >So how can I debug this. Do I need a debuggable cygwin dll ? Yes. And, building with --enable-debugging might be useful since there is a chance that it will detect handle corruption which, I suspect is what is going wrong. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fetchmail problem with latest cygwin-1.5.6-1
> "Jason" == Jason Tishler <[EMAIL PROTECTED]> writes: Jason> Volker, Jason> On Mon, Jan 19, 2004 at 08:00:54PM +0100, Dr. Volker Zell wrote: >> fetchmail doesn't work with the latest cygwin-1.5.6-1. See below: >> >> fetchmail: reading message [EMAIL PROTECTED]:207 of 213 (3253 header octets) fetchmail: (10881 body octets) >> 691 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle 0x324, Win32 error 232 >> 51772 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle 0x324, Win32 error 232 >> fetchmail: not flushed >> fetchmail: reading message [EMAIL PROTECTED]:208 of 213 (3204 header octets) >> 125 [main] fetchmail 2200 fhandler_base::dup: dup(/dev/null) failed, handle 1C0, Win32 error 6 Jason> FWIW, I cannot reproduce the above problem on Windows 2000 SP4 under Jason> cygwin-1.5.6-1 or the 2004-Jan-21 snapshot. BTW, my fetchmail and Jason> procmail setups appear to be similar to yours. Well I cannot produce the problem either on a W2K server edition at home, which is otherwise setup exactly as my laptop on w2k prof. edition. I just noticed that on my laptop fetchmail runs fine when running under gdb. So how can I debug this. Do I need a debuggable cygwin dll ? Jason> Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fetchmail problem with latest cygwin-1.5.6-1
You might want to read the list this is a know issue. Try the latest snapshot 1.5.7 Steve "Andrew Schulman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I updated to Cygwin.dll 1.5.6-1 yesterday, and today bash won't start. > > It hangs somewhere in the startup scripts. The scripts are unchanged > > for several months, and they worked just fine yesterday. > > Here is output from cygcheck under 1.5.6-1 (run from cmd, since bash > won't start): > > C:\Documents and Settings\aschulma>cygcheck -src > Cygwin Package Information > Package VersionStatus > _update-info-dir00226-1OK > ash 20031007-1 OK > base-files 2.6-1 OK > base-passwd 1.1-1 OK > bash2.05b-16 OK > binutils20030901-1 OK > bison 20030307-1 OK > bzip2 1.0.2-5OK > clear 1.0-1 OK > crypt 1.1-1 OK > cygipc 2.02-1 OK > cygrunsrv 0.97-1 OK > cygutils1.2.2-1OK > cygwin 1.5.6-1OK > cygwin-doc 1.3-6 OK > diffutils 2.8.4-1OK > editrights 1.01-1 OK > expat 1.95.7-1 OK > expect 20030128-1 OK > file4.06-1 OK > fileutils 4.1-2 OK > findutils 4.1.7-4OK > flex2.5.4a-3 OK > fontconfig 2.2.0-1OK > freetype2 2.1.5-1OK > fvwm2.4.7-3OK > gawk3.1.3-4OK > gcc 3.3.1-3OK > gcc-mingw-core 20031020-1 OK > gdbm1.8.3-7OK > gettext 0.12.1-3 OK > ghostscript 7.05-2 OK > ghostscript-base7.05-2 OK > ghostscript-x11 7.05-2 OK > gnupg 1.2.2-3OK > grep2.5-1 OK > groff 1.18.1-2 OK > gzip1.3.5-1OK > ImageMagick 5.5.7-2OK > indent 2.2.9-1OK > inetutils 1.3.2-25 OK > jbigkit 1.5-3 OK > jpeg6b-11 OK > keychain2.0.3-2OK > less381-1 OK > lftp2.6.10-1 OK > libbz2_11.0.2-5OK > libdb3.13.1.17-2 OK > libdb4.14.1.25-1 OK > libfontconfig1 2.2.0-1OK > libfreetype26 2.1.5-1OK > libgdbm 1.8.0-5OK > libgdbm-devel 1.8.3-7OK > libgdbm31.8.3-3OK > libgdbm41.8.3-7OK > libgettextpo0 0.12.1-3 OK > libiconv2 1.9.1-3OK > libintl 0.10.38-3 OK > libintl10.10.40-1 OK > libintl20.12.1-3 OK > libjpeg62 6b-11 OK > libjpeg6b 6b-8 OK > libMagick6 5.5.7-2OK > libncurses5 5.2-1 OK > libncurses6 5.2-8 OK > libncurses7 5.3-4 OK > libpcre 4.1-1 OK > libpcre04.5-1 OK > libpng 1.2.5-4OK > libpng101.0.15-4 OK > libpng121.2.5-4OK > libpopt01.6.4-4OK > libPropList 0.10.1-3 OK > libreadline44.1-2 OK > libreadline54.3-5 OK > libtiff-devel 3.6.0-5OK > libtiff33.6.0-2OK > libtiff43.6.0-5OK > libxml2 2.6.4-1OK > login 1.9-7 OK > lynx2.8.4-7OK > m4 1.4-1 OK > make3.80-1 OK > man 1.5k-2 OK > mingw-runtime 3.2-1 OK > mktemp 1.5-3 OK > nano1.2.2-1OK > ncftp 3.1.4-1OK > ncurses 5.3-4 OK > netcat 1.10-2 OK > newlib-man 20020801 OK > openssh
Re: fetchmail problem with latest cygwin-1.5.6-1
Volker, On Mon, Jan 19, 2004 at 08:00:54PM +0100, Dr. Volker Zell wrote: > fetchmail doesn't work with the latest cygwin-1.5.6-1. See below: > > fetchmail: reading message [EMAIL PROTECTED]:207 of 213 (3253 header octets) > fetchmail: (10881 body octets) > 691 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle > 0x324, Win32 error 232 > 51772 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle > 0x324, Win32 error 232 > fetchmail: not flushed > fetchmail: reading message [EMAIL PROTECTED]:208 of 213 (3204 header octets) > 125 [main] fetchmail 2200 fhandler_base::dup: dup(/dev/null) failed, handle 1C0, > Win32 error 6 FWIW, I cannot reproduce the above problem on Windows 2000 SP4 under cygwin-1.5.6-1 or the 2004-Jan-21 snapshot. BTW, my fetchmail and procmail setups appear to be similar to yours. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fetchmail problem with latest cygwin-1.5.6-1
Hi Somehow the message part of the mail got stripped of. See below for... Hi Sending this mail now for the third time. It seems the mailer at cygwin.com doesn't accept mails > 10 bytes. My cygcheck output happens to be bigger than that. So I'm attaching it as .bz2 Sorry for the inconvinience. Christopher> On Mon, Jan 19, 2004 at 08:00:54PM +0100, Dr. Volker Zell wrote: >> fetchmail doesn't work with the latest cygwin-1.5.6-1. See below: Christopher> Yeah. Volker, remember how I was praising you earlier because you always Christopher> had nicely researched and well-defined error reports? Christopher> You've been slipping. Sorry, I was in a hurry leaving the office. Christopher> 1) cygcheck output is not optional. See attachement... Christopher> 2) fetchmail is a highly configurable program. Unless you are saying that things Christopher> just don't work out of the box, there's not much chance that anyone will be able Christopher> to help without knowing more details about your configuration. Now I see this: fetchmail (and also sh.exe and procmail.exe) are failing with a stackdump file directly under my D:\ drive sh.exe.stackdump: Exception: STATUS_ACCESS_VIOLATION at eip=6100256C eax=61671784 ebx=0003 ecx=6167 edx=58494E55 esi=61671784 edi= ebp=0022EBB8 esp=0022EBA0 program=D:\bin\sh.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 Stack trace: Frame Function Args 0022EBB8 6100256C (6167, 0003, , 6167018C) 0022EBD8 61090F2F (0001, 004149F0, 0022EBF8, 6104E413) 0022EBF8 6101F0FB (6167018C, 0060, 0400, ) 0022EC38 6104E6E0 (004149A8, 0A042588, 61671B91, ) 0022EDC8 61086751 (004149A8, , , 0022EE00) 0022EDE8 00401DEF (004149A8, , 0022EE08, 00410008) 0022EE18 00401C73 (6167BC3C, 6167BC84, 6873, ) 0022EF40 00408808 (0003, 6167BC84, 0A041318, 0022EF98) 0022EF80 61005D05 (0022EF98, 77F98191, 7FFDE000, 7FFDE000) 0022FF90 61005DF8 (, , , ) End of stack trace fetchmail.exe.stackdump: Exception: STATUS_ACCESS_VIOLATION at eip=6100256C eax=61671784 ebx=0002 ecx=6167 edx=58494E55 esi=61671784 edi=0A04C070 ebp=0022A218 esp=0022A200 program=D:\bin\fetchmail.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 procmail.exe.stackdump: Exception: STATUS_ACCESS_VIOLATION at eip=6101F25E eax=58494E55 ebx=0100 ecx=6110B0E0 edx=61671784 esi=6167018C edi=616788B4 ebp=0022EF40 esp=0022EF18 program=D:\bin\procmail.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 Stack trace: Frame Function Args 0022EF40 6101F25E (6167018C, 00A2, 0022EF84, 0022EF98) 0022EF80 61005881 (0022EF98, 0022F130, 77F98191, 77F92A98) 0022FF90 61005DF8 (, , , ) End of stack trace My /var/log/fetchmail.log file shows: fetchmail: skipping message [EMAIL PROTECTED]:231 not flushed fetchmail: skipping message [EMAIL PROTECTED]:232 not flushed fetchmail: skipping message [EMAIL PROTECTED]:233 not flushed fetchmail: skipping message [EMAIL PROTECTED]:234 not flushed fetchmail: skipping message [EMAIL PROTECTED]:235 not flushed fetchmail: reading message [EMAIL PROTECTED]:236 of 240 (3156 header octets) fetchmail: (1184 body octets) fetchmail: MDA returned nonzero status 128 fetchmail: not flushed fetchmail: reading message [EMAIL PROTECTED]:237 of 240 (3504 header octets) 172 [main] fetchmail 296 fhandler_base::dup: dup(/dev/null) failed, handle 1DC, Win32 error 6 And here is the contents of my config files relative to my homedirectory: ~/.fetchmailrc: === # Configuration created Tue Jul 17 16:08:20 2001 by fetchmailconf # Look for mail every 5 minutes set daemon 300 set logfile /var/log/fetchmail.log set postmaster "vzell" set invisible set no bouncemail set no spambounce set properties "" poll rgmemeaimap.oraclecorp.com with proto IMAP user 'Dr.Volker.Zell' there is 'vzell' here keep mda "/usr/bin/procmail -d %T" ~/.procmailrc = # Directory for storing procmail configuration and log files # You can name this environment variable anything you like # or, if you prefer, don't set it (but then don't refer to it!) PMDIR=$HOME/Procmail # Put ## before LOGFILE if you want no logging (not recommended) LOGFILE=/var/log/procmail.log # To insert a blank line between each message's log entry, # uncomment next two lines (this is helpful for debugging) LOG=" " # Set to yes when debugging VERBOSE=no MAILDIR=$HOME/imap # Make sure this directory exists! INCLUDERC=$PMDIR/rc.testing ~/$PMDIR/rc.testing: = # Your incoming messages are stored here, filtered by procmail SPOOL = $HOME/imap # Backup storage # # - This could be directory too. In that case you could use # cron job to expire old messages at regular intervals # - For once a day expiration, see procmail module list # and pm-jacron.rc BUP_SPOOL = $SPOOL
Re: fetchmail problem with latest cygwin-1.5.6-1
On Jan 20 14:38, Dr. Volker Zell wrote: > [cygcheck.X.txt.bz2] Any reason not to follow the guideline on http://cygwin.com/problems.html, not to compress the cygcheck attachment? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fetchmail problem with latest cygwin-1.5.6-1
cygcheck.X.txt.bz2 Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: fetchmail problem with latest cygwin-1.5.6-1
On Mon, Jan 19, 2004 at 08:00:54PM +0100, Dr. Volker Zell wrote: >fetchmail doesn't work with the latest cygwin-1.5.6-1. See below: Yeah. Volker, remember how I was praising you earlier because you always had nicely researched and well-defined error reports? You've been slipping. 1) cygcheck output is not optional. 2) fetchmail is a highly configurable program. Unless you are saying that things just don't work out of the box, there's not much chance that anyone will be able to help without knowing more details about your configuration. cgf >fetchmail: starting fetchmail 6.2.5 daemon >fetchmail: 213 messages (206 seen) for Dr.Volker.Zell at rgmemeaimap.oraclecorp.com. >fetchmail: skipping message [EMAIL PROTECTED]:1 not flushed >fetchmail: skipping message [EMAIL PROTECTED]:2 not flushed >fetchmail: skipping message [EMAIL PROTECTED]:3 not flushed > > --- snip-- > >fetchmail: skipping message [EMAIL PROTECTED]:203 not flushed >fetchmail: skipping message [EMAIL PROTECTED]:204 not flushed >fetchmail: skipping message [EMAIL PROTECTED]:205 not flushed >fetchmail: skipping message [EMAIL PROTECTED]:206 not flushed >fetchmail: reading message [EMAIL PROTECTED]:207 of 213 (3253 header octets) >fetchmail: (10881 body octets) 691 [main] sh 940 sig_send: error sending signal >-33 to pid 940, pipe handle 0x324, Win32 error 232 > 51772 [main] sh 940 sig_send: error sending signal -33 to pid 940, pipe handle > 0x324, Win32 error 232 >fetchmail: not flushed >fetchmail: reading message [EMAIL PROTECTED]:208 of 213 (3204 header octets) 125 >[main] fetchmail 2200 fhandler_base::dup: dup(/dev/null) failed, handle 1C0, Win32 >error 6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/