From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Still font problems Date: Thu, 15 May 2008 15:36:52 +0200 Message-ID: <87zlqrbsej.fsf@escher.local.home> References: <8351-Wed14May2008175244+0100-jpff@codemist.co.uk> <1393-Thu15May2008080518+0100-jpff@codemist.co.uk> <878wycc6hv.fsf@escher.local.home> <482BF6F4.1050508@gnu.org> <874p8zdgv8.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210858756 6413 80.91.229.12 (15 May 2008 13:39:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 13:39:16 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 15 15:39:53 2008 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 1Jwdef-0001EG-SY for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 15:37:58 +0200 Original-Received: from localhost ([127.0.0.1]:60467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwddw-0002pC-HV for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 09:37:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jwdds-0002p7-6B for emacs-devel@gnu.org; Thu, 15 May 2008 09:37:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwddq-0002ov-LW for emacs-devel@gnu.org; Thu, 15 May 2008 09:37:06 -0400 Original-Received: from [199.232.76.173] (port=51528 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwddq-0002os-Fw for emacs-devel@gnu.org; Thu, 15 May 2008 09:37:06 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:59478 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jwddp-0001xa-Oh for emacs-devel@gnu.org; Thu, 15 May 2008 09:37:06 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jwddn-0003Za-0U for emacs-devel@gnu.org; Thu, 15 May 2008 13:37:03 +0000 Original-Received: from i5387d237.versanet.de ([83.135.210.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 May 2008 13:37:03 +0000 Original-Received: from Stephen.Berman by i5387d237.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 May 2008 13:37:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 367 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387d237.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97204 gmane.emacs.pretest.bugs:22335 Archived-At: On Thu, 15 May 2008 12:03:07 +0200 Stephen Berman wrote: > On Thu, 15 May 2008 09:40:20 +0100 Jason Rumney wrote: > >> Stephen Berman wrote: >>> (gdb) pr spec >>> The history is empty. >>> >> >> You need to use "pp spec" here. "pr" prints the Lisp object >> corresponding to the last "print" command, and does not take a >> variable as an argument. > > Oh, thanks. Here it is: > > (gdb) br xfont_list > Breakpoint 3 at 0x81c9e11: file xfont.c, line 308. > (gdb) run -Q -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" > Starting program: /Users/steve/cvsroot/emacs/src/emacs -Q -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" > [Thread debugging using libthread_db enabled] > [New Thread 0xb6dee8d0 (LWP 17590)] > [Switching to Thread 0xb6dee8d0 (LWP 17590)] > > Breakpoint 3, xfont_list (frame=141326084, spec=138016964) at xfont.c:308 > 308 FRAME_PTR f = XFRAME (frame); > (gdb) pp spec > # > > From her I single stepped through the program, but after many hundreds > of iterations I gave up. Then I tried again, this time using various > combinations of `s 1000', `s 500', `s 100', etc. but still never reached > the place where I could single step until the failure happens before my > patience ran out. A couple of times I overshot the mark, and gdb > complained: > > Warning: > Cannot insert breakpoint -495. > Error accessing memory address 0x7b69477e: Input/output error. > > after which: > > (gdb) s > Single stepping until exit from function siglongjmp, > which has no line number information. > Font `-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1' is not defined > > Program exited with code 0377. > > Is there any gdb command, or any advice, for stopping execution "close > enough" to the point of failure so that I can single step up to it > before my fingers go numb? I have now managed to step through till the point of failure. Since I determined by trial and error that it was over 27000 steps after the break point, I used `s 27000' and then single stepped. Here's the output of the latter; if it's not useful, I don't know what else to do -- I can't take the time to single step through 27000 lines of code. (gdb) br xfont_list Breakpoint 3 at 0x81c9e11: file xfont.c, line 308. (gdb) run -Q -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" Starting program: /Users/steve/cvsroot/emacs/src/emacs -Q -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1" [Thread debugging using libthread_db enabled] [New Thread 0xb6e288d0 (LWP 26493)] [Switching to Thread 0xb6e288d0 (LWP 26493)] Breakpoint 3, xfont_list (frame=141326084, spec=138016964) at xfont.c:308 308 FRAME_PTR f = XFRAME (frame); (gdb) s 27000 Single stepping until exit from function free, which has no line number information. Single stepping until exit from function free, which has no line number information. Single stepping until exit from function free, which has no line number information. Single stepping until exit from function free, which has no line number information. Single stepping until exit from function free, which has no line number information. 206 if (TERMINALP (terminal)) (gdb) s 100 1404 list = XCDR (list); (gdb) s 1405 if (!CONSP (list) || EQ (XCAR (list), elt)) (gdb) s 1408 list = XCDR (list); (gdb) s 1409 QUIT; (gdb) s 1397 if (!CONSP (list) || EQ (XCAR (list), elt)) (gdb) s 1400 list = XCDR (list); (gdb) s 1401 if (!CONSP (list) || EQ (XCAR (list), elt)) (gdb) s 1412 CHECK_LIST (list); (gdb) s 1414 } (gdb) s Fbyte_code (bytestr=136734851, vector=136734868, maxdepth=) at bytecode.c:561 561 AFTER_POTENTIAL_GC (); (gdb) s 560 TOP = Fmemq (TOP, v1); (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 697 op -= Bunbind; (gdb) s 700 unbind_to (SPECPDL_INDEX () - op, Qnil); (gdb) s 699 BEFORE_POTENTIAL_GC (); (gdb) s 700 unbind_to (SPECPDL_INDEX () - op, Qnil); (gdb) s unbind_to (count=4, value=137771209) at eval.c:3367 3367 Lisp_Object quitf = Vquit_flag; (gdb) s 3371 Vquit_flag = Qnil; (gdb) s 3367 Lisp_Object quitf = Vquit_flag; (gdb) s 3371 Vquit_flag = Qnil; (gdb) s 3373 while (specpdl_ptr != specpdl + count) (gdb) s 3382 this_binding = *--specpdl_ptr; (gdb) s 3384 if (this_binding.func != 0) (gdb) s 3393 else if (CONSP (this_binding.symbol)) (gdb) s 3412 if (!MISCP (SYMBOL_VALUE (this_binding.symbol))) (gdb) s 3413 SET_SYMBOL_VALUE (this_binding.symbol, this_binding.old_value); (gdb) s 3373 while (specpdl_ptr != specpdl + count) (gdb) s 3419 if (NILP (Vquit_flag) && !NILP (quitf)) (gdb) s 3424 } (gdb) s Fbyte_code (bytestr=136734851, vector=136734868, maxdepth=) at bytecode.c:701 701 AFTER_POTENTIAL_GC (); (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 736 MAYBE_GC (); (gdb) s 737 op = FETCH2; (gdb) s 738 if (NILP (TOP)) (gdb) s 740 BYTE_CODE_QUIT; (gdb) s 737 op = FETCH2; (gdb) s 742 stack.pc = stack.byte_string_start + op; (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 1665 byte_stack_list = byte_stack_list->next; (gdb) s 816 result = POP; (gdb) s 1665 byte_stack_list = byte_stack_list->next; (gdb) s 1668 if (SPECPDL_INDEX () != count) (gdb) s 1676 } (gdb) s funcall_lambda (fun=136734804, nargs=0, arg_vector=0xbf9927d4) at eval.c:3222 3222 return unbind_to (count, val); (gdb) s unbind_to (count=3, value=137771209) at eval.c:3367 3367 Lisp_Object quitf = Vquit_flag; (gdb) s 3371 Vquit_flag = Qnil; (gdb) s 3367 Lisp_Object quitf = Vquit_flag; (gdb) s 3371 Vquit_flag = Qnil; (gdb) s 3373 while (specpdl_ptr != specpdl + count) (gdb) s 3382 this_binding = *--specpdl_ptr; (gdb) s 3384 if (this_binding.func != 0) (gdb) s 3393 else if (CONSP (this_binding.symbol)) (gdb) s 3412 if (!MISCP (SYMBOL_VALUE (this_binding.symbol))) (gdb) s 3413 SET_SYMBOL_VALUE (this_binding.symbol, this_binding.old_value); (gdb) s 3373 while (specpdl_ptr != specpdl + count) (gdb) s 3419 if (NILP (Vquit_flag) && !NILP (quitf)) (gdb) s 3424 } (gdb) s funcall_lambda (fun=136734804, nargs=0, arg_vector=0xbf9927d4) at eval.c:3223 3223 } (gdb) s Ffuncall (nargs=1, args=0xbf9927d0) at eval.c:3099 3099 lisp_eval_depth--; (gdb) s 3100 if (backtrace.debug_on_exit) (gdb) s 3102 backtrace_list = backtrace.next; (gdb) s 3104 } (gdb) s Fbyte_code (bytestr=136490859, vector=136490884, maxdepth=) at bytecode.c:679 679 AFTER_POTENTIAL_GC (); (gdb) s 678 TOP = Ffuncall (op + 1, &TOP); (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 527 MAYBE_GC (); (gdb) s 528 op = FETCH2; (gdb) s 529 v1 = POP; (gdb) s 530 if (NILP (v1)) (gdb) s 532 BYTE_CODE_QUIT; (gdb) s 528 op = FETCH2; (gdb) s 534 stack.pc = stack.byte_string_start + op; (gdb) s 528 op = FETCH2; (gdb) s 534 stack.pc = stack.byte_string_start + op; (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 1658 PUSH (vectorp[op - Bconstant]); (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 477 op = FETCH; (gdb) s 480 switch (op) (gdb) s 1665 byte_stack_list = byte_stack_list->next; (gdb) s 816 result = POP; (gdb) s 1665 byte_stack_list = byte_stack_list->next; (gdb) s 1668 if (SPECPDL_INDEX () != count) (gdb) s 1676 } (gdb) s Feval (form=136490845) at eval.c:2428 2428 lisp_eval_depth--; (gdb) s 2429 if (backtrace.debug_on_exit) (gdb) s 2431 backtrace_list = backtrace.next; (gdb) s 2434 } (gdb) s Fprogn (args=136490837) at eval.c:450 450 args = XCDR (args); (gdb) s 449 val = Feval (XCAR (args)); (gdb) s 447 while (CONSP (args)) (gdb) s 455 } (gdb) s unbind_to (count=32, value=137771209) at eval.c:3373 3373 while (specpdl_ptr != specpdl + count) (gdb) s 3382 this_binding = *--specpdl_ptr; (gdb) s 3384 if (this_binding.func != 0) (gdb) s 3393 else if (CONSP (this_binding.symbol)) (gdb) s 3412 if (!MISCP (SYMBOL_VALUE (this_binding.symbol))) (gdb) s 3413 SET_SYMBOL_VALUE (this_binding.symbol, this_binding.old_value); (gdb) s 3373 while (specpdl_ptr != specpdl + count) (gdb) s 3419 if (NILP (Vquit_flag) && !NILP (quitf)) (gdb) s 3424 } (gdb) s unwind_to_catch (catch=0xbf99337c, value=) at eval.c:1281 1281 handlerlist = catchlist->handlerlist; (gdb) s 1284 while (! last_time); (gdb) s 1281 handlerlist = catchlist->handlerlist; (gdb) s 1282 catchlist = catchlist->next; (gdb) s 1284 while (! last_time); (gdb) s 1296 byte_stack_list = catch->byte_stack; (gdb) s 1307 _longjmp (catch->jmp, 1); (gdb) s 1296 byte_stack_list = catch->byte_stack; (gdb) s 1297 gcprolist = catch->gcpro; (gdb) s 1304 backtrace_list = catch->backlist; (gdb) s 1305 lisp_eval_depth = catch->lisp_eval_depth; (gdb) s 1307 _longjmp (catch->jmp, 1); (gdb) s Warning: Cannot insert breakpoint -248. Error accessing memory address 0xfe120f84: Input/output error. (gdb) s Single stepping until exit from function siglongjmp, which has no line number information. Font `-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1' is not defined Program exited with code 0377. Steve Berman