misc/22190: A threaded read(2) from a socketpair(2) fd can sometimes fail with errno 19 (ENODEV)

Ceri Davies ceri at FreeBSD.org
Mon Jun 9 03:50:13 PDT 2003


The following reply was made to PR misc/22190; it has been noted by GNATS.

From: Ceri Davies <ceri at FreeBSD.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit at FreeBSD.org>
Cc:  
Subject: Re: misc/22190: A threaded read(2) from a socketpair(2) fd can sometimes fail with errno 19 (ENODEV)
Date: Mon, 9 Jun 2003 11:49:36 +0100

 Adding to audit trail:
 
 
 Date: Mon, 9 Jun 2003 12:41:32 +0200 (MET DST)
 From: Henrik Grubbstr <grubba at roxen.com>
 Message-ID: <Pine.GSO.4.21.0306091233430.13083-100000 at jms.roxen.com>
 
 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 at 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 at allantgroup.com
 
 Thanks,
 
 --
 Henrik Grubbström					grubba at roxen.com
 Roxen Internet Software AB
 
 


More information about the freebsd-bugs mailing list