From unknown Tue Jun 24 05:12:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18032: Crash with etags Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jul 2014 13:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18032 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 18032@debbugs.gnu.org Cc: "Dr. Werner Fink" X-Debbugs-Original-To: Emacs bug reports and feature requests Received: via spool by submit@debbugs.gnu.org id=B.140551817831521 (code B ref -1); Wed, 16 Jul 2014 13:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2014 13:42:58 +0000 Received: from localhost ([127.0.0.1]:56248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7PTy-0008CH-Rn for submit@debbugs.gnu.org; Wed, 16 Jul 2014 09:42:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7PTt-0008C0-Ul for submit@debbugs.gnu.org; Wed, 16 Jul 2014 09:42:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7PTj-0006Qq-8Q for submit@debbugs.gnu.org; Wed, 16 Jul 2014 09:42: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=0.0 required=5.0 tests=BAYES_40,WEIRD_PORT autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7PTj-0006Qk-4S for submit@debbugs.gnu.org; Wed, 16 Jul 2014 09:42:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7PTd-0008L4-HQ for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 09:42:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7PTY-0006Nu-5G for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 09:42:33 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:45268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7PTX-0006Nh-T6 for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 09:42:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9928539E801B; Wed, 16 Jul 2014 06:42:25 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GBVkiS-NCECN; Wed, 16 Jul 2014 06:42:21 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 2512D39E801D; Wed, 16 Jul 2014 06:42:21 -0700 (PDT) Message-ID: <53C68133.6070103@cs.ucla.edu> Date: Wed, 16 Jul 2014 06:42:11 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) [This bug report is taken from: http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00209.html I'm filing it here to give it a proper bug number and thread. Dr. Werner Fink writes:] Hi, after installing the linux kernel sources, I see cd /usr/src/linux ulimit -c unlimited make TAGS GEN TAGS xargs: etags: terminated by signal 11 gdb /usr/bin/etags core [...] Reading symbols from /usr/bin/etags...Reading symbols from /usr/lib/debug/usr/bin/etags.debug...done. done. [New LWP 14768] Core was generated by `etags -a --regex=^\(ENTRY\|_GLOBAL\)(\([^)]*\)).* \2 / --regex=^SYSCALL_DEFINE['. Program terminated with signal SIGSEGV, Segmentation fault. #0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:37 37 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory. (gdb) up #1 0x000000000040376c in memcpy (__len=90, __src=, __dest=0x18ea090) at /usr/include/bits/string3.h:51 51 return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); (gdb) up #2 substitute (in=0x17048f0 "ENTRY(lguest_entry)", out=0x1707301 "2", regs=0x1705dc8, regs=0x1705dc8) at /usr/src/debug/emacs-24.3/lib-src/etags.c:5792 5792 memcpy (t, in + regs->start[dig], diglen); (gdb) list 5787 for (t = result; *out != '\0'; out++) 5788 if (*out == '\\' && ISDIGIT (*++out)) 5789 { 5790 dig = *out - '0'; 5791 diglen = regs->end[dig] - regs->start[dig]; 5792 memcpy (t, in + regs->start[dig], diglen); 5793 t += diglen; 5794 } 5795 else 5796 *t++ = *out; (gdb) print *out - '0' $1 = 2 (gdb) print regs->end[dig] - regs->start[dig] value has been optimized out (gdb) print regs->end[dig] value has been optimized out (gdb) print regs $2 = (struct re_registers *) 0x1705dc8 (gdb) print *regs $3 = {num_regs = 4, start = 0x18d1d40, end = 0x18d4fc0} (gdb) print *regs->end $4 = 21474836499 (gdb) print regs->end $5 = (regoff_t *) 0x18d4fc0 (gdb) print *regs->end $6 = 21474836499 (gdb) print *regs->start $7 = 0 (gdb) print *regs->end[2] Cannot access memory at address 0x70000000000005f I've also an other bug report about etags and kernel source tree, see the cloned bug at http://rudin.suse.de:8888/show_bug.cgi?id=887483 Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr From unknown Tue Jun 24 05:12:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18032: Crash with etags Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Oct 2019 01:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18032 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: "Dr. Werner Fink" , 18032@debbugs.gnu.org Received: via spool by 18032-submit@debbugs.gnu.org id=B18032.157092989516914 (code B ref 18032); Sun, 13 Oct 2019 01:25:01 +0000 Received: (at 18032) by debbugs.gnu.org; 13 Oct 2019 01:24:55 +0000 Received: from localhost ([127.0.0.1]:34581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJScw-0004Ok-Sg for submit@debbugs.gnu.org; Sat, 12 Oct 2019 21:24:55 -0400 Received: from quimby.gnus.org ([80.91.231.51]:44674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJScu-0004OX-HE for 18032@debbugs.gnu.org; Sat, 12 Oct 2019 21:24:53 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJScq-0002Tg-Ee; Sun, 13 Oct 2019 03:24:51 +0200 From: Lars Ingebrigtsen References: <53C68133.6070103@cs.ucla.edu> Date: Sun, 13 Oct 2019 03:24:48 +0200 In-Reply-To: <53C68133.6070103@cs.ucla.edu> (Paul Eggert's message of "Wed, 16 Jul 2014 06:42:11 -0700") Message-ID: <87blulfndr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Paul Eggert writes: > [This bug report is taken from: > http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00209.html > I'm filing it here to give it a proper bug number and thread. > Dr. Werner Fink List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Paul Eggert writes: > [This bug report is taken from: > http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00209.html > I'm filing it here to give it a proper bug number and thread. > Dr. Werner Fink writes:] [...] > Reading symbols from /usr/bin/etags...Reading symbols from > /usr/lib/debug/usr/bin/etags.debug...done. > done. > [New LWP 14768] > Core was generated by `etags -a > --regex=^\(ENTRY\|_GLOBAL\)(\([^)]*\)).* \2 / > --regex=^SYSCALL_DEFINE['. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 __memcpy_sse2_unaligned () at > ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:37 > 37 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No > such file or directory. > (gdb) up > #1 0x000000000040376c in memcpy (__len=90, __src= out>, __dest=0x18ea090) at /usr/include/bits/string3.h:51 > 51 return __builtin___memcpy_chk (__dest, __src, __len, > __bos0 (__dest)); This was five years ago, and unfortunately this wasn't handled at the time. But it's unlikely that we'll be making more progress here at this point, so I'm closing this bug report. Please reopen if you're still seeing these crashes in modern versions of Emacs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 12 21:25:01 2019 Received: (at control) by debbugs.gnu.org; 13 Oct 2019 01:25:01 +0000 Received: from localhost ([127.0.0.1]:34584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJSd1-0004P4-9M for submit@debbugs.gnu.org; Sat, 12 Oct 2019 21:25:01 -0400 Received: from quimby.gnus.org ([80.91.231.51]:44688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJScz-0004Ou-Fy for control@debbugs.gnu.org; Sat, 12 Oct 2019 21:24:57 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJScw-0002Tp-Sa for control@debbugs.gnu.org; Sun, 13 Oct 2019 03:24:56 +0200 Date: Sun, 13 Oct 2019 03:24:54 +0200 Message-Id: <87a7a5fndl.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18032 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18032 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 18032 quit