From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19554: 25.0.50; void-function xref-marker-stack-empty-p and subsequent abort Date: Sat, 10 Jan 2015 12:43:44 +0100 Message-ID: <54B11070.6050504@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420890321 32326 80.91.229.3 (10 Jan 2015 11:45:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2015 11:45:21 +0000 (UTC) To: 19554@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 12:45:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y9uTi-0002Nc-2Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2015 12:45:14 +0100 Original-Received: from localhost ([::1]:54790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9uTh-0005dj-3i for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2015 06:45:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9uTc-0005bP-Bz for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:45:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9uTX-0003dh-Bj for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:45:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9uTX-0003dA-6Q for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:45:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y9uTW-0006nR-Pq for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jan 2015 11:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19554 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.142089025026040 (code B ref -1); Sat, 10 Jan 2015 11:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jan 2015 11:44:10 +0000 Original-Received: from localhost ([127.0.0.1]:41479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9uSf-0006lv-3N for submit@debbugs.gnu.org; Sat, 10 Jan 2015 06:44:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40885) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9uSc-0006lm-1R for submit@debbugs.gnu.org; Sat, 10 Jan 2015 06:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9uSa-00034p-4b for submit@debbugs.gnu.org; Sat, 10 Jan 2015 06:44:05 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9uSa-00034l-2d for submit@debbugs.gnu.org; Sat, 10 Jan 2015 06:44:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9uSY-0005NF-GC for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:44:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9uST-00031S-Fv for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:44:02 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:51759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9uST-00030z-6D for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 06:43:57 -0500 Original-Received: from [88.117.60.78] ([88.117.60.78]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Ld1CS-1XS5JT0uW0-00iDps for ; Sat, 10 Jan 2015 12:43:55 +0100 X-Provags-ID: V03:K0:kUzK4uYMLhyaG3E7vFpvCiV+bzUPRsPjM9y4QU68szf69TOB2NB PMO/Nr29MiQ0i8vKC12jODeEKbKdzvHtw4tm00FuWKjn9SLPIpVUfauvfYh04oT3JpmVli3 9p6lH9mUaA17FeYwLlBNN+tVg3oGXOVs+bwxAryfR9wK0JHt9LEER08Paln4+d0FDmt4c10 SfGt/L9ERUx04DcibjyvA== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98166 Archived-At: With today's trunk/master and _my init files_ I currently see the following problem. After coming up with the initial frame and hitting C-x 5 2 I get Debugger entered--Lisp error: (void-function xref-marker-stack-empty-p) (xref-marker-stack-empty-p) (not (xref-marker-stack-empty-p)) x-create-frame(((visibility) (bottom-divider-width . 6) (right-divider-width . 6) (horizontal-scroll-bars . t) (tool-bar-lines . 0))) x-create-frame-with-faces(((bottom-divider-width . 6) (right-divider-width . 6) (horizontal-scroll-bars . t) (cursor-color . "red3") (tool-bar-lines . 0))) make-frame() make-frame-command() funcall-interactively(make-frame-command) call-interactively(make-frame-command nil nil) command-execute(make-frame-command) and no frame is created. I leave the Backtrace open and do C-x 5 2. Now a new frame is created. If I now do C-x C-c Emacs decides to die as follows. Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:352 352 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:352 #1 0x0118363a in die (msg=0x14c1575 "glyph_matrix_count == 0", file=0x14c10dc "dispnew.c", line=2260) at alloc.c:7138 #2 0x0100693b in check_glyph_memory () at dispnew.c:2260 #3 0x01108c7c in shut_down_emacs (sig=0, stuff=...) at emacs.c:2004 #4 0x01108b4a in Fkill_emacs (arg=...) at emacs.c:1917 #5 0x011a4211 in Ffuncall (nargs=1, args=0x82c588) at eval.c:2707 #6 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82c8f0) at bytecode.c:919 #7 0x011a4a73 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82c8ec) at eval.c:2874 #8 0x011a442f in Ffuncall (nargs=2, args=0x82c8e8) at eval.c:2756 #9 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82cd1c) at bytecode.c:919 #10 0x011a4a73 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82cd18) at eval.c:2874 #11 0x011a442f in Ffuncall (nargs=2, args=0x82cd14) at eval.c:2756 #12 0x0119b17c in Ffuncall_interactively (nargs=2, args=0x82cd14) at callint.c:258 #13 0x011a40fe in Ffuncall (nargs=3, args=0x82cd10) at eval.c:2687 #14 0x0119d379 in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:864 #15 0x011a4266 in Ffuncall (nargs=4, args=0x82cfbc) at eval.c:2714 #16 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82d320) at bytecode.c:919 #17 0x011a4a73 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82d31c) at eval.c:2874 #18 0x011a442f in Ffuncall (nargs=2, args=0x82d318) at eval.c:2756 #19 0x011a3d07 in call1 (fn=..., arg1=...) at eval.c:2560 #20 0x0110badd in command_loop_1 () at keyboard.c:1518 #21 0x011a0cea in internal_condition_case (bfun=0x110b29b , handlers=..., hfun=0x110a987 ) at eval.c:1334 #22 0x0110aecd in command_loop_2 (ignore=...) at keyboard.c:1139 #23 0x011a0220 in internal_catch (tag=..., func=0x110aea2 , arg=...) at eval.c:1095 #24 0x0110adf8 in command_loop () at keyboard.c:1110 #25 0x0110a4e5 in recursive_edit_1 () at keyboard.c:728 #26 0x0110a6d9 in Frecursive_edit () at keyboard.c:799 #27 0x011a41f4 in Ffuncall (nargs=1, args=0x82d650) at eval.c:2704 #28 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=2, args=0x82d9b4) at bytecode.c:919 #29 0x011a4a73 in funcall_lambda (fun=..., nargs=2, arg_vector=0x82d9b4) at eval.c:2874 #30 0x011a442f in Ffuncall (nargs=3, args=0x82d9b0) at eval.c:2756 #31 0x011a36e1 in Fapply (nargs=2, args=0x82da48) at eval.c:2323 #32 0x011a3cc1 in apply1 (fn=..., arg=...) at eval.c:2544 #33 0x0119de08 in call_debugger (arg=...) at eval.c:309 #34 0x011a1b0b in maybe_call_debugger (conditions=..., sig=..., data=...) at eval.c:1712 #35 0x011a139d in Fsignal (error_symbol=..., data=...) at eval.c:1530 #36 0x011a14b9 in xsignal (error_symbol=..., data=...) at eval.c:1567 #37 0x011a14ff in xsignal1 (error_symbol=..., arg=...) at eval.c:1582 #38 0x011a2ff1 in eval_sub (form=...) at eval.c:2216 #39 0x011a2d18 in eval_sub (form=...) at eval.c:2153 #40 0x011a25dd in Feval (form=..., lexical=...) at eval.c:1982 #41 0x01118cf8 in eval_dyn (form=...) at keyboard.c:7642 #42 0x011a0e08 in internal_condition_case_1 (bfun=0x1118cd7 , arg=..., handlers=..., hfun=0x1118c41 ) at eval.c:1358 #43 0x01118d5a in menu_item_eval_property (sexpr=...) at keyboard.c:7653 #44 0x01119665 in parse_menu_item (item=..., inmenubar=0) at keyboard.c:7762 #45 0x01087dff in single_menu_item (key=..., item=..., dummy=..., skp_v=0x82e004) at menu.c:334 #46 0x01123e27 in map_keymap_item (fun=0x1087dda , args=..., key=..., val=..., data=0x82e004) at keymap.c:560 #47 0x01124118 in map_keymap_internal (map=..., fun=0x1087dda , args=..., data=0x82e004) at keymap.c:599 #48 0x01124492 in map_keymap_canonical (map=..., fun=0x1087dda , args=..., data=0x82e004) at keymap.c:662 #49 0x01087c57 in single_keymap_panes (keymap=..., pane_name=..., prefix=..., maxdepth=9) at menu.c:300 #50 0x01088450 in single_menu_item (key=..., item=..., dummy=..., skp_v=0x82e1f4) at menu.c:443 #51 0x01123e27 in map_keymap_item (fun=0x1087dda , args=..., key=..., val=..., data=0x82e1f4) at keymap.c:560 #52 0x01124118 in map_keymap_internal (map=..., fun=0x1087dda , args=..., data=0x82e1f4) at keymap.c:599 #53 0x01124492 in map_keymap_canonical (map=..., fun=0x1087dda , args=..., data=0x82e1f4) at keymap.c:662 #54 0x01087c57 in single_keymap_panes (keymap=..., pane_name=..., prefix=..., maxdepth=10) at menu.c:300 #55 0x01088b55 in parse_single_submenu (item_key=..., item_name=..., maps=...) at menu.c:572 #56 0x012277b1 in set_frame_menubar (f=0x5a64788, first_time=true, deep_p=true) at w32menu.c:366 #57 0x01227c6e in initialize_frame_menubar (f=0x5a64788) at w32menu.c:522 #58 0x0121d6e4 in w32_window (f=0x5a64788, window_prompting=0, minibuffer_only=0) at w32fns.c:4237 #59 0x0121ece7 in Fx_create_frame (parameters=...) at w32fns.c:4659 #60 0x011a4211 in Ffuncall (nargs=2, args=0x82e794) at eval.c:2707 #61 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x0) at bytecode.c:919 #62 0x011a4eb0 in funcall_lambda (fun=..., nargs=1, arg_vector=0x12dc1cd) at eval.c:2940 #63 0x011a442f in Ffuncall (nargs=2, args=0x82eafc) at eval.c:2756 #64 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x82ee68) at bytecode.c:919 #65 0x011a4a73 in funcall_lambda (fun=..., nargs=0, arg_vector=0x82ee68) at eval.c:2874 #66 0x011a442f in Ffuncall (nargs=1, args=0x82ee64) at eval.c:2756 #67 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x82f35c) at bytecode.c:919 #68 0x011a4a73 in funcall_lambda (fun=..., nargs=0, arg_vector=0x82f35c) at eval.c:2874 #69 0x011a442f in Ffuncall (nargs=1, args=0x82f358) at eval.c:2756 #70 0x0119b17c in Ffuncall_interactively (nargs=1, args=0x82f358) at callint.c:258 #71 0x011a40fe in Ffuncall (nargs=2, args=0x82f354) at eval.c:2687 #72 0x011a3294 in Fapply (nargs=3, args=0x82f354) at eval.c:2275 #73 0x0119b60d in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:404 #74 0x011a4266 in Ffuncall (nargs=4, args=0x82f53c) at eval.c:2714 #75 0x011e9879 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82f8a0) at bytecode.c:919 #76 0x011a4a73 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82f89c) at eval.c:2874 #77 0x011a442f in Ffuncall (nargs=2, args=0x82f898) at eval.c:2756 #78 0x011a3d07 in call1 (fn=..., arg1=...) at eval.c:2560 #79 0x0110badd in command_loop_1 () at keyboard.c:1518 #80 0x011a0cea in internal_condition_case (bfun=0x110b29b , handlers=..., hfun=0x110a987 ) at eval.c:1334 #81 0x0110aecd in command_loop_2 (ignore=...) at keyboard.c:1139 #82 0x011a0220 in internal_catch (tag=..., func=0x110aea2 , arg=...) at eval.c:1095 #83 0x0110ae72 in command_loop () at keyboard.c:1118 #84 0x0110a4e5 in recursive_edit_1 () at keyboard.c:728 #85 0x0110a6d9 in Frecursive_edit () at keyboard.c:799 #86 0x0110857f in main (argc=1, argv=0xa32858) at emacs.c:1612 Lisp Backtrace: Attempt to extract a component of a value that is not a structure. (gdb) Adding (require 'xref) to my .emacs solves the problem. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2015-01-10 on MACHNO Repository revision: c2208b3d913c2e53b96d7f11b31422a57366f601 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/c/emacs-git/trunk --enable-checking=yes --enable-check-lisp-object-type=yes 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1' martin