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#28181: 26.0.50; emacs master segfaults on make-network-process, embedded device nokia n900 Date: Wed, 23 Aug 2017 20:20:26 +0300 Message-ID: <838tia9p5x.fsf@gnu.org> References: <83wp5vabu3.fsf@gnu.org> <87pobnbc1f.fsf@chulpaca> <83d17n9fpu.fsf@gnu.org> <87o9r7aqg6.fsf@chulpaca> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1503508885 14054 195.159.176.226 (23 Aug 2017 17:21:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2017 17:21:25 +0000 (UTC) Cc: 28181@debbugs.gnu.org To: =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 23 19:21:19 2017 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 1dkZL1-0002fr-Mx for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Aug 2017 19:21:07 +0200 Original-Received: from localhost ([::1]:44929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkZL6-00033X-No for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Aug 2017 13:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkZL0-00033K-F4 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 13:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkZKw-00083G-6c for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 13:21:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkZKw-000838-2I for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 13:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dkZKv-0008Cv-P6 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 13:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Aug 2017 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 28181-submit@debbugs.gnu.org id=B28181.150350885531527 (code B ref 28181); Wed, 23 Aug 2017 17:21:01 +0000 Original-Received: (at 28181) by debbugs.gnu.org; 23 Aug 2017 17:20:55 +0000 Original-Received: from localhost ([127.0.0.1]:51633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkZKn-0008CP-7m for submit@debbugs.gnu.org; Wed, 23 Aug 2017 13:20:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkZKl-0008CC-Nv for 28181@debbugs.gnu.org; Wed, 23 Aug 2017 13:20:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkZKc-0007bD-Dk for 28181@debbugs.gnu.org; Wed, 23 Aug 2017 13:20:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkZKc-0007b7-7y; Wed, 23 Aug 2017 13:20:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3676 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dkZKb-0000P4-I2; Wed, 23 Aug 2017 13:20:41 -0400 In-reply-to: <87o9r7aqg6.fsf@chulpaca> (message from =?UTF-8?Q?andr=C3=A9s_?= =?UTF-8?Q?ram=C3=ADrez?= on Tue, 22 Aug 2017 21:55:05 -0600) 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:136106 Archived-At: > From: andrés ramírez > Cc: 28181@debbugs.gnu.org > Date: Tue, 22 Aug 2017 21:55:05 -0600 > > > By "same backtrace" do you mean GDB again says "no symbols"? > > Yes. > > > > Did you install the built Emacs, and if so, did you perhaps use "make > > install-strip" to do that? > > No. > this is the complete procedure: > 1. git clone --depth=1 https://github.com/emacs-mirror/emacs (on a quicker machine) > 2. autoreconf -i -I m4 --force; make bootstrap; ./make-dist --snapshot --no-compress --no-changelog > 3. compile on embedded device (with tar generated on step 2) > CFLAGS="-g -O0" ../configure --without-gconf --with-xft --without-xwidgets --with-xpm=no --with-gif=no --without-selinux --disable-acl --with-gnutls=no --with-x-toolkit=no --without-pop > make > 4. gdb --args ./src/emacs -Q Then how do you know the problem was in process.c? The backtrace you've shown stops before it gets to Emacs sources. Maybe try "thread apply all bt" instead of just "bt", you may have shown backtrace for a non-main thread.