all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David Engster <deng@randomsample.de>
Cc: 11717@debbugs.gnu.org
Subject: bug#11717: 24.1.50; Segmentation fault in Fdelete_other_windows_internal when running	Gnus unit tests
Date: Fri, 15 Jun 2012 21:29:49 +0300	[thread overview]
Message-ID: <83bokkfmxu.fsf@gnu.org> (raw)
In-Reply-To: <87ehpg8mxz.fsf@engster.org>

> From: David Engster <deng@randomsample.de>
> Date: Fri, 15 Jun 2012 20:11:36 +0200
> 
> The recipe to reproduce this bug involves running the Gnus unit tests
> from its git repository. I can narrow it down further if needed, but I'm
> hoping that the backtraces are enough to fix this problem. Please note
> that this problem also affects the current 24.1 stable release, but I
> used latest Emacs from bzr for acquiring the gdb backtraces.
> 
> Recipe:
> 
> * Get Gnus from git:  git clone http://git.gnus.org/gnus.git
> 
> * Do:  ./configure, make, make check
> 
> * You'll see something like the following (the tests run completely in
>   batch mode!):
> 
> ---------- snip
> ***** Using /tmp/gnus-test-22112bP3 as temporary Gnus home.
> ***** Firing up Gnus; connecting to Gmane.
> [... further output snipped ...]
> ***** Reading active from gmane.discuss.
> Changed level of gmane.discuss from 3 to 1
> Fatal error (11)zsh: segmentation fault  /opt/emacs-debug/bin/emacs -batch -q -no-site-file -l ./dgnushack.el -l ert -
> ---------- snip
> 
> * The unit test where this is crashing is the NNTP test, which can be
>   seen in lisp/tests/gnustest-nntp.el. You can browse it here:
> 
>   http://git.gnus.org/cgit/gnus.git/tree/lisp/tests/gnustest-nntp.el?id=aff68f906d8726a6a29edad4a20f253f8bcdf644
> 
>   The crash happens when this test code calls
> 
>    (gnus-group-select-group 5)
> 
> 
> Further information:
> 
> * Emacs was built using gcc 4.7 and the following options:
> 
> CFLAGS="-g -O0" ./configure --enable-asserts --without-gconf --without-gsettings --without-dbus --prefix=/opt/emacs-debug
> 
> * Backtraces from gdb:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x080b9d2e in Fdelete_other_windows_internal (window=139160437, root=139572509) at window.c:2650
> 2650      hlinfo = MOUSE_HL_INFO (f);
> 
> #0  0x080b9d2e in Fdelete_other_windows_internal (window=139160437, root=139572509) at window.c:2650

This is a duplicate of 11677.  I asked there to find out which parts
of MOUSE_HL_INFO cause the segfault, and also perhaps provide a
simpler test case.  Can you do that?

TIA





  reply	other threads:[~2012-06-15 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 18:11 bug#11717: 24.1.50; Segmentation fault in Fdelete_other_windows_internal when running Gnus unit tests David Engster
2012-06-15 18:29 ` Eli Zaretskii [this message]
2012-06-15 19:00   ` David Engster
2012-06-15 20:02     ` Eli Zaretskii
2012-06-15 20:46       ` David Engster
2012-06-16  6:43         ` Eli Zaretskii

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=83bokkfmxu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11717@debbugs.gnu.org \
    --cc=deng@randomsample.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 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.