all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Marc Munro <marc@bloodnok.com>
Cc: 29726@debbugs.gnu.org
Subject: bug#29726: 25.1; SIGSEGV in find-file
Date: Sat, 16 Dec 2017 11:35:22 +0200	[thread overview]
Message-ID: <83lgi3rp5x.fsf@gnu.org> (raw)
In-Reply-To: <1513374498.13815.28.camel@bloodnok.com> (message from Marc Munro on Fri, 15 Dec 2017 13:48:18 -0800)

> From: Marc Munro <marc@bloodnok.com>
> Date: Fri, 15 Dec 2017 13:48:18 -0800
> 
> emacs crashes when I attempt to do a find-file with completion.
> 
> [I am writing some quite intrusive emacs-lisp that hacks things like
> display-buffer and creates a pretty sophisticated tabbar.  I haven't
> figured out which of my extensive collection of elisp hacks are
> implicated.  I include a gziped file of my .emacs and the appropriate
> emacs directories.  Let me know if I can help you track this down.]
> 
> To reproduce (the directories and files necessary are attached):
> 
> $ cd emacs/k
> $ emacs k-frame.el
> 
> F2 (find-file)
> k-<TAB> (completions frame opens)
> [navigate back to open minibufer]
> s<TAB>e<TAB> (kaboom!)

I cannot reproduce the crash, but this could be because the above
recipe or the files you sent are incomplete.  First, I've found that
one needs to set HOME to the directory created by unpacking the
archive you sent, because your .emacs file is there.  One also needs
to modify the load-path settings in your .emacs to be consistent with
where the files were unpacked.  Then one needs to install tabbar-mode,
and add (require 'tabbar) to your k-tabbar.el, otherwise Emacs fails
at startup because tabbar-mode is not a known symbol.  After that, I
still have problems reproducing the recipe, because typing

  F2
  k-<TAB>

doesn't pop up a completions frame, but instead shows this in the
mininbufer:

  DISPLAY BUFFER ACTOR *Backtrace* nil

Maybe some other file/package is missing?  And what version of
tabbar-mode do you have, downloaded from where?

Would it be possible for you to prepare a clean archive with only the
files that are required, or, better, an explicit recipe starting from
"emacs -Q"?  Doing that will ensure this bug is identified and fixed
much faster.  If that's not something you can afford, please at least
provide an archive with all the required files and settings.

> (gdb) bt full
> #0  0x00000000004bfe64 in face_at_string_position (w=<optimized out>, string=39440100, pos=<optimized out>, bufpos=bufpos@entry=0, endptr=endptr@entry=0x7fff7a7aeea0, base_face_id=HEADER_LINE_FACE_ID, mouse_p=false) at xfaces.c:6096
>         prop = 39596355
>         end = <optimized out>
>         attrs = {10, 5989993, 140735248264880, 2, 0, 0, 10, 39440100, 0, 140735248264880, 140735248264888, 6012141, 39632451, 140735248264896, 39265896, 140735248266064, 0, 0, 0}
>         base_face = <optimized out>
>         prop_name = 20256

Due to an optimized build, this backtrace is not very helpful, as lots
of relevant variables are "optimized out".

Thanks.





  reply	other threads:[~2017-12-16  9:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-15 21:48 bug#29726: 25.1; SIGSEGV in find-file Marc Munro
2017-12-16  9:35 ` Eli Zaretskii [this message]
2017-12-16 19:43   ` Marc Munro
2017-12-16 20:07     ` Eli Zaretskii
2017-12-16 20:31       ` Marc Munro
2017-12-16 20:35         ` Marc Munro
2017-12-16 20:48         ` Eli Zaretskii
     [not found]           ` <1513457838.13815.40.camel@bloodnok.com>
2017-12-17 17:23             ` Eli Zaretskii
2017-12-17 19:27               ` Marc Munro
2017-12-23 12:07               ` Eli Zaretskii
2017-12-23 21:05                 ` Marc Munro
2017-12-24  3:21                   ` Eli Zaretskii
2017-12-16 20:44       ` Marc Munro
2017-12-16 20:56         ` Eli Zaretskii
2017-12-16  9:42 ` martin rudalics

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=83lgi3rp5x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=29726@debbugs.gnu.org \
    --cc=marc@bloodnok.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 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.