Date: Mon, 10 Sep 2001 01:55:38 -0700 (PDT) From: Ville-Pertti Keinonen <will@iki.fi> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/30482: calcru calls printf while holding a spin lock Message-ID: <200109100855.f8A8tc352141@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 30482 >Category: kern >Synopsis: calcru calls printf while holding a spin lock >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 10 02:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Ville-Pertti Keinonen >Release: 5.0-current >Organization: >Environment: >Description: A machine that previously frequently reported problems with microuptime() going backwards in calcru started crashing after a recent update. I'm just guessing based on the stack trace and the panic message (and this is the first time I look at anything related to SMPng locking), but it seems that calcru calls printf which eventually tries to wake up another process and grab allproc_lock while sched_lock is held... This seems like an obvious enough bug that it should not require further details. >How-To-Repeat: >Fix: Remove or defer the printf-calls. >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?200109100855.f8A8tc352141>