From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#19779: dmd: service definition errors cause kernel panic Date: Thu, 05 Feb 2015 02:18:22 -0500 Message-ID: <87lhkckerl.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGiS-0000Nr-Ou for bug-guix@gnu.org; Thu, 05 Feb 2015 02:19:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGiM-0006qF-Ao for bug-guix@gnu.org; Thu, 05 Feb 2015 02:19:08 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:43220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGiM-0006q5-7A for bug-guix@gnu.org; Thu, 05 Feb 2015 02:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YJGiL-0004dq-PH for bug-guix@gnu.org; Thu, 05 Feb 2015 02:19:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhl-0000J0-N9 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGhg-0006kC-O9 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:25 -0500 Received: from world.peace.net ([50.252.239.5]:34831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhg-0006k6-K2 for bug-guix@gnu.org; Thu, 05 Feb 2015 02:18:20 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 19779@debbugs.gnu.org When I first wrote 'wicd-service', I mispelled 'make-forkexec-constructor'. This caused a kernel panic whenever the service was included in my OS config. I don't know whether dmd printed a helpful error message, but if so, it was followed immediately by a kernel call trace that caused earlier messages to scroll off the screen. The result is that it was quite difficult to find the source of the error. In case of such errors, it would be good if dmd would print an error message with the most useful information at the bottom (in case it does not all fit on the display) and then to avoid exiting so that the message could be read and understood. Mark