emacs-devel
[Top][All Lists]
Advanced

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

Byte compilation broken


From: Eli Zaretskii
Subject: Byte compilation broken
Date: Sat, 08 Jul 2006 18:31:09 +0300

One of the latest changes broke byte compilation: it now fails for
many Lisp files with an error that points to the last line.  Here's an
example:

  easy-mmode.el:539:1:Error: Wrong type argument: integerp, nil

>From what I see, the error is signaled when Emacs tries to display a
warning (e.g., about functions that might not be defined).

Running under GDB and setting a breakpoint in Fsignal, I get this
backtrace:

  Breakpoint 3, Fsignal (error_symbol=23892665, data=29888885) at eval.c:1614
  1614      immediate_quit = handling_signal = 0;
  (gdb) bt
  #0  Fsignal (error_symbol=23892665, data=29888885) at eval.c:1614
  #1  0x010044ba in wrong_type_argument (predicate=23894233, value=23828481)
      at data.c:124
  #2  0x01106421 in Fchar_category_set (ch=23828481) at category.c:293
  #3  0x0100c249 in Ffuncall (nargs=2, args=0x82e440) at eval.c:2903
  #4  0x01109e8d in Fbyte_code (bytestr=19227395, vector=19227644, maxdepth=48)
      at bytecode.c:694
  #5  0x0100bc10 in funcall_lambda (fun=19227332, nargs=5, arg_vector=0x82e594)
      at eval.c:3090
  #6  0x0100c010 in Ffuncall (nargs=6, args=0x82e590) at eval.c:2958
  #7  0x01109e8d in Fbyte_code (bytestr=19229443, vector=19229788, maxdepth=56)
      at bytecode.c:694
  #8  0x0100bc10 in funcall_lambda (fun=19229364, nargs=4, arg_vector=0x82e6e4)
      at eval.c:3090
  #9  0x0100c010 in Ffuncall (nargs=5, args=0x82e6e0) at eval.c:2958
  #10 0x01109e8d in Fbyte_code (bytestr=19232299, vector=19232492, maxdepth=40)
      at bytecode.c:694
  #11 0x0100bc10 in funcall_lambda (fun=19232220, nargs=2, arg_vector=0x82e834)
      at eval.c:3090
  #12 0x0100c010 in Ffuncall (nargs=3, args=0x82e830) at eval.c:2958
  #13 0x01109e8d in Fbyte_code (bytestr=24461219, vector=29267204, maxdepth=48)
      at bytecode.c:694
  #14 0x0100bc10 in funcall_lambda (fun=26030948, nargs=4, arg_vector=0x82e984)
      at eval.c:3090
  #15 0x0100c010 in Ffuncall (nargs=5, args=0x82e980) at eval.c:2958
  #16 0x01109e8d in Fbyte_code (bytestr=29577763, vector=23937220, maxdepth=40)
      at bytecode.c:694
  #17 0x0100bc10 in funcall_lambda (fun=29553956, nargs=3, arg_vector=0x82ead4)
      at eval.c:3090
  #18 0x0100c010 in Ffuncall (nargs=4, args=0x82ead0) at eval.c:2958
  #19 0x01109e8d in Fbyte_code (bytestr=29577843, vector=23940804, maxdepth=32)
      at bytecode.c:694
  #20 0x0100bc10 in funcall_lambda (fun=29553796, nargs=2, arg_vector=0x82ec14)
      at eval.c:3090
  #21 0x0100c010 in Ffuncall (nargs=3, args=0x82ec10) at eval.c:2958
  #22 0x01109e8d in Fbyte_code (bytestr=29593635, vector=29003524, maxdepth=64)
      at bytecode.c:694
  #23 0x0100bc10 in funcall_lambda (fun=29592420, nargs=3, arg_vector=0x82ed64)
      at eval.c:3090
  #24 0x0100c010 in Ffuncall (nargs=4, args=0x82ed60) at eval.c:2958
  #25 0x01109e8d in Fbyte_code (bytestr=24976323, vector=24286852, maxdepth=32)
      at bytecode.c:694
  #26 0x0100bc10 in funcall_lambda (fun=28344484, nargs=0, arg_vector=0x82eea4)
      at eval.c:3090
  #27 0x0100c010 in Ffuncall (nargs=1, args=0x82eea0) at eval.c:2958
  #28 0x01109e8d in Fbyte_code (bytestr=24557763, vector=24285572, maxdepth=40)
      at bytecode.c:694
  #29 0x0100bc10 in funcall_lambda (fun=28346180, nargs=0, arg_vector=0x82f004)
      at eval.c:3090
  #30 0x0100c010 in Ffuncall (nargs=1, args=0x82f000) at eval.c:2958
  #31 0x0100b776 in Feval (form=25951981) at eval.c:2246
  #32 0x0100d923 in internal_lisp_condition_case (var=29580385,
      bodyform=25951981, handlers=25984485) at eval.c:1420
  #33 0x0110a5d8 in Fbyte_code (bytestr=24557843, vector=24302340, maxdepth=128)
      at bytecode.c:884
  #34 0x0100bc10 in funcall_lambda (fun=28346052, nargs=2, arg_vector=0x82f304)
      at eval.c:3090
  #35 0x0100c010 in Ffuncall (nargs=3, args=0x82f300) at eval.c:2958
  #36 0x01109e8d in Fbyte_code (bytestr=24942243, vector=24136196, maxdepth=56)
      at bytecode.c:694
  #37 0x0100bc10 in funcall_lambda (fun=28346660, nargs=1, arg_vector=0x82f3e0)
      at eval.c:3090
  #38 0x0100bdd5 in apply_lambda (fun=28346660, args=26137277, eval_flag=1)
      at eval.c:3012
  #39 0x0100b484 in Feval (form=26137293) at eval.c:2301
  #40 0x0100d923 in internal_lisp_condition_case (var=24174217,
      bodyform=26137293, handlers=26138789) at eval.c:1420
  #41 0x0110a5d8 in Fbyte_code (bytestr=28334579, vector=28377156, maxdepth=24)
      at bytecode.c:884
  #42 0x0100bc10 in funcall_lambda (fun=28401604, nargs=1, arg_vector=0x82f734)
      at eval.c:3090
  #43 0x0100c010 in Ffuncall (nargs=2, args=0x82f730) at eval.c:2958
  #44 0x01109e8d in Fbyte_code (bytestr=28334803, vector=26221572, maxdepth=32)
      at bytecode.c:694
  #45 0x0100bc10 in funcall_lambda (fun=28377284, nargs=0, arg_vector=0x82f874)
      at eval.c:3090
  #46 0x0100c010 in Ffuncall (nargs=1, args=0x82f870) at eval.c:2958
  #47 0x01109e8d in Fbyte_code (bytestr=19182123, vector=19183316, maxdepth=96)
      at bytecode.c:694
  #48 0x0100bc10 in funcall_lambda (fun=19182092, nargs=1, arg_vector=0x82f9d4)
      at eval.c:3090
  #49 0x0100c010 in Ffuncall (nargs=2, args=0x82f9d0) at eval.c:2958
  #50 0x01109e8d in Fbyte_code (bytestr=19164651, vector=19166260, maxdepth=56)
      at bytecode.c:694
  #51 0x0100bc10 in funcall_lambda (fun=19164628, nargs=0, arg_vector=0x82fb24)
      at eval.c:3090
  #52 0x0100c010 in Ffuncall (nargs=1, args=0x82fb20) at eval.c:2958
  #53 0x01109e8d in Fbyte_code (bytestr=19159147, vector=19159308, maxdepth=48)
      at bytecode.c:694
  #54 0x0100bc10 in funcall_lambda (fun=19159124, nargs=0, arg_vector=0x82fc00)
      at eval.c:3090
  #55 0x0100bdd5 in apply_lambda (fun=19159124, args=23828481, eval_flag=1)
      at eval.c:3012
  #56 0x0100b484 in Feval (form=25925869) at eval.c:2301
  #57 0x01047db4 in top_level_2 () at keyboard.c:1337
  #58 0x0100a487 in internal_condition_case (bfun=0x1047da1 <top_level_2>,
      handlers=23892617, hfun=0x104d83b <cmd_error>) at eval.c:1475
  #59 0x01047de6 in top_level_1 () at keyboard.c:1345
  #60 0x0100a3bc in internal_catch (tag=23886873, func=0x1047db6 <top_level_1>,
      arg=23828481) at eval.c:1213
  #61 0x01047b95 in command_loop () at keyboard.c:1302
  #62 0x01047c47 in recursive_edit_1 () at keyboard.c:1000
  #63 0x01047d5d in Frecursive_edit () at keyboard.c:1061
  #64 0x010029d0 in main (argc=5, argv=0xa22600) at emacs.c:1794

  Lisp Backtrace:
  "char-category-set" (0x16b9801)
  "fill-delete-newlines" (0x8)
  "fill-region-as-paragraph" (0x8)
  "fill-region" (0x8)
  "display-warning" (0x1967d09)
  "byte-compile-log-warning" (0x1c2e333)
  "byte-compile-warn" (0x17d1b23)
  "byte-compile-print-syms" (0x17d1b23)
  "byte-compile-warn-about-unresolved-functions" (0x176bfe3)
  0x1b08744 PVEC_COMPILED
  "funcall" (0x1b08744)
  "byte-compile-from-buffer" (0x17bf404)
  "byte-compile-file" (0x19992d3)
  "batch-byte-compile-file" (0x19992d3)
  "batch-byte-compile" (0x17622e9)
  "command-line-1" (0x18b9a55)
  "command-line" (0x1967a03)
  "normal-top-level" (0x16b9801)
  (gdb)




reply via email to

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