Strange problem with errno and latest Sylpheed from pkgsrc

Steve O'Hara-Smith steve at sohara.org
Mon Feb 27 10:09:40 PST 2006


On Mon, 20 Feb 2006 14:06:01 +0000
"Steve O'Hara-Smith" <steve at xxxxxxxxxx> wrote:

> On Mon, 20 Feb 2006 14:19:24 +0100
> joerg at xxxxxxxxxxxxxxxxx wrote:
> 
> > On Mon, Feb 20, 2006 at 12:07:34PM +0000, Steve O'Hara-Smith wrote:
> > > 	I've hit a really odd problem with the latest pkgsrc sylpheed
> > > under 1.5.0 Preview. Attempts to fetch mail from my POP3 servers always
> > > fail instantly - using gdb I tracked the problem to this bit of code:
> > 
> > Can you please ktrace sylpheed?
> 
> 	Certainly full ktrace.out is at ftp:ftp.sohara.org/pub/ktrace.out
> 
> 	The relevant section of kdump -tc seems to be
> 
>  94265 sylpheed RET   socket 8
>  94265 sylpheed CALL  fcntl(0x8,0x3,0)
>  94265 sylpheed RET   fcntl 2
>  94265 sylpheed CALL  fcntl(0x8,0x4,0x6)
>  94265 sylpheed RET   fcntl 0
>  94265 sylpheed CALL  fcntl(0x8,0x4,0x6)
>  94265 sylpheed RET   fcntl 0
>  94265 sylpheed CALL  fcntl(0x8,0x3,0)
>  94265 sylpheed RET   fcntl 6
>  94265 sylpheed CALL  connect(0x8,0x82fc120,0x10)
>  94265 sylpheed RET   connect -1 errno 36 Operation now in progress
>  94265 sylpheed CALL  writev(0x2,0xbfbfe4b0,0x4)
>  94265 sylpheed RET   writev 35/0x23
>  94265 sylpheed CALL  fstat(0x8,0xbfbfe500)
>  94265 sylpheed RET   fstat 0
>  94265 sylpheed CALL  close(0x8)
>  94265 sylpheed RET   close 0
> 
> > Next time, please mention that you use sylpheed-devel :-)
> 
> 	It's not sylpheed-devel 2.2.0 has been released and mail/sylpheed
> has been updated to it yesterday :)
> 
> 	I got another core dump from it anyway so for now I have
> reverted to 2.0.4 and I have 2.2.0 built but not installed.

	2.2.1 is just out - it fixes the other core dump but this
problem remains in it. Hacking it to assume that the only error from
connect will be EINPROGRESS makes the whole thing work AFAICT.

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/





More information about the Bugs mailing list