From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29726: 25.1; SIGSEGV in find-file Date: Sat, 16 Dec 2017 11:35:22 +0200 Message-ID: <83lgi3rp5x.fsf@gnu.org> References: <1513374498.13815.28.camel@bloodnok.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513416973 5069 195.159.176.226 (16 Dec 2017 09:36:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2017 09:36:13 +0000 (UTC) Cc: 29726@debbugs.gnu.org To: Marc Munro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 16 10:36:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ8t6-0000hb-T9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Dec 2017 10:36:09 +0100 Original-Received: from localhost ([::1]:49975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ8tA-0002MV-RK for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Dec 2017 04:36:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ8t3-0002MB-Ec for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 04:36:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ8t0-0001vG-9k for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 04:36:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ8t0-0001uw-6C for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 04:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eQ8sz-0008PP-Ua for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 04:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2017 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29726-submit@debbugs.gnu.org id=B29726.151341693032283 (code B ref 29726); Sat, 16 Dec 2017 09:36:01 +0000 Original-Received: (at 29726) by debbugs.gnu.org; 16 Dec 2017 09:35:30 +0000 Original-Received: from localhost ([127.0.0.1]:36414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ8sU-0008Od-Jd for submit@debbugs.gnu.org; Sat, 16 Dec 2017 04:35:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ8sT-0008OQ-DY for 29726@debbugs.gnu.org; Sat, 16 Dec 2017 04:35:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ8sL-0001Ea-5N for 29726@debbugs.gnu.org; Sat, 16 Dec 2017 04:35:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ8sL-0001EH-25; Sat, 16 Dec 2017 04:35:21 -0500 Original-Received: from [176.228.60.248] (port=2163 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eQ8sK-0000xe-9x; Sat, 16 Dec 2017 04:35:20 -0500 In-reply-to: <1513374498.13815.28.camel@bloodnok.com> (message from Marc Munro on Fri, 15 Dec 2017 13:48:18 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141145 Archived-At: > From: Marc Munro > 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- (completions frame opens) > [navigate back to open minibufer] > se (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- 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=, string=39440100, pos=, 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 = > attrs = {10, 5989993, 140735248264880, 2, 0, 0, 10, 39440100, 0, 140735248264880, 140735248264888, 6012141, 39632451, 140735248264896, 39265896, 140735248266064, 0, 0, 0} > base_face = > prop_name = 20256 Due to an optimized build, this backtrace is not very helpful, as lots of relevant variables are "optimized out". Thanks.