unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Fernando de Morais <fernandodemorais.jf@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 54458@debbugs.gnu.org, bandali@gnu.org, jp@neverwas.me
Subject: bug#54458: 27.2; erc-dcc-get: Re-entering top level after C stack overflow
Date: Sun, 27 Mar 2022 19:09:16 -0300	[thread overview]
Message-ID: <87mthb120j.fsf@gmail.com> (raw)
In-Reply-To: <83bkxr9t4c.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Mar 2022 20:56:35 +0300")

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

> It would help if you could reproduce the problem again, this time when
> running Emacs under GDB to begin with.  When Emacs segfaults, please
> do
>
>   (gdb) source /path/to/emacs/src/.gdbinit
>   (gdb) xbacktrace
>
> (replace /path/to/emacs/src with the directory where you have the
> Emacs source tree).  The last command will show the Lisp interpreter
> nacktrace, which will make it easier to understand where the recursion
> happens in Lisp.

Right!

I don't know if something is missing here in my build, but when I
reproduced the problem and source the .gdbinit file, as well as calling
`xbacktrace', only one line appeared as output, as can be seen in the
attached log:

    Cannot access memory at address 0x7fffff66ff4

Just in case, I saved the complete GDB log, from `run' to `xbacktrace'.

Hope it helps.

-- 
Regards,
Fernando de Morais.


[-- Attachment #2: GDB output log. --]
[-- Type: text/plain, Size: 2507 bytes --]

Starting program: /home/fernando/Documentos/Projetos/emacs-27/src/emacs 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff18a2640 (LWP 43727)]
[New Thread 0x7ffff0e58640 (LWP 43728)]
[New Thread 0x7fffeb454640 (LWP 43729)]
[New Thread 0x7fffea78f640 (LWP 43805)]
[New Thread 0x7fffe9f8e640 (LWP 43813)]
[Thread 0x7fffe9f8e640 (LWP 43813) exited]
[New Thread 0x7fffe9f8e640 (LWP 43820)]
[New Thread 0x7fffe978d640 (LWP 43823)]
[Thread 0x7fffe9f8e640 (LWP 43820) exited]
[Thread 0x7fffe978d640 (LWP 43823) exited]
[Detaching after vfork from child process 43835]
[Detaching after vfork from child process 43837]
[Detaching after vfork from child process 43838]
[Detaching after vfork from child process 43839]
[Detaching after vfork from child process 43840]
[Detaching after vfork from child process 43841]
[Detaching after vfork from child process 43842]
[Detaching after vfork from child process 43843]
[Detaching after vfork from child process 43845]
[Detaching after vfork from child process 43846]
[Detaching after vfork from child process 43847]
[Detaching after vfork from child process 43910]
[Detaching after vfork from child process 43911]
[Detaching after vfork from child process 43912]
[Detaching after vfork from child process 43914]
[Detaching after vfork from child process 43917]
[Detaching after vfork from child process 43919]
[Detaching after vfork from child process 43920]
[Detaching after vfork from child process 43921]
[Detaching after vfork from child process 43923]
[Detaching after vfork from child process 43924]
[Detaching after vfork from child process 43926]
[Detaching after vfork from child process 43927]
[New Thread 0x7fffe8e15f40 (LWP 43930)]
[Thread 0x7fffe8e15f40 (LWP 43930) exited]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x00005555559e9536 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x0) at bytecode.c:372
372	  *top = vector; /* Ensure VECTOR survives GC (Bug#33014).  */
Warning: /home/fernando/Documentos/../lwlib: Arquivo ou diretório inexistente.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = xterm-kitty
Breakpoint 1 at 0x5555557db1f9: file emacs.c, line 379.
Breakpoint 2 at 0x555555768a43: file xterm.c, line 10145.
Cannot access memory at address 0x7fffff66ff4f
quit

  reply	other threads:[~2022-03-27 22:09 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18 22:59 bug#54458: 27.2; erc-dcc-get: Re-entering top level after C stack overflow Fernando de Morais
2022-03-21 14:09 ` J.P.
2022-03-22 13:50   ` Fernando de Morais
2022-03-22 14:36     ` Eli Zaretskii
     [not found]       ` <87tubj1eq4.fsf@gmail.com>
2022-03-27 17:56         ` Eli Zaretskii
2022-03-27 22:09           ` Fernando de Morais [this message]
2022-03-27 20:54 ` Mattias Engdegård
2022-03-28  9:23   ` Mattias Engdegård
2022-03-28 11:14     ` Eli Zaretskii
2022-03-28 12:08       ` J.P.
2022-03-29 15:49         ` Mattias Engdegård
2022-03-29 16:45           ` Eli Zaretskii
2022-03-29 17:47             ` Mattias Engdegård
2022-03-29 19:44               ` J.P.
2022-03-30  4:02                 ` J.P.
     [not found]                 ` <87mth8rst7.fsf@neverwas.me>
2022-03-30 15:28                   ` Mattias Engdegård
2022-03-31 19:18                     ` J.P.
     [not found]                     ` <87sfqygccz.fsf@neverwas.me>
2022-04-03 17:20                       ` Fernando de Morais
2022-04-03 19:46                         ` J.P.
     [not found]                         ` <87wng67xxd.fsf@neverwas.me>
2022-04-10 21:31                           ` J.P.
     [not found]                           ` <875yng39sa.fsf@neverwas.me>
2022-04-11  3:17                             ` J.P.
     [not found]                             ` <87sfqkz4ts.fsf@neverwas.me>
2022-04-25  0:59                               ` Fernando de Morais
     [not found]                               ` <87ilqyrn9s.fsf@gmail.com>
2022-04-25 12:08                                 ` J.P.
     [not found]                                 ` <878rrtz7or.fsf@neverwas.me>
2022-04-29 14:51                                   ` Fernando de Morais
     [not found]                                   ` <87r15guen2.fsf@gmail.com>
2022-04-30 13:39                                     ` J.P.
     [not found]                                     ` <87ilqqy9km.fsf@neverwas.me>
2022-05-04 13:03                                       ` Fernando de Morais
     [not found]                                       ` <87pmkth2lr.fsf@gmail.com>
2022-05-06 13:06                                         ` J.P.
     [not found]                                         ` <874k22zu7s.fsf@neverwas.me>
2022-05-08  1:16                                           ` Fernando de Morais
     [not found]                                           ` <87sfpk4ydj.fsf@gmail.com>
2022-05-11 14:29                                             ` J.P.
     [not found]                                             ` <87ee10xhw3.fsf@neverwas.me>
2022-05-23  1:22                                               ` J.P.
2022-04-01  6:32                   ` J.P.

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=87mthb120j.fsf@gmail.com \
    --to=fernandodemorais.jf@gmail.com \
    --cc=54458@debbugs.gnu.org \
    --cc=bandali@gnu.org \
    --cc=eliz@gnu.org \
    --cc=jp@neverwas.me \
    /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).