From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: David Reitter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 5973@debbugs.gnu.org X-Debbugs-Original-To: Bug-Gnu-Emacs Received: via spool by submit@debbugs.gnu.org id=B.12716933351499 (code B ref -1); Mon, 19 Apr 2010 16:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2010 16:08:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3tWn-0000O8-6B for submit@debbugs.gnu.org; Mon, 19 Apr 2010 12:08:54 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3tWj-0000O3-ON for submit@debbugs.gnu.org; Mon, 19 Apr 2010 12:08:52 -0400 Received: from lists.gnu.org ([199.232.76.165]:60814) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O3tWf-0006z8-0S for submit@debbugs.gnu.org; Mon, 19 Apr 2010 12:08:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3tWe-0007qz-3L for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2010 12:08:44 -0400 Received: from [140.186.70.92] (port=54743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3tWT-0007hz-8l for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2010 12:08:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3tWM-00020x-SR for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2010 12:08:32 -0400 Received: from mail-qy0-f179.google.com ([209.85.221.179]:39242) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3tWM-00020k-MA for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2010 12:08:26 -0400 Received: by qyk9 with SMTP id 9so5688978qyk.1 for ; Mon, 19 Apr 2010 09:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=Cb3N4gNlRcztg2BH5tCYdujKAzRhSguyZjpxig8q5Qo=; b=FGA/ggET9UrcIstm8Dn6k+BHZo00clDrMsfHazJfHADfLynBBBKKCmtIhiS4WN+iqg OW/d2u0uBYR/b5vXnmXVmfFKtWE3TehxwnAfmVhTtJIeptS8r5W2O6JNALzitGw/F7Ig 1vfObLLfkIVgo6aS6BenJnrkuUQnbMucua3nQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=Kai2aMc5in3u9sT8oafQqmCzEaMb7yhAQrf17rtnsWSoLAiLfmt//7Cz5l3ot2hFZt hmw0DAmvtZcf2d6gaszbsa0qz5FNSBUX/uVIEcACKH2rF+J+di4TMtX+Tt+HklkPo1Mj QR4TXXXEFxxW9LWSOorbEnc6/fVSKy/tBrdME= Received: by 10.229.213.208 with SMTP id gx16mr3546870qcb.35.1271693303772; Mon, 19 Apr 2010 09:08:23 -0700 (PDT) Received: from [192.168.1.42] (pool-96-236-188-251.pitbpa.east.verizon.net [96.236.188.251]) by mx.google.com with ESMTPS id v26sm3339129qce.13.2010.04.19.09.08.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 09:08:21 -0700 (PDT) From: David Reitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Apr 2010 12:08:18 -0400 Message-Id: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) I just had a crash. I can't pinpoint what triggered it. Line xdisp.c:5946 is this in the build that I was running: it->face_id =3D FACE_FOR_CHAR (it->f, face, it->c, pos, = it->string); FWIW, the build was done with CPP=3Dcc -E -no-cpp-precomp CFLAGS=3D-g -O0 -Wdeclaration-after-statement -Wno-pointer-sign =20 So one may possibly infer from the trace below that face_for_char() was = NOT called by FACE_FOR_CHAR, and that the invalid pointer was somewhere = in (FACE)->ascii_face->id (see dispextern.h:1693). Maybe FACE_FROM_ID returned a null pointer as it is documented to do if = the face doesn't exist (?? frame? face got just deleted with frame??) = and this bit of code doesn't check face. But that's speculation - I don't know the display code very well. --=20 Process: Aquamacs [16933] Path: = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/MacOS/Aquamacs Identifier: org.gnu.AquamacsEmacs Version: 2.0preview6 (???) Code Type: X86-64 (Native) Parent Process: launchd [200] Date/Time: 2010-04-19 11:47:16.858 -0400 OS Version: Mac OS X 10.6.3 (10D573) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000110 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: abort() called Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x00007fff86572886 __kill + 10 1 org.gnu.AquamacsEmacs 0x00000001000909ce = fatal_error_signal + 286 (emacs.c:402) 2 libSystem.B.dylib 0x00007fff8658480a _sigtramp + = 26 3 libSystem.B.dylib 0x00007fff86572886 __kill + 10 4 libSystem.B.dylib 0x00007fff86612eae abort + 83 5 org.gnu.AquamacsEmacs 0x00000001001764bb = ns_term_shutdown + 106 (nsterm.m:4278) 6 org.gnu.AquamacsEmacs 0x0000000100090a04 = fatal_error_signal + 340 (emacs.c:388) 7 libSystem.B.dylib 0x00007fff8658480a _sigtramp + = 26 8 org.gnu.AquamacsEmacs 0x000000010002cabc = get_next_display_element + 2796 (xdisp.c:5946) 9 org.gnu.AquamacsEmacs 0x000000010002d525 = move_it_in_display_line_to + 245 (xdisp.c:6744) 10 org.gnu.AquamacsEmacs 0x000000010002e9ee move_it_to + = 302 (xdisp.c:7165) 11 org.gnu.AquamacsEmacs 0x000000010000642a = buffer_posn_from_coords + 282 (dispnew.c:5960) 12 org.gnu.AquamacsEmacs 0x0000000100094543 = make_lispy_position + 611 (keyboard.c:5521) 13 org.gnu.AquamacsEmacs 0x000000010009de39 = make_lispy_event + 1017 (keyboard.c:6033) 14 org.gnu.AquamacsEmacs 0x00000001000a0702 read_char + = 7986 (keyboard.c:4347) 15 org.gnu.AquamacsEmacs 0x00000001000a188f = read_key_sequence + 1215 (keyboard.c:9541) 16 org.gnu.AquamacsEmacs 0x00000001000a3e0b = command_loop_1 + 587 (keyboard.c:1643) 17 org.gnu.AquamacsEmacs 0x00000001001091e7 = internal_condition_case + 327 (eval.c:1490) 18 org.gnu.AquamacsEmacs 0x000000010009b147 = command_loop_2 + 55 (keyboard.c:1361) 19 org.gnu.AquamacsEmacs 0x00000001001092f0 = internal_catch + 224 (eval.c:1226) 20 org.gnu.AquamacsEmacs 0x000000010009bb6b command_loop = + 75 (keyboard.c:1326) 21 org.gnu.AquamacsEmacs 0x000000010009c03f = recursive_edit_1 + 159 (keyboard.c:954) 22 org.gnu.AquamacsEmacs 0x000000010009c1df = Frecursive_edit + 287 (keyboard.c:1017) 23 org.gnu.AquamacsEmacs 0x000000010010ad90 Ffuncall + = 1232 (eval.c:3021) 24 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 25 org.gnu.AquamacsEmacs 0x000000010010a134 Feval + 1476 = (eval.c:2352) 26 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 27 org.gnu.AquamacsEmacs 0x00000001000496f1 = Fsave_window_excursion + 81 (window.c:6585) 28 org.gnu.AquamacsEmacs 0x0000000100146672 Fbyte_code + = 2946 (bytecode.c:841) 29 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 30 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 31 org.gnu.AquamacsEmacs 0x000000010010c866 Fapply + 566 = (eval.c:2448) 32 org.gnu.AquamacsEmacs 0x000000010010ae1b Ffuncall + = 1371 (eval.c:3005) 33 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 34 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 35 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 36 org.gnu.AquamacsEmacs 0x000000010010c745 Fapply + 277 = (eval.c:2504) 37 org.gnu.AquamacsEmacs 0x000000010010c8c2 apply1 + 50 = (eval.c:2778) 38 org.gnu.AquamacsEmacs 0x00000001001096ff call_debugger = + 495 (eval.c:272) 39 org.gnu.AquamacsEmacs 0x0000000100109874 = maybe_call_debugger + 340 (eval.c:1880) 40 org.gnu.AquamacsEmacs 0x0000000100109a9c = find_handler_clause + 476 (eval.c:1939) 41 org.gnu.AquamacsEmacs 0x000000010010b0f6 Fsignal + 438 = (eval.c:1679) 42 org.gnu.AquamacsEmacs 0x000000010010ad71 Ffuncall + = 1201 (eval.c:3027) 43 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 44 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 45 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 46 org.gnu.AquamacsEmacs 0x000000010010c8de apply1 + 78 = (eval.c:2778) 47 org.gnu.AquamacsEmacs 0x0000000100106099 = Fcall_interactively + 633 (callint.c:396) 48 org.gnu.AquamacsEmacs 0x000000010010ad5c Ffuncall + = 1180 (eval.c:3030) 49 org.gnu.AquamacsEmacs 0x000000010010af06 call3 + 38 = (eval.c:2856) 50 org.gnu.AquamacsEmacs 0x00000001000a4082 = command_loop_1 + 1218 (keyboard.c:1912) 51 org.gnu.AquamacsEmacs 0x00000001001091e7 = internal_condition_case + 327 (eval.c:1490) 52 org.gnu.AquamacsEmacs 0x000000010009b147 = command_loop_2 + 55 (keyboard.c:1361) 53 org.gnu.AquamacsEmacs 0x00000001001092f0 = internal_catch + 224 (eval.c:1226) 54 org.gnu.AquamacsEmacs 0x000000010009bb6b command_loop = + 75 (keyboard.c:1326) 55 org.gnu.AquamacsEmacs 0x000000010009c03f = recursive_edit_1 + 159 (keyboard.c:954) 56 org.gnu.AquamacsEmacs 0x000000010009c1df = Frecursive_edit + 287 (keyboard.c:1017) 57 org.gnu.AquamacsEmacs 0x000000010010ad90 Ffuncall + = 1232 (eval.c:3021) 58 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 59 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 60 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 61 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 62 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 63 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 64 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 65 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 66 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 67 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 68 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 69 org.gnu.AquamacsEmacs 0x000000010010a848 apply_lambda = + 216 (eval.c:3135) 70 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 71 org.gnu.AquamacsEmacs 0x0000000100109faa Feval + 1082 = (eval.c:2331) 72 org.gnu.AquamacsEmacs 0x000000010010a801 apply_lambda = + 145 (eval.c:3122) 73 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 74 org.gnu.AquamacsEmacs 0x000000010010d21b Fcond + 91 = (eval.c:388) 75 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 76 org.gnu.AquamacsEmacs 0x000000010010a801 apply_lambda = + 145 (eval.c:3122) 77 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 78 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 79 org.gnu.AquamacsEmacs 0x000000010010a728 = funcall_lambda + 680 (eval.c:3204) 80 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 81 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 82 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 83 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 84 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 85 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 86 org.gnu.AquamacsEmacs 0x000000010010a848 apply_lambda = + 216 (eval.c:3135) 87 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 88 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 89 org.gnu.AquamacsEmacs 0x000000010010a728 = funcall_lambda + 680 (eval.c:3204) 90 org.gnu.AquamacsEmacs 0x000000010010a848 apply_lambda = + 216 (eval.c:3135) 91 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 92 org.gnu.AquamacsEmacs 0x000000010010d31d Fand + 77 = (eval.c:336) 93 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 94 org.gnu.AquamacsEmacs 0x000000010010d21b Fcond + 91 = (eval.c:388) 95 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 96 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 97 org.gnu.AquamacsEmacs 0x000000010010d171 FletX + 321 = (eval.c:1012) 98 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 99 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 100 org.gnu.AquamacsEmacs 0x000000010010a728 = funcall_lambda + 680 (eval.c:3204) 101 org.gnu.AquamacsEmacs 0x000000010010a848 apply_lambda = + 216 (eval.c:3135) 102 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 103 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 104 org.gnu.AquamacsEmacs 0x000000010010cfcb Flet + 459 = (eval.c:1068) 105 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 106 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 107 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 108 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 109 org.gnu.AquamacsEmacs 0x000000010010a728 = funcall_lambda + 680 (eval.c:3204) 110 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 111 org.gnu.AquamacsEmacs 0x000000010010a23e Feval + 1742 = (eval.c:2319) 112 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 113 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 114 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 115 org.gnu.AquamacsEmacs 0x000000010010d171 FletX + 321 = (eval.c:1012) 116 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 117 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 118 org.gnu.AquamacsEmacs 0x000000010010a728 = funcall_lambda + 680 (eval.c:3204) 119 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 120 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 121 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 122 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 123 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 124 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 125 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 126 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 127 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 128 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 129 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 130 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 131 org.gnu.AquamacsEmacs 0x000000010010a848 apply_lambda = + 216 (eval.c:3135) 132 org.gnu.AquamacsEmacs 0x0000000100109df3 Feval + 643 = (eval.c:2406) 133 org.gnu.AquamacsEmacs 0x000000010010cf18 Flet + 280 = (eval.c:1052) 134 org.gnu.AquamacsEmacs 0x000000010010a1c1 Feval + 1617 = (eval.c:2293) 135 org.gnu.AquamacsEmacs 0x000000010010a45f Fprogn + 47 = (eval.c:415) 136 org.gnu.AquamacsEmacs 0x000000010010a728 = funcall_lambda + 680 (eval.c:3204) 137 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 138 org.gnu.AquamacsEmacs 0x000000010014758e Fbyte_code + = 6814 (bytecode.c:680) 139 org.gnu.AquamacsEmacs 0x000000010010a6cc = funcall_lambda + 588 (eval.c:3211) 140 org.gnu.AquamacsEmacs 0x000000010010ab12 Ffuncall + = 594 (eval.c:3081) 141 org.gnu.AquamacsEmacs 0x000000010010c8de apply1 + 78 = (eval.c:2778) 142 org.gnu.AquamacsEmacs 0x0000000100106099 = Fcall_interactively + 633 (callint.c:396) 143 org.gnu.AquamacsEmacs 0x000000010010ad5c Ffuncall + = 1180 (eval.c:3030) 144 org.gnu.AquamacsEmacs 0x000000010010af06 call3 + 38 = (eval.c:2856) 145 org.gnu.AquamacsEmacs 0x00000001000a4082 = command_loop_1 + 1218 (keyboard.c:1912) 146 org.gnu.AquamacsEmacs 0x00000001001091e7 = internal_condition_case + 327 (eval.c:1490) 147 org.gnu.AquamacsEmacs 0x000000010009b147 = command_loop_2 + 55 (keyboard.c:1361) 148 org.gnu.AquamacsEmacs 0x00000001001092f0 = internal_catch + 224 (eval.c:1226) 149 org.gnu.AquamacsEmacs 0x000000010009bbd6 command_loop = + 182 (keyboard.c:1340) 150 org.gnu.AquamacsEmacs 0x000000010009c03f = recursive_edit_1 + 159 (keyboard.c:954) 151 org.gnu.AquamacsEmacs 0x000000010009c1df = Frecursive_edit + 287 (keyboard.c:1017) 152 org.gnu.AquamacsEmacs 0x00000001000917b7 main + 3447 = (emacs.c:1836) 153 org.gnu.AquamacsEmacs 0x0000000100002164 start + 52 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x00007fff8653d4ea kevent + 10 1 libSystem.B.dylib 0x00007fff8653f3bd = _dispatch_mgr_invoke + 154 2 libSystem.B.dylib 0x00007fff8653f094 = _dispatch_queue_invoke + 185 3 libSystem.B.dylib 0x00007fff8653ebbe = _dispatch_worker_thread2 + 252 4 libSystem.B.dylib 0x00007fff8653e4e8 = _pthread_wqthread + 353 5 libSystem.B.dylib 0x00007fff8653e385 = start_wqthread + 13 Thread 2: 0 libSystem.B.dylib 0x00007fff86568286 = select$DARWIN_EXTSN + 10 1 com.apple.CoreFoundation 0x00007fff84fecef2 = __CFSocketManager + 818 2 libSystem.B.dylib 0x00007fff8655d8b6 = _pthread_start + 331 3 libSystem.B.dylib 0x00007fff8655d769 thread_start = + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: = 0x00007fff5fbf7038 rdx: 0x0000000000000000 rdi: 0x0000000000004225 rsi: 0x0000000000000006 rbp: = 0x00007fff5fbf7070 rsp: 0x00007fff5fbf7038 r8: 0x0000000000000001 r9: 0x00000001163dfe00 r10: = 0x00007fff8656e8ca r11: 0x0000000000000202 r12: 0x0000000000000006 r13: 0x00000001006295a8 r14: = 0x0000000000000001 r15: 0x0000000000000001 rip: 0x00007fff86572886 rfl: 0x0000000000000202 cr2: = 0x00007fff70c84058 In GNU Emacs 23.1.95.17 (x86_64-apple-darwin10.3.0, NS = apple-appkit-1038.29) of 2010-04-18 on scarlett.local - Aquamacs Distribution 2.0preview6 Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C/l Minor modes in effect: diff-auto-refine-mode: t TeX-PDF-mode: t which-function-mode: t desktop-save-mode: t savehist-mode: t smart-frame-positioning-mode: t aquamacs-autoface-mode: t recentf-mode: t osx-key-mode: t tabbar-mwheel-mode: t tabbar-mode: t show-paren-mode: t delete-selection-mode: t pc-selection-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: =E2=8C=98C =20 =E2=8C=98V =E2=87=A7T H I S SPC A D D =20= W O R K S SPC A R O U N D SPC A N SPC I=20 S S U E SPC W H E R E SPC =20 W I N D O W=20 SPC S S SPC A R E SPC =20 O I O =20 P O P SPC U P SPC A N D SPC=20 D O N ' T SPC G E T SPC D E L T E D SPC =20 E T E D SPC W H=20 E N SPC T H E SPC U S E R SPC I S SPC D O N E . ^C=20 ^C =20 =20 =20 =20 ^X ^E ^H V =20 =20 =E2=8C=98W=20 =E2=8C=98W =E2=8C=98W = =20 ^X ^F A E . G S R X D =20 =E2=8C=98L 5 9 4 6 = =20 =E2=8C=98C = =20 =20 ^F =E2=8C=A5X G R E P =E2=87=A7F =E2=87=A7A =E2=87=A7C =E2=87=A7E= _ =E2=87=A7F =E2=87=A7O =E2=87=A7R _ =E2=87=A7C=20 =E2=87=A7H =E2=87=A7A =E2=87=A7R SPC | SPC G R E P SPC D E F I N E = =20 =E2=8C=98W =E2=8C=A5X =20= =20 * SPC =20 =20 ^X ^F D I S P E =E2=8C=98F =E2=87=A7F =E2=87=A7A = =E2=87=A7C=20 =E2=87=A7E _ =E2=87=A7F =E2=87=A7O =E2=87=A7R _ =E2=87=A7C =E2=87=A7H = =20 =20 =20 Recent messages: Type "q" to quit. Unable to load color "dark cyan" Mark set [2 times] Unable to load color "dark cyan" [3 times] Grep finished with no matches found Unable to load color "dark cyan" Grep finished (matches found) Unable to load color "dark cyan" Debug on Error enabled globally Debug on Error disabled globally Load-path shadows: /Users/dr/Library/Preferences/Aquamacs Emacs/Recent Files hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs Emacs2/Recent = Files /Users/dr/Library/Preferences/Aquamacs Emacs/Preferences hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs Emacs2/Preferences /Users/dr/Library/Preferences/Aquamacs Emacs/places hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs Emacs2/places /Users/dr/Library/Preferences/Aquamacs Emacs/minibuffer-history hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs = Emacs2/minibuffer-history /Users/dr/Library/Preferences/Aquamacs Emacs/frame-positions hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs = Emacs2/frame-positions /Users/dr/Library/Preferences/Aquamacs Emacs/customizations hides = /Users/dr/Library/Preferences/Aquamacs Emacs/Aquamacs = Emacs2/customizations /Library/Application Support/Aquamacs Emacs/JDEE/site-start hides = /Library/Application Support/Aquamacs Emacs/SLIME/site-start /Library/Application Support/Aquamacs Emacs/JDEE/cedet/speedbar/speedbar = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/speedbar /Library/Application Support/Aquamacs Emacs/JDEE/cedet/speedbar/sb-image = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/sb-image /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/ezimage = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/ezimage /Library/Application Support/Aquamacs Emacs/JDEE/cedet/speedbar/dframe = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/dframe /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio /Library/Application Support/Aquamacs = Emacs/JDEE/cedet/eieio/eieio-speedbar hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-speedbar /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio-opt = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-opt /Library/Application Support/Aquamacs = Emacs/JDEE/cedet/eieio/eieio-custom hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-custom /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio-comp = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-comp /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/eieio-base = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= eieio-base /Library/Application Support/Aquamacs Emacs/JDEE/cedet/eieio/chart hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/emacs-lisp/= chart /Library/Application Support/Aquamacs Emacs/JDEE/cedet/semantic/semantic = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/seman= tic /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/mode-local = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/mode-= local /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/inversion = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/inver= sion /Library/Application Support/Aquamacs Emacs/JDEE/cedet/ede/ede hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/ede /Library/Application Support/Aquamacs Emacs/JDEE/cedet/common/cedet = hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/cedet= /Library/Application Support/Aquamacs = Emacs/JDEE/cedet/common/cedet-files hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/cedet/cedet= -files /Library/Application Support/Aquamacs Emacs/JDEE/site-start hides = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/Resources/lisp/aquamacs/si= te-start Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailabbrev nnheader gnus-util netrc gmm-utils mailheader canlock sha1 hex-util hashcash emacsbug grep compile comint pp log-edit ring pcvs-util add-log multi-isearch diff-mode vc vc-dispatcher url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums url-gw url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse url-vars mm-util mail-prsvr mailcap mail-utils preview prv-emacs tex-buf reftex-vcr reftex-dcr reftex-auc reftex reftex-vars bib-cite tex-fold noutline outline font-latex latex edmacro kmacro tex-style tex sh-script executable vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs which-func imenu desktop slime-autoloads load-emacs-plugins aquamacs-mode-defaults auctex-config server tex-site smart-dnd aquamacs-aux savehist mouse-sel one-buffer-one-frame smart-frame-positioning drews_init color-theme-autoloads saveplace visual-line aquamacs-bug aquamacs-autoface-mode aquamacs-editing sendmail recentf tree-widget cus-edit osxkeys emulate-mac-keyboard-mode frame-cmds strings misc-fns thingatpt+ thingatpt frame-fns avoid aquamacs-mac-fontsets fit-frame aquamacs-frame-setup aquamacs-tabbar tabbar-window cl cl-19 tabbar easy-mmode cus-start cus-load load-emacs-pre-plugins aquamacs-site-start cocoa-compatibility filladapt aquamacs-redo check-for-updates aquamacs-menu osx_defaults aquamacs-tool-bar aquamacs mac-extra-functions aquamacs-tools aquamacs-macros parse-time timezone time-date paren delsel pc-select cua-base wid-edit regexp-opt advice advice-preload byte-opt bytecomp byte-compile debug help-fns help-mode view image-file disp-table tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) Command line: = (/Users/dr/ae.git/nextstep/Aquamacs.app/Contents/MacOS/Aquamacs) PATH: = /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/b= in:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/Current/b= in:/opt/local/lib/postgresql82/bin:/opt/local/bin:/opt/local/sbin:/usr/bin= :/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X= 11/bin:/Users/dr/Applications:/Users/dr/Applications/bin:/Users/dr/Project= s/openccg/bin:/usr/texbin/powerpc-apple-darwin-current:/usr/local/git/bin:= /Developer/Platforms/iPhoneFOSS.platform/Developer/bin:/usr/bin:/bin:/usr/= sbin:/sbin:/usr/texbin:/usr/local/texlive/2009/bin exec-path: (/opt/local/bin /opt/local/sbin /opt/local/bin = /opt/local/sbin /opt/local/bin /opt/local/sbin = /Library/Frameworks/Python.framework/Versions/Current/bin = /opt/local/lib/postgresql82/bin /opt/local/bin /opt/local/sbin /usr/bin = /bin /usr/sbin /sbin /usr/local/bin /usr/local/git/bin /usr/texbin = /usr/X11/bin /Users/dr/Applications /Users/dr/Applications/bin = /Users/dr/Projects/openccg/bin /usr/texbin/powerpc-apple-darwin-current = /usr/local/git/bin = /Developer/Platforms/iPhoneFOSS.platform/Developer/bin /usr/bin /bin = /usr/sbin /sbin = /Users/dr/ae.git/nextstep/Aquamacs.app/Contents/MacOS/bin = /usr/local/texlive/2009/bin)= From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Acknowledgement (Crash in get_next_display_element) Resent-From: David Reitter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12716955974499 (code B ref 5973); Mon, 19 Apr 2010 16:47:02 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 16:46:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3u7J-0001AW-JV for submit@debbugs.gnu.org; Mon, 19 Apr 2010 12:46:37 -0400 Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3u7H-0001AK-QI for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 12:46:36 -0400 Received: by vws11 with SMTP id 11so2544663vws.3 for <5973@debbugs.gnu.org>; Mon, 19 Apr 2010 09:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=nsqi7wa6Z8ASLIOKFDkaa4MnJ39jYmWcRYV+iu1OeLk=; b=tkl2h/gzd4enQeGF7taBRW9Lg2jwAoTrxSsJw4abgV1ydwYoIc8bWYtrD8iCPCJr+P D7GPefqfjDuUi1/h54Rz8YP5afjuMuBt30ZCzAHbo4o3ARRYPRD2TpCdjDi+ftdRpAFv DXQhsclZxMl1NoB8vDEtbnRGPIxmrmXW3iVkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=UNc6ZJIbfFqYSirQiDLA4sP2n682RdBSMgUi4tD9Z01V1uaRUlvSAHwmEigH9bywdn CZD6BpPBnKT/igmePm586KjmuZaHP4ocVW+QFvYrtNZEUqzo9l/qWuLR13rv4NzP8uPX LJ+WavwUQwajAwqiSWgOYeHPvGxl9UzvZqZJY= Received: by 10.220.127.27 with SMTP id e27mr3741189vcs.51.1271695590470; Mon, 19 Apr 2010 09:46:30 -0700 (PDT) Received: from scarlett.psy.cmu.edu (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id a1sm19487022vcp.21.2010.04.19.09.46.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 09:46:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) From: David Reitter In-Reply-To: Date: Mon, 19 Apr 2010 12:46:26 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <57BEDD3C-658C-4DA0-9455-BFC0415CDBD8@gmail.com> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> X-Mailer: Apple Mail (2.1078) X-Spam-Score: -2.2 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) In line what is done just below in the same function, I would suggest at = least the following change diff --git a/src/xdisp.c b/src/xdisp.c index 91fd06e..4fc4f56 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5930,6 +5930,8 @@ get_next_display_element (it) { struct face *face =3D FACE_FROM_ID (it->f, it->face_id); =20 + if (face) /* is face id valid? */ + { if (it->what =3D=3D IT_COMPOSITION && it->cmp_it.ch >=3D 0) { /* Automatic composition with glyph-string. */ @@ -5945,6 +5947,7 @@ get_next_display_element (it) =20 it->face_id =3D FACE_FOR_CHAR (it->f, face, it->c, pos, = it->string); } + } } #endif =20 From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Reitter Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12716978565658 (code B ref 5973); Mon, 19 Apr 2010 17:25:02 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 17:24:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3uhk-0001TD-29 for submit@debbugs.gnu.org; Mon, 19 Apr 2010 13:24:16 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3uhi-0001T8-8g for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 13:24:15 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L1400J00W38KQ00@a-mtaout20.012.net.il> for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 20:23:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1400GLLWB2SQB0@a-mtaout20.012.net.il>; Mon, 19 Apr 2010 20:23:27 +0300 (IDT) Date: Mon, 19 Apr 2010 20:23:32 +0300 From: Eli Zaretskii In-reply-to: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <83aaszbbl7.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: David Reitter > Date: Mon, 19 Apr 2010 12:08:18 -0400 > Cc: > > I just had a crash. I can't pinpoint what triggered it. > > Line xdisp.c:5946 is this in the build that I was running: > > it->face_id = FACE_FOR_CHAR (it->f, face, it->c, pos, it->string); > > > FWIW, the build was done with > CPP=cc -E -no-cpp-precomp > CFLAGS=-g -O0 -Wdeclaration-after-statement -Wno-pointer-sign > > So one may possibly infer from the trace below that face_for_char() was NOT called by FACE_FOR_CHAR, and that the invalid pointer was somewhere in (FACE)->ascii_face->id (see dispextern.h:1693). > > Maybe FACE_FROM_ID returned a null pointer as it is documented to do if the face doesn't exist (?? frame? face got just deleted with frame??) and this bit of code doesn't check face. > > But that's speculation - I don't know the display code very well. Let's start by finding the immediate reason for the crash. Please show the contents of `face', the last argument to FACE_FOR_CHAR in the line that crashed. Also, what kind of signal was it that crashed the program? (The backtrace is in some form that I'm not familiar with, so maybe the information is already present there.) Thanks. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Acknowledgement (Crash in get_next_display_element) Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Reitter Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12716982965886 (code B ref 5973); Mon, 19 Apr 2010 17:32:02 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 17:31:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3uoq-0001Wt-AY for submit@debbugs.gnu.org; Mon, 19 Apr 2010 13:31:36 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3uom-0001Wl-SX for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 13:31:33 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L1400B00WMGO300@a-mtaout23.012.net.il> for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 20:30:59 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L14008BFWNMK5C0@a-mtaout23.012.net.il>; Mon, 19 Apr 2010 20:30:59 +0300 (IDT) Date: Mon, 19 Apr 2010 20:31:04 +0300 From: Eli Zaretskii In-reply-to: <57BEDD3C-658C-4DA0-9455-BFC0415CDBD8@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <838w8jbb8n.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <57BEDD3C-658C-4DA0-9455-BFC0415CDBD8@gmail.com> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: David Reitter > Date: Mon, 19 Apr 2010 12:46:26 -0400 > Cc: > > In line what is done just below in the same function, I would suggest at least the following change Thanks, but I don't think we should fix problems until we understand them. In general, it->face_id should index a face that is already realized at this point. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: David Reitter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12716988286173 (code B ref 5973); Mon, 19 Apr 2010 17:41:01 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 17:40:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3uxP-0001bW-Oy for submit@debbugs.gnu.org; Mon, 19 Apr 2010 13:40:28 -0400 Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3uxN-0001bR-VD for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 13:40:26 -0400 Received: by vws11 with SMTP id 11so2599507vws.3 for <5973@debbugs.gnu.org>; Mon, 19 Apr 2010 10:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=IOQ7ZWniADsXhDbEbtzsrHCj7RXIlCvuiQpiLuAjVRY=; b=vkX/1i3ihxfEn5pfTSFsqfInYTpfbkrAIrdAYr0rWOWlp5i2EO3YBlYDITwY+wGB/b IWUmUTgHXsUJMPMWV5f86B5h/xfTxS36nKKpjEay4Lhi6gA/BEvUkUqmMDlwE+0ivpC1 4UW3BkF1LNtHPvV3TvjBteLixuc6myjFw5JZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=gfFCswqPjy/rZJwKxJGGdlplm4dmyQWn4cxOUESO9Tm/NdaA0afAT5SJK3aWeOqDNT yI7m+srPnYZXPPL6X/z9mTLIb2Q68Zndz3oQhbp1S1HzQ70YZ36IzfHxsV1Y9Htheo6k x/b48NkW4snwzwV+0QQYYkZjPu45GDHXWE+fw= Received: by 10.220.127.34 with SMTP id e34mr3781893vcs.149.1271698820990; Mon, 19 Apr 2010 10:40:20 -0700 (PDT) Received: from scarlett.psy.cmu.edu (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id z22sm19659102vco.10.2010.04.19.10.40.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 10:40:20 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: David Reitter In-Reply-To: <83aaszbbl7.fsf@gnu.org> Date: Mon, 19 Apr 2010 13:40:18 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> X-Mailer: Apple Mail (2.1078) X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) On Apr 19, 2010, at 1:23 PM, Eli Zaretskii wrote: >=20 > Let's start by finding the immediate reason for the crash. Please > show the contents of `face', the last argument to FACE_FOR_CHAR in the > line that crashed. How do I do that? It didn't run in gdb, and I don't know how to reproduce the crash. I just did a search on a year worth of crash logs (47 crashes) and = didn't find this specific crash again. > Also, what kind of signal was it that crashed the program? (The > backtrace is in some form that I'm not familiar with, so maybe the > information is already present there.) Yes: Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000110 >=20 > Thanks, but I don't think we should fix problems until we understand > them. In general, it->face_id should index a face that is already > realized at this point. Is it possible that this code runs, somehow, after a face got deleted? = That, per se, might be the real cause of the bug - but I can only = speculate. As said, the macro is documented to return NULL in some cases, and the = code in the same function (below) checks for that case (of course I = don't know when such a case can happen). So independently of this = particular crash it would be good style to "if (face)" there. Let me know if I can help in any way.= From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 18:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Reitter Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12717016549426 (code B ref 5973); Mon, 19 Apr 2010 18:28:01 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 18:27:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3vgz-0002Rz-Nk for submit@debbugs.gnu.org; Mon, 19 Apr 2010 14:27:33 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3vgx-0002Ru-3v for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 14:27:31 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L1400A00Z8M0V00@a-mtaout22.012.net.il> for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 21:26:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L14008LJZ8P2P90@a-mtaout22.012.net.il>; Mon, 19 Apr 2010 21:26:50 +0300 (IDT) Date: Mon, 19 Apr 2010 21:26:55 +0300 From: Eli Zaretskii In-reply-to: <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> X-012-Sender: halo1@inter.net.il Message-id: <834oj7b8nk.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: David Reitter > Date: Mon, 19 Apr 2010 13:40:18 -0400 > Cc: 5973@debbugs.gnu.org > > On Apr 19, 2010, at 1:23 PM, Eli Zaretskii wrote: > > > > Let's start by finding the immediate reason for the crash. Please > > show the contents of `face', the last argument to FACE_FOR_CHAR in the > > line that crashed. > > How do I do that? > It didn't run in gdb, and I don't know how to reproduce the crash. Do you have a core file? If so, then you can run GDB on it. If not, then I'm afraid we will need to wait for another instance of this crash. > > Also, what kind of signal was it that crashed the program? (The > > backtrace is in some form that I'm not familiar with, so maybe the > > information is already present there.) > > Yes: > > Exception Type: EXC_BAD_ACCESS (SIGABRT) > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000110 This sounds like SIGSEGV, so I wonder why it says SIGABRT. > > Thanks, but I don't think we should fix problems until we understand > > them. In general, it->face_id should index a face that is already > > realized at this point. > > Is it possible that this code runs, somehow, after a face got deleted? That, per se, might be the real cause of the bug - but I can only speculate. I don't know. But this code exists there since Emacs 21.x, with only minor changes. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: David Reitter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 18:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12717023809820 (code B ref 5973); Mon, 19 Apr 2010 18:40:03 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 18:39:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3vsi-0002YK-GL for submit@debbugs.gnu.org; Mon, 19 Apr 2010 14:39:40 -0400 Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3vsg-0002YF-DB for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 14:39:38 -0400 Received: by vws12 with SMTP id 12so37027vws.3 for <5973@debbugs.gnu.org>; Mon, 19 Apr 2010 11:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=u1nX/1Oa2xpnEEPd9SqTe+H8FIHCY2i/NNIs9O+c6/E=; b=UaRhGlgGA+v+Ywq9h6azrhK8Ijayas3pKFzJGKrTTy1R0NZC9TypRktXYvtRHZE8TP +fGit3/7fBIjLHcWix90hX9xylH1vR/uevvKfw0htcMGlOA0s1qdDzuJUMTgsINzPf94 liyo/w2opFrELN3h3jvjuMXPFKfph/raPMt8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=isI5Cm3qzKrbpqY9D8MuEOSZdLsNjYjAKjkzlZ/2t8eR6sCIz56Ckne+DHQEYY+URl ObZy+yzwGjIE+CvBEyunaFfy8bYTxctTbG9id4y0TDkFuDjBiQciiGfTZWIPmTvy3dq7 idsavHQGGcn+wIZAj/VRBhEZFd6gaCrbn+KNY= Received: by 10.220.157.143 with SMTP id b15mr3769236vcx.216.1271702373662; Mon, 19 Apr 2010 11:39:33 -0700 (PDT) Received: from scarlett.psy.cmu.edu (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id b22sm19852857vcp.8.2010.04.19.11.39.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 11:39:32 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: David Reitter In-Reply-To: <834oj7b8nk.fsf@gnu.org> Date: Mon, 19 Apr 2010 14:39:30 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> X-Mailer: Apple Mail (2.1078) X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) On Apr 19, 2010, at 2:26 PM, Eli Zaretskii wrote: >=20 > Do you have a core file? If so, then you can run GDB on it. >=20 > If not, then I'm afraid we will need to wait for another instance of > this crash. I don't have a core dump. Too bad.=20 Maybe I'll turn on core dumping for the next crash. I doubt I'll see = the same crash again, as it seems to be rare. - D= From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Reitter Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12717026279964 (code B ref 5973); Mon, 19 Apr 2010 18:44:01 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 18:43:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3vwg-0002af-2g for submit@debbugs.gnu.org; Mon, 19 Apr 2010 14:43:46 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3vwd-0002aX-7D for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 14:43:44 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L1400A00ZZYP500@a-mtaout22.012.net.il> for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 21:43:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1500A3B00A2230@a-mtaout22.012.net.il>; Mon, 19 Apr 2010 21:43:23 +0300 (IDT) Date: Mon, 19 Apr 2010 21:43:28 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <8339yrb7vz.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: David Reitter > Date: Mon, 19 Apr 2010 14:39:30 -0400 > Cc: 5973@debbugs.gnu.org > > On Apr 19, 2010, at 2:26 PM, Eli Zaretskii wrote: > > > > Do you have a core file? If so, then you can run GDB on it. > > > > If not, then I'm afraid we will need to wait for another instance of > > this crash. > > I don't have a core dump. Too bad. > > Maybe I'll turn on core dumping for the next crash. Or just run under GDB all the time. It doesn't get in the way in any way, until there's a crash. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2010 22:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: David Reitter , 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127171722123982 (code B ref 5973); Mon, 19 Apr 2010 22:47:02 +0000 Received: (at 5973) by debbugs.gnu.org; 19 Apr 2010 22:47:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3zk4-0006El-IX for submit@debbugs.gnu.org; Mon, 19 Apr 2010 18:47:00 -0400 Received: from mail-bw0-f227.google.com ([209.85.218.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3zk2-0006Eg-3H for 5973@debbugs.gnu.org; Mon, 19 Apr 2010 18:46:59 -0400 Received: by bwz27 with SMTP id 27so289679bwz.39 for <5973@debbugs.gnu.org>; Mon, 19 Apr 2010 15:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=LrKZL4HjQ2A1NXVIL+hlQcCQ+EiO4XbJUUqnbmJ/hEA=; b=Yxk+j8qoqukSQxaX/3DcEeZgLkutEHHzu90gUFrTaYquwe5A7hFJH7UIJcs6AhjJU3 e+R4ef6ArObW3vNGlH+SF0CHXYLx5bEPJF9RmkTneimRlGxq5p1A02KrxWv50MF80QqJ HHKvf0a0puIy8sJqLkP0goaUMMJM6+B4+Nd0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=h0aZcic1DUCW7PvV5bemtZwOEtuq+SUljMLw8h69s0vbvBq6SztJ4l8wj6Eo/cZGYl 87WMNVl3P85+teMiFmzH92Wo9XQt9eimPw3zRQiGrhju3dJK0j66pQLx3Azr7NsO/Ub1 NbjjPgXEs8DGU7HglYb+duO4wo9vdqTDU+7XM= MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Mon, 19 Apr 2010 15:46:32 -0700 (PDT) In-Reply-To: <834oj7b8nk.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 20 Apr 2010 00:46:32 +0200 Received: by 10.204.9.6 with SMTP id j6mr5406151bkj.37.1271717212579; Mon, 19 Apr 2010 15:46:52 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On Mon, Apr 19, 2010 at 20:26, Eli Zaretskii wrote: > If not, then I'm afraid we will need to wait for another instance of > this crash. I get a similar crash on Windows (trace attached). I can reproduce it reliably, but it depends on something in my .emacs, so I cannot give a recipe right now. Juanma Breakpoint 1, w32_abort () at w32fns.c:7349 7349 button = MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7349 #1 0x012be7c9 in temp_set_point_both (buffer=0x34b6e00, charpos=32, bytepos=33) at intervals.c:1944 #2 0x012772b4 in autocmp_chars (cft_element=50852182, charpos=29, bytepos=29, limit=31, win=0x350b400, face=0x4e8c100, string=49838082) at composite.c:1002 #3 0x01278591 in composition_reseat_it (cmp_it=0x88db74, charpos=29, bytepos=29, endpos=32, w=0x350b400, face=0x4e8c100, string=49838082) at composite.c:1147 #4 0x01069fcb in next_element_from_buffer (it=0x88d6f8) at xdisp.c:6834 #5 0x01066642 in get_next_display_element (it=0x88d6f8) at xdisp.c:5828 #6 0x0106a6ff in move_it_in_display_line_to (it=0x88d6f8, to_charpos=32, to_x=-1, op=MOVE_TO_POS) at xdisp.c:7087 #7 0x0106bca3 in move_it_to (it=0x88d6f8, to_charpos=32, to_x=-1, to_y=-1, to_vpos=-1, op=8) at xdisp.c:7588 #8 0x01071704 in resize_mini_window (w=0x350b400, exact_p=0) at xdisp.c:9083 #9 0x01070ec4 in display_echo_area_1 (a1=55620608, a2=49838082, a3=0, a4=0) at xdisp.c:8946 #10 0x0106fa35 in with_echo_area_buffer (w=0x350b400, which=0, fn=0x1070e9e , a1=55620608, a2=49838082, a3=0, a4=0) at xdisp.c:8733 #11 0x01070e6c in display_echo_area (w=0x350b400) at xdisp.c:8914 #12 0x01072a21 in echo_area_display (update_frame_p=1) at xdisp.c:9512 #13 0x0106e656 in message3_nolog (m=85027169, nbytes=32, multibyte=1) at xdisp.c:8409 #14 0x0106e135 in message3 (m=85027169, nbytes=32, multibyte=1) at xdisp.c:8344 #15 0x01224ccc in Fmessage (nargs=2, args=0x88e1c4) at editfns.c:3408 #16 0x0103c58e in Ffuncall (nargs=3, args=0x88e1c0) at eval.c:3005 #17 0x011ef7d8 in Fbyte_code (bytestr=82551569, vector=51162213, maxdepth=12) at bytecode.c:680 #18 0x0103d67c in funcall_lambda (fun=51162085, nargs=0, arg_vector=0x88e474) at eval.c:3211 #19 0x0103ce9c in Ffuncall (nargs=1, args=0x88e470) at eval.c:3070 #20 0x011ef7d8 in Fbyte_code (bytestr=81809201, vector=81013253, maxdepth=88) at bytecode.c:680 #21 0x0103d67c in funcall_lambda (fun=50937029, nargs=0, arg_vector=0x88e774) at eval.c:3211 #22 0x0103ce9c in Ffuncall (nargs=1, args=0x88e770) at eval.c:3070 #23 0x011ef7d8 in Fbyte_code (bytestr=81802801, vector=82790149, maxdepth=20) at bytecode.c:680 #24 0x0103d67c in funcall_lambda (fun=50937349, nargs=3, arg_vector=0x88ea34) at eval.c:3211 #25 0x0103ce9c in Ffuncall (nargs=4, args=0x88ea30) at eval.c:3070 #26 0x011ef7d8 in Fbyte_code (bytestr=81805217, vector=84959173, maxdepth=16) at bytecode.c:680 #27 0x0103d67c in funcall_lambda (fun=50938597, nargs=3, arg_vector=0x88ece4) at eval.c:3211 #28 0x0103ce9c in Ffuncall (nargs=4, args=0x88ece0) at eval.c:3070 #29 0x011ef7d8 in Fbyte_code (bytestr=81009409, vector=50466597, maxdepth=16) at bytecode.c:680 #30 0x0103d67c in funcall_lambda (fun=50464837, nargs=0, arg_vector=0x88ef94) at eval.c:3211 #31 0x0103ce9c in Ffuncall (nargs=1, args=0x88ef90) at eval.c:3070 #32 0x011ef7d8 in Fbyte_code (bytestr=81523921, vector=82526981, maxdepth=64) at bytecode.c:680 #33 0x0103d67c in funcall_lambda (fun=50940261, nargs=3, arg_vector=0x88f274) at eval.c:3211 #34 0x0103ce9c in Ffuncall (nargs=4, args=0x88f270) at eval.c:3070 #35 0x011ef7d8 in Fbyte_code (bytestr=81523921, vector=82526981, maxdepth=64) at bytecode.c:680 #36 0x0103d67c in funcall_lambda (fun=50940261, nargs=3, arg_vector=0x88f554) at eval.c:3211 #37 0x0103ce9c in Ffuncall (nargs=4, args=0x88f550) at eval.c:3070 #38 0x011ef7d8 in Fbyte_code (bytestr=81009361, vector=82654149, maxdepth=20) at bytecode.c:680 #39 0x0103d67c in funcall_lambda (fun=50466757, nargs=2, arg_vector=0x88f864) at eval.c:3211 #40 0x0103ce9c in Ffuncall (nargs=3, args=0x88f860) at eval.c:3070 #41 0x011f4c10 in Fcall_interactively (function=50004498, record_flag=49838082, keys=49859333) at callint.c:869 #42 0x0103ca53 in Ffuncall (nargs=4, args=0x88fb30) at eval.c:3030 #43 0x0103bf25 in call3 (fn=49990114, arg1=50004498, arg2=49838082, arg3=49838082) at eval.c:2850 #44 0x010222a9 in Fcommand_execute (cmd=50004498, record_flag=49838082, keys=49838082, special=49838082) at keyboard.c:10345 #45 0x01008862 in command_loop_1 () at keyboard.c:1756 #46 0x010389aa in internal_condition_case (bfun=0x10072be , handlers=49894618, hfun=0x10069e5 ) at eval.c:1490 #47 0x01006ebf in command_loop_2 () at keyboard.c:1356 #48 0x0103842c in internal_catch (tag=49893810, func=0x1006e9a , arg=49838082) at eval.c:1226 #49 0x01006e78 in command_loop () at keyboard.c:1335 #50 0x010060f0 in recursive_edit_1 () at keyboard.c:950 #51 0x0100660b in Frecursive_edit () at keyboard.c:1012 #52 0x01002a95 in main (argc=1, argv=0xbe2b58) at emacs.c:1784 Lisp Backtrace: "message" (0x88e1c4) "edebug-previous-result" (0x88e474) "edebug-display" (0x88e774) "edebug-debugger" (0x88ea34) "edebug-after" (0x88ece4) 0x3020845 PVEC_COMPILED "edebug-enter" (0x88f274) "edebug-enter" (0x88f554) "narrow-to-region" (0x88f864) "call-interactively" (0x88fb34) (gdb) From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: david.reitter@gmail.com, 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.12717518499772 (code B ref 5973); Tue, 20 Apr 2010 08:25:02 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 08:24:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O48kb-0002XZ-F4 for submit@debbugs.gnu.org; Tue, 20 Apr 2010 04:24:09 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O48kY-0002XD-Ui for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 04:24:07 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L16003001X2YH00@a-mtaout20.012.net.il> for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 11:23:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L16003771Y9S710@a-mtaout20.012.net.il>; Tue, 20 Apr 2010 11:22:58 +0300 (IDT) Date: Tue, 20 Apr 2010 11:23:04 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83iq7m5y8n.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: Juanma Barranquero > Date: Tue, 20 Apr 2010 00:46:32 +0200 > Cc: David Reitter , 5973@debbugs.gnu.org > > On Mon, Apr 19, 2010 at 20:26, Eli Zaretskii wrote: > > > If not, then I'm afraid we will need to wait for another instance of > > this crash. > > I get a similar crash on Windows (trace attached). Why do you think it is similar? It crashes in a different place, and if in David's case there was a hypothesis that FACE_FROM_ID returned a null pointer, in your case I see that all face arguments are non-NULL. What am I missing? Btw, David's crash was in Emacs 23.1.95, so I'm pretty sure the bidi merge has nothing to do with it. Yours is with the trunk version, right? > I can reproduce it reliably, but it depends on something in my .emacs, > so I cannot give a recipe right now. Please do try to give a reproducible recipe. Btw, what were you doing when it crashed? The backtrace seems to tell that Emacs was displaying a message in the echo area (during an Edebug session?), and that there were characters in the message area that used compositions, is that right? If so, what was the text of the message? If the crash happens even with normal ASCII characters in the echo area, I'd prefer to see a backtrace of that variant. Thanks. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 09:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bug-Gnu-Emacs Cc: david.reitter@gmail.com, Eli Zaretskii , 5973@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127175522511357 (code B ref -1); Tue, 20 Apr 2010 09:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2010 09:20:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O49d2-0002x8-34 for submit@debbugs.gnu.org; Tue, 20 Apr 2010 05:20:24 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O49cy-0002x3-Uq for submit@debbugs.gnu.org; Tue, 20 Apr 2010 05:20:22 -0400 Received: from lists.gnu.org ([199.232.76.165]:35649) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O49cv-00047F-VY for submit@debbugs.gnu.org; Tue, 20 Apr 2010 05:20:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O49cv-0000Ck-6K for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:20:17 -0400 Received: from [140.186.70.92] (port=37978 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O49cn-00008h-Iz for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:20:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O49cj-0000UP-Rq for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:20:09 -0400 Received: from mail-bw0-f223.google.com ([209.85.218.223]:57087) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O49cj-0000UF-JE; Tue, 20 Apr 2010 05:20:05 -0400 Received: by bwz23 with SMTP id 23so5685805bwz.26 for ; Tue, 20 Apr 2010 02:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=GCpbc1Q5UdhgQ2a7LFedMJIvoCcsaz6E72f3UwjiLk4=; b=Au+FOD/0BRZOxdU+brYSJxfE5D+CJg+N8HBrRQvWW1Say2/h0+RFjp20U496utKazg 7Y1xOhdp6MqVnaWjeBiopKc9DQJXp+yykbStlIX7kKzhL3mtrtbEEy2Z7DpTU0iJV5XS uOjOWtuu5Tat7+PCvDKHXmKHh1xQOj7rrLrRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=MchgmmwqvXvUlPXw4TAx3YfMI//k0VJnpX5+VvHgzp4aA5GGU9g7xkveaPWPShDLH5 l5OuE0zO0zeQG3aY9aWuUBNgD0KBaigHYnCFZ7S1ZhuPvp8bOHNs/YRK95gdNiqgASiG u17JzCCq2wbq0pt0h5o+wBCzhqP6ymZiCXvyU= MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Tue, 20 Apr 2010 02:19:44 -0700 (PDT) In-Reply-To: <83iq7m5y8n.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 20 Apr 2010 11:19:44 +0200 Received: by 10.204.48.20 with SMTP id p20mr1261884bkf.56.1271755204251; Tue, 20 Apr 2010 02:20:04 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) Package: emacs Version: 24.0.50 > Why do you think it is similar? Just because get_next_display_element and move_it_in_display_line_to were involved. Which goes to show how much I know about redisplay :-) I'm filing a separate bug. > What am I missing? My ignorance, of course... > Yours is with the trunk version, right? Yes. > Btw, what were you doing when it crashed? =C2=A0The backtrace seems to te= ll > that Emacs was displaying a message in the echo area (during an Edebug > session?), and that there were characters in the message area that used > compositions, is that right? =C2=A0If so, what was the text of the messag= e? I was debugging a simple defadvice to narrow-to-region. The "text" of the message is edebug trying to display END (the argument to n-t-r). I can reproduce the bug with just this advice: (defadvice narrow-to-region (before heisenbug activate) end) I instrument it with C-u C-M-x, then C-h N to show NEWS, select a few lines and C-x n n. I get a message "Loading c:/emacs/lisp/international/uni-category.el (source)...done" and then the crash. > If the crash happens even with normal ASCII characters in the echo > area, I'd prefer to see a backtrace of that variant. No, that's the only way I know to trigger it. Juanma From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: david.reitter@gmail.com, 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127175743312384 (code B ref 5973); Tue, 20 Apr 2010 09:58:01 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 09:57:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ACe-0003Dh-Mx for submit@debbugs.gnu.org; Tue, 20 Apr 2010 05:57:13 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ACb-0003Db-Kh for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 05:57:10 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L160070064PE000@a-mtaout20.012.net.il> for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 12:56:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L16002L269DUKD0@a-mtaout20.012.net.il>; Tue, 20 Apr 2010 12:56:02 +0300 (IDT) Date: Tue, 20 Apr 2010 12:56:09 +0300 From: Eli Zaretskii In-reply-to: Message-id: <83d3xu5txi.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Juanma Barranquero > Date: Tue, 20 Apr 2010 11:19:44 +0200 > Cc: Eli Zaretskii , david.reitter@gmail.com, 5973@deb= bugs.gnu.org >=20 > I was debugging a simple defadvice to narrow-to-region. The "text" = of > the message is edebug trying to display END (the argument to n-t-r)= . I > can reproduce the bug with just this advice: >=20 > (defadvice narrow-to-region (before heisenbug activate) > end) >=20 > I instrument it with C-u C-M-x Instrument what? the defadvice, or something else? > then C-h N to show NEWS, select a few lines and C-x n n. Which lines did you select? I think this is important, because when a form is evaluated, Edebug displays in the echo area a message showing the result of the evaluation, and if the result is a number, it tries to display it as a character. So the end of the region you select determines what character will Edebug try to display. > I get a message "Loading c:/emacs/lisp/international/uni-category.e= l > (source)...done" and then the crash. I don't see this message, perhaps because I used a different region. I see all kinds of characters displayed, depending on what region I select, but no crash. Here's one example Result: 784 (#o1420, #x310, ?=CC=90) I'm guessing that the crash is somehow related to display of composit= e characters (hint: try "C-u C-x =3D" on the weirdo question mark above= ), which the bidi display does not handle correctly yet. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 10:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127175889813053 (code B ref 5973); Tue, 20 Apr 2010 10:22:01 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 10:21:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4AaH-0003OU-Oz for submit@debbugs.gnu.org; Tue, 20 Apr 2010 06:21:37 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4AaF-0003OP-It for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 06:21:36 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L1600M007CD0E00@a-mtaout23.012.net.il> for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 13:21:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1600IML7FELLC0@a-mtaout23.012.net.il>; Tue, 20 Apr 2010 13:21:15 +0300 (IDT) Date: Tue, 20 Apr 2010 13:21:21 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83bpde5sri.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Juanma Barranquero > Date: Tue, 20 Apr 2010 00:46:32 +0200 > Cc: David Reitter , 5973@debbugs.gnu.org > > #1 0x012be7c9 in temp_set_point_both (buffer=0x34b6e00, charpos=32, > bytepos=33) at intervals.c:1944 This frame calls `abort' here: /* In a single-byte buffer, the two positions must be equal. */ if (BUF_ZV (buffer) == BUF_ZV_BYTE (buffer) && charpos != bytepos) abort (); It does that on the assumption that if the character and byte positions of the last character in the buffer's accessible area coincide, all the character and byte positions before that must also coincide. So please show what the following GDB commands print in frame #1: (gdb) p buffer->size (gdb) p *buffer->text->beg@34 (gdb) p buffer->text->zv (gdb) p buffer->text->zv_byte (gdb) p buffer->text->z (gdb) p buffer->text->z_byte (gdb) p buffer->text->pt (gdb) p buffer->text->pt_byte (gdb) p buffer->name (gdb) xstring TIA From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 10:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: david.reitter@gmail.com, 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127175924913285 (code B ref 5973); Tue, 20 Apr 2010 10:28:01 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 10:27:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Afw-0003SE-NX for submit@debbugs.gnu.org; Tue, 20 Apr 2010 06:27:28 -0400 Received: from mail-bw0-f227.google.com ([209.85.218.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Afu-0003S9-5y for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 06:27:26 -0400 Received: by bwz27 with SMTP id 27so646143bwz.39 for <5973@debbugs.gnu.org>; Tue, 20 Apr 2010 03:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=lVfH6Dx9BbxxmTRZwVJpJFxD5d74D2mD4jZYABWzu9c=; b=jbfg8e4NoCLNgD0ZZ47a3qVCG34uxiDFRpgfXTJY7MjIKh5es1zPXbZOnpO83hZwr+ 6nUkM+QMHf7er3Gw26fRfQOX0KJ1yYYxr4L5UfgUnzvvr69Kc7KSeuc5tVr8ec6dExlT cEwcw5N5vVkqmMr/4p7xorcirPcqq4Ef0OKQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=GWNFZXhuBXS4+mQTyMdZM7IdW//2pTSjvW5Ex8iljhZi58UF4i4JE9ZUFIcG3ikKOn 94jU1rzP58pjs9pMQThcF3tfdekkRKGNPdUADVYNEaTGA6mtaLj70eb+1vhAnrOwUxLm yWCYAflbrxVAPlGjhAuP+RX/MldLga4dnLwPI= MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Tue, 20 Apr 2010 03:27:00 -0700 (PDT) In-Reply-To: <83d3xu5txi.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> <83d3xu5txi.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 20 Apr 2010 12:27:00 +0200 Received: by 10.204.80.36 with SMTP id r36mr5729933bkk.75.1271759240197; Tue, 20 Apr 2010 03:27:20 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On Tue, Apr 20, 2010 at 11:56, Eli Zaretskii wrote: > Instrument what? the defadvice, or something else? The defadvice. In previous versions, the advice had more code, and when you stepped through it, it crashed when trying to display the value of END. With the shortened version, you don't get to step into anything. As soon as the instrumented advice triggers, blam! > Which lines did you select? =C2=A0I think this is important, because > when a form is evaluated, Edebug displays in the echo area a message > showing the result of the evaluation, and if the result is a number, > it tries to display it as a character. =C2=A0So the end of the region you > select determines what character will Edebug try to display. A few lines at the start of the file, usually about ten or twenty. AFAICS, the start of etc/NEWS does not contain any composable character, just straight ASCII. > I don't see this message, perhaps because I used a different region. I use `force-load-messages' set to t. Hmm. I got a reproducible recipe with -Q emacs -Q M-: (setq force-load-messages t) C-x C-f bug.el ;; the file containing just the defadvice C-u C-M-x C-h n ;; select line 22 C-x n n Juanma From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127175963613464 (code B ref 5973); Tue, 20 Apr 2010 10:34:02 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 10:33:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4AmB-0003V7-BH for submit@debbugs.gnu.org; Tue, 20 Apr 2010 06:33:55 -0400 Received: from mail-bw0-f227.google.com ([209.85.218.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Am9-0003V2-A3 for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 06:33:53 -0400 Received: by bwz27 with SMTP id 27so652808bwz.39 for <5973@debbugs.gnu.org>; Tue, 20 Apr 2010 03:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=yq2UkBliCSFzNSFa/5uY1G9ubfwCWVDP5HrlVEBVpmc=; b=BDUGmFxg17NAeWeu7f7+MqswasQb56EpRSKsPTVraHURWpwOkYcfbsDgIMoncg3bZa 6iq7iKCRTNkc1ofKm1AuilcNY3/t38DUepn2JqabfLA5Fkg88yy98AeRrtuQ/AEfGgmD zpGXGS/3n5iAZu2wEA/20UioPk/KQt3zg+mw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=uL2hrxwvOxfB8e16+Bj/a4nXAUnX5msJxulNsbFMtnfDU+aqdDJdTcSCnHwpXvDWVh Njk/PTgYSzPqQWFLss5XnG5RfJqNMNCMCvhFY1akoj840SCv30Woh4MAW5a4Q2gxUQcO EnSBd2PsXlPWjRipajMgeJgwPOhVVKi1qBV9Q= MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Tue, 20 Apr 2010 03:33:27 -0700 (PDT) In-Reply-To: <83bpde5sri.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83bpde5sri.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 20 Apr 2010 12:33:27 +0200 Received: by 10.204.161.211 with SMTP id s19mr1124299bkx.129.1271759627146; Tue, 20 Apr 2010 03:33:47 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On Tue, Apr 20, 2010 at 12:21, Eli Zaretskii wrote: > So please show what the following GDB commands print in frame #1: > > =C2=A0(gdb) p buffer->size > =C2=A0(gdb) p *buffer->text->beg@34 > =C2=A0(gdb) p buffer->text->zv > =C2=A0(gdb) p buffer->text->zv_byte > =C2=A0(gdb) p buffer->text->z > =C2=A0(gdb) p buffer->text->z_byte > =C2=A0(gdb) p buffer->text->pt > =C2=A0(gdb) p buffer->text->pt_byte > =C2=A0(gdb) p buffer->name > =C2=A0(gdb) xstring (gdb) frame 1 #1 0x012baadd in temp_set_point_both (buffer=3D0x34ba200, charpos=3D32, bytepos=3D33) at intervals.c:1944 1944 abort (); (gdb) p buffer->size $1 =3D 1073873021 (gdb) p *buffer->text->beg@34 $2 =3D "Loading c:/Devel/emacs/repo/debug/" (gdb) p buffer->text->zv There is no member named zv. (gdb) p buffer->text->zv_byte There is no member named zv_byte. (gdb) p buffer->text->z $3 =3D 85 (gdb) p buffer->text->z_byte $4 =3D 85 (gdb) p buffer->text->pt There is no member named pt. (gdb) p buffer->text->pt_byte There is no member named pt_byte. (gdb) p buffer->name $5 =3D 52161297 (gdb) xstring $6 =3D (struct Lisp_String *) 0x31beb10 " *Echo Area 0*" (gdb) Juanma From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 12:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127176624518349 (code B ref 5973); Tue, 20 Apr 2010 12:25:01 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 12:24:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4CUm-0004lu-Tc for submit@debbugs.gnu.org; Tue, 20 Apr 2010 08:24:05 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4CUk-0004lX-MC for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 08:24:03 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L1600300D152Q00@a-mtaout23.012.net.il> for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 15:23:22 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.237.174]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L16000X7D2XBD90@a-mtaout23.012.net.il>; Tue, 20 Apr 2010 15:23:22 +0300 (IDT) Date: Tue, 20 Apr 2010 15:23:28 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83633m5n3z.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83bpde5sri.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Juanma Barranquero > Date: Tue, 20 Apr 2010 12:33:27 +0200 > Cc: 5973@debbugs.gnu.org > > (gdb) p *buffer->text->beg@34 > $2 = "Loading c:/Devel/emacs/repo/debug/" How about this? (gdb) p *buffer->text->beg@86 > (gdb) p buffer->text->zv > There is no member named zv. > (gdb) p buffer->text->zv_byte > There is no member named zv_byte. > (gdb) p buffer->text->pt > There is no member named pt. > (gdb) p buffer->text->pt_byte > There is no member named pt_byte. Sorry, copy/paste mistakes. Please try these instead: (gdb) p buffer->zv (gdb) p buffer->zv_byte (gdb) p buffer->pt (gdb) p buffer->pt_byte Thanks. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: 5973@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127176673218580 (code B ref 5973); Tue, 20 Apr 2010 12:33:01 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 12:32:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Ccd-0004pd-3B for submit@debbugs.gnu.org; Tue, 20 Apr 2010 08:32:11 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Cca-0004pX-DV for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 08:32:09 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L1600C00DFHV900@a-mtaout20.012.net.il> for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 15:31:04 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.237.174]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L16005WRDFRTSL0@a-mtaout20.012.net.il>; Tue, 20 Apr 2010 15:31:04 +0300 (IDT) Date: Tue, 20 Apr 2010 15:31:10 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <834oj65mr5.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> <83d3xu5txi.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Juanma Barranquero > Date: Tue, 20 Apr 2010 12:27:00 +0200 > Cc: david.reitter@gmail.com, 5973@debbugs.gnu.org > > AFAICS, the start of etc/NEWS does not contain any composable > character, just straight ASCII. The contents of NEWS have nothing to do with this, I think. The problematic characters do not come from NEWS, they come from Edebug trying to display a numeric result as a character. At least this is my current theory... > Hmm. I got a reproducible recipe with -Q > > emacs -Q > M-: (setq force-load-messages t) > C-x C-f bug.el ;; the file containing just the defadvice > C-u C-M-x > C-h n > ;; select line 22 > C-x n n Right, now I see it as well (except that, the 1st time I use C-x n n, I need to answer the question about it being disabled; the crash happens the next time I invoke C-x n n). So you can forget about all my requests regarding various values in the crashed frame. Thanks. From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 13:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127177062122417 (code B ref 5973); Tue, 20 Apr 2010 13:37:03 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 13:37:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4DdN-0005pW-5m for submit@debbugs.gnu.org; Tue, 20 Apr 2010 09:37:01 -0400 Received: from mail-bw0-f227.google.com ([209.85.218.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4DdL-0005pP-GP for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 09:37:00 -0400 Received: by bwz27 with SMTP id 27so840636bwz.39 for <5973@debbugs.gnu.org>; Tue, 20 Apr 2010 06:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=mHIx7wnUp1viTVchtCreszc2DoNQGyBRH/l4B1jzup8=; b=lAtu4Zv+8FHmx3Z4amnSVVAM20aVlifm5MzYp/+ngLd93q+Tgnkvkbr+EofB/Ybixa ukbXbkK2QuZugTZbFuiR/fz0KDs0KWMPSN0aL/Hw6EVmsrld5JY4wlX9Gjz/5h0a1Z6T ivai6dMFU8YGOl5N6qLgeuehS+bN64CbaLeZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=eR9UuUJjE5M2DWO5ALOqEzdyabwKXZV65zleALi4T1tBj+YjwwXj7iy6oHW/sKflm+ 2qhgypVQUnvGGqBwo02UMBfmBp3KBwoUWGF4CSzM1O+x1qY71GBdTjsoeNoBih/dC/Dh dh1x/71USQfBTGrohVIlSW0FIHUavMp7wSDwM= MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Tue, 20 Apr 2010 06:36:33 -0700 (PDT) In-Reply-To: <834oj65mr5.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> <83d3xu5txi.fsf@gnu.org> <834oj65mr5.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 20 Apr 2010 15:36:33 +0200 Received: by 10.204.4.135 with SMTP id 7mr153659bkr.99.1271770613346; Tue, 20 Apr 2010 06:36:53 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On Tue, Apr 20, 2010 at 14:31, Eli Zaretskii wrote: > Right, now I see it as well (except that, the 1st time I use C-x n n, > I need to answer the question about it being disabled; Yes, of course. > the crash > happens the next time I invoke C-x n n). Curious. Not so in my case. I answer with and the crash just happens. Juanma From unknown Sat Jun 14 18:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5973: Crash in get_next_display_element Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 5973@debbugs.gnu.org Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127177183823045 (code B ref 5973); Tue, 20 Apr 2010 13:58:02 +0000 Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 13:57:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Dwz-0005ze-Ct for submit@debbugs.gnu.org; Tue, 20 Apr 2010 09:57:17 -0400 Received: from mail-bw0-f227.google.com ([209.85.218.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Dwx-0005zX-Jo for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 09:57:16 -0400 Received: by bwz27 with SMTP id 27so861254bwz.39 for <5973@debbugs.gnu.org>; Tue, 20 Apr 2010 06:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=bjfMaDG/EE72Gl3qL+oh8d+sGBHoIFa/4Es6+uWRwgc=; b=eb4+UtfOgzgQEHj1HwcwXSPXvuucXCI/Kxv21yZV+8dhMR/JZKUzwqbscMtRjSOq9U C+gtmsVW4X+lg3kdfvpsZm3xScrccVjFNRQ6jDdncz+/XHcjXNqCCGaT4EOBrQkAOr8h 1ExJqzO/kyzAV2O/k+P/hZq80Guu0LV8NryVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=pXuQ9AalvIvUVZ7fHfmBlRQf+kt4BvrTytK5OPcXJB8vsmKhyHkRzl5oBCTFtuVsiV VoMzXMMxtEdaa4PTiUSIxQ3iMuYDtAj2ZLXY0W/ucWWgw9BzYgfIv5w8T3dfnvDpknPB 3Wrfy92JWs09ilOX3LGWhxS3HtQ2A0f12dKzw= MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Tue, 20 Apr 2010 06:56:48 -0700 (PDT) In-Reply-To: <834oj65mr5.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> <83d3xu5txi.fsf@gnu.org> <834oj65mr5.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 20 Apr 2010 15:56:48 +0200 Received: by 10.204.146.135 with SMTP id h7mr250438bkv.200.1271771830089; Tue, 20 Apr 2010 06:57:10 -0700 (PDT) Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On Tue, Apr 20, 2010 at 14:31, Eli Zaretskii wrote: > Right, now I see it as well (except that, the 1st time I use C-x n n, > I need to answer the question about it being disabled; the crash > happens the next time I invoke C-x n n). Filed as bug#5984. Juanma From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 23:45:42 2012 Received: (at control) by debbugs.gnu.org; 12 Feb 2012 04:45:42 +0000 Received: from localhost ([127.0.0.1]:36668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwRJl-0003h8-Tv for submit@debbugs.gnu.org; Sat, 11 Feb 2012 23:45:42 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:59309 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwRJk-0003h2-E2 for control@debbugs.gnu.org; Sat, 11 Feb 2012 23:45:41 -0500 Received: from bb121-7-229-69.singnet.com.sg ([121.7.229.69]:49847 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RwRIO-0004xH-T6 for control@debbugs.gnu.org; Sat, 11 Feb 2012 23:44:17 -0500 From: Chong Yidong To: control@debbugs.gnu.org Subject: tags 5973 + unreproducible + moreinfo Date: Sun, 12 Feb 2012 12:44:08 +0800 Message-ID: <87zkcofyp3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) tags 5973 + unreproducible tags 5973 + moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 16 21:44:02 2013 Received: (at control) by debbugs.gnu.org; 17 Feb 2013 02:44:02 +0000 Received: from localhost ([127.0.0.1]:59670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6uET-0002iJ-Kl for submit@debbugs.gnu.org; Sat, 16 Feb 2013 21:44:01 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:59280) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6uES-0002hz-77 for control@debbugs.gnu.org; Sat, 16 Feb 2013 21:44:00 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U6uDc-0001j2-5Y for control@debbugs.gnu.org; Sat, 16 Feb 2013 21:43:08 -0500 Date: Sat, 16 Feb 2013 21:43:08 -0500 Message-Id: Subject: control message for bug 5973 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) close 5973