From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 20 Sep 2012 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 12478@debbugs.gnu.org X-Debbugs-Original-To: "bug-coreutils@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.134815653017282 (code B ref -1); Thu, 20 Sep 2012 15:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2012 15:55:30 +0000 Received: from localhost ([127.0.0.1]:45370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEj69-0004Ug-8M for submit@debbugs.gnu.org; Thu, 20 Sep 2012 11:55:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47607) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEhLY-0001xA-2l for submit@debbugs.gnu.org; Thu, 20 Sep 2012 10:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEhJz-0007JM-Kz for submit@debbugs.gnu.org; Thu, 20 Sep 2012 10:01:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:43505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEhJz-0007JI-HD for submit@debbugs.gnu.org; Thu, 20 Sep 2012 10:01:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEhJp-00073t-Tf for bug-coreutils@gnu.org; Thu, 20 Sep 2012 10:01:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEhJi-0007El-P7 for bug-coreutils@gnu.org; Thu, 20 Sep 2012 10:01:29 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:33564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEhJi-0007Ea-Kz for bug-coreutils@gnu.org; Thu, 20 Sep 2012 10:01:22 -0400 Received: by vcbfl17 with SMTP id fl17so2854084vcb.0 for ; Thu, 20 Sep 2012 07:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:mime-version:date:message-id:subject:to :content-type; bh=gC5pIIZ2TxmMzKzDjpSQ3ljo8CPll4ubYJDeC41HUcM=; b=CxBYZd56tOdND6nQmfiNzxGSWPkQl8GuMqrIElVQZd/Wa4XCgC2eOi1rtH32qBD3F1 NgOoaD6Z1ry4GVtbKdVCZeeWUbvqV3sFMEipmXYPqqi/7rB2HT+jIgn08NmToheFGzl3 nEY3hvCIq+OayO/s70zBB20cTOlmiQY8AdwWzkoAUCdOtasSfIOt5yJbNkfoqkIkxEFl /VAYNH+11JXYnahCTr0rn1Pg1TROq1cjDEG5oE0EWnaE/NouGhrxzynTwjunk60I+VQL mNb2Y8bSS42mBbbAmMsI3NIY3k/d0/BBmJXjAW2DGrfNDisSQbRO+51h84dV1ENoRQiW MulQ== Received: by 10.220.141.208 with SMTP id n16mr1111741vcu.22.1348149681548; Thu, 20 Sep 2012 07:01:21 -0700 (PDT) References: <10572CF2D63950438AE2B27B65BD8F36F10E39473E@S01B10EE.exchange.ubs.ch> From: "Rafal W." Mime-Version: 1.0 (iPhone Mail 8A293) Date: Thu, 20 Sep 2012 15:57:33 +0200 Message-ID: <6535107110393308212@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Mailman-Approved-At: Thu, 20 Sep 2012 11:55:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) > $ cat /dev/zero > ^\Quit (core dumped) > > Steps to reproduce: > 1. Switch to any text console (it doesn't happen in X). > 2. Login > 3. Run: cat /dev/zero > 4. Press: Ctrl-Alt-SysRq-1 (or any number except letters:) > 5. You'll see: ^\Quit (core dumped) > > Here is the backtrace: > kenorb@kenorb-HP-Compaq-8100-Elite-SFF-PC:/usr/src/coreutils-8.13/src$ gdb ./cat > GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/src/coreutils-8.13/src/cat...done. > (gdb) set args /dev/zero > (gdb) run > Starting program: /usr/src/coreutils-8.13/src/cat /dev/zero > ^\ > Program received signal SIGQUIT, Quit. > 0x00007ffff7b02100 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:82 > 82 ../sysdeps/unix/syscall-template.S: No such file or directory. > (gdb) bt > #0 0x00007ffff7b02100 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:82 > #1 0x0000000000405184 in safe_write (fd=1, buf=0x60f000, count=32768) at safe-read.c:66 > #2 0x0000000000402dba in full_write (fd=1, buf=0x60f000, count=32768) at full-write.c:65 > #3 0x0000000000401e0e in simple_cat (buf=0x60f000 "", bufsize=32768) at cat.c:186 > #4 0x0000000000402958 in main (argc=2, argv=0x7fffffffe088) at cat.c:731 > (gdb) bt full > #0 0x00007ffff7b02100 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:82 > No locals. > #1 0x0000000000405184 in safe_write (fd=1, buf=0x60f000, count=32768) at safe-read.c:66 > result = 32768 > #2 0x0000000000402dba in full_write (fd=1, buf=0x60f000, count=32768) at full-write.c:65 > n_rw = 32768 > total = 0 > ptr = 0x60f000 "" > #3 0x0000000000401e0e in simple_cat (buf=0x60f000 "", bufsize=32768) at cat.c:186 > n = 32768 > n_read = 32768 > #4 0x0000000000402958 in main (argc=2, argv=0x7fffffffe088) at cat.c:731 > outsize = 32768 > insize = 32768 > page_size = 4096 > inbuf = 0x60ef90 "" > outbuf = 0x0 > ok = true > c = -1 > argind = 1 > out_dev = 15774435 > out_ino = 9 > check_redirection = false > have_read_stdin = false > stat_buf = {st_dev = 5, st_ino = 1031, st_nlink = 1, st_mode = 8630, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 261, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1348073751, tv_nsec = 756796048}, > st_mtim = {tv_sec = 1348073751, tv_nsec = 756796048}, st_ctim = {tv_sec = 1348073751, tv_nsec = 756796048}, __unused = {0, 0, 0}} > number = false > number_nonblank = false > squeeze_blank = false > show_ends = false > show_nonprinting = false > show_tabs = false > file_open_mode = 0 > long_options = {{name = 0x409810 "number-nonblank", has_arg = 0, flag = 0x0, val = 98}, {name = 0x409820 "number", has_arg = 0, flag = 0x0, val = 110}, {name = 0x409827 "squeeze-blank", has_arg = 0, flag = 0x0, val = 115}, { > name = 0x409835 "show-nonprinting", has_arg = 0, flag = 0x0, val = 118}, {name = 0x409846 "show-ends", has_arg = 0, flag = 0x0, val = 69}, {name = 0x409850 "show-tabs", has_arg = 0, flag = 0x0, val = 84}, { > name = 0x40985a "show-all", has_arg = 0, flag = 0x0, val = 65}, {name = 0x409863 "help", has_arg = 0, flag = 0x0, val = -130}, {name = 0x409868 "version", has_arg = 0, flag = 0x0, val = -131}, {name = 0x0, has_arg = 0, > flag = 0x0, val = 0}} > (gdb) > > It's a cat bug, or libc? > From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console References: <6535107110393308212@unknownmsgid> Resent-From: "Alan Curry" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 20 Sep 2012 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: kenorb@gmail.com (Rafal W.) Cc: 12478@debbugs.gnu.org Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13481706998795 (code B ref 12478); Thu, 20 Sep 2012 19:52:02 +0000 Received: (at 12478) by debbugs.gnu.org; 20 Sep 2012 19:51:39 +0000 Received: from localhost ([127.0.0.1]:45644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEmmg-0002Hn-L1 for submit@debbugs.gnu.org; Thu, 20 Sep 2012 15:51:38 -0400 Received: from c-67-162-91-36.hsd1.in.comcast.net ([67.162.91.36]:49106 helo=kosh.dhis.org) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TEmme-0002Hg-Kp for 12478@debbugs.gnu.org; Thu, 20 Sep 2012 15:51:37 -0400 Received: (qmail 21280 invoked by uid 1000); 20 Sep 2012 19:50:02 -0000 Message-ID: <20120920195002.21279.qmail@kosh.dhis.org> From: "Alan Curry" Date: Thu, 20 Sep 2012 14:50:02 -0500 (GMT+5) In-Reply-To: <6535107110393308212@unknownmsgid> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Rafal W. writes: > > > $ cat /dev/zero > > ^\Quit (core dumped) > > > > Steps to reproduce: > > 1. Switch to any text console (it doesn't happen in X). > > 2. Login > > 3. Run: cat /dev/zero > > 4. Press: Ctrl-Alt-SysRq-1 (or any number except letters:) [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [67.162.91.36 listed in zen.spamhaus.org] 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [67.162.91.36 listed in dnsbl.sorbs.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Rafal W. writes: > > > $ cat /dev/zero > > ^\Quit (core dumped) > > > > Steps to reproduce: > > 1. Switch to any text console (it doesn't happen in X). > > 2. Login > > 3. Run: cat /dev/zero > > 4. Press: Ctrl-Alt-SysRq-1 (or any number except letters:) [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [67.162.91.36 listed in zen.spamhaus.org] 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [67.162.91.36 listed in dnsbl.sorbs.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS Rafal W. writes: > > > $ cat /dev/zero > > ^\Quit (core dumped) > > > > Steps to reproduce: > > 1. Switch to any text console (it doesn't happen in X). > > 2. Login > > 3. Run: cat /dev/zero > > 4. Press: Ctrl-Alt-SysRq-1 (or any number except letters:) What's that supposed to do? Ctrl isn't normally used with SysRq. > > 5. You'll see: ^\Quit (core dumped) The ^\ character generates a QUIT signal (the same way ^C generates INT), and death with core dump is the default response to SIGQUIT. Ctrl-4 is an alternate way of typing Ctrl-\ so this is all perfectly normal for a key combination involving Ctrl and 4. By adding SysRq into the mix I don't know what exactly you accomplished. Maybe you confused the keyboard. Most keyboards don't have every key wired separately, and weird combinations can send events for keys that weren't pressed. To investigate further, try running 'stty -isig' to disable signal generation, then 'cat >/dev/null' or maybe 'od -c' and type your key combinations. Ctrl-D should still work for EOF to get you out, which is not a signal so it's not disabled by stty -isig. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 30 01:36:57 2012 Received: (at control) by debbugs.gnu.org; 30 Sep 2012 05:36:57 +0000 Received: from localhost ([127.0.0.1]:33993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TICD3-0007uM-5l for submit@debbugs.gnu.org; Sun, 30 Sep 2012 01:36:57 -0400 Received: from joseki.proulx.com ([216.17.153.58]:52065) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TICD1-0007uF-2X for control@debbugs.gnu.org; Sun, 30 Sep 2012 01:36:56 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 3F04C211DF for ; Sat, 29 Sep 2012 23:36:35 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id F16102DCD1; Sat, 29 Sep 2012 23:36:34 -0600 (MDT) Date: Sat, 29 Sep 2012 23:36:34 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: needs moreinfo Message-ID: <20120930053634.GA31741@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tag 12478 + moreinfo thanks From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 30 Sep 2012 05:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: "Rafal W." , 12478@debbugs.gnu.org Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134898364430782 (code B ref 12478); Sun, 30 Sep 2012 05:41:01 +0000 Received: (at 12478) by debbugs.gnu.org; 30 Sep 2012 05:40:44 +0000 Received: from localhost ([127.0.0.1]:33998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TICGa-00080I-Vt for submit@debbugs.gnu.org; Sun, 30 Sep 2012 01:40:43 -0400 Received: from joseki.proulx.com ([216.17.153.58]:52077) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TICGZ-00080A-3S for 12478@debbugs.gnu.org; Sun, 30 Sep 2012 01:40:35 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 740E1211DF; Sat, 29 Sep 2012 23:40:15 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 462192DCD1; Sat, 29 Sep 2012 23:40:15 -0600 (MDT) Date: Sat, 29 Sep 2012 23:40:15 -0600 From: Bob Proulx Message-ID: <20120930054015.GA30639@hysteria.proulx.com> References: <6535107110393308212@unknownmsgid> <20120920195002.21279.qmail@kosh.dhis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120920195002.21279.qmail@kosh.dhis.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Rafal, Any news? Please try the steps that Alan has suggested. I marked the bug ticket as needing more information. Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: Bob Proulx Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134907734627956 (code B ref 12478); Mon, 01 Oct 2012 07:43:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 07:42:26 +0000 Received: from localhost ([127.0.0.1]:35504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIae2-0007Gr-Ki for submit@debbugs.gnu.org; Mon, 01 Oct 2012 03:42:26 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:47411) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIadz-0007Gi-E6 for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 03:42:24 -0400 Received: by vcbfl11 with SMTP id fl11so6289254vcb.3 for <12478@debbugs.gnu.org>; Mon, 01 Oct 2012 00:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=fbQw/g2AcuqJdtnrpWMG73KlZMDJHze18OPqyZYKAX8=; b=fFX03pGc1skmMqlPz6140sEfyQtRPDMKlY5WqSDx5QlPSB2hn1yyl+kZyJgHyqU7vR SMA9TFGWIsJWuErNESFTIoP0JWXVkuTr9jBp62ftaxKO4SrHnwrkpjhYeoPUFolRPTYH bsmIX/VWo62GPg8cT+8CQpNANYyyTzCXGCnZ4eAg4A3LemT5YrTQqz4Xja2zGZQ5gzEF Lzwt+TkuMP9jsRdUn+sfsyahmsNqi+S5DvbrXSlmTbStS7vVhYo2C4vRmvVD6jT5MJog 6W/PeDRmbJ9CeA/oTw+f/niwBokjFo1XPK2FIEAUGS3CB8mlbUMjeulvT3iHhnKkkW5H 90+A== Received: by 10.52.64.226 with SMTP id r2mr6717997vds.53.1349077317392; Mon, 01 Oct 2012 00:41:57 -0700 (PDT) References: <6535107110393308212@unknownmsgid> <20120920195002.21279.qmail@kosh.dhis.org> <20120930054015.GA30639@hysteria.proulx.com> From: "Rafal W." In-Reply-To: <20120930054015.GA30639@hysteria.proulx.com> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Mon, 1 Oct 2012 09:41:37 +0200 Message-ID: <1214403592855680626@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Hi Bob, thanks for the reminder, but I didn't receive any message from Alan, could you re-post it? Maybe it went to Spam. Is there any web version of this bug tracker? At work they're blocking the access for all the emails. Kind Regards, Rafal Sent from my iPhone On 30 Sep 2012, at 07:40, Bob Proulx wrote: > Rafal, > > Any news? Please try the steps that Alan has suggested. > I marked the bug ticket as needing more information. > > Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: Bob Proulx Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134907807528988 (code B ref 12478); Mon, 01 Oct 2012 07:55:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 07:54:35 +0000 Received: from localhost ([127.0.0.1]:35517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIapn-0007XV-1t for submit@debbugs.gnu.org; Mon, 01 Oct 2012 03:54:35 -0400 Received: from mail-vb0-f44.google.com ([209.85.212.44]:60859) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIapl-0007XO-1Y for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 03:54:33 -0400 Received: by vbbfc26 with SMTP id fc26so6192170vbb.3 for <12478@debbugs.gnu.org>; Mon, 01 Oct 2012 00:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=BDD/M75CR5ikDB6ppSZtnWIr7ESatTX9IPWrJo5fTbA=; b=rmmYr7dYeAH0E6kw9Yw2B8stliIKfiva9tIjs/kOv6jRh5d+jeYKQ3CO6ituM1MJRB 271bBYYswYnk/0XNQJO19AK8VvXTiPzipPBK3iQgrNj/OZd8L9RLIMZ/TgvVtpqM+edj 9x7ll+WY+XcyrOJEbUAlaUQT/y8EnKnpa44len0gWR32XURfrWXnnRJkta4onZm1U+uN XHjnrM8WL3EO0eNqgvN3rua72grHaO78c0Lc5RZGTqFDBtAsXAUCn0O7DgyjFmeYslBe OIFvl66fVWYPqv2gyUmh2bRDLcQRfktSDY9fpu3ISxYYXSMam0FWc4hxLJfIejq0gfU1 /Ilg== Received: by 10.58.116.175 with SMTP id jx15mr8146497veb.6.1349078047325; Mon, 01 Oct 2012 00:54:07 -0700 (PDT) References: <6535107110393308212@unknownmsgid> <20120920195002.21279.qmail@kosh.dhis.org> <20120930054015.GA30639@hysteria.proulx.com> From: "Rafal W." In-Reply-To: <20120930054015.GA30639@hysteria.proulx.com> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Mon, 1 Oct 2012 09:54:05 +0200 Message-ID: <3953481182162750053@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Yes, I've tried and it didn't QUIT (it ignored SysRq signal). I didn't know about Ctrl-4 shortcut for sending the QUIT signal. After that I had to kill the process, because Control-D didn't work. So I'm assuming it's by design. Thanks for your help. Kind Regards, Rafal Sent from my iPhone On 30 Sep 2012, at 07:40, Bob Proulx wrote: > Rafal, > > Any news? Please try the steps that Alan has suggested. > I marked the bug ticket as needing more information. > > Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: Bob Proulx Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134907839529426 (code B ref 12478); Mon, 01 Oct 2012 08:00:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 07:59:55 +0000 Received: from localhost ([127.0.0.1]:35521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIauw-0007eZ-O1 for submit@debbugs.gnu.org; Mon, 01 Oct 2012 03:59:55 -0400 Received: from mail-vb0-f44.google.com ([209.85.212.44]:47603) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIauu-0007eR-AY for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 03:59:53 -0400 Received: by vbbfc26 with SMTP id fc26so6195818vbb.3 for <12478@debbugs.gnu.org>; Mon, 01 Oct 2012 00:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=MDM2dTsdeSUosHC4fadFI4UHhjqFmlgKX5qWAHGCLHw=; b=sFhywNTw9tARl1Xv4366Pihl8Cls/4Fv2wBDll23/yrmmFkKLvvzSJGOwqTTKJb8WE t/KRzD0sNJZgD4YoOQnAivl9tavRNvPtGkxlGcEcqCoxJ89T7T81KhlR3WVO8+Rh15Lg l3I6jTZcAigDCBGDweN4MMOE4Bb6rwAV5FvLirsFwbOQca9GKlPf7ygKuFbm7VS9Ol1t URrVfVdx03TOO++FFqNFdKs7dHBrjQWwX8OhkbbGQGYP6HNFI9Mb4GPuywPHCDiyAG1q W1ODkwYsp8FXK1Fk0UwsgV0ABSNVnB/4fbm/ft9wcZgT1Suqu/t70W1OQttj3M+E3/Zy e98Q== Received: by 10.58.189.40 with SMTP id gf8mr8265067vec.24.1349078366545; Mon, 01 Oct 2012 00:59:26 -0700 (PDT) References: <6535107110393308212@unknownmsgid> <20120920195002.21279.qmail@kosh.dhis.org> <20120930054015.GA30639@hysteria.proulx.com> From: "Rafal W." In-Reply-To: <20120930054015.GA30639@hysteria.proulx.com> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Mon, 1 Oct 2012 09:59:28 +0200 Message-ID: <-629408524036344811@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) But if Control-4 is sending QUIT signal, why: Control-1 does kill the process? I've checked again and actually it's not even about the number. When I press only: Control-SysRq it kills the process as well. Sometimes it happens on press, sometimes on release. Kind Regards, Rafal Sent from my iPhone On 30 Sep 2012, at 07:40, Bob Proulx wrote: > Rafal, > > Any news? Please try the steps that Alan has suggested. > I marked the bug ticket as needing more information. > > Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: "Rafal W." Cc: 12478@debbugs.gnu.org, Bob Proulx Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13490838165270 (code B ref 12478); Mon, 01 Oct 2012 09:31:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 09:30:16 +0000 Received: from localhost ([127.0.0.1]:35659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIcKN-0001Mx-QE for submit@debbugs.gnu.org; Mon, 01 Oct 2012 05:30:16 -0400 Received: from mx.meyering.net ([88.168.87.75]:47297) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIcKL-0001Mp-La for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 05:30:14 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 4478E60098; Mon, 1 Oct 2012 11:29:46 +0200 (CEST) From: Jim Meyering In-Reply-To: <1214403592855680626@unknownmsgid> (Rafal W.'s message of "Mon, 1 Oct 2012 09:41:37 +0200") References: <6535107110393308212@unknownmsgid> <20120920195002.21279.qmail@kosh.dhis.org> <20120930054015.GA30639@hysteria.proulx.com> <1214403592855680626@unknownmsgid> Date: Mon, 01 Oct 2012 11:29:46 +0200 Message-ID: <87mx06sfp1.fsf@rho.meyering.net> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) Rafal W. wrote: > Hi Bob, > thanks for the reminder, but I didn't receive any message from Alan, > could you re-post it? > Maybe it went to Spam. > Is there any web version of this bug tracker? Yes. Any mail sent to bug-coreutils gets an issue number, which comes with a URL like this: http://bugs.gnu.org/12478 Alan's reply to you is here: http://bugs.gnu.org/12478#8 > At work they're blocking the access for all the emails. Sounds like they have a buggy mail filter. Spam on this list is exceptionally rare. From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console References: <6535107110393308212@unknownmsgid> Resent-From: "Alan Curry" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: kenorb@gmail.com (Rafal W.) Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org>, Bob Proulx Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13490839705482 (code B ref 12478); Mon, 01 Oct 2012 09:33:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 09:32:50 +0000 Received: from localhost ([127.0.0.1]:35663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIcMs-0001QN-7g for submit@debbugs.gnu.org; Mon, 01 Oct 2012 05:32:50 -0400 Received: from c-67-162-91-36.hsd1.in.comcast.net ([67.162.91.36]:46539 helo=kosh.dhis.org) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TIcMq-0001QE-9P for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 05:32:48 -0400 Received: (qmail 20147 invoked by uid 1000); 1 Oct 2012 09:32:21 -0000 Message-ID: <20121001093221.20146.qmail@kosh.dhis.org> From: "Alan Curry" Date: Mon, 1 Oct 2012 04:32:21 -0500 (GMT+5) In-Reply-To: <-629408524036344811@unknownmsgid> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Rafal W. writes: > > But if Control-4 is sending QUIT signal, why: > Control-1 does kill the process? > I've checked again and actually it's not even about the number. > When I press only: Control-SysRq it kills the process as well. > Sometimes it happens on press, sometimes on release. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [67.162.91.36 listed in dnsbl.sorbs.net] 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [67.162.91.36 listed in zen.spamhaus.org] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Rafal W. writes: > > But if Control-4 is sending QUIT signal, why: > Control-1 does kill the process? > I've checked again and actually it's not even about the number. > When I press only: Control-SysRq it kills the process as well. > Sometimes it happens on press, sometimes on release. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [67.162.91.36 listed in zen.spamhaus.org] 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [67.162.91.36 listed in dnsbl.sorbs.net] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS Rafal W. writes: > > But if Control-4 is sending QUIT signal, why: > Control-1 does kill the process? > I've checked again and actually it's not even about the number. > When I press only: Control-SysRq it kills the process as well. > Sometimes it happens on press, sometimes on release. Is your SysRq key also the PrtSc key? It will be if your keyboard is a descendant of the IBM PC/AT design. With Alt, it's the SysRq key. Without Alt, it's the PrtSc key. So if your Control-Sysrq combination doesn't include Alt, then it's really Control-PrtSc and you should call it that instead of Control-Sysrq which just confusing. For other keys, the interpretation of modifiers (including Alt) is done in software. The PrtSc/SysRq key is the only one in which a distinction is made in hardware. PrtSc and SysRq are different scancodes. This specialness probably influenced the decision to use SysRq as a magic key for talking to the Linux kernel. Now, on to why you got your SIGQUIT. Well, the default keymap for the Linux console generates ^\ when you press PrtSc. That's not a reason, that's just a fact. I don't know the reason. The Ctrl-4 thing is, I believe, a matter of accurate vt100 emulation. At least it's part of a neat pattern. Ctrl-2 through Ctrl-8 generate all the control codes that aren't ^A through ^Z alphabeticals, in numerical order: key byte echoprt ASCII name Ctrl-2 0 ^@ NUL Ctrl-3 27 ^[ ESC Ctrl-4 28 ^\ FS Ctrl-5 29 ^] GS Ctrl-6 30 ^^ RS Ctrl-7 31 ^_ US Ctrl-8 127 ^? DEL Notice that one of them, Ctrl-6 for ^^ actually makes sense. The Ctrl-^ is Ctrl-Shift-6 after all. Perhaps the others were simply built around that one as a logical extension. Oops, I got sidetracked. Why does PrtSc generate ^\ on the Linux console? I don't know. Looking at the historical source code, it seems that it has been this way since Linux-0.99.10 (June 7, 1993), in which the keyboard driver was massively overhauled to support loadable keymaps. In 0.99.9 there is this: /* Print screen key sends E0 2A E0 37 and puts the VT100-ESC sequence ESC [ i into the queue, ChN */ puts_queue("\033\133\151"); So in conclusion, the PrtSc ^\ mapping snuck in as part of a large patch that wasn't supposed to change any defaults, but did. Accident... or sabotage? Insert your conspiracy theory here. History says Risto Kankkunen did the loadable keymap patch, so that's who to blame. ChN appears to be: * Some additional features added by Christoph Niemann (ChN), March 1993 Whatever the reason behind this annoying ^\, fixing it isn't hard: # It's too easy to hit PrtSc by accident. mapping it to ^\ hurts! loadkeys <<'EOF' keycode 99 = VoidSymbol EOF I've had that in my system startup for a long time. Actually it's a bit more complicated since I have a few other keys I like to remap, but the comment is exactly as I wrote it at least 15 years ago. (I don't hit PrtSc by accident much since I got my Happy Hacking keyboard!) VoidSymbol makes the key do nothing at all when pressed. I suppose you could map it to "ESC [ i" like it used to be in 0.99.9 if you feel like you must right this historical wrong. The remapping has no effect on the usability of the magic SysRq functions, because they magically bypass the remapping table. From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: Alan Curry Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org>, Bob Proulx Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13490865999182 (code B ref 12478); Mon, 01 Oct 2012 10:17:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 10:16:39 +0000 Received: from localhost ([127.0.0.1]:35705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TId3G-0002O2-IA for submit@debbugs.gnu.org; Mon, 01 Oct 2012 06:16:39 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:34659) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TId3D-0002Nv-Vo for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 06:16:37 -0400 Received: by vcbfl11 with SMTP id fl11so6406583vcb.3 for <12478@debbugs.gnu.org>; Mon, 01 Oct 2012 03:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=bEV7zxQoHCqLCNB6HwqNYZmYIzz2EJJTsKkYkUeabtc=; b=0BrKR41Cglj+8G/C5oG5gszXWjVJY3//MYEI34/rJl6FUhnqXyfgRNaG7SouYHiUa/ lyf0DhcWsQNmZN/hLQNEmisNfQR7fv6x9w5uTXllAM4ejz3zJj7ySSGHN9ZWsfQtOloC fBu8wWZuqMfjtpia6nd/43I2/k2Ei2Iaz0XA88V8odiORa2CWHoydL7AfIUp9pNW6ftz k6imtzV7nNXACaANLFJ/w3YO2eUyndwCU4+wPfG9/eoUwZO0GGcMY33/ACTpb/fa9evv LJ+QclUuiw9rQZjIT6oCE5NAu4q0E1FZ2ee8ce/CrE8CY51GmaGbof+CvEDACAOMdMLm ndwA== Received: by 10.52.88.15 with SMTP id bc15mr1760797vdb.102.1349086568298; Mon, 01 Oct 2012 03:16:08 -0700 (PDT) References: <20121001093221.20146.qmail@kosh.dhis.org> From: "Rafal W." In-Reply-To: <20121001093221.20146.qmail@kosh.dhis.org> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Mon, 1 Oct 2012 12:16:02 +0200 Message-ID: <-2467001973583100126@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Hi, Thanks for this info. Just to explain why I press it with Control and Alt. My Linux freezing all the time, so sometimes I'm using kernel SysRq for the reason. So in example if I want to check all currently held Locks with SysRq-D (which doesn't work anyway), so: When I press SysRq-D, I've KSnapshot popping up. In the text console it doesn't work at all. When I press Control-SysRq-D, my session is getting logout. When I press Control-Alt-SysRq-D my processes are killed. So whatever I press, bad things are happening. Alt key prevent the QUIT till it's released. This annoying problem is related to all Linux binaries, even sleep. At least my train (sl) is get killed on Ctrl-SysRq:) So I've started to use only Ctrl-Alt-SysRq-something as a workaround of these kind of signal problems. Numbers I've used to increase kernel debug messaging, but instead I'm killing the applications. As suggested, I can't ignore my SysRq key, because I'm using it quite often to debug my freezes. I could live with Control-4 (on the other hand it's quite useful), but I'm against the killing using just SysRq key (which is multiple-purposes key), I'm not sure if this could be fixed or there is some unwritten rule to not fix '93 old code:) Kind Regards, Rafal Sent from my iPhone On 1 Oct 2012, at 11:37, Alan Curry wrote: > Rafal W. writes: >> >> But if Control-4 is sending QUIT signal, why: >> Control-1 does kill the process? >> I've checked again and actually it's not even about the number. >> When I press only: Control-SysRq it kills the process as well. >> Sometimes it happens on press, sometimes on release. > > Is your SysRq key also the PrtSc key? It will be if your keyboard is a > descendant of the IBM PC/AT design. With Alt, it's the SysRq key. Without > Alt, it's the PrtSc key. So if your Control-Sysrq combination doesn't include > Alt, then it's really Control-PrtSc and you should call it that instead of > Control-Sysrq which just confusing. > > For other keys, the interpretation of modifiers (including Alt) is done in > software. The PrtSc/SysRq key is the only one in which a distinction is made > in hardware. PrtSc and SysRq are different scancodes. This specialness > probably influenced the decision to use SysRq as a magic key for talking to > the Linux kernel. > > Now, on to why you got your SIGQUIT. Well, the default keymap for the Linux > console generates ^\ when you press PrtSc. That's not a reason, that's just a > fact. I don't know the reason. The Ctrl-4 thing is, I believe, a matter of > accurate vt100 emulation. At least it's part of a neat pattern. Ctrl-2 > through Ctrl-8 generate all the control codes that aren't ^A through ^Z > alphabeticals, in numerical order: > > key byte echoprt ASCII name > Ctrl-2 0 ^@ NUL > Ctrl-3 27 ^[ ESC > Ctrl-4 28 ^\ FS > Ctrl-5 29 ^] GS > Ctrl-6 30 ^^ RS > Ctrl-7 31 ^_ US > Ctrl-8 127 ^? DEL > > Notice that one of them, Ctrl-6 for ^^ actually makes sense. The Ctrl-^ is > Ctrl-Shift-6 after all. Perhaps the others were simply built around that one > as a logical extension. > > Oops, I got sidetracked. Why does PrtSc generate ^\ on the Linux console? I > don't know. Looking at the historical source code, it seems that it has been > this way since Linux-0.99.10 (June 7, 1993), in which the keyboard driver was > massively overhauled to support loadable keymaps. In 0.99.9 there is this: > > /* Print screen key sends E0 2A E0 37 and puts > the VT100-ESC sequence ESC [ i into the queue, ChN */ > puts_queue("\033\133\151"); > > So in conclusion, the PrtSc ^\ mapping snuck in as part of a large patch that > wasn't supposed to change any defaults, but did. Accident... or sabotage? > Insert your conspiracy theory here. History says Risto Kankkunen did the > loadable keymap patch, so that's who to blame. ChN appears to be: > > * Some additional features added by Christoph Niemann (ChN), March 1993 > > Whatever the reason behind this annoying ^\, fixing it isn't hard: > > # It's too easy to hit PrtSc by accident. mapping it to ^\ hurts! > loadkeys <<'EOF' > keycode 99 = VoidSymbol > EOF > > I've had that in my system startup for a long time. Actually it's a bit more > complicated since I have a few other keys I like to remap, but the comment is > exactly as I wrote it at least 15 years ago. (I don't hit PrtSc by accident > much since I got my Happy Hacking keyboard!) > > VoidSymbol makes the key do nothing at all when pressed. I suppose you could > map it to "ESC [ i" like it used to be in 0.99.9 if you feel like you must > right this historical wrong. > > The remapping has no effect on the usability of the magic SysRq functions, > because they magically bypass the remapping table. > From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console References: <6535107110393308212@unknownmsgid> Resent-From: "Alan Curry" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 10:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: kenorb@gmail.com (Rafal W.) Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org>, Bob Proulx Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134908784311167 (code B ref 12478); Mon, 01 Oct 2012 10:38:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 10:37:23 +0000 Received: from localhost ([127.0.0.1]:35737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIdNL-0002u4-DO for submit@debbugs.gnu.org; Mon, 01 Oct 2012 06:37:23 -0400 Received: from c-67-162-91-36.hsd1.in.comcast.net ([67.162.91.36]:46552 helo=kosh.dhis.org) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TIdNK-0002tw-4S for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 06:37:22 -0400 Received: (qmail 20991 invoked by uid 1000); 1 Oct 2012 10:36:55 -0000 Message-ID: <20121001103655.20990.qmail@kosh.dhis.org> From: "Alan Curry" Date: Mon, 1 Oct 2012 05:36:55 -0500 (GMT+5) In-Reply-To: <-2467001973583100126@unknownmsgid> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Rafal W. writes: > > So in example if I want to check all currently held Locks with SysRq-D > (which doesn't work anyway), so: > When I press SysRq-D, I've KSnapshot popping up. In the text console > it doesn't work at all. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [67.162.91.36 listed in dnsbl.sorbs.net] 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [67.162.91.36 listed in zen.spamhaus.org] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Rafal W. writes: > > So in example if I want to check all currently held Locks with SysRq-D > (which doesn't work anyway), so: > When I press SysRq-D, I've KSnapshot popping up. In the text console > it doesn't work at all. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [67.162.91.36 listed in zen.spamhaus.org] 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [67.162.91.36 listed in dnsbl.sorbs.net] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS Rafal W. writes: > > So in example if I want to check all currently held Locks with SysRq-D > (which doesn't work anyway), so: > When I press SysRq-D, I've KSnapshot popping up. In the text console > it doesn't work at all. ksnapshot sounds like something that might respond to a PrtSc keypress. This is a sign that you aren't using Alt, so what you've really done is PrtSc-D. Didn't I tell you already to stop using "SysRq" to descibe key combinations that don't include Alt? WITHOUT ALT IT IS NOT A SYSRQ KEY. Got that yet? Reread it until you do. > When I press Control-SysRq-D, my session is getting logout. Well, Ctrl-D is EOF and PrtSc+D is a meaningless combination (as meaningless as pressing D and Q at the same time, it's anyone's guess which will take precedence) > When I press Control-Alt-SysRq-D my processes are killed. Too many keys there, I can't guess what they're all doing. Get rid of the Control. And make sure your kernel has CONFIG_LOCKDEP, otherwise the Sysrq+D function is disabled. Also, based on the Subject line, you think "SEGV" is a synonym for core dump. Stop thinking that. Nothing segfaulted. SIGSEGV is one of many signals that can cause a core dump. SIGQUIT is another one. -- Alan Curry From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 11:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: Alan Curry Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org>, Bob Proulx Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134909086315531 (code B ref 12478); Mon, 01 Oct 2012 11:28:01 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 11:27:43 +0000 Received: from localhost ([127.0.0.1]:35787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIeA3-00042S-CE for submit@debbugs.gnu.org; Mon, 01 Oct 2012 07:27:43 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:55066) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIeA1-00042L-0c for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 07:27:41 -0400 Received: by vcbfl11 with SMTP id fl11so6475377vcb.3 for <12478@debbugs.gnu.org>; Mon, 01 Oct 2012 04:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=hKP/N9wwd8QATGd6W8hxNkebpU74EtmcTT7mX1X2nwc=; b=gHquks2aXpGe4d5W/pWOWw3ZuMHsMUnFm8ON2qt4/gIYcGJNUb/X9c8KjC0oznvg9l O25/ulOmdp0dMfqOwXYdOEHJ/xjJgczD9jReD/qepBk1W2QQmQgrtldHk+BPrTJvgd57 5OQ16I7uB2nW2NOz3ijFoXqbfPpNEgG6GmhqiIEBGLDg/2XFKdCMt0M/SS45LW3n15Pm n7W3yol6lWkBxchWNAe7UjuExiTzdp6aCED0dtFPqHYzvZHCxnHtvoqL4u5GA0vRtPvZ gx13dZtBECSXUls8GOAZySUYw0BIfWMIClY2HPZcPYVSNVBMkYrhfpGeYCqXRqfQ0QRZ TtRg== Received: by 10.58.116.175 with SMTP id jx15mr8383008veb.6.1349090832117; Mon, 01 Oct 2012 04:27:12 -0700 (PDT) References: <20121001103655.20990.qmail@kosh.dhis.org> From: "Rafal W." In-Reply-To: <20121001103655.20990.qmail@kosh.dhis.org> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Mon, 1 Oct 2012 13:27:10 +0200 Message-ID: <3492242540863769421@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Thanks. Without Control more things are working. Alt-SysRq-m and other letters works, doesn't kill the process. So the only problems are numbers: Alt-SysRq-1 to 9 (exempt 5 & 6) is killing the process. Looks like 5 and 6 have some special privileges. Kind Regards, Rafal Sent from my iPhone On 1 Oct 2012, at 12:41, "Alan Curry" wrote: > Rafal W. writes: >> >> So in example if I want to check all currently held Locks with SysRq-D >> (which doesn't work anyway), so: >> When I press SysRq-D, I've KSnapshot popping up. In the text console >> it doesn't work at all. > > ksnapshot sounds like something that might respond to a PrtSc keypress. This > is a sign that you aren't using Alt, so what you've really done is PrtSc-D. > Didn't I tell you already to stop using "SysRq" to descibe key combinations > that don't include Alt? WITHOUT ALT IT IS NOT A SYSRQ KEY. Got that yet? > Reread it until you do. > >> When I press Control-SysRq-D, my session is getting logout. > > Well, Ctrl-D is EOF and PrtSc+D is a meaningless combination (as meaningless > as pressing D and Q at the same time, it's anyone's guess which will take > precedence) > >> When I press Control-Alt-SysRq-D my processes are killed. > > Too many keys there, I can't guess what they're all doing. Get rid of the > Control. And make sure your kernel has CONFIG_LOCKDEP, otherwise the Sysrq+D > function is disabled. > > Also, based on the Subject line, you think "SEGV" is a synonym for core dump. > Stop thinking that. Nothing segfaulted. SIGSEGV is one of many signals that > can cause a core dump. SIGQUIT is another one. > > -- > Alan Curry From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 01 Oct 2012 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo To: "Rafal W." Cc: 12478@debbugs.gnu.org Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134912485913491 (code B ref 12478); Mon, 01 Oct 2012 20:55:02 +0000 Received: (at 12478) by debbugs.gnu.org; 1 Oct 2012 20:54:19 +0000 Received: from localhost ([127.0.0.1]:36772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIn0M-0003VX-Ow for submit@debbugs.gnu.org; Mon, 01 Oct 2012 16:54:19 -0400 Received: from joseki.proulx.com ([216.17.153.58]:34023) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIn0J-0003VO-Hp for 12478@debbugs.gnu.org; Mon, 01 Oct 2012 16:54:17 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 91F3D211D6; Mon, 1 Oct 2012 14:53:46 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 225E32DC77; Mon, 1 Oct 2012 14:53:45 -0600 (MDT) Date: Mon, 1 Oct 2012 14:53:45 -0600 From: Bob Proulx Message-ID: <20121001205345.GA31515@hysteria.proulx.com> References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3492242540863769421@unknownmsgid> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Rafal W. wrote: > Thanks. Without Control more things are working. > Alt-SysRq-m and other letters works, doesn't kill the process. > So the only problems are numbers: > Alt-SysRq-1 to 9 (exempt 5 & 6) is killing the process. > Looks like 5 and 6 have some special privileges. Typically 5 and 6 will change the kernel logging level to those values. For whatever reason on my Debian system the other numbers are not enabled to change the log level. I have never bothered to investigate why. On my system the other number 1-4,7-9,0 keys appear to do nothing. But it is documented that the Alt-SysRq-0 through Alt-SysRq-9 keys set the console log level. http://kernel.org/doc/Documentation/sysrq.txt The useful kernel log levels are: #define KERN_EMERG "<0>" /* system is unusable */ #define KERN_ALERT "<1>" /* action must be taken immediately */ #define KERN_CRIT "<2>" /* critical conditions */ #define KERN_ERR "<3>" /* error conditions */ #define KERN_WARNING "<4>" /* warning conditions */ #define KERN_NOTICE "<5>" /* normal but significant condition */ #define KERN_INFO "<6>" /* informational */ #define KERN_DEBUG "<7>" /* debug-level messages */ The linux kernel default is 8 so that all messages are logged to the console. This can produce a large amount of noise to the point of making the console unusable on a firewall machine with an active Internet connection since this will cause many log events rapidly consuming the screen display. At least one distro sets it to 3 and another leaves it at the linux kernel default setting of 8. I normally set this to 5 to reduce the noise on the console. I normally do this with the 'dmesg -n5' command in the firewall init scripts but there are several different ways to set this. The key sequence is intended to restore usability to a console that is getting bombarded with log events and Alt-SysRq-5 is useful for that purpose. I think you should determine what actions are enabled on your system. You can do this by using the /proc kernel interface directly. $ cat /proc/sys/kernel/sysrq What level number is produced there? # echo h > /proc/sysrq-trigger # tail /var/log/syslog (or tail /var/log/messages or whatever) On my system it shows: $ cat /proc/sys/kernel/sysrq 438 That is 0x1b6 or 2 + 4 + 16 + 32 + 128 + 256 and with this bitmap we can see that some features are not enabled by default on my system. 2 - enable control of console logging level 4 - enable control of keyboard (SAK, unraw) 8 - enable debugging dumps of processes etc. 16 - enable sync command 32 - enable remount read-only 64 - enable signalling of processes (term, kill, oom-kill) 128 - allow reboot/poweroff 256 - allow nicing of all RT tasks # echo h > /proc/sysrq-trigger # tail /var/log/syslog ... SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount force-fb(V) show-blocked-tasks(W) dump-ftrace-buffer(Z) Running 'tail -f /var/log/syslog' (or /var/log/messages, or whatever) while you are testing pressing those keys is useful because the kernel will log actions taken there. Bob From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 01 16:57:25 2012 Received: (at control) by debbugs.gnu.org; 1 Oct 2012 20:57:25 +0000 Received: from localhost ([127.0.0.1]:36777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIn3N-0003Zn-GV for submit@debbugs.gnu.org; Mon, 01 Oct 2012 16:57:25 -0400 Received: from joseki.proulx.com ([216.17.153.58]:34037) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIn3L-0003Zg-B1 for control@debbugs.gnu.org; Mon, 01 Oct 2012 16:57:23 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 7977D211D6 for ; Mon, 1 Oct 2012 14:56:54 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 2A9402DC77; Mon, 1 Oct 2012 14:56:53 -0600 (MDT) Date: Mon, 1 Oct 2012 14:56:53 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: tag not a bug Message-ID: <20121001205653.GA15352@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) tag 12478 + notabug thanks It isn't a bug. Fine to keep discussing it. But let's tag it appropriately and keep the bug accounting updated. Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 02 Oct 2012 08:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug moreinfo To: Bob Proulx Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134916744716847 (code B ref 12478); Tue, 02 Oct 2012 08:45:01 +0000 Received: (at 12478) by debbugs.gnu.org; 2 Oct 2012 08:44:07 +0000 Received: from localhost ([127.0.0.1]:37137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIy5G-0004Nf-HN for submit@debbugs.gnu.org; Tue, 02 Oct 2012 04:44:07 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:34013) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIy5B-0004N7-Mu for 12478@debbugs.gnu.org; Tue, 02 Oct 2012 04:44:03 -0400 Received: by vcbfl11 with SMTP id fl11so7890008vcb.3 for <12478@debbugs.gnu.org>; Tue, 02 Oct 2012 01:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=OeHzLhRCO4iL987ImJDHCaA1CYR+ZiUwrb4PBeaYGIM=; b=Q0dPjLBLNv/QWgkAjqJ3OUXQYZ3Bn3lnGFK8tMDibFNOYKn46DWHOVwwiE0EVpINbs 469EeZjDWRNr/rmhJ4GmstarRcKxUQX5JgLHBWN57xThdc/5yiMmUbAdylu42ZOhSJRk UGTKYy4piXyx2AxiYU/oqo7BhXMyNGaXSG2tNQAJQGzNGqa+iLonCj49lvT18VR+xEBk lupXx3ftiFJ5kmN9pyvNK4YL21ZgFn3YCy7DL/L9PyEJjL9vo4urHNOEX+Nkm+OA26HW rfR+4OOJ3nbqXHjEjQd50XIcq+ZeohAYQS6hXmKhqq6/g7qmV7hgnQsGIXEc2XOn2sUe QXow== Received: by 10.58.4.193 with SMTP id m1mr10176160vem.44.1349167408851; Tue, 02 Oct 2012 01:43:28 -0700 (PDT) References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> <20121001205345.GA31515@hysteria.proulx.com> From: "Rafal W." In-Reply-To: <20121001205345.GA31515@hysteria.proulx.com> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Tue, 2 Oct 2012 10:42:55 +0200 Message-ID: <-4682102861427665010@unknownmsgid> Content-Type: multipart/alternative; boundary=047d7b5da1f725a8ec04cb0f8409 X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) --047d7b5da1f725a8ec04cb0f8409 Content-Type: text/plain; charset=ISO-8859-1 Yes, the Alt-SysRq + 1-4,7-9,0 keys do nothing on mine as well, even on the plain console. But if I send the numbers to sysrq-trigger, then it works. So probably it's a separate bug report. I've 1 in sysrq. $ cat /proc/sys/kernel/sysrq 1 So in summary the process is killed if the key is not handled by anything else. In this case Alt-SysRq 1-4,7-9,0 are not handled by kernel somehow. So then code of release key of Alt-SysRq is sent. Pressing just Alt-SysRq is killing the process as well. Which shouldn't happen I guess. Rafal On 1 Oct 2012, at 22:53, Bob Proulx wrote: Rafal W. wrote: Thanks. Without Control more things are working. Alt-SysRq-m and other letters works, doesn't kill the process. So the only problems are numbers: Alt-SysRq-1 to 9 (exempt 5 & 6) is killing the process. Looks like 5 and 6 have some special privileges. Typically 5 and 6 will change the kernel logging level to those values. For whatever reason on my Debian system the other numbers are not enabled to change the log level. I have never bothered to investigate why. On my system the other number 1-4,7-9,0 keys appear to do nothing. But it is documented that the Alt-SysRq-0 through Alt-SysRq-9 keys set the console log level. http://kernel.org/doc/Documentation/sysrq.txt The useful kernel log levels are: #define KERN_EMERG "<0>" /* system is unusable */ #define KERN_ALERT "<1>" /* action must be taken immediately */ #define KERN_CRIT "<2>" /* critical conditions */ #define KERN_ERR "<3>" /* error conditions */ #define KERN_WARNING "<4>" /* warning conditions */ #define KERN_NOTICE "<5>" /* normal but significant condition */ #define KERN_INFO "<6>" /* informational */ #define KERN_DEBUG "<7>" /* debug-level messages */ The linux kernel default is 8 so that all messages are logged to the console. This can produce a large amount of noise to the point of making the console unusable on a firewall machine with an active Internet connection since this will cause many log events rapidly consuming the screen display. At least one distro sets it to 3 and another leaves it at the linux kernel default setting of 8. I normally set this to 5 to reduce the noise on the console. I normally do this with the 'dmesg -n5' command in the firewall init scripts but there are several different ways to set this. The key sequence is intended to restore usability to a console that is getting bombarded with log events and Alt-SysRq-5 is useful for that purpose. I think you should determine what actions are enabled on your system. You can do this by using the /proc kernel interface directly. $ cat /proc/sys/kernel/sysrq What level number is produced there? # echo h > /proc/sysrq-trigger # tail /var/log/syslog (or tail /var/log/messages or whatever) On my system it shows: $ cat /proc/sys/kernel/sysrq 438 That is 0x1b6 or 2 + 4 + 16 + 32 + 128 + 256 and with this bitmap we can see that some features are not enabled by default on my system. 2 - enable control of console logging level 4 - enable control of keyboard (SAK, unraw) 8 - enable debugging dumps of processes etc. 16 - enable sync command 32 - enable remount read-only 64 - enable signalling of processes (term, kill, oom-kill) 128 - allow reboot/poweroff 256 - allow nicing of all RT tasks # echo h > /proc/sysrq-trigger # tail /var/log/syslog ... SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount force-fb(V) show-blocked-tasks(W) dump-ftrace-buffer(Z) Running 'tail -f /var/log/syslog' (or /var/log/messages, or whatever) while you are testing pressing those keys is useful because the kernel will log actions taken there. Bob --047d7b5da1f725a8ec04cb0f8409 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, the Alt-SysRq + 1-4,7-9,0 keys do nothing = on mine as well, even on the plain console.
But if I send t= he numbers to sysrq-trigger, then it works. So probably it's a separate= bug report.

I've 1 in sysrq.

$ cat /proc/sys/kernel/sysrq

1
So in summary the process is killed if the key is not handled by any= thing else. In this case Alt-SysRq 1-4,7-9,0 are not handled by kernel some= how.
So then code of release key of Alt-SysRq is sent. Pressing just Alt-S= ysRq is killing the process as well. Which shouldn't happen I guess.

Rafal


On 1 Oct 2= 012, at 22:53, Bob Proulx <bob@proulx.= com> wrote:

Rafal W. wrote:
Thanks. Without Control more thing= s are working.
Alt-S= ysRq-m and other letters works, doesn't kill the process.
So the only problems are numbe= rs:
Alt-SysRq-1 to 9= (exempt 5 & 6) is killing the process.
Looks like 5 and 6 have some special privileges.

Typically 5 and 6 will change the kernel logging = level to those
values. =A0For whatever reason on my Debian = system the other numbers are
not enabled to change the log level. =A0I have never bothered to
investigate why. =A0On my system the other number 1-4,7-9,0 key= s appear
to do nothing. =A0But it is documented that the Al= t-SysRq-0 through
Alt-SysRq-9 keys set the console log level.
=A0http://kernel.org/doc/= Documentation/sysrq.txt

The useful kernel log levels are:

=A0#define KERN_EMERG =A0=A0"<0>" /* system= is unusable =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/
=A0#define KERN_ALERT =A0=A0"<1>" /* action = must be taken immediately =A0=A0=A0=A0=A0*/
=A0#define KERN_CRIT =A0=A0=A0"<2>" /* critical cond= itions =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/
<= span> =A0#define KERN_ERR =A0=A0=A0=A0"<3>" /* error condit= ions =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/
=A0#define KERN_WARNING "<4>" /* warning condi= tions =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/ =A0#define KERN_NOTICE =A0"<5>" /* normal but signif= icant condition =A0=A0=A0=A0=A0*/
=A0#define KERN_INFO =A0= =A0=A0"<6>" /* informational =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/
=A0#define KE= RN_DEBUG =A0=A0"<7>" /* debug-level messages =A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0*/

The linux kernel default is 8 so that all messages a= re logged to the
console. =A0This can produce a large amoun= t of noise to the point of
making the console unusable on a= firewall machine with an active
Internet connection since this will cause many log events rapidly
consuming the screen display. =A0At least one distro sets it t= o 3 and
another leaves it at the linux kernel default setti= ng of 8. =A0I
normally set this to 5 to reduce the noise on the console. =A0I norma= lly
do this with the 'dmesg -n5' command in the fir= ewall init scripts but
there are several different ways to = set this. =A0The key sequence is
intended to restore usability to a console that is getting bombarded<= /span>
with log events and Alt-SysRq-5 is useful for that purpose.=

I think you should determine what actions= are enabled on your system.
You can do this by using the /proc kernel interface directly.<= br>
=A0$ cat /proc/sys/kernel/sysrq
=
What level number is produced there?

=A0# echo h > /proc/sysrq-trigger
=A0# tail /var= /log/syslog (or tail /var/log/messages or whatever)
=
On my system it shows:

=A0$ cat= /proc/sys/kernel/sysrq
=A0438

That is 0x1b6 or 2 + 4 + 16 = + 32 + 128 + 256 and with this bitmap we
can see that some = features are not enabled by default on my system.
=A0=A0=A0=A0=A0=A0=A0=A0=A02 - enable control of console logging lev= el
=A0=A0=A0=A0=A0=A0=A0=A0=A04 - enable control of keyboa= rd (SAK, unraw)
=A0=A0=A0=A0=A0=A0=A0=A0=A08 - enable debu= gging dumps of processes etc.
=A0=A0=A0=A0=A0=A0=A0=A016 -= enable sync command
=A0=A0=A0=A0=A0=A0=A0=A032 - enable remount read-only
=A0=A0=A0=A0=A0=A0=A0=A064 - enable signalling of processes (term, kill,= oom-kill)

=A0=A0=A0=A0=A0=A0=A0128 - allow reboot/powerof= f
=A0=A0=A0=A0=A0=A0=A0256 - allow nicing of all RT tasks<= /span>

=A0# echo h > /proc/sysrq-trigger
=A0# tail /var/log/syslog

=A0... SysRq : HELP : logleve= l(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) kill-all= -tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-me= mory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-time= rs(Q) unRaw Sync show-task-states(T) Unmount force-fb(V) show-blocked-tasks= (W) dump-ftrace-buffer(Z)

Running 'tail -f /var/log/syslog' (or /var/l= og/messages, or whatever)
while you are testing pressing th= ose keys is useful because the kernel
will log actions take= n there.

Bob
--047d7b5da1f725a8ec04cb0f8409-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 02 12:17:45 2012 Received: (at control) by debbugs.gnu.org; 2 Oct 2012 16:17:45 +0000 Received: from localhost ([127.0.0.1]:37924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ5AH-0001Et-8L for submit@debbugs.gnu.org; Tue, 02 Oct 2012 12:17:45 -0400 Received: from joseki.proulx.com ([216.17.153.58]:39251) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ5AE-0001Ek-4l for control@debbugs.gnu.org; Tue, 02 Oct 2012 12:17:43 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 376FD211DF for ; Tue, 2 Oct 2012 10:17:07 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 28EF52DC77; Tue, 2 Oct 2012 10:17:07 -0600 (MDT) Date: Tue, 2 Oct 2012 10:17:07 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: close the issue Message-ID: <20121002161706.GA12634@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) tag - moreinfo + notabug close 12478 thanks This isn't a bug in coreutils. Perhaps this is a keymapping problem with the distribution. In which case the issue should be addressed there. Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 02 Oct 2012 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug moreinfo To: "Rafal W." Cc: 12478@debbugs.gnu.org Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13491948435056 (code B ref 12478); Tue, 02 Oct 2012 16:21:01 +0000 Received: (at 12478) by debbugs.gnu.org; 2 Oct 2012 16:20:43 +0000 Received: from localhost ([127.0.0.1]:37939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ5D9-0001JT-J4 for submit@debbugs.gnu.org; Tue, 02 Oct 2012 12:20:43 -0400 Received: from joseki.proulx.com ([216.17.153.58]:39268) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ5D7-0001JC-JL for 12478@debbugs.gnu.org; Tue, 02 Oct 2012 12:20:42 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 42385211DF; Tue, 2 Oct 2012 10:20:08 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 34F7A2DC77; Tue, 2 Oct 2012 10:20:08 -0600 (MDT) Date: Tue, 2 Oct 2012 10:20:08 -0600 From: Bob Proulx Message-ID: <20121002162008.GA11250@hysteria.proulx.com> References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> <20121001205345.GA31515@hysteria.proulx.com> <-4682102861427665010@unknownmsgid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <-4682102861427665010@unknownmsgid> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Rafal W. wrote: > So in summary the process is killed if the key is not handled by anything > else. I don't agree with that conclusion. It has not been determined what action is happening for you with Alt-SysRq-{1,2,3,4,7,8,9,0} and without that knowledge I don't believe a conclusion can be made. I think it likely that on your system those keys are getting mapped to C-\ which is supposed to generate SIGQUIT which is a debugging feature which is supposed to cause applications to core dump so that the core image can be examined. > In this case Alt-SysRq 1-4,7-9,0 are not handled by kernel somehow. And they are not for me either. But nothing else happens for me either. > So then code of release key of Alt-SysRq is sent. Pressing just Alt-SysRq > is killing the process as well. Which shouldn't happen I guess. But that is contrary to what you said before where you said: > Alt-SysRq-m and other letters works, doesn't kill the process. I think things have reduced to the point where your next step would be to take your current key mapping issue to your software distribution community and see what they say. The behavior on your system is different from the behavior on other systems and therefore this seems to me like a system dependent issue. That means that you need to address the key mapping problem within your software distribution. This clearly isn't a bug in any of the coreutils. I am going to go ahead and mark the bug as closed. Feel free to continue the discussion as I just did with this message. It will still reach all of the participants. Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: "Rafal W." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 03 Oct 2012 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug moreinfo To: Bob Proulx Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13492522502017 (code B ref 12478); Wed, 03 Oct 2012 08:18:01 +0000 Received: (at 12478) by debbugs.gnu.org; 3 Oct 2012 08:17:30 +0000 Received: from localhost ([127.0.0.1]:38516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJK93-0000WT-UZ for submit@debbugs.gnu.org; Wed, 03 Oct 2012 04:17:30 -0400 Received: from mail-vb0-f44.google.com ([209.85.212.44]:43339) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJK91-0000WM-Qd for 12478@debbugs.gnu.org; Wed, 03 Oct 2012 04:17:28 -0400 Received: by vbbfc26 with SMTP id fc26so9165765vbb.3 for <12478@debbugs.gnu.org>; Wed, 03 Oct 2012 01:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=dyzE8OADhAklox2VFhvXdl7FE49TQWk14BQktw8nTs0=; b=i+8RGuko7/xPP8PILbaibWMuQKIZ9W20hyBY54jFQGsHfsTIaq7w9tN78UuVlZLg3j abILPPUpHaEYTzGh/UOD3sPsIAjHcH5AAYTvw5s5g8Db90PSrD6pDDEgwk55Qyml/iov cgJ53LvmI66qjOWvJ5dHjXpPUar0dMpMRKFRNYptVCnL1XVU0ey5YKRN/NslR7ByV+zC ot/vljdVs3ZET7VY+seiZxMvlh6miw3giYXalLyYKN6PkSqfJEztSIMELi6Ol4+1G/7y 2+2IZ46G8XxZncm5myl+qoDDaENOzvqwqVcRYKDXMqVMajCxgHIcnJY8FfioJIds0ES5 ch0A== Received: by 10.58.187.38 with SMTP id fp6mr689738vec.48.1349252210867; Wed, 03 Oct 2012 01:16:50 -0700 (PDT) References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> <20121001205345.GA31515@hysteria.proulx.com> <-4682102861427665010@unknownmsgid> <20121002162008.GA11250@hysteria.proulx.com> From: "Rafal W." In-Reply-To: <20121002162008.GA11250@hysteria.proulx.com> Mime-Version: 1.0 (iPhone Mail 8A293) Date: Wed, 3 Oct 2012 10:16:40 +0200 Message-ID: <2524038788006880809@unknownmsgid> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) Thanks for your help. I've reported this bug against Ubuntu. Follow-up: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1060767 Kind Regards, Rafal Sent from my iPhone From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 03 Oct 2012 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug moreinfo To: "Rafal W." Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134928019518320 (code B ref 12478); Wed, 03 Oct 2012 16:04:02 +0000 Received: (at 12478) by debbugs.gnu.org; 3 Oct 2012 16:03:15 +0000 Received: from localhost ([127.0.0.1]:39709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJRPj-0004lO-Iq for submit@debbugs.gnu.org; Wed, 03 Oct 2012 12:03:12 -0400 Received: from joseki.proulx.com ([216.17.153.58]:46467) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJRPe-0004lB-ON for 12478@debbugs.gnu.org; Wed, 03 Oct 2012 12:03:10 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 820C4211DF; Wed, 3 Oct 2012 10:02:27 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 6DCFE2DC77; Wed, 3 Oct 2012 10:02:27 -0600 (MDT) Date: Wed, 3 Oct 2012 10:02:27 -0600 From: Bob Proulx Message-ID: <20121003160227.GA5961@hysteria.proulx.com> References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> <20121001205345.GA31515@hysteria.proulx.com> <-4682102861427665010@unknownmsgid> <20121002162008.GA11250@hysteria.proulx.com> <2524038788006880809@unknownmsgid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2524038788006880809@unknownmsgid> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Rafal W. wrote: > Thanks for your help. > I've reported this bug against Ubuntu. > Follow-up: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1060767 Since you are using Ubuntu that is the right place to pursue the key mapping problem. Your report there included good information. But... You sent your report against the coreutils package and we already determined here that this is not related to coreutils. That means that your bug report against the coreutils package there was incorrectly aimed from the start. Since the problem on your system is very likely something configured specifically on your system and not generally elsewhere. I don't have an Ubuntu system to test this on but I doubt the key sequence there would do any different than on my Debian machine. Could be wrong though. In any case the first task is to get to the root cause of it. When I have these types of problems I don't go directly to a bug report. For one thing it is often a problem to determine the correct target to submit against. As is the case here where twice you have been submitting against coreutils but your issue has nothing to do with coreutils. We have just been trying to be helpful. Instead I go for help discussion on the users mailing list. Some discussion it is often very helpful at determining the root cause. And then with that information sending a targeted bug report against the root cause of the problem will usually yield better results. Especially in this case where I think it is likely to be a key mapping issue and I have no idea what part of the distro would manage that part of the system. Could be console-tools. Could be kbd. Could be something else entirely. Don't know. Would need to find that first. The same is true here. The coreutils general discussion list is coreutils@gnu.org and we welcome discussion there before submitting a bug report. If in the future you have questions or comments it would be great if you would open the discussion there. For Ubuntu the users mailing lists are described here: https://wiki.ubuntu.com/UbuntuUsersListFAQ http://www.ubuntu.com/support/community/mailing-lists I would take the problem there next. Good luck! Bob From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: bronek Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 03 Oct 2012 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug moreinfo To: Bob Proulx Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.13492848857855 (code B ref 12478); Wed, 03 Oct 2012 17:22:02 +0000 Received: (at 12478) by debbugs.gnu.org; 3 Oct 2012 17:21:25 +0000 Received: from localhost ([127.0.0.1]:51636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJSdQ-00022d-E3 for submit@debbugs.gnu.org; Wed, 03 Oct 2012 13:21:25 -0400 Received: from mail-vc0-f172.google.com ([209.85.220.172]:46512) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJSdN-00022P-8W for 12478@debbugs.gnu.org; Wed, 03 Oct 2012 13:21:22 -0400 Received: by vcbfl11 with SMTP id fl11so10122056vcb.3 for <12478@debbugs.gnu.org>; Wed, 03 Oct 2012 10:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V23w2U+qMX0tHA1RiFFpadfnF3CBWXKIB91QzxeY+ro=; b=ufvUnmaahcsc/0LNV/5Rd4t5IK+XfXPuGoyV7KLdKrtUEBtAnvGBPnTclzcqapgUyR LVHZJItXc+eGpW7Z5ZtfpHx6dASOCK1xs9WYo6ks3FPIaEXbAR/8guagfMpI8LVfqILr 8b2zEhnzH73KWj1TVHK5jNhnQmYir17ISRvRPf89rdd15gMoVTM4FOM8CLl0iaxiVBBW vfY0aK/REZSaK5mWpH/HBJPwdlFSQnXGcn4Gd9zx3XjYStFX93bhyvnjU++XKdhK8Cz0 xDvoUCSzz9nz1ckAuQ3haqjU1FLRBVttqX4/tBDbp0rv8ByW0Klq2/UYSijOLkaYhUzq vchw== Received: by 10.58.189.40 with SMTP id gf8mr1599303vec.24.1349284874889; Wed, 03 Oct 2012 10:21:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.173.37 with HTTP; Wed, 3 Oct 2012 10:20:53 -0700 (PDT) In-Reply-To: <20121003160227.GA5961@hysteria.proulx.com> References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> <20121001205345.GA31515@hysteria.proulx.com> <-4682102861427665010@unknownmsgid> <20121002162008.GA11250@hysteria.proulx.com> <2524038788006880809@unknownmsgid> <20121003160227.GA5961@hysteria.proulx.com> From: bronek Date: Wed, 3 Oct 2012 19:20:53 +0200 Message-ID: Content-Type: multipart/alternative; boundary=047d7b5d2452ab2b4204cb2add8c X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) --047d7b5d2452ab2b4204cb2add8c Content-Type: text/plain; charset=ISO-8859-1 Yes, coreutils was a mistake, because they've stupid autocomplete textfield, when typing kernel, ubuntu or other keywords which I've tried, all the time was too general, so how do I know what other options are if I don't see any results (at last first 10?)? So I was happy to type anything there with the idea to change it later. I'm not much community person, once I was posting some problems/bugs on FreeBSD forum, they call me crazy, that nobody has that kind of problems (they call it magic), so mostly everything was ignored. So basically I hate forums. In example Apple has some community forum (instead of bug tracker), I've posted all my kernel crash backtraces (generated almost once a day) and other stuff and the problem was ignored as well, so basically problem exists, but nobody care. Secondly I'm not doing this for a pleasure, most of the time it preventing me to work properly (I'm not inventing this stuff, this just happens). If I'm spending couple of hours daily (if not the whole day) only creating the bugs, so I would spent the whole day on forums analysing and discussing the problem and from my experience most of the time people on the forum have no any technical knowledge at all, if they do - they say google it (even if they don't understand the problem). So I'm kind of bug guy by the choice. And I clearly see that this is the bug, but I don't know where yet. --- Kind regards, Rafal On 3 October 2012 18:02, Bob Proulx wrote: > Rafal W. wrote: > > Thanks for your help. > > I've reported this bug against Ubuntu. > > Follow-up: > https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1060767 > > Since you are using Ubuntu that is the right place to pursue the key > mapping problem. Your report there included good information. > > But... You sent your report against the coreutils package and we > already determined here that this is not related to coreutils. That > means that your bug report against the coreutils package there was > incorrectly aimed from the start. > > Since the problem on your system is very likely something configured > specifically on your system and not generally elsewhere. I don't have > an Ubuntu system to test this on but I doubt the key sequence there > would do any different than on my Debian machine. Could be wrong > though. In any case the first task is to get to the root cause of it. > > When I have these types of problems I don't go directly to a bug > report. For one thing it is often a problem to determine the correct > target to submit against. As is the case here where twice you have > been submitting against coreutils but your issue has nothing to do > with coreutils. We have just been trying to be helpful. > > Instead I go for help discussion on the users mailing list. Some > discussion it is often very helpful at determining the root cause. > And then with that information sending a targeted bug report against > the root cause of the problem will usually yield better results. > Especially in this case where I think it is likely to be a key mapping > issue and I have no idea what part of the distro would manage that > part of the system. Could be console-tools. Could be kbd. Could be > something else entirely. Don't know. Would need to find that first. > > The same is true here. The coreutils general discussion list is > coreutils@gnu.org and we welcome discussion there before submitting a > bug report. If in the future you have questions or comments it would > be great if you would open the discussion there. > > For Ubuntu the users mailing lists are described here: > > https://wiki.ubuntu.com/UbuntuUsersListFAQ > > http://www.ubuntu.com/support/community/mailing-lists > > I would take the problem there next. > > Good luck! > Bob > > --047d7b5d2452ab2b4204cb2add8c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, coreutils was a mistake, because they've stupid autocomplete = textfield, when typing kernel, ubuntu or other keywords which I've trie= d, all the time was too general, so how do I know what other options are if= I don't see any results (at last first 10?)? So I was happy to type an= ything there with the idea to change it later.

