emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: RE: weird defadvice bug with byte-compilation]


From: Eli Zaretskii
Subject: Re: address@hidden: RE: weird defadvice bug with byte-compilation]
Date: Fri, 16 Dec 2005 21:48:39 +0200

> From: "Richard M. Stallman" <address@hidden>
> CC: address@hidden
> Date: Thu, 15 Dec 2005 20:51:15 -0500
> 
> In that case, with a breakpoint at x_y_to_hpos_vpos
> do you see more stack trace info?

It was not that easy (needed to find the correct sequence of `step',
`finish', and `next' commands to get the info), but the results are
below.  As you see, menu_item_eval_property, which is called as part
of building the menu items, causes Feval to be called, which then
enters the debugger, which in turn causes another frame to be created
in the middle of creating the frame for *Compile-Log*.

  #0  new_glyph_matrix (pool=0x0) at dispnew.c:523
  #1  0x01084400 in allocate_matrices_for_window_redisplay (w=0x1d77e00)
      at dispnew.c:2052
  #2  0x010846b5 in adjust_frame_glyphs (f=0x1d77000) at dispnew.c:2380
  #3  0x01084a94 in adjust_glyphs (f=0x1d77000) at dispnew.c:2081
  #4  0x010d910b in x_set_frame_parameters (f=0x1d77000, alist=30471261)
      at frame.c:2780
  #5  0x010dab97 in x_default_parameter (f=0x1d77000, alist=30471949,
      prop=24041361, deflt=8, xprop=0x12b4870 "menuBar",
      xclass=0x12b4868 "MenuBar", type=RES_TYPE_NUMBER) at frame.c:3635
  #6  0x01137e16 in Fx_create_frame (parameters=30471949) at w32fns.c:4275
  #7  0x0100c5da in Ffuncall (nargs=2, args=0x82c3b8) at eval.c:2879
  #8  0x011095d9 in Fbyte_code (bytestr=18525555, vector=18525636, maxdepth=40)
      at bytecode.c:694
  #9  0x0100bfae in funcall_lambda (fun=18525508, nargs=1, arg_vector=0x82c504)
      at eval.c:3066
  #10 0x0100c3a1 in Ffuncall (nargs=2, args=0x82c500) at eval.c:2934
  #11 0x011095d9 in Fbyte_code (bytestr=18940947, vector=18940988, maxdepth=24)
      at bytecode.c:694
  #12 0x0100bfae in funcall_lambda (fun=18940900, nargs=1, arg_vector=0x82c644)
      at eval.c:3066
  #13 0x0100c3a1 in Ffuncall (nargs=2, args=0x82c640) at eval.c:2934
  #14 0x011095d9 in Fbyte_code (bytestr=18935771, vector=18935916, maxdepth=40)
      at bytecode.c:694
  #15 0x0100bfae in funcall_lambda (fun=18935716, nargs=1, arg_vector=0x82c79c)
      at eval.c:3066
  #16 0x0100c3a1 in Ffuncall (nargs=2, args=0x82c798) at eval.c:2934
  #17 0x0100d4ef in call1 (fn=26425137, arg1=30856708) at eval.c:2664
  #18 0x0106288f in Fpop_to_buffer (buffer=30856708, other_window=23861249,
      norecord=23861249) at buffer.c:1726
  #19 0x0100c5b3 in Ffuncall (nargs=2, args=0x82c880) at eval.c:2885
  #20 0x011095d9 in Fbyte_code (bytestr=30877059, vector=26801924, maxdepth=32)
      at bytecode.c:694
  #21 0x0100baf6 in Feval (form=30363701) at eval.c:2225
  #22 0x0100bdc3 in Fprogn (args=30363477) at eval.c:432
  #23 0x0109cc0a in Fsave_window_excursion (args=30363477) at window.c:6368
  #24 0x01109fd2 in Fbyte_code (bytestr=30876899, vector=30855684, maxdepth=224)
      at bytecode.c:855
  #25 0x0100bfae in funcall_lambda (fun=30392004, nargs=2, arg_vector=0x82cbd4)
      at eval.c:3066
  #26 0x0100c3a1 in Ffuncall (nargs=3, args=0x82cbd0) at eval.c:2934
  #27 0x0100d8c3 in Fapply (nargs=2, args=0x82cc48) at eval.c:2371
  #28 0x0100d9c1 in apply1 (fn=24109177, arg=30366645) at eval.c:2632
  #29 0x0100b270 in call_debugger (arg=30366645) at eval.c:289
  #30 0x0100b576 in find_handler_clause (handlers=23925361, conditions=23847045,
      sig=23925529, data=30366677, debugger_value_ptr=0x82cce8) at eval.c:1815
  #31 0x0100c93a in Fsignal (error_symbol=23925529, data=30366677) at 
