From: Andrew Hyatt <ahyatt@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 58850@debbugs.gnu.org
Subject: bug#58850: 29.0.50; sqlite crashes on error
Date: Sat, 29 Oct 2022 19:44:17 -0400 [thread overview]
Message-ID: <CAM6wYYJcWtXiPb_mhodCi+GRX=8nztA91eztUkwbgn32qgRMxQ@mail.gmail.com> (raw)
In-Reply-To: <83ilk3hycm.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1472 bytes --]
On Sat, Oct 29, 2022 at 3:40 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Andrew Hyatt <ahyatt@gmail.com>
> > Date: Fri, 28 Oct 2022 20:47:05 -0400
> >
> > From emacs -Q, execute the following:
> >
> >
> > (defun will-fail ()
> > (let ((db (sqlite-open (make-temp-file "will-fail"))))
> > (sqlite-execute db "SELECT foo FROM bar;")))
> >
> > (will-fail)
> >
> > Some combination of sqlite and getting errors that result in backtraces
> > seems to result in a problem.
> >
> > Relevant information from the crash report:
> > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> > 0 libsystem_kernel.dylib 0x1aab6ed98 __pthread_kill
> + 8
> > 1 libsystem_pthread.dylib 0x1aaba3ee0 pthread_kill +
> 288
> > 2 libsystem_c.dylib 0x1aaade3cc __abort + 128
> > 3 libsystem_c.dylib 0x1aaacfd48
> __stack_chk_fail + 96
> > 4 Emacs 0x102dcdbd8 print_object +
> 5920
> > 5 Emacs 0x102dc9d50 Fprin1 + 112
> (print.c:775)
>
> Please try the latest master branch. Jonas installed changes there
> that are related to sqlite error handling, and with today's master I
> get a Lisp error with your recipe, not a crash:
>
> Debugger entered--Lisp error: (sqlite-error ("SQL logic error" "no such
> table: bar" 1 1))
>
I've synced, rebuilt, verified Jonas's change is there, however the crash
still occurs.
[-- Attachment #2: Type: text/html, Size: 2148 bytes --]
next prev parent reply other threads:[~2022-10-29 23:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-29 0:47 bug#58850: 29.0.50; sqlite crashes on error Andrew Hyatt
2022-10-29 7:40 ` Eli Zaretskii
2022-10-29 23:44 ` Andrew Hyatt [this message]
2022-10-30 6:35 ` Eli Zaretskii
2022-11-01 4:28 ` Andrew Hyatt
2022-11-01 7:45 ` Eli Zaretskii
2022-11-01 9:03 ` Gerd Möllmann
2022-11-01 9:16 ` Gerd Möllmann
2022-11-02 3:33 ` Andrew Hyatt
2022-11-02 5:00 ` Gerd Möllmann
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='CAM6wYYJcWtXiPb_mhodCi+GRX=8nztA91eztUkwbgn32qgRMxQ@mail.gmail.com' \
--to=ahyatt@gmail.com \
--cc=58850@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.