From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#13797: 24.2.93; Program received signal EXC_BAD_ACCESS, Could not access memory. Date: Sun, 24 Feb 2013 10:43:29 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361673879 785 80.91.229.3 (24 Feb 2013 02:44:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 02:44:39 +0000 (UTC) To: 13797@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 03:45:01 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 1U9RaC-0004Mp-HF for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 03:44:56 +0100 Original-Received: from localhost ([::1]:60556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9RZs-0002x1-29 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 21:44:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9RZp-0002ww-21 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:44:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9RZo-000141-1z for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:44:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9RZn-00013w-Ue for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:44:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U9RbG-000344-OK for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Feb 2013 02:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13797 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.136167391611724 (code B ref -1); Sun, 24 Feb 2013 02:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Feb 2013 02:45:16 +0000 Original-Received: from localhost ([127.0.0.1]:46303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9RaV-000333-UA for submit@debbugs.gnu.org; Sat, 23 Feb 2013 21:45:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38046) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9RaT-00032v-12 for submit@debbugs.gnu.org; Sat, 23 Feb 2013 21:45:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9RYy-0000sq-6y for submit@debbugs.gnu.org; Sat, 23 Feb 2013 21:43:42 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:41892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9RYy-0000sm-43 for submit@debbugs.gnu.org; Sat, 23 Feb 2013 21:43:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9RYw-0002rs-I2 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:43:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9RYv-0000sQ-6T for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:43:38 -0500 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:43851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9RYu-0000sL-W7 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 21:43:37 -0500 Original-Received: by mail-pa0-f49.google.com with SMTP id kp6so1153382pab.36 for ; Sat, 23 Feb 2013 18:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=iF+h5OBHwEu5FuFd8CJuqncKE5h+jgHNwridB/OhTYo=; b=Fn7I+Km3XpF1Ps8H4J24o1phTOCbKdLECGhCsvmFC5ocJu1fwsX49QWikRulIOiP89 mvISKXr6EVfcROocRCO0tGTI8PZbUrUb3h/1H9SWEmY4SzZE+kJ2TdttJQkF3JeoXYh9 k8fcIKkrkugb3D/shb2MuWWLtXnfQ8iloyNps9+0y+KqqsirCjr/EngE7JV60DoafjMT 0MkTuh2N4fqeRorlk3mOE1dsdHW+yoB6FUcYEFcNuptF/ya0byq7GgPbqeDF773ST3U5 ySCshjoNuOF/i7VI7yBx76O6uD2OKrNc9wZjckbO2FQw+r6asLsyqyZ9fAU1lD/18cv2 TG8Q== X-Received: by 10.66.192.162 with SMTP id hh2mr11985775pac.79.1361673815400; Sat, 23 Feb 2013 18:43:35 -0800 (PST) Original-Received: from Shidais-iMac.local ([119.255.41.66]) by mx.google.com with ESMTPS id ww9sm7738739pbc.41.2013.02.23.18.43.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 23 Feb 2013 18:43:34 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:71734 Archived-At: I was again annoyed by a post-command-hook error so I have: (setq debug-on-message "Error in post-command-hook") Interestingly I experienced crashes. Here is the log: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x00000001001bf877 in re_search_2 (bufp=0x100709a28, str1=0x0, size1=0, str2=0xe600000001018030
, size2=4179340454216613157, startpos=0, range=4179340454216613157, regs=0x0, stop=4179340454216613157) at regex.c:4413 4413 buf_ch = STRING_CHAR_AND_LENGTH (d, buf_charlen); (gdb) bt #0 0x00000001001bf877 in re_search_2 (bufp=0x100709a28, str1=0x0, size1=0, str2=0xe600000001018030
, size2=4179340454216613157, startpos=0, range=4179340454216613157, regs=0x0, stop=4179340454216613157) at regex.c:4413 #1 0x00000001001be6d3 in re_search (bufp=0x100709a28, string=0xe600000001018030
, size=4179340454216613157, startpos=0, range=4179340454216613157, regs=0x0) at regex.c:4239 #2 0x00000001001a5a4b in fast_string_match (regexp=4465094529, string=4320145466) at search.c:480 #3 0x0000000100047451 in set_message (s=0x1003792eb "Auto-saving...", string=4320145466, nbytes=14, multibyte_p=0) at xdisp.c:10650 #4 0x000000010004426a in message2_nolog (m=0x1003792eb "Auto-saving...", nbytes=14, multibyte=0) at xdisp.c:9649 #5 0x0000000100043f31 in message2 (m=0x1003792eb "Auto-saving...", nbytes=14, multibyte=0) at xdisp.c:9604 #6 0x0000000100044958 in message1 (m=0x1003792eb "Auto-saving...") at xdisp.c:9773 #7 0x0000000100191b21 in Fdo_auto_save (no_message=4320145466, current_only=4320145466) at fileio.c:5567 #8 0x0000000100132127 in read_char (commandflag=1, nmaps=7, maps=0x7fff5fbfec20, prev_event=4320145466, used_mouse_menu=0x7fff5fbfef4f, end_time=0x0) at keyboard.c:2729 #9 0x000000010014404e in read_key_sequence (keybuf=0x7fff5fbff220, bufsize=30, prompt=4320145466, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true) at keyboard.c:9349 #10 0x000000010012e8f5 in command_loop_1 () at keyboard.c:1503 #11 0x000000010020275a in internal_condition_case (bfun=0x10012e390 , handlers=4320212330, hfun=0x10012d8a0 ) at eval.c:1289 #12 0x000000010012deb8 in command_loop_2 (ignore=4320145466) at keyboard.c:1193 #13 0x0000000100201fda in internal_catch (tag=4320208442, func=0x10012de80 , arg=4320145466) at eval.c:1060 #14 0x000000010012de37 in command_loop () at keyboard.c:1163 #15 0x000000010012d207 in recursive_edit_1 () at keyboard.c:782 #16 0x000000010012d45d in Frecursive_edit () at keyboard.c:846 #17 0x000000010012a8f2 in main (argc=2, argv=0x7fff5fbffa78) at emacs.c:1560 (gdb) p bufp $1 = (struct re_pattern_buffer *) 0x100709a28 (gdb) p *bufp $2 = { buffer = 0x10be25eb0 "\002\032Error in post-command-hook\001montreal.ca>\001y\r(", allocated = 416, used = 29, syntax = 3408388, fastmap = 0x100709a68 "", translate = 0, re_nsub = 0, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 1, no_sub = 0, not_bol = 0, not_eol = 0, used_syntax = 0, multibyte = 0, target_multibyte = 1, charset_unibyte = 1 } (gdb) fast_string_match receives STRING: (gdb) p string $15 = 4320145466 (gdb) xstring $16 = (struct Lisp_String *) 0x101803038 Value out of range.