eval.c:1642
  #32 0x01005ad2 in Fsymbol_value (symbol=29501537) at data.c:1143
  #33 0x0100b84c in Feval (form=29501537) at eval.c:2105
  #34 0x0100e1d4 in Fand (args=25851101) at eval.c:353
  #35 0x0100bbdb in Feval (form=25851109) at eval.c:2166
  #36 0x0100a588 in internal_condition_case_1 (bfun=0x100b5de <Feval>,
      arg=25851109, handlers=23925361,
      hfun=0x104b18c <menu_item_eval_property_1>) at eval.c:1506
  #37 0x0104b216 in menu_item_eval_property (sexpr=25851109) at keyboard.c:7193
  #38 0x0104b6b1 in parse_menu_item (item=25851149, notreal=0, inmenubar=0)
      at keyboard.c:7380
  #39 0x0112ae23 in single_menu_item (key=29501585, item=0,
      pending_maps_ptr=0x82d09c, notreal=0, maxdepth=9) at w32menu.c:522
  #40 0x0112b10e in single_keymap_panes (keymap=29501585, pane_name=0, prefix=9,
      notreal=17085553, maxdepth=24812205) at w32menu.c:468
  #41 parse_single_submenu (item_key, item_name, maps) at w32menu.c:1499
  #42 set_frame_menubar (f=0x16ca400, first_time=1, deep_p=1) at w32menu.c:1406
  #43 0x0112c4f8 in initialize_frame_menubar () at w32menu.c:1666
  #44 0x0113863a in Fx_create_frame (parameters=25605765) at w32fns.c:3951
  #45 0x0100c5da in Ffuncall (nargs=2, args=0x82d728) at eval.c:2879
  #46 0x011095d9 in Fbyte_code (bytestr=18525555, vector=18525636, maxdepth=40)
      at bytecode.c:694
  #47 0x0100bfae in funcall_lambda (fun=18525508, nargs=1, arg_vector=0x82d874)
      at eval.c:3066
  #48 0x0100c3a1 in Ffuncall (nargs=2, args=0x82d870) at eval.c:2934
  #49 0x011095d9 in Fbyte_code (bytestr=18940883, vector=18940924, maxdepth=24)
      at bytecode.c:694
  #50 0x0100bfae in funcall_lambda (fun=18940836, nargs=1, arg_vector=0x82d9b4)
      at eval.c:3066
  #51 0x0100c3a1 in Ffuncall (nargs=2, args=0x82d9b0) at eval.c:2934
  #52 0x011095d9 in Fbyte_code (bytestr=18935707, vector=18935852, maxdepth=40)
      at bytecode.c:694
  #53 0x0100bfae in funcall_lambda (fun=18935652, nargs=1, arg_vector=0x82db0c)
      at eval.c:3066
  #54 0x0100c3a1 in Ffuncall (nargs=2, args=0x82db08) at eval.c:2934
  #55 0x0100d4ef in call1 (fn=26426113, arg1=23898116) at eval.c:2664
  #56 0x0100c5b3 in Ffuncall (nargs=2, args=0x82dbd0) at eval.c:2885
  #57 0x011095d9 in Fbyte_code (bytestr=29441059, vector=30482180, maxdepth=48)
      at bytecode.c:694
  #58 0x0100bfae in funcall_lambda (fun=26442500, nargs=4, arg_vector=0x82dd24)
      at eval.c:3066
  #59 0x0100c3a1 in Ffuncall (nargs=5, args=0x82dd20) at eval.c:2934
  #60 0x011095d9 in Fbyte_code (bytestr=29697891, vector=30697668, maxdepth=40)
      at bytecode.c:694
  #61 0x0100bfae in funcall_lambda (fun=30763684, nargs=3, arg_vector=0x82de74)
      at eval.c:3066
  #62 0x0100c3a1 in Ffuncall (nargs=4, args=0x82de70) at eval.c:2934
  #63 0x011095d9 in Fbyte_code (bytestr=29697715, vector=30697604, maxdepth=32)
      at bytecode.c:694
  #64 0x0100bfae in funcall_lambda (fun=30763524, nargs=2, arg_vector=0x82dfb4)
      at eval.c:3066
  #65 0x0100c3a1 in Ffuncall (nargs=3, args=0x82dfb0) at eval.c:2934
  #66 0x011095d9 in Fbyte_code (bytestr=29622083, vector=30771204, maxdepth=64)
      at bytecode.c:694
  #67 0x0100bfae in funcall_lambda (fun=30781956, nargs=2, arg_vector=0x82e104)
      at eval.c:3066
  #68 0x0100c3a1 in Ffuncall (nargs=3, args=0x82e100) at eval.c:2934
  #69 0x011095d9 in Fbyte_code (bytestr=29621939, vector=30771460, maxdepth=32)
      at bytecode.c:694
  #70 0x0100bfae in funcall_lambda (fun=30782308, nargs=2, arg_vector=0x82e244)
      at eval.c:3066
  #71 0x0100c3a1 in Ffuncall (nargs=3, args=0x82e240) at eval.c:2934
  #72 0x011095d9 in Fbyte_code (bytestr=30831027, vector=30817284, maxdepth=32)
      at bytecode.c:694
  #73 0x0100bfae in funcall_lambda (fun=30817156, nargs=2, arg_vector=0x82e384)
      at eval.c:3066
  #74 0x0100c3a1 in Ffuncall (nargs=3, args=0x82e380) at eval.c:2934
  #75 0x011095d9 in Fbyte_code (bytestr=30867779, vector=30821892, maxdepth=32)
      at bytecode.c:694
  #76 0x0100bfae in funcall_lambda (fun=30826180, nargs=1, arg_vector=0x82e4c4)
      at eval.c:3066
  #77 0x0100c3a1 in Ffuncall (nargs=2, args=0x82e4c0) at eval.c:2934
  #78 0x011095d9 in Fbyte_code (bytestr=29621939, vector=30771460, maxdepth=32)
      at bytecode.c:694
  #79 0x0100bfae in funcall_lambda (fun=30782308, nargs=2, arg_vector=0x82e604)
      at eval.c:3066
  #80 0x0100c3a1 in Ffuncall (nargs=3, args=0x82e600) at eval.c:2934
  #81 0x011095d9 in Fbyte_code (bytestr=29621795, vector=30704260, maxdepth=56)
      at bytecode.c:694
  #82 0x0100bfae in funcall_lambda (fun=30782820, nargs=3, arg_vector=0x82e754)
      at eval.c:3066
  #83 0x0100c3a1 in Ffuncall (nargs=4, args=0x82e750) at eval.c:2934
  #84 0x011095d9 in Fbyte_code (bytestr=29621651, vector=30771972, maxdepth=64)
      at bytecode.c:694
  #85 0x0100bfae in funcall_lambda (fun=30783140, nargs=1, arg_vector=0x82e8a4)
      at eval.c:3066
  #86 0x0100c3a1 in Ffuncall (nargs=2, args=0x82e8a0) at eval.c:2934
  #87 0x011095d9 in Fbyte_code (bytestr=29621395, vector=30705028, maxdepth=112)
      at bytecode.c:694
  #88 0x0100bfae in funcall_lambda (fun=30784260, nargs=0, arg_vector=0x82ea24)
      at eval.c:3066
  #89 0x0100c3a1 in Ffuncall (nargs=1, args=0x82ea20) at eval.c:2934
  #90 0x0100bb14 in Feval (form=29790573) at eval.c:2222
  #91 0x0100dca3 in internal_lisp_condition_case (var=29436577,
      bodyform=29790573, handlers=26199045) at eval.c:1412
  #92 0x01109f4b in Fbyte_code (bytestr=29621379, vector=30704900, maxdepth=24)
      at bytecode.c:884
  #93 0x0100bfae in funcall_lambda (fun=30784100, nargs=1, arg_vector=0x82ecf4)
      at eval.c:3066
  #94 0x0100c3a1 in Ffuncall (nargs=2, args=0x82ecf0) at eval.c:2934
  #95 0x011095d9 in Fbyte_code (bytestr=30868643, vector=28317700, maxdepth=24)
      at bytecode.c:694
  #96 0x0100bfae in funcall_lambda (fun=26665668, nargs=1, arg_vector=0x82ee34)
      at eval.c:3066
  #97 0x0100c3a1 in Ffuncall (nargs=2, args=0x82ee30) at eval.c:2934
  #98 0x011095d9 in Fbyte_code (bytestr=29493683, vector=30699204, maxdepth=56)
      at bytecode.c:694
  #99 0x0100bfae in funcall_lambda (fun=30701988, nargs=2, arg_vector=0x82ef84)
      at eval.c:3066
  #100 0x0100c3a1 in Ffuncall (nargs=3, args=0x82ef80) at eval.c:2934
  #101 0x011095d9 in Fbyte_code (bytestr=29493507, vector=30707332, maxdepth=32)
      at bytecode.c:694
  #102 0x0100bfae in funcall_lambda (fun=30701668, nargs=2, arg_vector=0x82f0c4)
      at eval.c:3066
  #103 0x0100c3a1 in Ffuncall (nargs=3, args=0x82f0c0) at eval.c:2934
  #104 0x011095d9 in Fbyte_code (bytestr=24006403, vector=24559876, maxdepth=40)
      at bytecode.c:694
  #105 0x0100baf6 in Feval (form=25931277) at eval.c:2225
  #106 0x0106a837 in readevalloop (readcharfun=23946201, stream=0x77c5fce0,
      sourcename=24464883, evalfun=0x100b5de <Feval>, printflag=0,
      unibyte=23861249, readfun=23861249, start=23861249, end=23861249)
      at lread.c:1406
  #107 0x0106b404 in Fload (file=26699395, noerror=23861249, nomessage=23861297,
      nosuffix=23861249, must_suffix=23861297) at lread.c:920
  #108 0x01078293 in Frequire (feature=29485993, filename=23861249,
      noerror=23861249) at fns.c:3618
  #109 0x0100baf6 in Feval (form=25932213) at eval.c:2225
  #110 0x0100c5da in Ffuncall (nargs=2, args=0x82f780) at eval.c:2879
  #111 0x011095d9 in Fbyte_code (bytestr=19176851, vector=19177028, maxdepth=64)
      at bytecode.c:694
  #112 0x0100bfae in funcall_lambda (fun=19176812, nargs=1, arg_vector=0x82f8d4)
      at eval.c:3066
  #113 0x0100c3a1 in Ffuncall (nargs=2, args=0x82f8d0) at eval.c:2934
  #114 0x011095d9 in Fbyte_code (bytestr=19177683, vector=19177740, maxdepth=32)
      at bytecode.c:694
  #115 0x0100bfae in funcall_lambda (fun=19177644, nargs=1, arg_vector=0x82fa84)
      at eval.c:3066
  #116 0x0100c3a1 in Ffuncall (nargs=2, args=0x82fa80) at eval.c:2934
  #117 0x01107938 in Fcall_interactively (function=24380921,
      record_flag=23861249, keys=23920644) at callint.c:884
  #118 0x0104ca4e in Fcommand_execute (cmd=24380921, record_flag=23861249,
      keys=23861249, special=23861249) at keyboard.c:9751
  #119 0x01053289 in command_loop_1 () at keyboard.c:1780
  #120 0x0100a81b in internal_condition_case (bfun=0x1052f49 <command_loop_1>,
      handlers=23925361, hfun=0x104d3a7 <cmd_error>) at eval.c:1465
  #121 0x010479c7 in command_loop_2 () at keyboard.c:1318
  #122 0x0100a750 in internal_catch (tag=23919641,
      func=0x10479a4 <command_loop_2>, arg=23861249) at eval.c:1211
  #123 0x010477e3 in command_loop () at keyboard.c:1297
  #124 0x01047877 in recursive_edit_1 () at keyboard.c:990
  #125 0x0104798d in Frecursive_edit () at keyboard.c:1051
  #126 0x010029dd in main (argc=2, argv=0xa23fa8) at emacs.c:1786

  Lisp Backtrace:
  "x-create-frame"
  "x-create-frame-with-faces"
  "make-frame"
  "special-display-popup-frame"
  "pop-to-buffer"
  "byte-code"
  "debug"
  "and"
  "x-create-frame"
  "x-create-frame-with-faces"
  "make-frame"
  "special-display-popup-frame"
  "display-buffer"
  "display-warning"
  "byte-compile-log-warning"
  "byte-compile-warn"
  "byte-compile-variable-ref"
  "byte-compile-form"
  "byte-compile-body"
  "byte-compile-let"
  "byte-compile-form"
  "byte-compile-top-level"
  "byte-compile-lambda"
  0x1993b04 PVEC_COMPILED
  "funcall"
  "byte-compile"
  "ad-compile-function"
  "ad-activate-advised-definition"
  "ad-activate"
  "byte-code"
  "require"
  "eval"
  "eval-last-sexp-1"
  "eval-last-sexp"
  "call-interactively"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]