all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>, Troy Hinckley <t.macman@gmail.com>
Cc: 60842@debbugs.gnu.org
Subject: bug#60842: 29.0.50; Crash when printing sqlite object
Date: Tue, 17 Jan 2023 12:44:57 -0800	[thread overview]
Message-ID: <28e8c678-6769-b4e3-93c4-54dc19475c11@cs.ucla.edu> (raw)
In-Reply-To: <83y1q24o2r.fsf@gnu.org>

On 1/16/23 05:16, Eli Zaretskii wrote:

>      char buf[max (sizeof "from..to..in " + 2 * INT_STRLEN_BOUND (EMACS_INT),
> 		  max (sizeof " . #" + INT_STRLEN_BOUND (intmax_t),
> 		       max ((sizeof " with data 0x"
> 			     + (sizeof (uintmax_t) * CHAR_BIT + 4 - 1) / 4),
> 			    40)))];
>      current_thread->stack_top = buf;  <<<<<<<<<<<<<<<<<<<<<<<<<<
> 
> If you remove the indicated line, does the crash go away?
> 
> If removing that line doesn't help, please tell the dimension of the
> buf[] array that the code above calculates?  In GDB, this is possible
> with the command 'ptype'; I don't know what is the lldb equivalent.

sizeof buf should be 54 on his platform, which I assume has 64-bit 
addresses and 64-bit u?intmax_t.


> Paul, any ideas or suggestions?

Unfortunately not.






  reply	other threads:[~2023-01-17 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 23:38 bug#60842: 29.0.50; Crash when printing sqlite object Troy Hinckley
2023-01-16 13:16 ` Eli Zaretskii
2023-01-17 20:44   ` Paul Eggert [this message]
2023-01-29  7:36     ` Troy Hinckley
2023-01-29  7:55       ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28e8c678-6769-b4e3-93c4-54dc19475c11@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=60842@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=t.macman@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.