From owner-freebsd-hackers Thu Nov 9 11:46:18 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA03164 for hackers-outgoing; Thu, 9 Nov 1995 11:46:18 -0800 Received: from haywire.DIALix.COM (news@haywire.DIALix.COM [192.203.228.65]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA03152 for ; Thu, 9 Nov 1995 11:46:13 -0800 Received: (from news@localhost) by haywire.DIALix.COM (sendmail) id DAA27769 for freebsd-hackers@freebsd.org; Fri, 10 Nov 1995 03:45:52 +0800 (WST) Received: from GATEWAY by haywire.DIALix.COM with netnews for freebsd-hackers@freebsd.org (problems to: usenet@haywire.dialix.com) To: freebsd-hackers@freebsd.org Date: 10 Nov 1995 03:45:48 +0800 From: peter@haywire.dialix.com (Peter Wemm) Message-ID: <47tlpc$r3k$1@haywire.DIALix.COM> Organization: DIALix Services, Perth, Australia. References: , <199511080128.SAA18699@phaeton.artisoft.com> Subject: Re: Timing bug with Netscape 2.0b2 Sender: owner-hackers@freebsd.org Precedence: bulk terry@lambert.org (Terry Lambert) writes: >> Is this another FreeBSD-emulating-BSDI bug with Netscape 2.0b2: >> >> Any graphic that is supposed to be updated regularly (blinking cursor, >> animated Netscape icon, or blinking tags in text) will not update when I >> run Netscape 2.0b2 in FreeBSD... UNLESS either: >> >> 1) The mouse is in motion (and then it updates slowly) OR >> 2) There is network activity (Netscape is currently downloading a page). >> >> I'm sure this is affecting everyone, right? >I believe this is another select() timeout/itimer interaction. >Has anyone looked at BSDI's default siginterrupt/syscall restart >options since the last time we talked about this? I've been examinging some rather large ktrace dumps. The BSD version of netscape 2.0b2 does not use the itimer system calls. :-( It's actually blocking inside a select without a timeout: [ ..... 5 Megs of ktrace/kdump deleted ..... ] 279 netscape.bin RET gettimeofday 0 279 netscape.bin CALL select(0xd,0xefbfc1c8,0xefbfc1a8,0xefbfc188,0xefbfc08c) 279 netscape.bin RET select 0 279 netscape.bin CALL gettimeofday(0xefbfbfe8,0) 279 netscape.bin RET gettimeofday 0 279 netscape.bin CALL sigprocmask(0x1,0) 279 netscape.bin RET sigprocmask 0 279 netscape.bin CALL sigprocmask(0x3,0) 279 netscape.bin RET sigprocmask 0 279 netscape.bin CALL select(0xd,0x50011f5c,0,0x50011f1c,0) ^^^ Note that no timeout is being selected. Also, it does not siginterrupt, and does not call any itimer functions. This looks like a netscape programming error. -Peter > Terry Lambert > terry@lambert.org >--- >Any opinions in this posting are my own and not those of my present >or previous employers.