From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: segfault with show-paren-mode Date: Wed, 12 Jul 2006 01:02:53 +1200 Message-ID: <17587.41341.904494.440516@kahikatea.snap.net.nz> References: <87sll8ia1m.fsf@dur.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152623110 1399 80.91.229.2 (11 Jul 2006 13:05:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2006 13:05:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 11 15:05:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G0HvD-0001ru-FS for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 15:05:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0HvD-0006ZC-2S for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 09:05:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G0HuX-0006NP-3a for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:04:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G0HuT-0006Lq-2H for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:04:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0HuS-0006Lk-St for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:04:16 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G0Hvm-00073n-1h for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:05:38 -0400 Original-Received: from kahikatea.snap.net.nz (p202-124-112-188.snap.net.nz [202.124.112.188]) by viper.snap.net.nz (Postfix) with ESMTP id 15C8376EE2C; Wed, 12 Jul 2006 01:04:10 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id CC8671D3550; Wed, 12 Jul 2006 01:02:55 +1200 (NZST) Original-To: Peter Heslin In-Reply-To: <87sll8ia1m.fsf@dur.ac.uk> X-Mailer: VM 7.19 under Emacs 22.0.50.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56919 Archived-At: > With a cvs update and emacs -q, and eval'ing > (setq show-paren-delay 0) > (show-paren-mode t) Does it also happen with emacs -Q? Please use report-emacs-bug for information about your build etc. > visiting an elisp file and putting the cursor on a top-level left paren > in column 0 will cause a segfault. I don't see this on GNU/Linux. > Here is the backtrace: > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000543dfd in scan_lists (from=140733193399312, count=1, depth=1, sexpflag=1) > at syntax.c:2324 > 2324 INC_BOTH (from, from_byte); This is the current frame, not the backtrace. What do you get with "bt full" as described with report-emacs-bug? from seems to be a position in the buffer so I guess this is wrong: from=140733193399312 ^^^^^^^^^^^^^^^ If no-one else can reproduce this, you will need to find out how it gets this value using GDB. -- Nick http://www.inet.net.nz/~nickrob