all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Murray <alex.murray@dsto.defence.gov.au>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 10159@debbugs.gnu.org, eggert@cs.ucla.edu
Subject: bug#10159: 24.0.91; Segfault with auto-complete package [SEC=UNCLASSIFIED]
Date: Fri, 20 Jan 2012 15:12:01 +1030	[thread overview]
Message-ID: <4F18F099.3050103@dsto.defence.gov.au> (raw)
In-Reply-To: <E1RXoYn-0001pA-6W@fencepost.gnu.org>

UNCLASSIFIED

On 06/12/11 17:01, Eli Zaretskii wrote:
>> Date: Tue, 06 Dec 2011 16:17:40 +1030
>> From: Alex Murray<alex.murray@dsto.defence.gov.au>
>> Cc: 10159@debbugs.gnu.org
>>
>> Okay have managed to reproduce the crash without any optimizations and
>> am including the first few stack frames in line - see attached for the
>> entire gdb backtrace full output
>>
>> #0  0x0000000000687832 in composition_compute_stop_pos
>> (cmp_it=0x7fffffff9018,
>>       charpos=74, bytepos=86, endpos=100, string=44875745) at
>> composite.c:1073
>>           elt = 44875745
>>           ridx = 0
>>           start = 0
>>           end = 21769088
>>           c = 11542528
>>           prop = 12818946
>>           val = 390
>>           MAX_NEWLINE_DISTANCE = 500
>
> Very strange.  `string' seems to be a Lisp string (because this was
> called from next_element_from_string), which is consistent with
> `start' being zero.  But why does `c' have such a preposterous value,
> and why is `elt' identical to `string'?  In any case, the immediate
> cause of the crash is probably the bogus value of `val'.
>
> Please show the other important info:
>
>   . What does "M-x emacs-version RET" display?  This is important to
>     correlate the line numbers in the backtrace with source files in
>     the Emacs repository.
>
>   . What did GDB display when Emacs crashed?  That would be the text
>     just before you typed the "bt full" command, the most important
>     information there is the fatal signal that caused the crash.
>
> In addition, can you please show the output of the following GDB
> commands?  (You will need to type "source /path/to/.gdbinit" command
> before these, as some of these commands are defined in src/.gdbinit in
> the Emacs tree.  If you don't have that file in the snapshot
> distribution you downloaded, you can find it here:
>
>     http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/src/.gdbinit
>
> There's a "download" link on that page to download the file.)
>
> Here are the GDB commands to use:
>
>   (gdb) p string
>   (gdb) xtype
>
> If the last command says `string' is a Lisp_String object, please type
> yet another command immediately after "xtype":
>
>   (gdb) xstring
>
> Thanks.

Okay I finally caught another crash - see below for answers to your
questions Eli:

emacs-version:

GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.0) of
2012-01-19 on charichuelo, modified by Debian

GDB Output:

Program received signal SIGSEGV, Segmentation fault.
0x00000000005d3059 in composition_compute_stop_pos
(cmp_it=0x7fffffff6b08, charpos=66, bytepos=70, endpos=<optimised out>,
string=37140672) at composite.c:1073
1073			  elt = XCAR (val);
(gdb) p string
$1 = 37140672
(gdb) xtype
Lisp_Int0
(gdb) xstring
$2 = (struct Lisp_String *) 0x236b8c0
' ' <repeats 63 times>

Hope this helps??

Cheers
Alex


IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.





  reply	other threads:[~2012-01-20  4:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  2:02 bug#10159: 24.0.91; Segfault with auto-complete package [SEC=UNCLASSIFIED] Alex Murray
2011-11-30  1:54 ` Alex Murray
2011-12-01 16:09 ` Paul Eggert
2011-12-02  5:40   ` Alex Murray
2011-12-06  5:47     ` Alex Murray
2011-12-06  6:31       ` Eli Zaretskii
2012-01-20  4:42         ` Alex Murray [this message]
2012-01-20  5:39           ` Alex Murray
2012-01-20 10:01             ` Eli Zaretskii
2012-01-22 22:48               ` Alex Murray
2012-01-23  0:04                 ` Paul Eggert
2012-07-26 12:58 ` bug#10159: Segfault with auto-complete package Toon Claes
2012-07-26 15:58   ` Eli Zaretskii
     [not found]     ` <064f9be784bab3c1101f946e81dd5f90@tonotdo.com>
2012-07-27  6:57       ` Eli Zaretskii
2012-09-22 11:11 ` bug#10159: auto-complete causes crash in emacs HEAD Christopher Monsanto
2012-09-22 11:12   ` Christopher Monsanto
2012-09-22 11:58     ` Eli Zaretskii
2012-09-22 12:19       ` Christopher Monsanto
2012-09-22 12:40         ` Eli Zaretskii
2012-09-22 13:13           ` Christopher Monsanto
2013-02-14  8:52             ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F18F099.3050103@dsto.defence.gov.au \
    --to=alex.murray@dsto.defence.gov.au \
    --cc=10159@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.