unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22136: [osx] core dump while building emacs-25
@ 2015-12-10  4:20 Alex Dunn
  2015-12-10 16:19 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Dunn @ 2015-12-10  4:20 UTC (permalink / raw)
  To: 22136


`make -C ../lisp update-subdirs` on the emacs-25 branch has been
reliably causing a core dump the past two or three days.  Here are the
build logs: https://gist.github.com/dunn/ff087e9b533d373ab10b#file-03-make-L568

It doesn’t cause the build to fail (except for when I made some changes
to the source tree that I can’t reproduce; logs here if anyone’s
interested: https://gist.github.com/dunn/43f10877f11c97ab28f0#file-03-make-L291) so
I don’t know how serious an issue this is.  It occurs with -j1 and -j4,
with Clang and with GCC 5.3.0.

System config included in the logs, but for the sake of convenience:

CPU: quad-core 64-bit haswell
OS X: 10.11.2-x86_64
Xcode: 7.1.1
CLT: 7.2.0.0.1.1447826929

🌲  clang -v
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.2.0
Thread model: posix

🌲  gcc-5 -v
Using built-in specs.
COLLECT_GCC=gcc-5
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/5.3.0/libexec/gcc/x86_64-apple-darwin15.0.0/5.3.0/lto-wrapper
Target: x86_64-apple-darwin15.0.0
Configured with: ../configure --build=x86_64-apple-darwin15.0.0 --prefix=/usr/local/Cellar/gcc/5.3.0 --libdir=/usr/local/Cellar/gcc/5.3.0/lib/gcc/5 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-5 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew gcc 5.3.0' --with-bugurl=https://github.com/Homebrew/homebrew/issues --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 5.3.0 (Homebrew gcc 5.3.0)

If there’s any necessary information I’m forgetting please let me know.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2015-12-10  4:20 bug#22136: [osx] core dump while building emacs-25 Alex Dunn
@ 2015-12-10 16:19 ` Eli Zaretskii
  2015-12-12  7:48   ` Alex Dunn
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2015-12-10 16:19 UTC (permalink / raw)
  To: Alex Dunn; +Cc: 22136

> From: Alex Dunn <dunn.alex@gmail.com>
> Date: Wed, 09 Dec 2015 20:20:44 -0800
> 
> 
> `make -C ../lisp update-subdirs` on the emacs-25 branch has been
> reliably causing a core dump the past two or three days.  Here are the
> build logs: https://gist.github.com/dunn/ff087e9b533d373ab10b#file-03-make-L568
> 
> It doesn’t cause the build to fail (except for when I made some changes
> to the source tree that I can’t reproduce; logs here if anyone’s
> interested: https://gist.github.com/dunn/43f10877f11c97ab28f0#file-03-make-L291) so
> I don’t know how serious an issue this is.  It occurs with -j1 and -j4,
> with Clang and with GCC 5.3.0.

Can you show the core dump itself, i.e. what command dumps core?
Also, a backtrace from GDB would be useful.  I looked at the data you
linked to, and I cannot see there any information about the crash
itself.

Thanks.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2015-12-10 16:19 ` Eli Zaretskii
@ 2015-12-12  7:48   ` Alex Dunn
  2015-12-12  7:58     ` Eli Zaretskii
  2016-05-18 20:19     ` Alan Third
  0 siblings, 2 replies; 8+ messages in thread
From: Alex Dunn @ 2015-12-12  7:48 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 22136


Haven’t forgotten about this, but it’s new territory for me and
apparently capturing core dumps isn’t as straightforward as it should be
on OSX.  Or I’m just confused; but either way I’ll figure it out when I
can.

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Alex Dunn <dunn.alex@gmail.com>
>> Date: Wed, 09 Dec 2015 20:20:44 -0800
>> 
>> 
>> `make -C ../lisp update-subdirs` on the emacs-25 branch has been
>> reliably causing a core dump the past two or three days.  Here are the
>> build logs: https://gist.github.com/dunn/ff087e9b533d373ab10b#file-03-make-L568
>> 
>> It doesn’t cause the build to fail (except for when I made some changes
>> to the source tree that I can’t reproduce; logs here if anyone’s
>> interested: https://gist.github.com/dunn/43f10877f11c97ab28f0#file-03-make-L291) so
>> I don’t know how serious an issue this is.  It occurs with -j1 and -j4,
>> with Clang and with GCC 5.3.0.
>
> Can you show the core dump itself, i.e. what command dumps core?
> Also, a backtrace from GDB would be useful.  I looked at the data you
> linked to, and I cannot see there any information about the crash
> itself.
>
> Thanks.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2015-12-12  7:48   ` Alex Dunn
@ 2015-12-12  7:58     ` Eli Zaretskii
  2015-12-15  1:56       ` John Wiegley
  2016-05-18 20:19     ` Alan Third
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2015-12-12  7:58 UTC (permalink / raw)
  To: Alex Dunn; +Cc: 22136

> From: Alex Dunn <dunn.alex@gmail.com>
> Cc: 22136@debbugs.gnu.org
> Date: Fri, 11 Dec 2015 23:48:20 -0800
> 
> Haven’t forgotten about this, but it’s new territory for me and
> apparently capturing core dumps isn’t as straightforward as it should be
> on OSX.  Or I’m just confused; but either way I’ll figure it out when I
> can.

Just run the crashing command under GDB, and when it crashes produce a
backtrace.

Thanks.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2015-12-12  7:58     ` Eli Zaretskii
@ 2015-12-15  1:56       ` John Wiegley
  0 siblings, 0 replies; 8+ messages in thread
From: John Wiegley @ 2015-12-15  1:56 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Alex Dunn, 22136

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

> Just run the crashing command under GDB, and when it crashes produce a
> backtrace.

Or, depending on your Xcode version, using lldb. The same commands should
apply.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2015-12-12  7:48   ` Alex Dunn
  2015-12-12  7:58     ` Eli Zaretskii
@ 2016-05-18 20:19     ` Alan Third
  2016-05-19 13:27       ` Alex Dunn
  1 sibling, 1 reply; 8+ messages in thread
From: Alan Third @ 2016-05-18 20:19 UTC (permalink / raw)
  To: Alex Dunn; +Cc: 22136

Alex Dunn <dunn.alex@gmail.com> writes:

> Haven’t forgotten about this, but it’s new territory for me and
> apparently capturing core dumps isn’t as straightforward as it should be
> on OSX.  Or I’m just confused; but either way I’ll figure it out when I
> can.

Hi, did you get anywhere with this?
-- 
Alan Third





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2016-05-18 20:19     ` Alan Third
@ 2016-05-19 13:27       ` Alex Dunn
  2016-05-21  7:38         ` Alan Third
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Dunn @ 2016-05-19 13:27 UTC (permalink / raw)
  To: Alan Third; +Cc: 22136

Afraid I didn’t; but I haven’t noticed it occuring on recent builds of
the emacs-25 branch, so it may have been fixed.

Alan Third <alan@idiocy.org> writes:

> Alex Dunn <dunn.alex@gmail.com> writes:
>
>> Haven’t forgotten about this, but it’s new territory for me and
>> apparently capturing core dumps isn’t as straightforward as it should be
>> on OSX.  Or I’m just confused; but either way I’ll figure it out when I
>> can.
>
> Hi, did you get anywhere with this?
> -- 
> Alan Third





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22136: [osx] core dump while building emacs-25
  2016-05-19 13:27       ` Alex Dunn
@ 2016-05-21  7:38         ` Alan Third
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Third @ 2016-05-21  7:38 UTC (permalink / raw)
  To: Alex Dunn; +Cc: 22136-done

On Thu, May 19, 2016 at 06:27:57AM -0700, Alex Dunn wrote:
> Afraid I didn’t; but I haven’t noticed it occuring on recent builds of
> the emacs-25 branch, so it may have been fixed.

Since I can't reproduce it, and you don't seem to be getting it any
more I'll mark this bug report as closed. If it does reoccur you can
either then reopen this bug, or create a new one.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-21  7:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-10  4:20 bug#22136: [osx] core dump while building emacs-25 Alex Dunn
2015-12-10 16:19 ` Eli Zaretskii
2015-12-12  7:48   ` Alex Dunn
2015-12-12  7:58     ` Eli Zaretskii
2015-12-15  1:56       ` John Wiegley
2016-05-18 20:19     ` Alan Third
2016-05-19 13:27       ` Alex Dunn
2016-05-21  7:38         ` Alan Third

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).