From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Peter Heslin
Newsgroups: gmane.emacs.devel
Subject: Re: segfault with show-paren-mode
Date: Tue, 11 Jul 2006 14:50:42 +0100
Message-ID: <87k66kckst.fsf@dur.ac.uk>
References: <87sll8ia1m.fsf@dur.ac.uk>
<17587.41341.904494.440516@kahikatea.snap.net.nz>
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1152624617 7450 80.91.229.2 (11 Jul 2006 13:30:17 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Tue, 11 Jul 2006 13:30:17 +0000 (UTC)
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 11 15:30:14 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 1G0IJM-0007Qt-PZ
for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 15:30:01 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.43)
id 1G0IJM-0002kL-8J
for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 09:30:00 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
id 1G0IJ8-0002k8-D1
for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:29:46 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
id 1G0IJ5-0002hJ-Pw
for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:29:46 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
by lists.gnu.org with esmtp (Exim 4.43) id 1G0IJ5-0002h8-L4
for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:29:43 -0400
Original-Received: from [80.91.229.2] (helo=ciao.gmane.org)
by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
(Exim 4.52) id 1G0IKP-0000pQ-AX
for emacs-devel@gnu.org; Tue, 11 Jul 2006 09:31:05 -0400
Original-Received: from list by ciao.gmane.org with local (Exim 4.43)
id 1G0IIk-0007IU-Ni
for emacs-devel@gnu.org; Tue, 11 Jul 2006 15:29:22 +0200
Original-Received: from class03.dur.ac.uk ([129.234.72.3])
by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
id 1AlnuQ-0007hv-00
for ; Tue, 11 Jul 2006 15:29:22 +0200
Original-Received: from p.j.heslin by class03.dur.ac.uk with local (Gmexim 0.1 (Debian))
id 1AlnuQ-0007hv-00
for ; Tue, 11 Jul 2006 15:29:22 +0200
X-Injected-Via-Gmane: http://gmane.org/
Original-To: emacs-devel@gnu.org
Original-Lines: 86
Original-X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: class03.dur.ac.uk
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:YmknKjxHQ3gm74suhvuAGEy/58M=
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:56921
Archived-At:
Nick Roberts writes:
> Does it also happen with emacs -Q?
Yes.
> Please use report-emacs-bug for information about your build etc.
Sorry -- the emacs I built is too unstable to run report-bug-emacs, but
the info from it is appended below.
> > 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.
I am running GNU/Linux on amd64.
> This is the current frame, not the backtrace. What do you get with "bt full"
> as described with report-emacs-bug?
(gdb) bt full
#0 0x0000000000543dfd in scan_lists (from=140733193399312, count=1, depth=1,
sexpflag=1) at syntax.c:2324
len = Variable "len" is not available.
While trying to look at syntax.c with this build, I got another
segfault:
(gdb) bt full
#0 0x0000000000546bc7 in Fforward_comment (count=Variable "count" is not available.
) at syntax.c:2075
_syntax_tbl = Variable "_syntax_tbl" is not available.
Since I am indeed on amd64, I will try Stefan's suggestion of
re-compiling with -O1.
Build info:
In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.6)
of 2006-07-11 on class03
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
M-x r e p o r
Recent messages:
(/home/pj/emacs-cvs-source/emacs/src/emacs -Q)
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading help-mode...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
--
Peter Heslin (http://www.dur.ac.uk/p.j.heslin)