From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.bugs Subject: bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask Date: Wed, 07 Oct 2015 10:13:31 +0200 Message-ID: References: <83vbaucx7c.fsf@gnu.org> <83fv1xd71j.fsf@gnu.org> <83bncld3vf.fsf@gnu.org> <838u7pd02c.fsf@gnu.org> <837fn9cxe3.fsf@gnu.org> <83k2r8b4rr.fsf@gnu.org> <834mibbstw.fsf@gnu.org> <83k2r79bi5.fsf@gnu.org> <834mi4x7tp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1444205661 5500 80.91.229.3 (7 Oct 2015 08:14:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2015 08:14:21 +0000 (UTC) Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 10:14:11 2015 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 1ZjjrW-0007Ht-Lm for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Oct 2015 10:14:10 +0200 Original-Received: from localhost ([::1]:56145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjjrW-0004v1-3I for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Oct 2015 04:14:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjjrR-0004uq-Su for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 04:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjjrO-0007bw-M3 for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 04:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjjrO-0007bp-Im for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 04:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZjjrO-0003ze-6c for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 04:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rainer M Krug Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2015 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21428 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21428-submit@debbugs.gnu.org id=B21428.144420562215303 (code B ref 21428); Wed, 07 Oct 2015 08:14:02 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 7 Oct 2015 08:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:57750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjjr3-0003yk-HR for submit@debbugs.gnu.org; Wed, 07 Oct 2015 04:13:41 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:33949) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjjr1-0003yc-4D for 21428@debbugs.gnu.org; Wed, 07 Oct 2015 04:13:40 -0400 Original-Received: by wicfx3 with SMTP id fx3so200405798wic.1 for <21428@debbugs.gnu.org>; Wed, 07 Oct 2015 01:13:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=KErs2v7H++DyrCu5VVW5UbVPDQ26bHnAdY+p5aeJXL4=; b=OXAnD+cyTITyfe+IwYIA5zWV8ioRLQGbjqm3p1zNlllnPYC+7vPDr2d2j/rhYrfpdx nR1Frff0RzkofB07Mdeu0XVdD6eGJBEFa0ddUg8ycVkEiWCgcaT7mmtUlG6O0h54lw1u RWg0bvXMpjJuY5uFmDdbRwZhWdXTeRKe0WcaDIAiifbDmVmP3u0/vHzZU2/5ljnlUhYR g2GoZmwvZhLM7kjlaGc+CRFo28ewcz1qN2cUI2hgb/a4t7O1rqb/3KOmj1/YuIE3QzmR 1y8hcCVvTASnGTwQATg2PS+JAanQ25gxTSdd1IZwutMJ5b1Y0moqNBRgaLEdC3aiPuAo 0zTQ== X-Received: by 10.194.80.100 with SMTP id q4mr47259674wjx.113.1444205618355; Wed, 07 Oct 2015 01:13:38 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id fr10sm1445027wib.14.2015.10.07.01.13.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2015 01:13:37 -0700 (PDT) In-Reply-To: <834mi4x7tp.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Oct 2015 19:47:30 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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:107400 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Rainer M Krug >> Cc: 21428@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac= .jp >> Date: Tue, 06 Oct 2015 10:16:22 +0200 >>=20 >> OK - I upgraded the OS and emacs is still crashing (although I think >> less frequent?). >>=20 >> I attach the log and I think we are going somewhere. > > No, I don't think we've made any progress yet. I need to see a > transcript of a session which ends with an assertion violation due to > FACE_FROM_ID returning a NULL pointer. This session 9and the one > before it) ended prematurely, and it did because of this: > > Lisp Backtrace: > Cannot access memory at address 0x2018e20 > > Somehow, GDB was unable to produce a Lisp backtrace for a reason that > evades me. I'm not sure this reason is relevant, so for now, let's > work around it. For your next session, please start GDB from a > directory other than where you have the .gdbinit file that comes with > Emacs sources, and please do NOT issue the 'source' command to read > .gdbinit before you run Emacs under GDB. This should avoid the > problem we see here, and hopefully allow you to continue running until > Emacs hits that assertion violation in get_glyph_face_and_encoding. > When that happens, the last portion of gdb.txt before the assertion > will hopefully tell us what goes on. OK. I updated to ,---- | commit 96973dea40b4214fe645258be81ac19102fb246e `---- and used #+begin_src sh cd ~/ownCompiled/emacs=20 make clean make distclean CFLAGS=3D"-ggdb3 -O0" CXXFLAGS=3D"-ggdb3 -O0" LDFLAGS=3D"-ggdb3" ./config= ure --enable-checking=3D'yes,glyphs' --without-xml2 make -j 6 make install #+end_src to compile. Then: 1) I started emacs under gdb 7.10, 2) loaded all buffers as usual in emacs 3) sourced .gdbinit and your code to enable logging and the additional breakpoints When starting to fold /unfold, a breakpoint is called and the session quit = because of ,---- | Lisp Backtrace: | [New Thread 0x1c3f of process 1855] | Cannot access memory at address 0x2018400 `---- So this does not seem to help. I don't think this matters here - but I have an older version of emacs installed and it is before the new one in the path? I tried running the whole gdb under root, but the same. I tried it with running emacs -Q under gdb and I get the same: ,---- | Lisp Backtrace: | Cannot access memory at address 0x9200 | (gdb) `---- Any suggestions what I could do from here? Rainer > >> I have left the session open so just let me know if you need further >> info. > > Thanks, you can close it and start a new one. =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWFNQvAAoJENvXNx4PUvmCLToH/jNwZMzpGN5xl/D3Kqd1fktX CrrRarnkJeLpNucloDf7J6cAfR5UG0lQ0Yb45PWSnwk5adJzyvLbxbbZB8B8HtDd ENKu8AyDsXsiJwDS1yrDFBKOJ+dSpX2sdFP84bGB2Traz3czZN4YQX0Wr4M67BFY YW/9/jUPFY5sEuvmohAQbzJ97wviBZUC0EcclmszRvcCCIic1jCksB72f4s6Yhjy kbQIqA1Cjb82OMub/qQUTJyTJw404v33oBoRmP5Ied3Q3+2gQfp3V7cKMELArumL FeWKBCa9Dkmsq1GLMcMfJEF+UspTbUDZ7feDMMZrQoNeI9os5+pUPviB+7p7b9I= =AYW8 -----END PGP SIGNATURE----- --=-=-=--