From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jesse Newsgroups: gmane.emacs.bugs Subject: bug#14428: 24.3; Emacs crashes in c-mode if I yank certain text then undo with M-/. Date: Mon, 20 May 2013 16:58:18 -0600 Message-ID: <519AAA8A.3090100@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369092338 15022 80.91.229.3 (20 May 2013 23:25:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 23:25:38 +0000 (UTC) To: 14428@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 21 01:25:38 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UeZST-0000pm-TV for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 May 2013 01:25:38 +0200 Original-Received: from localhost ([::1]:42239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeZST-0001Vx-CY for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2013 19:25:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeZSM-0001UW-NJ for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 19:25:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeZSJ-0000mh-Cs for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 19:25:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeZSJ-0000mX-9C for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 19:25:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UeZSs-0005MM-Br for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 19:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jesse Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 May 2013 23:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14428 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136909230220480 (code B ref -1); Mon, 20 May 2013 23:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 May 2013 23:25:02 +0000 Original-Received: from localhost ([127.0.0.1]:53573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeZRt-0005K4-Av for submit@debbugs.gnu.org; Mon, 20 May 2013 19:25:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47358) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeZ3E-0004RK-EP for submit@debbugs.gnu.org; Mon, 20 May 2013 18:59:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeZ2S-0007Tv-Kn for submit@debbugs.gnu.org; Mon, 20 May 2013 18:58:51 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:46232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeZ2S-0007Tm-Gy for submit@debbugs.gnu.org; Mon, 20 May 2013 18:58:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeZ2L-0004PI-4R for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 18:58:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeZ2E-0007MN-JG for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 18:58:37 -0400 Original-Received: from mail-ie0-x22e.google.com ([2607:f8b0:4001:c03::22e]:55717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeZ2E-0007Lw-Bl for bug-gnu-emacs@gnu.org; Mon, 20 May 2013 18:58:30 -0400 Original-Received: by mail-ie0-f174.google.com with SMTP id 10so14627318ied.5 for ; Mon, 20 May 2013 15:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=eVREaIjg52w1jw7r2irBtUKPJ6uiQSykt0zi7iJDRIw=; b=vRde1Tv2VT6nk8l/oTzfu1/3GC+4hcaPZzf5mRT0zgNfx7W5GzsnxfVV/+cGIh3Di7 vtRFv6cBcLi+pRPQAzDLAHzxvN21Ii3lOouXsy4MggM5R7i40icltewceVzu0p4tJDsv nAigZjQ/zOrOGZE8n632O123mPKZcuLAK9eEPWYgM6bcG7NC9VuS6UZtsBbQiWG1p9Td AgEGdtZOlaV87+k/4HjhZAmA/zSjy4qoeliq+2upHeKaAgvbQNX+iz4q2Hzz6CBz+J6m AkCSO0aMYFRosngzjLv/JKANN8djAm6ESimFkUdeJDYuKva8Lm1SswzjdSkkxTE+no+z aYVw== X-Received: by 10.50.120.66 with SMTP id la2mr6716141igb.9.1369090709142; Mon, 20 May 2013 15:58:29 -0700 (PDT) Original-Received: from [192.168.2.6] (c-68-42-33-87.hsd1.nm.comcast.net. [68.42.33.87]) by mx.google.com with ESMTPSA id ct8sm13801729igb.7.2013.05.20.15.58.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 15:58:27 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Mon, 20 May 2013 19:24:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74426 Archived-At: Starting from emacs -Q: M-x c-mode C-x h Type the text "#include " C-Space C-a C-w C-y C-y M-/ This causes a segmentation fault, I can't even imagine why. I've found that any last line of text beginning with the '#' character, cannot be yanked, and then have that yank undone, without emacs crashing. It's very specific, but also very detrimental. $ gdb 'emacs' GNU gdb (GDB) 7.6 Copyright (C) 2013 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 "i686-pc-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/emacs-24.3...(no debugging symbols found)...done. (gdb) run -Q Starting program: /usr/bin/emacs-24.3 -Q warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". ** (emacs-24-3:11678): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (emacs-24-3:11678): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-Atw3nvy7Lw: Connection refused (emacs-24-3:11678): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-Atw3nvy7Lw: Connection refused (emacs-24-3:11678): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-Atw3nvy7Lw: Connection refused (emacs-24-3:11678): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-Atw3nvy7Lw: Connection refused (emacs-24-3:11678): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-Atw3nvy7Lw: Connection refused (emacs-24-3:11678): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Failed to connect to socket /tmp/dbus-Atw3nvy7Lw: Connection refused [New Thread 0xb42dfb40 (LWP 11682)] Program received signal SIGSEGV, Segmentation fault. 0x081d2433 in ?? () (gdb) bt full #0 0x081d2433 in ?? () No symbol table info available. #1 0x081d3bfd in ?? () No symbol table info available. #2 0x081d3ec8 in ?? () No symbol table info available. #3 0x0816b09d in ?? () No symbol table info available. #4 0x081870c3 in ?? () No symbol table info available. #5 0x081ba72b in ?? () No symbol table info available. #6 0x08186c4d in ?? () No symbol table info available. #7 0x08186f0a in ?? () No symbol table info available. #8 0x081ba72b in ?? () No symbol table info available. #9 0x08186c4d in ?? () No symbol table info available. #10 0x08186f0a in ?? () No symbol table info available. #11 0x08183901 in ?? () No symbol table info available. #12 0x081870af in ?? () No symbol table info available. #13 0x08188a17 in ?? () No symbol table info available. #14 0x08125c41 in ?? () No symbol table info available. #15 0x081857ae in ?? () No symbol table info available. #16 0x08117ff5 in ?? () No symbol table info available. #17 0x081856c3 in ?? () No symbol table info available. #18 0x0811c492 in ?? () No symbol table info available. #19 0x0811c76d in ?? () No symbol table info available. #20 0x08058b98 in ?? () No symbol table info available. #21 0xb67ae7c3 in __libc_start_main () from /usr/lib/libc.so.6 No symbol table info available. #22 0x08059845 in ?? () No symbol table info available. (gdb) xbacktrace Undefined command: "xbacktrace". Try "help". (gdb) quit A debugging session is active. Inferior 1 [process 11678] will be killed. Quit anyway? (y or n) y In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.8.1) of 2013-04-29 on eric Windowing system distributor `The X.Org Foundation', version 11.0.11401000 System Description: Arch Linux Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t SPC b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)