I'm not much community person, once I was posting some p= roblems/bugs on FreeBSD forum, they call me crazy, that nobody has that kin= d of problems (they call it magic), so mostly everything was ignored.
So basically I hate forums. In example Apple has some community forum (inst= ead of bug tracker), I've posted all my kernel crash backtraces (genera= ted almost once a day) and other stuff and the problem was ignored as well,= so basically problem exists, but nobody care. Secondly I'm not doing t= his for a pleasure, most of the time it preventing me to work properly (I&#= 39;m not inventing this stuff, this just happens). If I'm spending coup= le of hours=A0daily=A0(if not the whole day) only creating the bugs, so I w= ould spent the whole day on forums analysing and=A0discussing=A0the problem= and from my experience most of the time people on the forum have no any te= chnical knowledge at all, if they do - they say google it (even if they don= 't understand the problem). So I'm kind of bug guy by the choice. A= nd I clearly see that this is the bug, but I don't know where yet.

---
Kind regards,
Rafal


On 3 October 2012 18:02, Bob Proulx <bob@p= roulx.com> wrote:
Rafal W. wrote:
> Thanks for your help.
> I've reported this bug against Ubuntu.
> Follow-up: https://bugs.launchpad.net/ubuntu/+sour= ce/coreutils/+bug/1060767

Since you are using Ubuntu that is the right place to pursue the key<= br> mapping problem. =A0Your report there included good information.

But... =A0You sent your report against the coreutils package and we
already determined here that this is not related to coreutils. =A0That
means that your bug report against the coreutils package there was
incorrectly aimed from the start.

Since the problem on your system is very likely something configured
specifically on your system and not generally elsewhere. =A0I don't hav= e
an Ubuntu system to test this on but I doubt the key sequence there
would do any different than on my Debian machine. =A0Could be wrong
though. =A0In any case the first task is to get to the root cause of it.
When I have these types of problems I don't go directly to a bug
report. =A0For one thing it is often a problem to determine the correct
target to submit against. =A0As is the case here where twice you have
been submitting against coreutils but your issue has nothing to do
with coreutils. =A0We have just been trying to be helpful.

Instead I go for help discussion on the users mailing list. =A0Some
discussion it is often very helpful at determining the root cause.
And then with that information sending a targeted bug report against
the root cause of the problem will usually yield better results.
Especially in this case where I think it is likely to be a key mapping
issue and I have no idea what part of the distro would manage that
part of the system. =A0Could be console-tools. =A0Could be kbd. =A0Could be=
something else entirely. =A0Don't know. =A0Would need to find that firs= t.

The same is true here. =A0The coreutils general discussion list is
coreutils@gnu.org and we welcome d= iscussion there before submitting a
bug report. =A0If in the future you have questions or comments it would
be great if you would open the discussion there.

For Ubuntu the users mailing lists are described here:

=A0 https://wiki.ubuntu.com/UbuntuUsersListFAQ

=A0 http://www.ubuntu.com/support/community/mailing-lists

I would take the problem there next.

Good luck!
Bob


--047d7b5d2452ab2b4204cb2add8c-- From unknown Mon Jun 23 06:02:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12478: cat SEGV when I press Ctrl-Alt-SysRq-1 on text console Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 03 Oct 2012 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12478 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug moreinfo To: bronek Cc: "12478@debbugs.gnu.org" <12478@debbugs.gnu.org> Received: via spool by 12478-submit@debbugs.gnu.org id=B12478.134929068516629 (code B ref 12478); Wed, 03 Oct 2012 18:59:02 +0000 Received: (at 12478) by debbugs.gnu.org; 3 Oct 2012 18:58:05 +0000 Received: from localhost ([127.0.0.1]:51708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJU8z-0004K9-7C for submit@debbugs.gnu.org; Wed, 03 Oct 2012 14:58:05 -0400 Received: from joseki.proulx.com ([216.17.153.58]:47294) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJU8v-0004Jf-Px for 12478@debbugs.gnu.org; Wed, 03 Oct 2012 14:58:04 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 1FF34211D6; Wed, 3 Oct 2012 12:58:00 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 1050D2DC77; Wed, 3 Oct 2012 12:58:00 -0600 (MDT) Date: Wed, 3 Oct 2012 12:58:00 -0600 From: Bob Proulx Message-ID: <20121003185759.GA29977@hysteria.proulx.com> References: <20121001103655.20990.qmail@kosh.dhis.org> <3492242540863769421@unknownmsgid> <20121001205345.GA31515@hysteria.proulx.com> <-4682102861427665010@unknownmsgid> <20121002162008.GA11250@hysteria.proulx.com> <2524038788006880809@unknownmsgid> <20121003160227.GA5961@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) bronek wrote: > Yes, coreutils was a mistake, because they've stupid autocomplete > textfield, when typing kernel, ubuntu or other keywords which I've tried, > all the time was too general, so how do I know what other options are if I > don't see any results (at last first 10?)? So I was happy to type anything > there with the idea to change it later. I assume that as the bug submitter you would be able to edit the bug and make changes and reassign it. > I'm not much community person, once I was posting some problems/bugs on > FreeBSD forum, they call me crazy, that nobody has that kind of problems > (they call it magic), so mostly everything was ignored. I have the benefit of having a number of machines available to me. When I run into a hard problem I take a victim machine and install the system fresh from pristine released sources upon it. Then on that fresh system I try to see if the problem is present. If not then I know that it is something I created myself on the system after installation through the course of events. This type of problem is the usual one for people to describe such as you have done. If it isn't a problem that other people are experiencing then it must be one that has been created through the use and modifications of the system. In which case it won't be present upon a pristine installation. And if not then I know that it is my problem because I created it. > So basically I hate forums. If by forum you mean a web based message board where people hold conversations in the form of posted messages then I agree that I do not like them. But if you are using the term generically as a medium for discussion such as this mailing list then I disagree since those have been most helpful. > In example Apple has some community forum (instead of bug tracker), > I've posted all my kernel crash backtraces (generated almost once a > day) and other stuff and the problem was ignored as well, so > basically problem exists, but nobody care. I am sad to hear of your trouble with Apple's software. Of course the advantage of GNU free software is that everything is available and it is possible debug the problem outside of others. However I admit that skill either must exist or must be developed to be able to do this. > Secondly I'm not doing this for a pleasure, most of the time it > preventing me to work properly (I'm not inventing this stuff, this > just happens). Oh no! The curse! :-) I am sorry for laughing at this. We have all been there. But stuff doesn't just happen. Really! There is always a reason. While people have good days and bad days and just cantankerous days the machine does not. Unless there is a hardware problem the machine will always behave exactly as it is programmed to do. That is a good thing. > If I'm spending couple of hours daily (if not the whole day) only > creating the bugs, so I would spent the whole day on forums > analysing and discussing the problem and from my experience most of > the time people on the forum have no any technical knowledge at all, > if they do - they say google it (even if they don't understand the > problem). So I'm kind of bug guy by the choice. And I clearly see > that this is the bug, but I don't know where yet. And we are doing exactly the same thing here. This is a labor of love. We don't get paid for it. Well most of us don't. And even those that do work on the software on their free time too. We do this because we want to make the world a better place. This is really drifting off topic for this bug ticket. It would be different if we were discussing this on the discussion list. To bring it back on topic let me ask... Do you have a spare scratch machine? I don't believe it makes sense that this problem isn't being seen by others. If you could install a fresh copy of your operating system on a scratch victim machine and then try your problem there then it would be possible to determine if it is something in the upstream to you pristine installation or if it is something that has been changed on your installation since then. With the problems you are lamenting I think this might be useful to help to solve many of the issues you have been having. If you have more discussion and it is discussion and not data to add to this bug ticket then please start a new message thread on the coreutils@gnu.org mailing list. That is the better place for it. Good luck! Bob