From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Mattner Newsgroups: gmane.emacs.devel Subject: Re: C-g crash in C-x C-f (OSX Lion) Date: Fri, 16 Dec 2011 22:49:49 +0100 Message-ID: References: <4EEB48B2.9090602@swipnet.se> <83liqc1tac.fsf@gnu.org> <83fwgk1atk.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324072201 6785 80.91.229.12 (16 Dec 2011 21:50:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 21:50:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 22:49:57 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbffA-0007M0-Q5 for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2011 22:49:56 +0100 Original-Received: from localhost ([::1]:59348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbff9-0004mA-Op for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2011 16:49:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbff7-0004m5-74 for emacs-devel@gnu.org; Fri, 16 Dec 2011 16:49:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rbff6-0006Oe-Ae for emacs-devel@gnu.org; Fri, 16 Dec 2011 16:49:53 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:63585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbff4-0006OP-Rr; Fri, 16 Dec 2011 16:49:51 -0500 Original-Received: by ggni2 with SMTP id i2so3832647ggn.0 for ; Fri, 16 Dec 2011 13:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6mVDJ0vXnYexzItp6IiZ87fOBj1xVKumXDNDRy+vf+c=; b=LSu7HzGQQHlQwkXb1nSDSC24hsAaxU2aIzgfEZKNcWTtmqxPQNxAbHonu3/bEh81JH xjWt8/k+3ElaYRoIyirhlIPz2Or60+7qnhm/+oV3ahujY+0ODzVBmvXpI3MxrSY6Vw1u CZai4iehZ0PYN6hh1n+tYwy1/+WnZWRkGZUUs= Original-Received: by 10.50.196.163 with SMTP id in3mr10938946igc.53.1324072189534; Fri, 16 Dec 2011 13:49:49 -0800 (PST) Original-Received: by 10.50.6.165 with HTTP; Fri, 16 Dec 2011 13:49:49 -0800 (PST) In-Reply-To: <83fwgk1atk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146756 Archived-At: On Fri, Dec 16, 2011 at 10:11 PM, Eli Zaretskii wrote: >> Date: Fri, 16 Dec 2011 21:19:19 +0100 >> From: Carsten Mattner >> Cc: emacs-devel@gnu.org >> >> > #0 =A00x9adc5d50 in strlen () >> > #1 =A00x001e7601 in intern (str=3D0x0) at lread.c:3707 >> > #2 =A00x00283efb in ns_string_to_symbol (t=3D0x0) at nsselect.m:86 >> > #3 =A00x002847ab in ns_handle_selection_request (event=3D0xbfffef88) a= t >> > nsselect.m:247 >> > >> > vs the below with with the terminal frontend. >> > >> > Next I will not load evil-mode and see what happens. >> >> Can these crashes happen due to enabled assertions? > > No. =A0Emacs crashes because it tries to compute the length of a string > specified by a NULL pointer. =A0It looks like this happens due to a > selection request, but when that request is handled, Emacs tries to > intern a name that is a NULL string. For the record, I'm not sure this is the original crash I reported that happened in the mini-buffer. If I enable evil-mode I can reliably make it crash by pressing v and then navigating with say } and making a selection.