Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 18:18:03 +0100 (BST)
From:      Brian Somers <brian@Awfulhak.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        deischen@FreeBSD.org
Subject:   bin/27035: libc_r breaks pppctl
Message-ID:  <200105021718.f42HI3q64316@dev.lan.Awfulhak.org>

next in thread | raw e-mail | index | archive | help

>Number:         27035
>Category:       bin
>Synopsis:       libc_r aborts pppctl(8)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 02 10:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Brian Somers
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Awfulhak Ltd.
>Environment:
System: FreeBSD dev.lan.Awfulhak.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed May 2 11:59:47 BST 2001 cvs@dev.lan.Awfulhak.org:/usr/obj/usr/src/sys/DEV i386


>Description:
	pppctl aborts with

	Fatal error '_waitq_remove: Not in queue' at line 317 in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = 35)

>How-To-Repeat:
	Start up two windows.

	Window 1:
		# ppp
		Working in interactive mode
		Using interface: tun0
		# ppp ON machine> set server /tmp/s ""

	Window 2:
		# pppctl /tmp/s
		# ppp ON machine> set log local command

	Window 1:
		# ppp ON machine> show who
		.......

	You may need to do the ``show who'' more than once - on one occasion
	here I needed to do it twice.

	Window 2 eventually shows:
		ppp ON machine> Command: /dev/tty: show who
		Fatal error '_waitq_remove: Not in queue' at line 317 in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = 35)
		Abort trap (core dumped)
		# 

>Fix:

	No idea, I know little about the pthreads implementation.  It's
	always possible to use telnet instead of pppctl though, so this
	problem can't really be described as critical...
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105021718.f42HI3q64316>