unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christopher Howard <christopher@librehacker.com>
Cc: 48843-done@debbugs.gnu.org
Subject: bug#48843: pos_visible_p segfault
Date: Sat, 05 Jun 2021 10:05:55 +0300	[thread overview]
Message-ID: <835yyslrjg.fsf@gnu.org> (raw)
In-Reply-To: <1248dea7d81e36661bd9158a0c5076d2bea6f5dd.camel@librehacker.com> (message from Christopher Howard on Fri, 04 Jun 2021 21:05:52 -0800)

> From: Christopher Howard <christopher@librehacker.com>
> Date: Fri, 04 Jun 2021 21:05:52 -0800
> 
> Hello, I am able to consistently reproduce a segfault under rather
> precise conditions, when I am doing a search while comparing two files
> using emacs-vdiff. The segfault seems to be happening in pos_visible_p.
> 
> GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
> cairo version 1.16.0)
> 
> christopher@nightshade ~$ guix describe
> Generation 7	Jun 04 2021 15:20:58	(current)
>   guix 7382aa0
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 7382aa00b82860762bc326dec6b45f8cd2161327
> 
> christopher@nightshade ~$ guix show emacs-vdiff | grep version
> version: 0.2.4
> 
> christopher@nightshade ~$ neofetch --stdout | grep CPU
> CPU: AMD Athlon II X3 455 (3) @ 3.300GHz
> 
> Steps to reproduce:
> 
> - Starts Emacs (in Gnome or in virtual console)
> - M-x vdiff-file
> - for file 1: my.dump (attached)
> - for file 2: upstream.dump (attached)
> - while in file 1 buffer: C-s 1 e 2 d
> 
> I figured out how to get a backtrace in gdb:
> 
> Thread 1 ".emacs-27.2-rea" received signal SIGSEGV, Segmentation fault.
> 0x000000000045c447 in pos_visible_p ()
> (gdb) bt
> #0  0x000000000045c447 in pos_visible_p ()
> #1  0x000000000047ddab in Fpos_visible_in_window_p ()

Thanks.  This is a known bug in Emacs 27.2 (see bug#45156), which is
already fixed on the master branch.

So I'm closing this bug.





  reply	other threads:[~2021-06-05  7:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-05  5:05 bug#48843: pos_visible_p segfault Christopher Howard
2021-06-05  7:05 ` Eli Zaretskii [this message]
     [not found] ` <handler.48843.D48843.162287677527510.notifdone@debbugs.gnu.org>
2021-06-05 13:49   ` bug#48843: closed (Re: bug#48843: pos_visible_p segfault) Christopher Howard
2021-06-05 13:54     ` Christopher Howard
2021-06-05 14:28     ` 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

  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=835yyslrjg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=48843-done@debbugs.gnu.org \
    --cc=christopher@librehacker.com \
    /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).