From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chad brown Newsgroups: gmane.emacs.devel Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?) Date: Wed, 29 Aug 2007 20:23:07 -0700 Message-ID: References: <86k5re4blv.fsf@blue.stonehenge.com> <200708291531.l7TFVnlD010335@oogie-boogie.ics.uci.edu> <86fy224aah.fsf@blue.stonehenge.com> <86bqcq4a4q.fsf@blue.stonehenge.com> <200708291604.l7TG4atk011108@oogie-boogie.ics.uci.edu> <867ine492x.fsf@blue.stonehenge.com> <863ay24826.fsf@blue.stonehenge.com> <200708291641.l7TGfo2t012413@oogie-boogie.ics.uci.edu> <86y7fu2ssp.fsf@blue.stonehenge.com> <79AD547D-950B-499F-8581-415BA66456DF@mit.edu> <200708291749.l7THnAQ3014968@oogie-boogie.ics.uci.edu> <200708292240.l7TMeLNP026056@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188444204 17949 80.91.229.12 (30 Aug 2007 03:23:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 03:23:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 05:23:23 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQaco-0003Ql-OE for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2007 05:23:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQaco-0008JS-Ch for ged-emacs-devel@m.gmane.org; Wed, 29 Aug 2007 23:23:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQacl-0008J3-67 for emacs-devel@gnu.org; Wed, 29 Aug 2007 23:23:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQack-0008Iv-PU for emacs-devel@gnu.org; Wed, 29 Aug 2007 23:23:14 -0400 Original-Received: from biscayne-one-station.mit.edu ([18.7.7.80]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IQack-0001jl-HZ for emacs-devel@gnu.org; Wed, 29 Aug 2007 23:23:14 -0400 Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id l7U3NDob004200 for ; Wed, 29 Aug 2007 23:23:13 -0400 (EDT) Original-Received: from [192.168.1.112] (c-24-19-211-201.hsd1.wa.comcast.net [24.19.211.201]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id l7U3NBY6000073 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 29 Aug 2007 23:23:12 -0400 (EDT) In-Reply-To: <200708292240.l7TMeLNP026056@oogie-boogie.ics.uci.edu> X-Mailer: Apple Mail (2.752.2) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0.00 X-Detected-Kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77386 Archived-At: > Chad can you please test that it works? I am able to start emacs (as a carbon app) with this change, but the resulting Emacs is very slow, taking over a second to respond to key presses, but not eating gobs of CPU. I started emacs -Q under gdb to see if I could figure out where it was spending all its time, and got a crash. This seems to be repeatable, always in the same place, with param_index = 56. I tested without any .emacs file, also. *chad > Starting program: /Applications/Emacs.app/Contents/MacOS/Emacs -Q > > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_PROTECTION_FAILURE at address: 0x00000044 > 0x000178e4 in x_set_frame_parameters (f=0xa7e070, alist=42659139) > at frame.c:3068 > 3068 if (NATNUMP (param_index) > (gdb) where > #0 0x000178e4 in x_set_frame_parameters (f=0xa7e070, > alist=42659139) at frame.c:3068 > #1 0x00019be8 in x_default_parameter (f=0xa7e070, alist=58878289, > prop=58879521, deflt=42659139, xprop=0x74
bounds>, xclass=0x2d0040 "", type=6564589) at frame.c:4010 > #2 0x00168564 in Fx_show_tip (string=8375053, frame=1670368, > parms=8374973, timeout=80, dx=40, dy=160) at macfns.c:3927 > #3 0x000fab20 in Ffuncall (nargs=56, args=0xbfffce64) at eval.c:3055 > #4 0x0012ce5c in Fbyte_code (bytestr=2949184, vector=-1073754528, > maxdepth=56) at bytecode.c:679 > #5 0x000f9d0c in Feval (form=2917064) at eval.c:2373 > #6 0x000fcd54 in internal_lisp_condition_case (var=58780825, > bodyform=2429173, handlers=2429317) at eval.c:1437 > #7 0x0012d850 in Fbyte_code (bytestr=2949184, vector=-1073753232, > maxdepth=24) at bytecode.c:869 > #8 0x000fa50c in funcall_lambda (fun=2429044, nargs=2, > arg_vector=0xbfffd554) at eval.c:3223 > #9 0x000fac1c in Ffuncall (nargs=56, args=0x39ad329) at eval.c:3093 > #10 0x0012ce5c in Fbyte_code (bytestr=2949184, vector=-1073752752, > maxdepth=24) at bytecode.c:679 > #11 0x000fa50c in funcall_lambda (fun=2430556, nargs=1, > arg_vector=0xbfffd838) at eval.c:3223 > #12 0x000fac1c in Ffuncall (nargs=56, args=0x3977509) at eval.c:3093 > #13 0x000fc4c0 in run_hook_with_args (nargs=2, args=0xbfffd834, > cond=until_success) at eval.c:2695 > #14 0x000fa958 in Ffuncall (nargs=56, args=0x38146c9) at eval.c:3017 > #15 0x0012ce5c in Fbyte_code (bytestr=2949184, vector=-1073752016, > maxdepth=24) at bytecode.c:679 > #16 0x000fa50c in funcall_lambda (fun=2428836, nargs=1, > arg_vector=0xbfffdb18) at eval.c:3223 > #17 0x000fac1c in Ffuncall (nargs=56, args=0x39ad2f9) at eval.c:3093 > #18 0x000fc6e0 in Fapply (nargs=2, args=0xbfffdb14) at eval.c:2469 > #19 0x000fa958 in Ffuncall (nargs=56, args=0x3814681) at eval.c:3017 > #20 0x0012ce5c in Fbyte_code (bytestr=2949184, vector=-1073751280, > maxdepth=32) at bytecode.c:679 > #21 0x000f9d0c in Feval (form=2917064) at eval.c:2373 > #22 0x000fcd54 in internal_lisp_condition_case (var=58721289, > bodyform=2260365, handlers=2260437) at eval.c:1437 > #23 0x0012d850 in Fbyte_code (bytestr=2949184, vector=-1073750000, > maxdepth=40) at bytecode.c:869 > #24 0x000fa50c in funcall_lambda (fun=2260196, nargs=1, > arg_vector=0xbfffe1fc) at eval.c:3223 > #25 0x000fac1c in Ffuncall (nargs=56, args=0x380bb11) at eval.c:3093 > #26 0x000fc1d0 in call1 (fn=56, arg1=58878289) at eval.c:2817 > #27 0x00086ebc in timer_check (do_it_now=58878289) at keyboard.c:4697 > #28 0x00086f60 in readable_events (flags=1) at keyboard.c:3713 > #29 0x0008d6f8 in get_input_pending (addr=0x2ffc10, flags=1) at > keyboard.c:6900 > #30 0x0008d8dc in detect_input_pending_run_timers (do_display=1) at > keyboard.c:10538 > #31 0x00135e60 in wait_reading_process_output (time_limit=30, > microsecs=0, read_kbd=35, do_display=1, wait_for_cell=58721289, > wait_proc=0x0, just_wait_proc=0) at process.c:4700 > #32 0x00011948 in sit_for (timeout=3143524, reading=1, > do_display=1) at dispnew.c:6610 > #33 0x0009110c in read_char (commandflag=1, nmaps=2, > maps=0xbfffee50, prev_event=58721289, used_mouse_menu=0xbfffeeb8, > end_time=0x0) at keyboard.c:2997 > #34 0x00092790 in read_key_sequence (keybuf=0xbfffefb8, bufsize=30, > prompt=58721289, dont_downcase_last=2899844, > can_return_switch_frame=2899844, fix_current_buffer=3155708) at > keyboard.c:9384 > #35 0x00094380 in command_loop_1 () at keyboard.c:1696 > #36 0x000f8478 in internal_condition_case (bfun=0x93f70 > , handlers=58780825, hfun=0x8be80 ) at > eval.c:1494 > #37 0x00085510 in command_loop_2 () at keyboard.c:1405 > #38 0x000f8300 in internal_catch (tag=56, func=0x854d0 > , arg=58721289) at eval.c:1229 > #39 0x000851d0 in command_loop () at keyboard.c:1384 > #40 0x000852f4 in recursive_edit_1 () at keyboard.c:993 > #41 0x00085488 in Frecursive_edit () at keyboard.c:1055 > #42 0x00084df8 in main (argc=800, argv=0xbffffac8) at emacs.c:1778 > > Lisp Backtrace: > "x-show-tip" (0x28aee33) > "byte-code" (0x251103) > "tooltip-show" (0x28aee73) > "tooltip-help-tips" (0x3800409) > "run-hook-with-args-until-success" (0x3977509) > "tooltip-timeout" (0x3800409) > "apply" (0x39ad2f9) > "byte-code" (0x227d9b) > "timer-event-handler" (0xa56bd4 > (gdb) p param_index > $1 = 56