From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: Fri, 14 May 2004 17:47:32 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405142247.i4EMlWM25804@raven.dms.auburn.edu> References: <200405122254.i4CMsUj29445@raven.dms.auburn.edu> <200405122326.i4CNQk929511@raven.dms.auburn.edu> <200405132324.i4DNOBs14811@raven.dms.auburn.edu> <200405140008.i4E08lb14858@raven.dms.auburn.edu> <871xln4xmc.fsf-monnier+emacs@gnu.org> <87oeorb5pq.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084578591 9581 80.91.224.253 (14 May 2004 23:49:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 23:49:51 +0000 (UTC) Cc: dak@gnu.org, monnier@iro.umontreal.ca, kai@emptydomain.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 01:49:42 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOmQw-0005bM-00 for ; Sat, 15 May 2004 01:49:42 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOmQv-0002vx-00 for ; Sat, 15 May 2004 01:49:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOm1M-0006ER-9k for emacs-devel@quimby.gnus.org; Fri, 14 May 2004 19:23:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOlwA-0005F0-8C for emacs-devel@gnu.org; Fri, 14 May 2004 19:17:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOlvW-00058H-Sa for emacs-devel@gnu.org; Fri, 14 May 2004 19:17:47 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOlT3-0006e8-Qu; Fri, 14 May 2004 18:47:50 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4EMlfTS004532; Fri, 14 May 2004 17:47:41 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4EMlWM25804; Fri, 14 May 2004 17:47:32 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: storm@cua.dk In-reply-to: (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23451 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23451 Kim Storm wrote: I have installed a change to avoid running timers inside a timer. There may be problems with that change, but let's see if it has a positive effect on the current problems. Still a crash. Still: (gdb) xbacktrace Invalid number -2147483627 of repetitions. It is a while ago that I have used GDB on a regular basis and I am not terribly familiar with debugging Emacs under GDB. Given the C backtrace below, obtained using bt, I do: (gdb) up 9 #9 0x0813cb75 in Ffuncall (nargs=1, args=0xbffe7980) at eval.c:2783 2783 val = funcall_lambda (fun, numargs, args + 1); (gdb) p *args $4 = 143080985 (gdb) pr Am I doing something stupid? I was expecting to see the name of the Lisp function. (gdb) p *args $7 = 143080985 (gdb) xtype Lisp_Symbol (gdb) xsymbol $8 = (struct Lisp_Symbol *) 0x8873e18 Argument to arithmetic operation not a number or boolean. (gdb) I guess I must be doing something wrong. In absence of better, here is the C backtrace: ===File ~/newbt============================================= (gdb) bt #0 abort () at emacs.c:433 #1 0x0812a5a5 in mark_object (arg=143721618) at alloc.c:5034 #2 0x0812a606 in mark_object (arg=143467901) at alloc.c:5051 #3 0x0812a606 in mark_object (arg=143458309) at alloc.c:5051 #4 0x081294ba in mark_memory (start=0xbffe7720, end=0xbffff57c) at alloc.c:3781 #5 0x08129525 in mark_stack () at alloc.c:4055 #6 0x08129aea in Fgarbage_collect () at alloc.c:4429 #7 0x08165a5d in Fbyte_code (bytestr=143174243, vector=143176372, maxdepth=64) at bytecode.c:522 #8 0x0813cf9f in funcall_lambda (fun=143176652, nargs=0, arg_vector=0xbffe7984) at eval.c:2913 #9 0x0813cb75 in Ffuncall (nargs=1, args=0xbffe7980) at eval.c:2783 #10 0x08165c80 in Fbyte_code (bytestr=143174451, vector=143177972, maxdepth=80) at bytecode.c:689 #11 0x0813cf9f in funcall_lambda (fun=143178172, nargs=5, arg_vector=0xbffe7ac8) at eval.c:2913 #12 0x0813cb75 in Ffuncall (nargs=6, args=0xbffe7ac4) at eval.c:2783 #13 0x08165c80 in Fbyte_code (bytestr=140897419, vector=140909636, maxdepth=96) at bytecode.c:689 #14 0x0813cf9f in funcall_lambda (fun=140296844, nargs=1, arg_vector=0xbffe7c04) at eval.c:2913 #15 0x0813cb75 in Ffuncall (nargs=2, args=0xbffe7c00) at eval.c:2783 #16 0x08165c80 in Fbyte_code (bytestr=140897275, vector=140707364, maxdepth=56) at bytecode.c:689 #17 0x0813cf9f in funcall_lambda (fun=141544356, nargs=1, arg_vector=0xbffe7df8) at eval.c:2913 #18 0x0813cb75 in Ffuncall (nargs=2, args=0xbffe7df4) at eval.c:2783 #19 0x0813c30e in Fapply (nargs=2, args=0xbffe7df4) at eval.c:2179 #20 0x0813c9f6 in Ffuncall (nargs=3, args=0xbffe7df0) at eval.c:2707 #21 0x08165c80 in Fbyte_code (bytestr=143098715, vector=140246412, maxdepth=32) at bytecode.c:689 #22 0x0813cf9f in funcall_lambda (fun=141529212, nargs=2, arg_vector=0xbffe7fd8) at eval.c:2913 #23 0x0813cb75 in Ffuncall (nargs=3, args=0xbffe7fd4) at eval.c:2783 #24 0x0813c30e in Fapply (nargs=3, args=0xbffe7fd4) at eval.c:2179 #25 0x0813c9f6 in Ffuncall (nargs=4, args=0xbffe7fd0) at eval.c:2707 #26 0x08165c80 in Fbyte_code (bytestr=143098683, vector=141549828, maxdepth=40) at bytecode.c:689 #27 0x0813cf9f in funcall_lambda (fun=140695124, nargs=2, arg_vector=0xbffe8124) at eval.c:2913 #28 0x0813cb75 in Ffuncall (nargs=3, args=0xbffe8120) at eval.c:2783 #29 0x0813c7e6 in call2 (fn=138315697, arg1=138312169, arg2=143110907) at eval.c:2542 #30 0x08111f8b in Ffile_attributes (filename=143497499, id_format=138193553) at dired.c:920 #31 0x0813ca96 in Ffuncall (nargs=2, args=0xbffe8270) at eval.c:2729 #32 0x08165c80 in Fbyte_code (bytestr=143082251, vector=141550372, maxdepth=96) at bytecode.c:689 #33 0x0813cf9f in funcall_lambda (fun=141550580, nargs=1, arg_vector=0xbffe8478) at eval.c:2913 #34 0x0813cb75 in Ffuncall (nargs=2, args=0xbffe8474) at eval.c:2783 #35 0x0813c30e in Fapply (nargs=2, args=0xbffe8474) at eval.c:2179 #36 0x0813c9f6 in Ffuncall (nargs=3, args=0xbffe8470) at eval.c:2707 #37 0x08165c80 in Fbyte_code (bytestr=143098715, vector=140246412, maxdepth=32) at bytecode.c:689 #38 0x0813cf9f in funcall_lambda (fun=141529212, nargs=2, arg_vector=0xbffe8658) at eval.c:2913 #39 0x0813cb75 in Ffuncall (nargs=3, args=0xbffe8654) at eval.c:2783 #40 0x0813c30e in Fapply (nargs=3, args=0xbffe8654) at eval.c:2179 #41 0x0813c9f6 in Ffuncall (nargs=4, args=0xbffe8650) at eval.c:2707 #42 0x08165c80 in Fbyte_code (bytestr=143098683, vector=141549828, maxdepth=40) at bytecode.c:689 ---Type to continue, or q to quit--- #43 0x0813cf9f in funcall_lambda (fun=140695124, nargs=2, arg_vector=0xbffe87a4) at eval.c:2913 #44 0x0813cb75 in Ffuncall (nargs=3, args=0xbffe87a0) at eval.c:2783 #45 0x0813c7e6 in call2 (fn=138315697, arg1=138327513, arg2=141535284) at eval.c:2542 #46 0x0810efcc in Fverify_visited_file_modtime (buf=141535284) at fileio.c:5593 #47 0x0813ca83 in Ffuncall (nargs=2, args=0xbffe88a0) at eval.c:2726 #48 0x08165c80 in Fbyte_code (bytestr=140057011, vector=141540396, maxdepth=32) at bytecode.c:689 #49 0x0813cf9f in funcall_lambda (fun=141540636, nargs=0, arg_vector=0xbffe89c4) at eval.c:2913 #50 0x0813cb75 in Ffuncall (nargs=1, args=0xbffe89c0) at eval.c:2783 #51 0x08165c80 in Fbyte_code (bytestr=140056819, vector=141540700, maxdepth=32) at bytecode.c:689 #52 0x0813cf9f in funcall_lambda (fun=141540892, nargs=0, arg_vector=0xbffe8ba8) at eval.c:2913 #53 0x0813cb75 in Ffuncall (nargs=1, args=0xbffe8ba4) at eval.c:2783 #54 0x0813c2ea in Fapply (nargs=2, args=0xbffe8ba4) at eval.c:2175 #55 0x0813c9f6 in Ffuncall (nargs=3, args=0xbffe8ba0) at eval.c:2707 #56 0x08165c80 in Fbyte_code (bytestr=136673299, vector=136673340, maxdepth=32) at bytecode.c:689 #57 0x0813c0ca in Feval (form=136673285) at eval.c:2084 #58 0x0813aef5 in Fcondition_case (args=144192805) at eval.c:1280 #59 0x0816617e in Fbyte_code (bytestr=136673051, vector=136673180, maxdepth=40) at bytecode.c:870 #60 0x0813cf9f in funcall_lambda (fun=136673012, nargs=1, arg_vector=0xbffe8f54) at eval.c:2913 #61 0x0813cb75 in Ffuncall (nargs=2, args=0xbffe8f50) at eval.c:2783 #62 0x0813c7ca in call1 (fn=138245265, arg1=141541020) at eval.c:2520 #63 0x080e84cc in timer_check (do_it_now=1) at keyboard.c:4411 #64 0x0816bf39 in wait_reading_process_input (time_limit=1, microsecs=0, read_kbd=0, do_display=0) at process.c:4128 #65 0x0816b678 in Faccept_process_output (process=143197484, timeout=8, timeout_msecs=138193553) at process.c:3774 #66 0x0813caab in Ffuncall (nargs=3, args=0xbffe9360) at eval.c:2733 #67 0x08165c80 in Fbyte_code (bytestr=143174243, vector=143176372, maxdepth=64) at bytecode.c:689 #68 0x0813cf9f in funcall_lambda (fun=143176652, nargs=0, arg_vector=0xbffe9494) at eval.c:2913 #69 0x0813cb75 in Ffuncall (nargs=1, args=0xbffe9490) at eval.c:2783 #70 0x08165c80 in Fbyte_code (bytestr=143174451, vector=143177972, maxdepth=80) at bytecode.c:689 #71 0x0813cf9f in funcall_lambda (fun=143178172, nargs=6, arg_vector=0xbffe95d8) at eval.c:2913 #72 0x0813cb75 in Ffuncall (nargs=7, args=0xbffe95d4) at eval.c:2783 #73 0x08165c80 in Fbyte_code (bytestr=143176955, vector=143178268, maxdepth=64) at bytecode.c:689 #74 0x0813cf9f in funcall_lambda (fun=143178436, nargs=9, arg_vector=0xbffe9704) at eval.c:2913 #75 0x0813cb75 in Ffuncall (nargs=10, args=0xbffe9700) at eval.c:2783 #76 0x08165c80 in Fbyte_code (bytestr=143095083, vector=143096220, maxdepth=88) at bytecode.c:689 #77 0x0813cf9f in funcall_lambda (fun=140582636, nargs=1, arg_vector=0xbffe9908) at eval.c:2913 #78 0x0813cb75 in Ffuncall (nargs=2, args=0xbffe9904) at eval.c:2783 #79 0x0813c30e in Fapply (nargs=2, args=0xbffe9904) at eval.c:2179 #80 0x0813c9f6 in Ffuncall (nargs=3, args=0xbffe9900) at eval.c:2707 #81 0x08165c80 in Fbyte_code (bytestr=143098715, vector=140246412, maxdepth=32) at bytecode.c:689 #82 0x0813cf9f in funcall_lambda (fun=141529212, nargs=2, arg_vector=0xbffe9ae8) at eval.c:2913 #83 0x0813cb75 in Ffuncall (nargs=3, args=0xbffe9ae4) at eval.c:2783 #84 0x0813c30e in Fapply (nargs=3, args=0xbffe9ae4) at eval.c:2179 ---Type to continue, or q to quit--- #85 0x0813c9f6 in Ffuncall (nargs=4, args=0xbffe9ae0) at eval.c:2707 #86 0x08165c80 in Fbyte_code (bytestr=143098683, vector=141549828, maxdepth=40) at bytecode.c:689 #87 0x0813cf9f in funcall_lambda (fun=140695124, nargs=2, arg_vector=0xbffe9c14) at eval.c:2913 #88 0x0813cb75 in Ffuncall (nargs=3, args=0xbffe9c10) at eval.c:2783 #89 0x08165c80 in Fbyte_code (bytestr=136139755, vector=136139788, maxdepth=32) at bytecode.c:689 #90 0x0813cf9f in funcall_lambda (fun=136139716, nargs=1, arg_vector=0xbffe9d34) at eval.c:2913 #91 0x0813cb75 in Ffuncall (nargs=2, args=0xbffe9d30) at eval.c:2783 #92 0x08165c80 in Fbyte_code (bytestr=143095523, vector=143096572, maxdepth=72) at bytecode.c:689 #93 0x0813cf9f in funcall_lambda (fun=140734892, nargs=5, arg_vector=0xbffe9e74) at eval.c:2913 #94 0x0813cb75 in Ffuncall (nargs=6, args=0xbffe9e70) at eval.c:2783 #95 0x0813c428 in Fapply (nargs=2, args=0xbffe9f54) at eval.c:2231 #96 0x0813c9f6 in Ffuncall (nargs=3, args=0xbffe9f50) at eval.c:2707 #97 0x08165c80 in Fbyte_code (bytestr=143098715, vector=140246412, maxdepth=32) at bytecode.c:689 #98 0x0813cf9f in funcall_lambda (fun=141529212, nargs=6, arg_vector=0xbffea074) at eval.c:2913 #99 0x0813cb75 in Ffuncall (nargs=7, args=0xbffea070) at eval.c:2783 #100 0x0813c428 in Fapply (nargs=3, args=0xbffea154) at eval.c:2231 #101 0x0813c9f6 in Ffuncall (nargs=4, args=0xbffea150) at eval.c:2707 #102 0x08165c80 in Fbyte_code (bytestr=143098683, vector=141549828, maxdepth=40) at bytecode.c:689 #103 0x0813cf9f in funcall_lambda (fun=140695124, nargs=6, arg_vector=0xbffea2a4) at eval.c:2913 #104 0x0813cb75 in Ffuncall (nargs=7, args=0xbffea2a0) at eval.c:2783 #105 0x0813c856 in call6 (fn=138315697, arg1=138327465, arg2=143685203, arg3=138193601, arg4=138193553, arg5=138193553, arg6=138193553) at eval.c:2640 #106 0x0810be1f in Finsert_file_contents (filename=143685203, visit=138193601, beg=138193553, end=138193553, replace=138193553) at fileio.c:3719 #107 0x0813caf9 in Ffuncall (nargs=3, args=0xbfffea00) at eval.c:2759 #108 0x08165c80 in Fbyte_code (bytestr=136153099, vector=136153140, maxdepth=24) at bytecode.c:689 #109 0x0813c0ca in Feval (form=136153085) at eval.c:2084 #110 0x0813aef5 in Fcondition_case (args=143801229) at eval.c:1280 #111 0x0816617e in Fbyte_code (bytestr=136152483, vector=136152684, maxdepth=32) at bytecode.c:870 #112 0x0813cf9f in funcall_lambda (fun=136152412, nargs=6, arg_vector=0xbfffed84) at eval.c:2913 #113 0x0813cb75 in Ffuncall (nargs=7, args=0xbfffed80) at eval.c:2783 #114 0x08165c80 in Fbyte_code (bytestr=136149907, vector=136150580, maxdepth=64) at bytecode.c:689 #115 0x0813cf9f in funcall_lambda (fun=136149836, nargs=4, arg_vector=0xbfffeeb4) at eval.c:2913 #116 0x0813cb75 in Ffuncall (nargs=5, args=0xbfffeeb0) at eval.c:2783 #117 0x08165c80 in Fbyte_code (bytestr=136143923, vector=136143972, maxdepth=48) at bytecode.c:689 #118 0x0813cf9f in funcall_lambda (fun=136143868, nargs=2, arg_vector=0xbfffefe4) at eval.c:2913 #119 0x0813cb75 in Ffuncall (nargs=3, args=0xbfffefe0) at eval.c:2783 #120 0x0813c428 in Fapply (nargs=2, args=0xbffff070) at eval.c:2231 #121 0x0813c793 in apply1 (fn=138299777, arg=143493061) at eval.c:2487 #122 0x081385d5 in Fcall_interactively (function=138299777, record_flag=138193553, keys=138250412) at callint.c:406 #123 0x080ee60d in Fcommand_execute (cmd=138299777, record_flag=138193553, keys=138193553, special=138193553) at keyboard.c:9679 #124 0x080e4963 in command_loop_1 () at keyboard.c:1727 #125 0x0813afe6 in internal_condition_case (bfun=0x80e3a90 , ---Type to continue, or q to quit--- handlers=138254481, hfun=0x80e3674 ) at eval.c:1333 #126 0x080e394e in command_loop_2 () at keyboard.c:1264 #127 0x0813ab57 in internal_catch (tag=138248505, func=0x80e3930 , arg=138193553) at eval.c:1094 #128 0x080e38dc in command_loop () at keyboard.c:1243 #129 0x080e345b in recursive_edit_1 () at keyboard.c:959 #130 0x080e356f in Frecursive_edit () at keyboard.c:1015 #131 0x080e24ab in main (argc=4, argv=0xbffff814) at emacs.c:1692 #132 0x40317627 in __libc_start_main (main=0x80e17d4
, argc=4, ubp_av=0xbffff814, init=0x804e1b0 <_init>, fini=0x818462c <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff80c) at ../sysdeps/generic/libc-start.c:129 ============================================================