From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stanton Newsgroups: gmane.emacs.bugs Subject: bug#11395: 24.0.96; Sporadic crashing Date: Wed, 16 May 2012 09:48:29 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1337187018 15070 80.91.229.3 (16 May 2012 16:50:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 May 2012 16:50:18 +0000 (UTC) Cc: "11395@debbugs.gnu.org" <11395@debbugs.gnu.org> To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 16 18:50:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SUhQP-0001Jt-FW for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2012 18:50:09 +0200 Original-Received: from localhost ([::1]:47258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUhQO-0000n4-Te for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2012 12:50:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUhQF-0000jk-Ud for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 12:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUhQ9-0000rK-1G for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 12:49:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUhQ8-0000r5-TQ for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 12:49:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SUhQI-0004n6-Ej for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stanton Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 May 2012 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11395 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 11395-submit@debbugs.gnu.org id=B11395.133718696218365 (code B ref 11395); Wed, 16 May 2012 16:50:02 +0000 Original-Received: (at 11395) by debbugs.gnu.org; 16 May 2012 16:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:57945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUhPd-0004m9-Kc for submit@debbugs.gnu.org; Wed, 16 May 2012 12:49:22 -0400 Original-Received: from gateway-b.haas.berkeley.edu ([128.32.222.40]:63833) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUhPH-0004lI-Nb for 11395@debbugs.gnu.org; Wed, 16 May 2012 12:49:19 -0400 X-SBRS: 2.9 X-IronPort-AV: E=Sophos;i="4.75,604,1330934400"; d="scan'208";a="30470077" Original-Received: from lb2-i.haas.berkeley.edu (HELO cas-b.haas.uc.berkeley.edu) ([128.32.222.31]) by gateway-b.haas.berkeley.edu with ESMTP/TLS/RC4-MD5; 16 May 2012 09:48:43 -0700 Original-Received: from EXMAIL7.haas.uc.berkeley.edu ([128.32.222.24]) by cas-b.haas.uc.berkeley.edu ([128.32.222.50]) with mapi; Wed, 16 May 2012 09:48:43 -0700 Thread-Topic: bug#11395: 24.0.96; Sporadic crashing Thread-Index: Ac0zg8Aq/180LTRASjqM8yv6Q9+7Ew== In-Reply-To: <87r4up9a9g.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.1.120420 acceptlanguage: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60073 Archived-At: It just crashed! It took several days for this to show up, and all I was doing at the time was typing text... Here's the backtrace (plus everything else that appeared on the screen after I told it to run Emacs). Please let me know what further information you need. (gdb) r Starting program:=20 /RHS/packages/emacs-24.0.96/nextstep/Emacs.app/Contents/MacOS/Emacs Reading symbols for shared libraries ++++++++++................................................................. .............................................................. done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done May 15 11:27:47 richard-stantons-mac-pro.local Emacs[3609] : CGContextGetCTM: invalid context 0x0 May 15 11:27:47 richard-stantons-mac-pro.local Emacs[3609] : CGContextSetBaseCTM: invalid context 0x0 May 15 12:31:55 richard-stantons-mac-pro.local Emacs[3609] : CGContextGetCTM: invalid context 0x0 May 15 12:31:55 richard-stantons-mac-pro.local Emacs[3609] : CGContextSetBaseCTM: invalid context 0x0 Reading symbols for shared libraries . done May 15 14:55:54 richard-stantons-mac-pro.local Emacs[3609] : CGContextGetCTM: invalid context 0x0 May 15 14:55:54 richard-stantons-mac-pro.local Emacs[3609] : CGContextSetBaseCTM: invalid context 0x0 May 15 14:56:01 richard-stantons-mac-pro.local Emacs[3609] : CGContextGetCTM: invalid context 0x0 May 15 14:56:01 richard-stantons-mac-pro.local Emacs[3609] : CGContextSetBaseCTM: invalid context 0x0 Reading symbols for shared libraries ... done Reading symbols for shared libraries . done Reading symbols for shared libraries ......... done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x00000001001cf0a4 in mem_insert (start=3D0x10fa29010, end=3D0x10fa29088, type=3DMEM_TYPE_VECTORLIKE) at alloc.c:3585 3585 c =3D start < c->start ? c->left : c->right; (gdb) bt #0 0x00000001001cf0a4 in mem_insert (start=3D0x10fa29010, end=3D0x10fa2908= 8, type=3DMEM_TYPE_VECTORLIKE) at alloc.c:3585 #1 0x00000001001cb45e in lisp_malloc (nbytes=3D120, type=3DMEM_TYPE_VECTORLIKE) at alloc.c:918 #2 0x00000001001cde02 in allocate_vectorlike (len=3D13) at alloc.c:2948 #3 0x00000001001cdf22 in allocate_pseudovector (memlen=3D13, lisplen=3D13, tag=3D2097152) at alloc.c:2988 #4 0x0000000100219313 in font_make_spec () at font.c:174 #5 0x0000000100226dbc in copy_font_spec (font=3D4488910229) at font.c:3875 #6 0x00000001002230d6 in font_clear_prop (attrs=3D0x7fff5fbf8740, prop=3DFONT_WEIGHT_INDEX) at font.c:2982 #7 0x000000010011744d in merge_face_vectors (f=3D0x105203fb0, from=3D0x7fff5fbf7eb8, to=3D0x7fff5fbf8740, named_merge_points=3D0x7fff5fbf= 7f60) at xfaces.c:2350 #8 0x0000000100116d89 in merge_named_face (f=3D0x105203fb0, face_name=3D4324754282, to=3D0x7fff5fbf8740, named_merge_points=3D0x7fff5fbf7f60) at xfaces.c:2387 #9 0x0000000100117f37 in merge_face_ref (f=3D0x105203fb0, face_ref=3D4324754282, to=3D0x7fff5fbf8740, err_msgs=3D0, named_merge_points=3D0x7fff5fbf81b0) at xfaces.c:2637 #10 0x0000000100117031 in merge_face_vectors (f=3D0x105203fb0, from=3D0x7fff5fbf8108, to=3D0x7fff5fbf8740, named_merge_points=3D0x7fff5fbf= 81b0) at xfaces.c:2315 #11 0x0000000100116d89 in merge_named_face (f=3D0x105203fb0, face_name=3D4434249458, to=3D0x7fff5fbf8740, named_merge_points=3D0x7fff5fbf81b0) at xfaces.c:2387 #12 0x0000000100117f37 in merge_face_ref (f=3D0x105203fb0, face_ref=3D4434249458, to=3D0x7fff5fbf8740, err_msgs=3D0, named_merge_points=3D0x7fff5fbf8400) at xfaces.c:2637 #13 0x0000000100117031 in merge_face_vectors (f=3D0x105203fb0, from=3D0x7fff5fbf8358, to=3D0x7fff5fbf8740, named_merge_points=3D0x7fff5fbf= 8400) at xfaces.c:2315 #14 0x0000000100116d89 in merge_named_face (f=3D0x105203fb0, face_name=3D4434716402, to=3D0x7fff5fbf8740, named_merge_points=3D0x7fff5fbf8400) at xfaces.c:2387 #15 0x0000000100117f37 in merge_face_ref (f=3D0x105203fb0, face_ref=3D4434716402, to=3D0x7fff5fbf8740, err_msgs=3D1, named_merge_points=3D0x0) at xfaces.c:2637 #16 0x0000000100121b25 in face_at_buffer_position (w=3D0x10168aa70, pos=3D5= 59, region_beg=3D-1, region_end=3D-1, endptr=3D0x7fff5fbf88e8, limit=3D659, mou= se=3D0, base_face_id=3D0) at xfaces.c:6033 #17 0x000000010002eb56 in handle_face_prop (it=3D0x7fff5fbf9c98) at xdisp.c:3593 #18 0x000000010002d751 in handle_stop (it=3D0x7fff5fbf9c98) at xdisp.c:3106 #19 0x000000010003cd0c in next_element_from_buffer (it=3D0x7fff5fbf9c98) at xdisp.c:7721 #20 0x000000010003822a in get_next_display_element (it=3D0x7fff5fbf9c98) at xdisp.c:6414 #21 0x0000000100062de0 in display_line (it=3D0x7fff5fbf9c98) at xdisp.c:190= 38 #22 0x00000001000585eb in try_window (window=3D4318603893, pos=3D{charpos = =3D 1, bytepos =3D 1}, flags=3D1) at xdisp.c:16031 #23 0x0000000100055e71 in redisplay_window (window=3D4318603893, just_this_one_p=3D1) at xdisp.c:15556 #24 0x000000010004e841 in redisplay_window_1 (window=3D4318603893) at xdisp.c:13650 #25 0x00000001001fd520 in internal_condition_case_1 (bfun=3D0x10004e800 , arg=3D4318603893, handlers=3D4320154566, hfun=3D0x10004e740 ) at eval.c:1553 #26 0x000000010004d0d7 in redisplay_internal () at xdisp.c:13275 #27 0x000000010004a379 in redisplay () at xdisp.c:12422 #28 0x000000010012c6e9 in read_char (commandflag=3D1, nmaps=3D5, maps=3D0x7fff5fbfe9c0, prev_event=3D4320145466, used_mouse_menu=3D0x7fff5fbfecd4, end_time=3D0x0) at keyboard.c:2448 #29 0x000000010013e6a2 in read_key_sequence (keybuf=3D0x7fff5fbfef60, bufsize=3D30, prompt=3D4320145466, dont_downcase_last=3D0, can_return_switch_frame=3D1, fix_current_buffer=3D1) at keyboard.c:9328 #30 0x0000000100129952 in command_loop_1 () at keyboard.c:1449 #31 0x00000001001fd385 in internal_condition_case (bfun=3D0x100129440 , handlers=3D4320201578, hfun=3D0x100128980 ) at eval.c:1515 #32 0x0000000100128f4f in command_loop_2 (ignore=3D4320145466) at keyboard.c:1160 #33 0x00000001001fcbc5 in internal_catch (tag=3D4320197578, func=3D0x100128= f20 , arg=3D4320145466) at eval.c:1272 #34 0x0000000100128ed2 in command_loop () at keyboard.c:1139 #35 0x0000000100128309 in recursive_edit_1 () at keyboard.c:759 #36 0x000000010012854d in Frecursive_edit () at keyboard.c:823 #37 0x0000000100125dd0 in main (argc=3D1, argv=3D0x7fff5fbff8c0) at emacs.c:1715 (gdb)=20 On 5/11/12 11:35 PM, "Chong Yidong" wrote: >Richard Stanton writes: > >> Will do. Anything I need to know about running it inside gdb? Also, do >> I need to do anything special to get a backtrace if it crashes? > >Start gdb from the src/ directory of the Emacs directory tree, like >this: > >gdb emacs > >Then type "r" at the gdb prompt to start Emacs. If/when you get a >crash, type "bt" to get the backtrace and report it. Then please keep >the Emacs and gdb window open (it is OK to minimize it) until you hear >back from us, so that we can ask you to do further debugging. > >Thanks.