From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#968: marked as done (23.0.60; CVS Emacs.app crashes randomly) Date: Mon, 24 Nov 2008 20:55:17 -0800 Message-ID: References: <0419D148-710C-48C8-9817-2D323CE8C693@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1227588917-8566-24" X-Trace: ger.gmane.org 1227590005 7059 80.91.229.12 (25 Nov 2008 05:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 05:13:25 +0000 (UTC) To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 06:14:27 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4qE9-00046o-PK for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 06:14:27 +0100 Original-Received: from localhost ([127.0.0.1]:35885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4qCw-0004M4-QT for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 00:11:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4qCT-00049W-1N for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2008 00:11:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4qCR-00048y-IJ for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2008 00:11:00 -0500 Original-Received: from [199.232.76.173] (port=58823 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4qCR-00048l-CV for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2008 00:10:59 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50434) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L4qCO-0002DG-HR for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2008 00:10:58 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAP5AAhm013815; Mon, 24 Nov 2008 21:10:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAP4tHZA009742; Mon, 24 Nov 2008 20:55:17 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 968 X-Emacs-PR-Package: emacs,ns X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22670 Archived-At: This is a multi-part message in MIME format... ------------=_1227588917-8566-24 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 24 Nov 2008 23:46:03 -0500 with message-id <0419D148-710C-48C8-9817-2D323CE8C693@gmail.com> and subject line #1075 - 23.0.60; [NS] wrong number of arguments in call to= ns_free_indexed_color - Emacs bug report logs has caused the Emacs bug report #1075, regarding 23.0.60; CVS Emacs.app crashes randomly to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1075: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1075 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1227588917-8566-24 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.1 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_SEX_L2,MURPHY_WRONG_WORD2,PHONENUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Sep 2008 06:50:44 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8C6od3h029231 for ; Thu, 11 Sep 2008 23:50:40 -0700 Received: from mx10.gnu.org ([199.232.76.166]:37648) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ke2SX-0001un-Cm for emacs-pretest-bug@gnu.org; Fri, 12 Sep 2008 02:48:49 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ke2UE-0005ka-VG for emacs-pretest-bug@gnu.org; Fri, 12 Sep 2008 02:50:38 -0400 Received: from mx20.gnu.org ([199.232.41.8]:28457) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ke2UE-0005kO-Bo for emacs-pretest-bug@gnu.org; Fri, 12 Sep 2008 02:50:34 -0400 Received: from mail-gx0-f12.google.com ([209.85.217.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ke2UC-00059P-Ac for emacs-pretest-bug@gnu.org; Fri, 12 Sep 2008 02:50:32 -0400 Received: by gxk5 with SMTP id 5so18178299gxk.18 for ; Thu, 11 Sep 2008 23:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:message-id:from:to :subject; bh=+ISUXK3nwsF5iYquXvQksgEcGZEwOGIum14x/K03GT8=; b=oDRNLoc2NmPVhg8AsbU1B9PRhDiv2I2uxOl6TuMC9FCbisHEvG+fgWMXdec8QTyaET xpuiG/Aw3h6M0bwbczxhbUdXGks+qnFJrJcytOUVXUTl5Bbty2m8JZYMeBjB5KcDXjSR hLcUdHW3/P1Lq2k9Hzf9a7aXR1gsg4SotOIKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:from:to:subject; b=JSvRXy4QGTpfR17hBMmpVIBGQ6aWA3deIEzG049jQs+prPpQKRhuXYNAgoFjeJ8U/T Pl4o6f51mKC+iKjqW3CUJFo4D7Jikp6rUrHeXcqizAvtaNdKk0vDFIPhgchSL/FnAKBv 3JO4auOS8bapPlbW8jvffqL2R0yrpRfiQ+8B4= Received: by 10.151.141.8 with SMTP id t8mr5423771ybn.231.1221202230731; Thu, 11 Sep 2008 23:50:30 -0700 (PDT) Received: from baggio.local ( [66.108.116.141]) by mx.google.com with ESMTPS id 5sm13097371ywd.8.2008.09.11.23.50.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Sep 2008 23:50:29 -0700 (PDT) Date: Fri, 12 Sep 2008 02:50:25 -0400 Message-Id: From: pat.maddox@gmail.com To: emacs-pretest-bug@gnu.org Subject: 23.0.60; CVS Emacs.app crashes randomly X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Emacs.app randomly crashes on me when in normal use. I can be editing code, using gnus, or simply composing an email. It's happened when I try to save a file, when I switch to emacs from another app, or when I hit return a couple times. So it just seems to happen randomly. It doesn't hang, it just exits immediately (without prompting me to save any files) When I run it in gdb, instead of crashing instantly, it hangs. I assume this is the point where the crash usually happens, but gdb is preventing it from quitting entirely. Here's the message I see in gdb when it crashes: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000070 ns_free_indexed_color (idx=0, f=0x0) at nsterm.m:1302 1302 struct ns_color_table *color_table = FRAME_NS_DISPLAY_INFO (f)->color_table; *********************************** ** Output of 'bt full' (gdb) bt full #0 ns_free_indexed_color (idx=0, f=0x3a) at nsterm.m:1302 color_table = #1 0x0018917a in x_clear_image_1 (f=, img=0x2ebc2c0, pixmap_p=, mask_p=1, colors_p=1) at image.c:1627 No locals. #2 0x00188bd3 in free_image (f=0x0, img=0x2ebc2c0) at image.c:1322 c = (struct image_cache *) 0x2e11280 #3 0x0018951b in clear_image_cache (f=0x8a0510, filter=25165833) at image.c:1836 img = (struct image *) 0x2ebc2c0 t = { tv_sec = 1221201734, tv_usec = 151573 } old = 1221199934 i = 0 nfreed = 0 c = (struct image_cache *) 0x2e11280 #4 0x001895f6 in clear_image_caches (filter=25165833) at image.c:1873 tail = 4055040 #5 0x00036378 in redisplay_internal (preserve_echo_area=) at xdisp.c:11981 w = (struct window *) 0x8a0690 f = pause = 0 must_finish = 1 tlbufpos = { charpos = 1, bytepos = 25328521 } number_of_visible_frames = 1 polling_stopped_here = 1 old_frame = 9045268 consider_all_windows_p = #6 0x0009c6cc in read_char (commandflag=1, nmaps=7, maps=0xbffff210, prev_event=25165833, used_mouse_menu=0xbffff318, end_time=0x0) at keyboard.c:2649 echo_current = 1 c = 25165833 count = jmpcount = 25193345 local_getcjmp = {25165833, 594240, 25165833, 717563, 1408420, 80, 426214788, -1073745496, 1408757, 426214784, 80, 99, 965706, 966718, 25253257, -1073745544, 33359185, -1073745524} save_jump = {25193345, 426214788, 594257, 56713426, -1073745284, -1073745640, 1064427, 25278009, 25278008, -1073745608, 1064739, 25278009, 25165833, 426214784, 1, -1073745504, 3466748, 25165833} key_already_recorded = 0 tem = save = previous_echo_area_message = 25165833 also_record = 25165833 reread = 0 polling_stopped_here = orig_kboard = (struct kboard *) 0x83dec0 #7 0x0009f124 in read_key_sequence (keybuf=0xbffff3d8, bufsize=30, prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9340 interrupted_kboard = (KBOARD *) 0x83dec0 key = 0 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 25165833 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 7 nmaps_allocated = 7 defs = (Lisp_Object * volatile) 0xbffff1e0 submaps = (Lisp_Object * volatile) 0xbffff210 orig_local_map = 20866517 orig_keymap = 25165833 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 8031565, map = 8031565, start = 0, end = 0 } keytran = { parent = 4140925, map = 4140925, start = 0, end = 0 } indec = { parent = 8031573, map = 8031573, start = 0, end = 0 } shift_translated = 0 delayed_switch_frame = 25165833 original_uppercase = 3202432 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x19678580 fake_prefixed_keys = 25165833 #8 0x000a164a in command_loop_1 () at keyboard.c:1621 cmd = lose = nonundocount = 0 keybuf = {104, 384, 3467432, 25165833, -1073744792, 622864, 50056877, -1073744866, -1073744840, -1880941348, 4055049, 152, -1073744866, 25165833, 17, 9, 0, -1895817508, 5258902, 1, -1073744776, -1773935801, 50389008, 0, -1073744820, -1073745008, 0, 3866624, 25165833, 33429633} i = 1 prev_modiff = 22 prev_buffer = (struct buffer *) 0x19678580 already_adjusted = 0 #9 0x0010382d in internal_condition_case (bfun=0xa1410 , handlers=25205497, hfun=0x98030 ) at eval.c:1511 val = c = { tag = 25165833, val = 25165833, next = 0xbffff58c, gcpro = 0x0, jmp = {-1073806465, -1880940836, 8098, 1062715, 25165833, 25165833, 3466684, 3466748, -1073744600, -1073744784, 31, 658, 1062858, 1245207, 3407903, 3407903, -1073807360, -1073807305}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 25205497, var = 25165833, chosen_clause = 25165881, tag = 0xbffff488, next = 0x0 } #10 0x00091528 in command_loop_2 () at keyboard.c:1338 val = 58 #11 0x0010370c in internal_catch (tag=58, func=0x914e0 , arg=25165833) at eval.c:1247 c = { tag = 25201569, val = 25165833, next = 0x0, gcpro = 0x0, jmp = {-1773993089, 0, 8098, 1062505, -1773935635, 22000, 3466816, 3466748, -1073744376, -1073744528, 25296927, 658, 1062655, 25296919, 25296927, 25165855, 5242880, 3997751}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #12 0x0009127e in command_loop () at keyboard.c:1317 No locals. #13 0x00091342 in recursive_edit_1 () at keyboard.c:942 val = #14 0x000914c1 in Frecursive_edit () at keyboard.c:1004 buffer = 25165833 #15 0x0009015b in main (argc=1, argv=0xbffff7d8) at emacs.c:1693 dummy = 0 stack_bottom_variable = 0 '\000' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 67104768 } no_loadup = 0 junk = 0x0 Current language: auto; currently objective-c In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0) of 2008-09-09 on baggio.local Windowing system distributor `Apple', version 49.46.48 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: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t yas/minor-mode: t window-number-meta-mode: t window-number-mode: t show-paren-mode: t global-auto-revert-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f m y n u g n u y M-x e v a l - b u f M-x r e p o r - e m Recent messages: Loading /Users/pergesu/.emacs.d/site-lisp/textmate.el (source)...done Loading /Users/pergesu/.emacs.d/my-textmate.el (source)...done Ido mode enabled For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-git...done Symbolic link to Git-controlled source file; follow link? (y or n) Loading /Users/pergesu/myconfig/.emacs-project...done Followed link to /Users/pergesu/myconfig/dot.gnus.el Loading /Users/pergesu/.emacs.private.d/smtp-account-info.el (source)...done Making completion list... ------------=_1227588917-8566-24 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1075-done) by emacsbugs.donarmstrong.com; 25 Nov 2008 04:46:23 +0000 Received: from smtprelay.b.hostedemail.com (smtprelay0187.b.hostedemail.com [64.98.42.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAP4kKc8007174 for <1075-done@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 20:46:21 -0800 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay05.b.hostedemail.com (Postfix) with SMTP id E093AD9D62A for <1075-done@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 04:46:19 +0000 (UTC) X-SpamScore: 1 Received: from [10.0.1.198] (unknown [72.169.150.82]) (Authenticated sender: arobert@hughes.net) by omf08.b.hostedemail.com (Postfix) with ESMTP for <1075-done@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 04:46:15 +0000 (UTC) Message-Id: <0419D148-710C-48C8-9817-2D323CE8C693@gmail.com> From: Adrian Robert To: 1075-done@emacsbugs.donarmstrong.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: #1075 - 23.0.60; [NS] wrong number of arguments in call to ns_free_indexed_color - Emacs bug report logs Date: Mon, 24 Nov 2008 23:46:03 -0500 X-Mailer: Apple Mail (2.929.2) X-session-marker: 61726F62657274406875676865732E6E6574 I am closing this bug. The call to ns_free_indexed_color() in x_clear_image_1() (image.c:1625) had no business being there -- that color is not indexed, but a long RGB value derived from four_corners_best() or x_alloc_image_color() (which eventually calls ns_defined_color() with makeIndex=0). I checked in a removal as of 11/24, after closer examination prompted by yet another posting bug #1362. Hopefully this is the end of this! ------------=_1227588917-8566-24--