From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 9 03:41:37 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F87B37B401; Mon, 9 Jun 2003 03:41:37 -0700 (PDT) Received: from mail.roxen.com (godzilla.roxen.com [194.52.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84F5E43F3F; Mon, 9 Jun 2003 03:41:35 -0700 (PDT) (envelope-from grubba@roxen.com) Received: by mail.roxen.com (Postfix, from userid 52) id A611A99E6; Mon, 9 Jun 2003 12:41:33 +0200 (MEST) Received: from jms.roxen.com (jms.roxen.com [194.52.182.165]) by mail.roxen.com (Postfix) with ESMTP id A7DC699E2; Mon, 9 Jun 2003 12:41:32 +0200 (MEST) Date: Mon, 9 Jun 2003 12:41:32 +0200 (MET DST) From: =?iso-8859-1?Q?Henrik_Grubbstr=F6m?= To: Ceri Davies In-Reply-To: <200306081757.h58Hv8Nm000153@freefall.freebsd.org> Message-ID: Organization: Roxen Internet Software AB MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,NOSPAM_INC, QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01,USER_AGENT_PINE version=2.43 X-Spam-Level: cc: "freebsd-bugs@FreeBSD.org" cc: Dan Nelson Subject: Re: misc/22190: A threaded read(2) from a socketpair(2) fd can sometimes fail with errno 19 (ENODEV) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 10:41:37 -0000 On Sun, 8 Jun 2003, Ceri Davies wrote: > Synopsis: A threaded read(2) from a socketpair(2) fd can sometimes fail with errno 19 (ENODEV) > > State-Changed-From-To: feedback->open > State-Changed-By: ceri > State-Changed-When: Sun Jun 8 10:57:08 PDT 2003 > State-Changed-Why: > Feedback has been requested and received; throw this PR back open. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=22190 Well, since the last followup was from august last year, I can inform you that the bug was last triggered on Dan's FreeBSD 5.1-BETA machine yesterday: Fatal error 'read(2) may not return ENODEV' at line 98 in file /usr/src/lib/libc_r/uthread/uthread_read.c (errno = 19) Abort trap (core dumped) Core was generated by `pike'. Program terminated with signal 6, Aborted. #0 0x2826239f in kill () at {standard input}:15 in {standard input} Active threads Current language: auto; currently asm * 1 process 33497 0x2826239f in kill () at {standard input}:15 Backtrace #0 0x2826239f in kill () at {standard input}:15 #1 0x282c219a in abort () at /usr/src/lib/libc/stdlib/abort.c:72 #2 0x2820f443 in _thread_exit () at /usr/src/lib/libc_r/uthread/uthread_exit.c:99 #3 0x28209d65 in _read (fd=12, buf=0xbf966fe8, nbytes=3) at /usr/src/lib/libc_r/uthread/uthread_read.c:98 #4 0x28209d9b in __read (fd=12, buf=0xbf966fe8, nbytes=3) at /usr/src/lib/libc_r/uthread/uthread_read.c:108 #5 0x080b725a in f_create_process (args=1) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/signal_handler.c:3512 #6 0x0807073d in low_mega_apply (type=APPLY_LOW, args=1, arg1=0x85dced8, arg2=0x6) at apply_low.h:195 #7 0x08071734 in mega_apply (type=APPLY_LOW, args=1, arg1=0x85dced8, arg2=0x6) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/interpret.c:1702 #8 0x080cd7a5 in call_pike_initializers (o=0x85dced8, args=1) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/object.c:326 #9 0x080cd894 in debug_clone_object (p=0x5, args=1) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/object.c:352 #10 0x080711fe in low_mega_apply (type=APPLY_SVALUE_STRICT, args=1, arg1=0x8533554, arg2=0x0) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/interpret.c:1500 #11 0x0806e77d in opcode_F_APPLY (arg1=33496) at interpret_functions.h:1873 #12 0x08533166 in ?? () #13 0x08071750 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/interpret.c:1704 #14 0x08071874 in f_call_function (args=1) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/interpret.c:1769 #15 0x080f6fed in new_thread_func (data=0xbfbff404) at /usr/tmp/xenofarm/pike-7.5/dan.emsphone.com/buildtmp/Pike7.5-20030608-215603/src/threads.c:788 #16 0x28204e6d in _thread_start () at /usr/src/lib/libc_r/uthread/uthread_create.c:275 #17 0xbf91c000 in ?? () sysname: FreeBSD release: 5.1-BETA version: FreeBSD 5.1-BETA #271: Thu May 29 16:33:28 CDT 2003 dan@dan.emsphone.com:/usr/src/sys/i386/compile/DANSMP machine: i386 nodename: dan.emsphone.com testname: default command: make xenofarm clientversion: $Id: client.sh,v 1.73 2003/05/20 12:48:33 mani Exp $ putversion: $Id: put.c,v 1.14 2003/01/12 21:14:16 ceder Exp $ contact: dnelson@allantgroup.com Thanks, -- Henrik Grubbström grubba@roxen.com Roxen Internet Software AB