* bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el
@ 2013-12-17 2:50 Dmitry Gutov
2013-12-18 1:26 ` Glenn Morris
2014-12-14 11:26 ` Dmitry Gutov
0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Gutov @ 2013-12-17 2:50 UTC (permalink / raw)
To: 16174
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
This is the second time I've encountered this now.
When compiling Emacs, it crashes at this exact same file. Restarting
compilation or 'make bootsrap' doesn't fix it, but rebooting the
machine does.
Also, this time around I tried to recompile it with CFLAGS="-Og -g3",
and the crash also went away.
Attached are the relevant piece of the compilation output, and the
result of running it though sed+addr2line.
No idea how to catch this crash in gdb, suggestions welcome.
In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
of 2013-12-17 on axl
Bzr revision: 115560 dgutov@yandex.ru-20131217013155-rxckr8h7sndgdlfd
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
System Description: Ubuntu 13.10
[-- Attachment #2: make_output.txt --]
[-- Type: text/plain, Size: 1543 bytes --]
Wrote /home/gutov/emacs-bzr/trunk/lisp/cedet/srecode/semantic.elc
Compiling cedet/srecode/srt.el
Wrote /home/gutov/emacs-bzr/trunk/lisp/cedet/srecode/srt.elc
Compiling cedet/srecode/srt-mode.el
Backtrace:
../src/emacs[0x4efacb]
../src/emacs[0x4d688e]
../src/emacs[0x4eea3e]
../src/emacs[0x4eec43]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0)[0x2aef309f5bb0]
../src/emacs[0x52e244]
../src/emacs[0x52e76e]
../src/emacs[0x52e29f]
../src/emacs[0x52ec94]
../src/emacs[0x546b32]
../src/emacs[0x57ab2d]
../src/emacs[0x546227]
../src/emacs[0x5494d9]
../src/emacs[0x57bb3d]
../src/emacs[0x5467ef]
../src/emacs[0x546b5b]
../src/emacs[0x57ab2d]
../src/emacs[0x5467ef]
../src/emacs[0x546b5b]
../src/emacs[0x546eaf]
../src/emacs[0x508dc4]
../src/emacs[0x546cfc]
../src/emacs[0x57ab2d]
../src/emacs[0x5467ef]
../src/emacs[0x546b5b]
../src/emacs[0x5487f9]
../src/emacs[0x569a91]
../src/emacs[0x553322]
../src/emacs[0x546227]
../src/emacs[0x568d1a]
../src/emacs[0x569cde]
../src/emacs[0x546cfc]
../src/emacs[0x57ab2d]
../src/emacs[0x5467ef]
../src/emacs[0x546b5b]
../src/emacs[0x5487f9]
../src/emacs[0x569a91]
../src/emacs[0x553322]
../src/emacs[0x546d28]
../src/emacs[0x54814a]
../src/emacs[0x546c3a]
...
make[3]: *** [cedet/srecode/srt-mode.elc] Segmentation fault (core dumped)
make[3]: Leaving directory `/home/gutov/emacs-bzr/trunk/lisp'
make[2]: *** [compile-main] Error 2
make[2]: Leaving directory `/home/gutov/emacs-bzr/trunk/lisp'
make[1]: *** [lisp] Error 2
make[1]: Leaving directory `/home/gutov/emacs-bzr/trunk'
make: *** [bootstrap] Error 2
[-- Attachment #3: Type: text/plain, Size: 6 bytes --]
;;;
[-- Attachment #4: backtrace_addr2line.txt --]
[-- Type: text/plain, Size: 2530 bytes --]
emacs_backtrace
/home/gutov/emacs-bzr/trunk/src/sysdep.c:2114
terminate_due_to_signal
/home/gutov/emacs-bzr/trunk/src/emacs.c:372
handle_fatal_signal
/home/gutov/emacs-bzr/trunk/src/sysdep.c:1628
deliver_fatal_thread_signal
/home/gutov/emacs-bzr/trunk/src/sysdep.c:1602
??
??:0
mark_object
/home/gutov/emacs-bzr/trunk/src/alloc.c:5954
mark_vectorlike
/home/gutov/emacs-bzr/trunk/src/alloc.c:5751 (discriminator 2)
mark_object
/home/gutov/emacs-bzr/trunk/src/alloc.c:6099
mark_memory
/home/gutov/emacs-bzr/trunk/src/alloc.c:4601
mark_stack
/home/gutov/emacs-bzr/trunk/src/alloc.c:4839
Fgarbage_collect
/home/gutov/emacs-bzr/trunk/src/alloc.c:5512
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2758
exec_byte_code
/home/gutov/emacs-bzr/trunk/src/bytecode.c:919
eval_sub
/home/gutov/emacs-bzr/trunk/src/eval.c:2181
internal_lisp_condition_case
/home/gutov/emacs-bzr/trunk/src/eval.c:1314
exec_byte_code
/home/gutov/emacs-bzr/trunk/src/bytecode.c:1169
funcall_lambda
/home/gutov/emacs-bzr/trunk/src/eval.c:3039
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2866
exec_byte_code
/home/gutov/emacs-bzr/trunk/src/bytecode.c:919
funcall_lambda
/home/gutov/emacs-bzr/trunk/src/eval.c:3039
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2866
call2
/home/gutov/emacs-bzr/trunk/src/eval.c:2620
Finsert_file_contents
/home/gutov/emacs-bzr/trunk/src/fileio.c:4220
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2824
exec_byte_code
/home/gutov/emacs-bzr/trunk/src/bytecode.c:919
funcall_lambda
/home/gutov/emacs-bzr/trunk/src/eval.c:3039
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2866
call4
/home/gutov/emacs-bzr/trunk/src/eval.c:2654
Fload
/home/gutov/emacs-bzr/trunk/src/lread.c:1296 (discriminator 2)
Frequire
/home/gutov/emacs-bzr/trunk/src/fns.c:2659 (discriminator 6)
eval_sub
/home/gutov/emacs-bzr/trunk/src/eval.c:2181
readevalloop
/home/gutov/emacs-bzr/trunk/src/lread.c:1889
Feval_buffer
/home/gutov/emacs-bzr/trunk/src/lread.c:1950 (discriminator 3)
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2824
exec_byte_code
/home/gutov/emacs-bzr/trunk/src/bytecode.c:919
funcall_lambda
/home/gutov/emacs-bzr/trunk/src/eval.c:3039
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2866
call4
/home/gutov/emacs-bzr/trunk/src/eval.c:2654
Fload
/home/gutov/emacs-bzr/trunk/src/lread.c:1296 (discriminator 2)
Frequire
/home/gutov/emacs-bzr/trunk/src/fns.c:2659 (discriminator 6)
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2814
Fapply
/home/gutov/emacs-bzr/trunk/src/eval.c:2291
Ffuncall
/home/gutov/emacs-bzr/trunk/src/eval.c:2786
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el
2013-12-17 2:50 bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el Dmitry Gutov
@ 2013-12-18 1:26 ` Glenn Morris
2013-12-18 3:59 ` Dmitry Gutov
2014-12-14 11:26 ` Dmitry Gutov
1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-12-18 1:26 UTC (permalink / raw)
To: Dmitry Gutov; +Cc: 16174
Dmitry Gutov wrote:
> When compiling Emacs, it crashes at this exact same file. Restarting
> compilation or 'make bootsrap' doesn't fix it, but rebooting the
> machine does.
[...]
> No idea how to catch this crash in gdb, suggestions welcome.
Maybe I'm missing something, but if restarting compilation does not fix
it, simply run by hand in gdb the command that `make' runs. Ie, after
`make' crashes do:
cd src
gdb ./emacs
run -batch --no-site-file --no-site-lisp \
--eval "(setq max-lisp-eval-depth 2200)" -f batch-byte-compile \
../lisp/cedet/srecode/srt-mode.el
> I tried to recompile it with CFLAGS="-Og -g3", and the crash also went
> away.
(gdb might not be too useful then.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el
2013-12-18 1:26 ` Glenn Morris
@ 2013-12-18 3:59 ` Dmitry Gutov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2013-12-18 3:59 UTC (permalink / raw)
To: Glenn Morris; +Cc: 16174
On 18.12.2013 03:26, Glenn Morris wrote:
> Maybe I'm missing something, but if restarting compilation does not fix
> it, simply run by hand in gdb the command that `make' runs. Ie, after
> `make' crashes do:
Okay, thanks, I'll try that next time. Was the non-verbose backtrace I
submitted useless?
> (gdb might not be too useful then.)
Maybe.
It's either bug in my system libraries, or in GDB's code optimization,
right? In the latter case, looking at the optimized backtrace could be
of some use, couldn't it?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el
2013-12-17 2:50 bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el Dmitry Gutov
2013-12-18 1:26 ` Glenn Morris
@ 2014-12-14 11:26 ` Dmitry Gutov
1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2014-12-14 11:26 UTC (permalink / raw)
To: 16174-done
Haven't seen this since. Closing.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-14 11:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 2:50 bug#16174: 24.3.50; Segfault when compiling cedet/srecode/srt-mode.el Dmitry Gutov
2013-12-18 1:26 ` Glenn Morris
2013-12-18 3:59 ` Dmitry Gutov
2014-12-14 11:26 ` Dmitry Gutov
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).