From owner-freebsd-current@FreeBSD.ORG Tue Jan 11 20:11:47 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84E3B106564A for ; Tue, 11 Jan 2011 20:11:47 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 451098FC16 for ; Tue, 11 Jan 2011 20:11:46 +0000 (UTC) Received: by ywp6 with SMTP id 6so8689560ywp.13 for ; Tue, 11 Jan 2011 12:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=s60kue33h7X3K5Na7I6SZMCgHbW5aQww/BGl9si7ebk=; b=cEz/Ukiqd4D6cwmW7yADq5c8j2MOOBC7l77M2OpCKSWzpDOBV4cm+3rlrHcFUWmYMr fSWOnp38eaFJ0jt9LDbsWjG7nmG6XTkvT33HaoZl3rh1rCXsfVCEHU3/ZWrI0VEFv4+J bxC0eSl3uf3bquCDc6LoMcdNJ+rKowxSdd07Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PerZR7NETcYy1T/hqAvAuI+WQ7v3q/QZ7a7qR8+P2NfvSTXG7rHR+miNRe8AgdFnfu sFaktSvXRkT3wZwlBCpYx5vSGdicwr2aExW9IJ/4XUT2onE0hF/sdyK8ukgBacZO3Kn+ kLJFK2yPFg6lpU1V400q5HMxocchrm7/xHVY8= MIME-Version: 1.0 Received: by 10.90.115.17 with SMTP id n17mr580068agc.145.1294776706412; Tue, 11 Jan 2011 12:11:46 -0800 (PST) Received: by 10.90.71.14 with HTTP; Tue, 11 Jan 2011 12:11:43 -0800 (PST) Date: Tue, 11 Jan 2011 21:11:43 +0100 Message-ID: From: David DEMELIER To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: why panic(9) ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 20:11:47 -0000 Hello, I'm just guessing why current BSD panic() when a problem occurs, all modern operating systems solve the problem instead of crashing suddently and corrupting all your data without saving your work. Yes, why this function exists? There is no way to solve a problem without panic'ing? Is panic really needed? Imagine someone working on something really important and his computer just panic, his work not saved everybody shout at him in the corporation. He lose his job, his wife, his dog, everything is wrong, just because of a panic() ! Seriously, I really hate when I play some music that suddenly the music get stucked in a infinite loop, why ? I don't know because the panic does not core dump. But after some search I found that the panic was done because of conky. How the hell conky can panic FreeBSD? We are in 2011 ! I think even Window 2000 does not crash on a user-land software. I'm guessing now, if minix panic when a bloated crappy software is running. I think Andrew is in the right way. -- Demelier David