Subject: bug#28181: 26.0.50; emacs master segfaults on make-network-process, embedded device nokia n900

From: Eli Zaretskii <[email-masked]>
Date: Wed, 23 Aug 2017 20:20:26 +0300

> From: andrés ramírez <[email-masked]>
> Cc: [email-masked]
> 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.