From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24640: Crashes in 25.1 Date: Sat, 08 Oct 2016 08:53:58 +0300 Message-ID: <83int3idxl.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1475906131 18160 195.159.176.226 (8 Oct 2016 05:55:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2016 05:55:31 +0000 (UTC) Cc: 24640@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 08 07:55:27 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bskbK-0002Y3-KT for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2016 07:55:14 +0200 Original-Received: from localhost ([::1]:39420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bskbJ-0005yL-4s for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2016 01:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bskbD-0005xL-Mw for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 01:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bskb8-0001pk-QW for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 01:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bskb8-0001pg-N5 for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 01:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bskb8-0003Lu-Du for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 01:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2016 05:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24640-submit@debbugs.gnu.org id=B24640.147590604512816 (code B ref 24640); Sat, 08 Oct 2016 05:55:02 +0000 Original-Received: (at 24640) by debbugs.gnu.org; 8 Oct 2016 05:54:05 +0000 Original-Received: from localhost ([127.0.0.1]:48220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bskaD-0003Kc-7e for submit@debbugs.gnu.org; Sat, 08 Oct 2016 01:54:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bskaB-0003K6-Jk for 24640@debbugs.gnu.org; Sat, 08 Oct 2016 01:54:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bska1-000148-FY for 24640@debbugs.gnu.org; Sat, 08 Oct 2016 01:53:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bska1-00013n-CA; Sat, 08 Oct 2016 01:53:53 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2327 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bskZy-0008Cc-P4; Sat, 08 Oct 2016 01:53:51 -0400 In-reply-to: (message from Reuben Thomas on Sat, 8 Oct 2016 00:12:26 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:124187 Archived-At: > From: Reuben Thomas > Date: Sat, 8 Oct 2016 00:12:26 +0100 > > In both cases, the crash occurs while Emacs is lazy-loading my desktop. What does "lazy-loading" mean in this context? > I can't tell exactly what it's doing, but it appears to be about the > same place each time. If you run Emacs under GDB, and source the src/.gdbinit file provided in the source tree, the backtrace command will automatically try to produce a Lisp-level backtrace as well. That could be helpful. This string in the 1st backtrace you show could help figure out what form was being evaluated: #41 0x000000000059af2d in read_process_output (coding=0x53b3920, nbytes=652, chars=0x7fff0376eaa0 "Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\\begin{ <-- HERE tex}(.*?)\\\\end{tex}/ at /usr/bin/texify line 521.\nUnescaped left brace in regex is depre"..., p=0x287) at process.c:5440 The SIGSEGV happens here: nextsym: if (ptr->gcmarkbit) <<<<<<<<<<<<<<<<<< break; So the value of 'ptr' there (frame 20 in the 1st backtrace) is of interest. > ​I tried ​building the current emacs-25 branch with ./configure --with-xwidgets --with-cairo --with-modules, I get > a different crash: > [...] > #6 0x00007f1fd486a3d0 in () at /lib/x86_64-linux-gnu/libpthread.so.0 > #7 0x000000000056dd24 in sxhash (y=, > x=0) at lisp.h:2025 > #8 0x000000000056dd24 in sxhash (len=, ptr=) at fns.c:4246 This part of the backtrace, right before the SIGSEGV, makes no sense: the code at line 2025 of lisp.h does bitwise operations on scalar values, and y is one such scalar value. Please build without optimizations, that would make the backtraces more reliable and detailed. Was the Ubuntu package also compiled with Cairo? (I cannot figure out the build details from the URL you provided, and your report lacks the details collected by "M-x report-emacs-bug".) If so, please try building without Cairo, as that option is not yet recommended for prime time. Thanks.