unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: r.thiel@uni-jena.de
Cc: emacs-pretest-bug@gnu.org
Subject: Re: GNU Emacs crashes with longlines-mode and outline-mode
Date: Sun, 23 Sep 2007 23:11:05 +0100	[thread overview]
Message-ID: <46F6E479.3070309@gnu.org> (raw)
In-Reply-To: <d6b6c7740709220022g16f0eae0u56e461e566cf789@mail.gmail.com>

Rainer Thiel wrote:
> I can reproduce the problem with the following file:
>
> ----------,
> -*- mode: text; mode: outline -*-
>
> * One chapter
>
> Some text. Some text that must be longer than one line, to test if
> Emacs really fails to handle outline mode and longlines-mode together.
> ----------´
>
> [last paragraph is supposed to be one long line, but may be wrapped by
> my mail client.
>
> When I load the file, I can only see
>
> ---,
> -*- mode: text; mode: outline -*-
>
> * One chapter...
> ---
>   

To reproduce this, the following is required:
(setq longlines-show-hard-newlines t)

C-c l after the file above is visited.

> as expected.  When I now press M-x longlines-mode<RET>, the crash occurs.
>   

I can reproduce this crash on both Windows XP and GNU/Linux.

The crash occurs in next_element_from_display_vector in xdisp.c (line
5961 in my current trunk sandbox), because it->dpvec is NULL and we try
to take its address. There is an xassert at the beginning of the
function that should catch this, but it must be compiled out in my
build.     

Emacs crashes in the same place regardless of whether longlines-mode is
enabled before or after the C-c l in the outline buffer, and regardless
of whether there are long lines in the buffer (the important things seem
to be longlines-show-hard-newlines and hidden text containing a hard
newline).

  parent reply	other threads:[~2007-09-23 22:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-22  7:22 GNU NT-Emacs crashes with longlines-mode and outline-mode Rainer Thiel
2007-09-23  0:19 ` Jason Rumney
2007-09-23 22:11 ` Jason Rumney [this message]
2007-09-24  6:10   ` GNU Emacs " David Kastrup
2007-09-24  6:53     ` Glenn Morris
2007-09-24  7:52       ` David Kastrup
2007-09-24 19:14         ` Glenn Morris
2007-09-24  7:03     ` Jason Rumney
2007-09-24 10:47       ` Jason Rumney
2007-09-24 23:17   ` Jason Rumney
2007-10-01  1:37     ` Richard Stallman
2007-10-01  9:48       ` Jason Rumney
2007-10-02  9:34         ` Johan Bockgård
2007-10-02 10:05           ` Jason Rumney
2007-10-08 18:04         ` Richard Stallman
2007-10-09 10:17           ` Jason Rumney

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=46F6E479.3070309@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=r.thiel@uni-jena.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).