From: Eli Zaretskii <eliz@gnu.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: 29031@debbugs.gnu.org
Subject: bug#29031: 25.3; Segmentation fault when starting emacs with my config
Date: Mon, 30 Oct 2017 21:28:54 +0200 [thread overview]
Message-ID: <83fua0toy1.fsf@gnu.org> (raw)
In-Reply-To: <CAFyQvY29_Qmkw5BNsY1xi3-t_wSUx7JbVsf1JoHqWkk0+0ZSiA@mail.gmail.com> (message from Kaushal Modi on Mon, 30 Oct 2017 19:18:11 +0000)
> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Mon, 30 Oct 2017 19:18:11 +0000
> Cc: 29031@debbugs.gnu.org
>
> I hate to say this, but I lost that gdb session. I am still able to consistently segfault on startup (when I load
> nlinum in after-init-hook). But this time, it's at a different point. Sorry about that.
>
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x00000033e307a13c in _int_malloc () from /lib64/libc.so.6
> (gdb) bt
> #0 0x00000033e307a13c in _int_malloc () from /lib64/libc.so.6
> #1 0x00000033e307ab1c in malloc () from /lib64/libc.so.6
> #2 0x00000000005464ee in lmalloc (size=8188) at alloc.c:1414
> #3 lisp_malloc (nbytes=<optimized out>, type=MEM_TYPE_NON_LISP) at alloc.c:1063
> #4 0x0000000000547bef in allocate_string_data (s=0x4fd6600, nchars=369, nbytes=370) at alloc.c:1998
> #5 0x0000000000547dc7 in make_uninit_multibyte_string (nchars=369, nbytes=370) at alloc.c:2513
> #6 0x000000000056ab9b in concat (nargs=25, args=0x7fffffff1750, target_type=<optimized out>,
> last_special=<optimized out>) at fns.c:637
Looks like some problem with memory allocation. Could be a duplicate
of bug#29066?
Anyway, with memory allocation bugs, a tiny change in the recipe can
make the bug go away, so I don't think the evidence you collected till
now can tell us anything useful, except that this is a Heisenbug of
sorts.
Maybe someone else will have an idea for how to debug this further.
next prev parent reply other threads:[~2017-10-30 19:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-27 21:24 bug#29031: 25.3; Segmentation fault when starting emacs with my config Kaushal Modi
2017-10-30 14:17 ` Kaushal Modi
2017-10-30 16:03 ` Kaushal Modi
2017-10-30 18:37 ` Eli Zaretskii
2017-10-30 19:24 ` Kaushal Modi
2017-10-30 19:34 ` Eli Zaretskii
2017-10-30 19:51 ` Eli Zaretskii
2017-10-30 21:36 ` Kaushal Modi
2017-10-31 20:26 ` Eli Zaretskii
2017-10-31 20:52 ` Kaushal Modi
2017-10-31 20:56 ` Eli Zaretskii
2017-11-07 13:27 ` Noam Postavsky
2017-11-07 13:30 ` Kaushal Modi
2017-11-07 13:55 ` Noam Postavsky
2017-10-30 18:22 ` Eli Zaretskii
2017-10-30 18:34 ` Kaushal Modi
2017-10-30 18:52 ` Eli Zaretskii
2017-10-30 18:57 ` Kaushal Modi
2017-10-30 19:18 ` Kaushal Modi
2017-10-30 19:28 ` Eli Zaretskii [this message]
2019-09-29 0:44 ` Stefan Kangas
2019-09-29 0:58 ` Noam Postavsky
2019-09-29 7:26 ` Eli Zaretskii
2019-10-30 20:17 ` Stefan Kangas
2019-10-30 20:47 ` Kaushal Modi
2019-10-30 21:16 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fua0toy1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=29031@debbugs.gnu.org \
--cc=kaushal.modi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).