Subject: Re: firefox 1.0.1 behaviour changed badly on current/i386
To: None <current-users@NetBSD.org>
From: George Michaelson <ggm@apnic.net>
List: current-users
Date: 03/12/2005 15:15:18
I deleteted .mozilla, and started from clean state after fixing the
libwallet.so issue.

I removed my .mailcap, created by OpenOffice 2.0 beta. I've left the base
.mailcap in /etc and /usr/pkg/etc which appear un-touched.

I still get MIME directed downloads going to the tempfile state in /tmp.

so I did ktruss on my program, and lsof. I appear to have some pipes/unix
sockets pointing back into itself (!) and I ktrace a loop of:

  2143 firefox-bin gettimeofday(0xbfbfdf78, 0)     = 0
  2143 firefox-bin read(0x4, 0xbfbfe073, 0x1)      = 1
       "\M-z"
  2143 firefox-bin ioctl(0x3, FIONREAD, 0xbfbfd8cc) = 0
       "\0\0\0\0"
  2143 firefox-bin poll(0x83e5780, 0x8, 0xffffffff) = 0
  2143 firefox-bin gettimeofday(0xb0ffff10, 0)     = 0
  2143 firefox-bin gettimeofday(0xb0fffed0, 0)     = 0
  2143 firefox-bin timer_settime(0x3, 0x1, 0xb0fffe08, 0) = 0
  2143 firefox-bin sa_yield()                      = 1
  2143 firefox-bin sa_yield                        JUSTRETURN
  2143 firefox-bin read(0x7, 0xb2fffb28, 0x400)    = 1
       "8"
  2143 firefox-bin poll(0xb2fffce8, 0x1, 0xffffffff) = 1
  2143 firefox-bin sa_yield                        JUSTRETURN
  2143 firefox-bin ioctl(0x3, FIONREAD, 0xbfbfd8cc) = 0
       " \0\0\0"
  2143 firefox-bin read(0x3, 0xbfbfd8d0, 0x20)     = 32
      
"o\^B\M-0\M-(\M-SS.\0\^A\^D\^D\0\0\0\0\0\0\0\0\^D\^D\^D\^D\^D\0\0\^C"  2143
firefox-bin write(0x3, 0x8071000, 0x8)      = 8      
"\M^V\^D\^B\0\0\^A@\0"  2143 firefox-bin read(0x3, 0xbfbfde60, 0x20)    
Err#35 EAGAIN  2143 firefox-bin poll(0x8063c00, 0x1, 0xffffffff) = 1
  2143 firefox-bin sa_yield                        JUSTRETURN
  2143 firefox-bin read(0x3, 0xbfbfde60, 0x20)     = 32
      
"\^A\^A\M-1\M-(\0\0\0\0\^D\^D\0\0\0\0\0\0\0\0\^D\0\0\0\0\0\0\0\0\0\0\0" 
2143 firefox-bin ioctl(0x3, FIONREAD, 0xbfbfd8cc) = 0       "\0\0\0\0"

Is this some kind of 'not respecting eof()' bug on pipes used for IPC?

-George