From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 05 02:18:33 2015 Received: (at submit) by debbugs.gnu.org; 5 Feb 2015 07:18:33 +0000 Received: from localhost ([127.0.0.1]:34460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJGht-0004d3-7g for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJGhs-0004cq-AI for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGhm-0006lN-HQ for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGhm-0006lJ-EJ for submit@debbugs.gnu.org; Thu, 05 Feb 2015 02:18:26 -0500 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 Received: from [10.1.10.11] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YJGha-0006Wx-QU; Thu, 05 Feb 2015 02:18:14 -0500 From: Mark H Weaver To: bug-guix@gnu.org Subject: 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 25 06:02:18 2015 Received: (at 19779-done) by debbugs.gnu.org; 25 Nov 2015 11:02:18 +0000 Received: from localhost ([127.0.0.1]:52088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Xq5-0006wG-P0 for submit@debbugs.gnu.org; Wed, 25 Nov 2015 06:02:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43806) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Xq3-0006w6-M2 for 19779-done@debbugs.gnu.org; Wed, 25 Nov 2015 06:02:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Xq0-0002xT-Ao for 19779-done@debbugs.gnu.org; Wed, 25 Nov 2015 06:02:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Xq0-0002xO-7k; Wed, 25 Nov 2015 06:02:12 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:38338 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a1Xpz-0005cF-KG; Wed, 25 Nov 2015 06:02:12 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#19779: dmd: service definition errors cause kernel panic References: <87lhkckerl.fsf@netris.org> Date: Wed, 25 Nov 2015 12:02:09 +0100 In-Reply-To: <87lhkckerl.fsf@netris.org> (Mark H. Weaver's message of "Thu, 05 Feb 2015 02:18:22 -0500") Message-ID: <87lh9mjqa6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 19779-done Cc: 19779-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) Mark H Weaver skribis: > 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. Commit b9c7ed7 wraps service loading in =E2=80=98call-with-error-handling= =E2=80=99, which spawns a REPL when something goes wrong. Better than a kernel panic! Ludo=E2=80=99. From unknown Sat Aug 16 22:48:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Dec 2015 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator