From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 58850@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166700444131912 (code B ref -1); Sat, 29 Oct 2022 00:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 00:47:21 +0000 Received: from localhost ([127.0.0.1]:34552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooa0O-0008Id-Lq for submit@debbugs.gnu.org; Fri, 28 Oct 2022 20:47:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:51340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooa0M-0008IU-9a for submit@debbugs.gnu.org; Fri, 28 Oct 2022 20:47:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooa0F-0004Bj-Sj for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 20:47:13 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooa0D-0000O0-Ac for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 20:47:11 -0400 Received: by mail-qk1-x733.google.com with SMTP id 8so4557133qka.1 for ; Fri, 28 Oct 2022 17:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=atv9sEjpHK3hkucY1/mzMAI7WjqbQ+Gze+Bfn8VNfO0=; b=AdrrraxLyiKRNF/MLM75ndSIJAEKwfVoXrHcYkUG9eHFVczvPxxuLIr81sIcCD7+KQ cOWUle67b0ZEhC1N7TOxWUWEfb/ZIwGuCGA4RdSKF1Tw5z15xym1oikGT2HLk/QyobwZ lSEHYq4wAQw62ZI2X01wo/Ro4uNKx00qbslKNGHAGIK0DCjW6Wj28931QW0XC5E+2OFQ wFcfAjwjX8chFr1x2tmFeWeYhvXU+ijN3t2p5GuM3I9B9B2jiPbgtaP19IWCMVYq3RbU BfWtQ+qfdWLgvW/8tUlGTKPk5OQ+N11XxWXbIQC0QcAlZgSqmR3wUGLx3zsxLc+XTElT 6y1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=atv9sEjpHK3hkucY1/mzMAI7WjqbQ+Gze+Bfn8VNfO0=; b=dDMHgRNMGMdAmLuSAaK6GulFFjzeeQJ6mkdGLuHC8+Vi+IG2enwLFrz9Pj6Ze1MZpo 6SHRT5sWPhObQeyNRRB1cR5LFF52hYQLarW2H94IC4MFTquFxmghWTNByFqstHNszi84 CVIaPSz7/M3tYxjVyJocYCigaeuQjGq2Uw6DlsHZXoP7Fu98Gd9oGnJ9HftBkdGqVNbj nRG4ch3hWqZbH1VtJopGFrUAk/NrvN2RDJQvvYs2cwpsLgz11TfIoHWBMPml/1/oAUtO oYvQxQmqa8r9sYM4gphIJh5TO7RIb/PBfbZqyTD+ZEFVZtOT/czWrAJh9N57Rft6suYE BLMg== X-Gm-Message-State: ACrzQf3yJEh/M6AIvJl/+9LykYGP+vQqSynUtyxh4pCk/I+ouP0iwg8j JJncX/WSwPYN8WSs96Shch/PFBuQCUETgQ== X-Google-Smtp-Source: AMsMyM6R3jV4xKfWD2+1kx65FfE0lDIzs1wzrAAAT18jBUwwkZeJj2uiiNy/Fo8v1MKaJ0imFAINXQ== X-Received: by 2002:a37:74b:0:b0:6f9:f5a6:1d29 with SMTP id 72-20020a37074b000000b006f9f5a61d29mr1580015qkh.600.1667004427209; Fri, 28 Oct 2022 17:47:07 -0700 (PDT) Received: from smtpclient.apple (pool-71-183-193-81.nycmny.fios.verizon.net. [71.183.193.81]) by smtp.gmail.com with ESMTPSA id m8-20020a05620a290800b006ce40fbb8f6sm144669qkp.21.2022.10.28.17.47.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2022 17:47:06 -0700 (PDT) From: Andrew Hyatt Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Message-Id: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> Date: Fri, 28 Oct 2022 20:47:05 -0400 X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=ahyatt@gmail.com; helo=mail-qk1-x733.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) =46rom 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) 6 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 7 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 8 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 9 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 10 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 11 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 12 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 13 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 14 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 15 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 16 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 17 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 18 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 19 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 20 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 21 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 22 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 23 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 24 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 25 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 26 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 27 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 28 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 29 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 30 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 31 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 32 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 33 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 34 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 35 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 36 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 37 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 38 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 39 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 40 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 41 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 42 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 43 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 44 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 45 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 46 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 47 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 48 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 49 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 50 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 51 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 52 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 53 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 54 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 55 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 56 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 57 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 58 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 59 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 60 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 61 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 62 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 63 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 64 cl-print-79bf9fb1-c759fffb.eln 0x16d40e14c = F636c2d7072696e31_cl_prin1_0 + 460 65 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 66 backtrace-f58a28c5-349af640.eln 0x2901c86a0 = F6261636b74726163652d2d7072696e74_backtrace__print_0 + 268 67 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 68 cl-print-79bf9fb1-c759fffb.eln 0x16d40e780 = F636c2d7072696e742d746f2d737472696e672d776974682d6c696d6974_cl_print_to_st= ring_with_limit_0 + 1216 69 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 70 backtrace-f58a28c5-349af640.eln 0x2901c7594 = F6261636b74726163652d2d7072696e742d746f2d737472696e67_backtrace__print_to_= string_0 + 196 71 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 72 backtrace-f58a28c5-349af640.eln 0x2901c8230 = F6261636b74726163652d2d7072696e742d66756e632d616e642d61726773_backtrace__p= rint_func_and_args_0 + 1820 73 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 74 backtrace-f58a28c5-349af640.eln 0x2901c7800 = F6261636b74726163652d7072696e742d6672616d65_backtrace_print_frame_0 + = 240 75 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 76 backtrace-f58a28c5-349af640.eln 0x2901c721c = F6261636b74726163652d7072696e74_backtrace_print_0 + 476 77 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 78 debug-bee52b4d-57b75adc.eln 0x2901a6354 = F64656275676765722d73657475702d627566666572_debugger_setup_buffer_0 + = 596 79 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 80 debug-bee52b4d-57b75adc.eln 0x2901a5738 = F6465627567_debug_0 + 1736 81 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 82 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 83 ert-786c6677-22d9cf08.eln 0x2f8710554 = F6572742d2d72756e2d746573742d6465627567676572_ert__run_test_debugger_0 + = 992 84 Emacs 0x102df0220 = exec_byte_code + 3256 (bytecode.c:809) 85 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 86 Emacs 0x102da8af4 Fapply + 708 = (eval.c:2685) 87 Emacs 0x102da2dbc apply1 + 20 = (eval.c:2901) [inlined] 88 Emacs 0x102da2dbc call_debugger = + 456 (eval.c:338) 89 Emacs 0x102da7810 = maybe_call_debugger + 404 (eval.c:2040) [inlined] 90 Emacs 0x102da7810 = signal_or_quit + 1380 (eval.c:1811) 91 Emacs 0x102e914c8 Fsignal + 36 = (eval.c:1706) 92 Emacs 0x102e914e8 xsignal + 12 = (lisp.h:4552) 93 Emacs 0x102e912c0 xsignal1 + 28 94 Emacs 0x102e2db6c = Fsqlite_execute + 416 (sqlite.c:435) 95 Emacs 0x102da3c94 eval_sub + = 2088 (eval.c:2523) 96 Emacs 0x102daa130 Fprogn + 28 = (eval.c:459) [inlined] 97 Emacs 0x102daa130 = funcall_lambda + 1428 (eval.c:3253) 98 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 99 Emacs 0x102db5514 call1 + 16 = (lisp.h:3240) [inlined] 100 Emacs 0x102db5514 mapcar1 + 352 = (fns.c:2867) 101 Emacs 0x102db5830 Fmapc + 92 = (fns.c:2982) 102 Emacs 0x102da3c80 eval_sub + = 2068 (eval.c:2520) 103 Emacs 0x102da5950 Fprogn + 28 = (eval.c:459) [inlined] 104 Emacs 0x102da5950 Flet + 1124 = (eval.c:1049) 105 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 106 Emacs 0x102da3fd8 Fprogn + 28 = (eval.c:459) [inlined] 107 Emacs 0x102da3fd8 Fcond + 108 = (eval.c:439) 108 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 109 Emacs 0x102da5270 Fprogn + 28 = (eval.c:459) [inlined] 110 Emacs 0x102da5270 FletX + 112 = (eval.c:981) 111 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 112 Emacs 0x102daa130 Fprogn + 28 = (eval.c:459) [inlined] 113 Emacs 0x102daa130 = funcall_lambda + 1428 (eval.c:3253) 114 Emacs 0x102da8770 apply_lambda = + 368 (eval.c:3123) 115 Emacs 0x102da394c eval_sub + = 1248 116 Emacs 0x102daa130 Fprogn + 28 = (eval.c:459) [inlined] 117 Emacs 0x102daa130 = funcall_lambda + 1428 (eval.c:3253) 118 Emacs 0x102da8770 apply_lambda = + 368 (eval.c:3123) 119 Emacs 0x102da394c eval_sub + = 1248 120 Emacs 0x102da5950 Fprogn + 28 = (eval.c:459) [inlined] 121 Emacs 0x102da5950 Flet + 1124 = (eval.c:1049) 122 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 123 Emacs 0x102da3f50 Fprogn + 48 = (eval.c:459) 124 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 125 Emacs 0x102da6794 = Funwind_protect + 260 (eval.c:1324) 126 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 127 Emacs 0x102da5950 Fprogn + 28 = (eval.c:459) [inlined] 128 Emacs 0x102da5950 Flet + 1124 = (eval.c:1049) 129 Emacs 0x102da3bb4 eval_sub + = 1864 (eval.c:2470) 130 Emacs 0x102daa130 Fprogn + 28 = (eval.c:459) [inlined] 131 Emacs 0x102daa130 = funcall_lambda + 1428 (eval.c:3253) 132 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 133 ert-786c6677-22d9cf08.eln 0x2f8711430 = F6572742d2d72756e2d746573742d696e7465726e616c_ert__run_test_internal_0 + = 1072 134 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 135 ert-786c6677-22d9cf08.eln 0x2f871203c = F6572742d72756e2d74657374_ert_run_test_0 + 924 136 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 137 ert-786c6677-22d9cf08.eln 0x2f8719528 = F6572742d72756e2d6f722d726572756e2d74657374_ert_run_or_rerun_test_0 + = 472 138 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 139 ert-786c6677-22d9cf08.eln 0x2f87268e0 = F6572742d726573756c74732d726572756e2d746573742d61742d706f696e74_ert_result= s_rerun_test_at_point_0 + 624 140 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 141 ert-786c6677-22d9cf08.eln 0x2f8726c0c = F6572742d726573756c74732d726572756e2d746573742d61742d706f696e742d646562756= 767696e672d6572726f7273_ert_results_rerun_test_at_point_debugging_errors_0= + 72 142 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 143 Emacs 0x102da110c = Ffuncall_interactively + 68 (callint.c:248) 144 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 145 Emacs 0x102da2620 = Fcall_interactively + 5372 (callint.c:340) 146 simple-fab5b0cf-ef411e81.eln 0x1070ffd04 = F636f6d6d616e642d65786563757465_command_execute_0 + 804 147 Emacs 0x102da5ef0 Ffuncall + = 340 (eval.c:3014) 148 Emacs 0x102d18f50 call1 + 20 = (lisp.h:3240) [inlined] 149 Emacs 0x102d18f50 = command_loop_1 + 1380 (keyboard.c:1505) 150 Emacs 0x102da6d8c = internal_condition_case + 96 (eval.c:1497) 151 Emacs 0x102d189d8 = command_loop_2 + 52 (keyboard.c:1132) 152 Emacs 0x102da6668 = internal_catch + 88 (eval.c:1220) 153 Emacs 0x102e8f370 = recursive_edit_1.cold.1 + 80 (keyboard.c:1110) 154 Emacs 0x102d18214 command_loop = + 4 (keyboard.c:1107) [inlined] 155 Emacs 0x102d18214 = recursive_edit_1 + 372 (keyboard.c:719) 156 Emacs 0x102d183a4 = Frecursive_edit + 364 (keyboard.c:802) 157 Emacs 0x102d176bc main + 9504 = (emacs.c:2517) 158 dyld 0x10382508c start + 520 In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-10-27 built on andrews-mbp.lan Repository revision: 41d3d71a1e6709a7357c1c7aeae4f49cd65fb602 Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6 Configured using: 'configure --with-native-compilation' Configured features: ACL GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 76683 8826) (symbols 48 7038 0) (strings 32 19326 3490) (string-bytes 1 619213) (vectors 16 16738) (vector-slots 8 333256 10135) (floats 8 28 47) (intervals 56 236 0) (buffers 1000 12)) From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 07:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Hyatt Cc: 58850@debbugs.gnu.org Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166702921725044 (code B ref 58850); Sat, 29 Oct 2022 07:41:02 +0000 Received: (at 58850) by debbugs.gnu.org; 29 Oct 2022 07:40:17 +0000 Received: from localhost ([127.0.0.1]:34900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oogS1-0006Vs-AX for submit@debbugs.gnu.org; Sat, 29 Oct 2022 03:40:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oogS0-0006Ve-Ab for 58850@debbugs.gnu.org; Sat, 29 Oct 2022 03:40:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oogRv-0003kq-2O; Sat, 29 Oct 2022 03:40:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KqEGoHd3DoHaQJ5INfVizCQmcy34Q+65Dqv1MmXCaww=; b=P+kinKvsYPC8 ETf9Bd36kzBJ2KPQaM9QncFZw7r7xRIpce3xJ651RJg3muEae6ev5YDhtukJp/C4xR56jPGIrIB3w EwyjDJ0ksmCNeQgDbUrnuyMVUZFZomyoM7GSm6t9mhVvmmjaTulay6Go/7V16rI2AAu4v4xy53VR8 IfxX5b+QY3YhYhtuUS2WPYtVtbZovOR21BlOQtaPNoXRtrcmyu4vd8IifrstjgMTB3evlvX+i+O1/ wtxz8sUgBUL7V0eP9U8XGGjKTsFIgJ996f6Z0kLfKoRiGVe6EyBETB4necwZsQnEnBQjy7EFpHpo3 DtEpZ80QV/bqI3GVUaYetw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oogRu-000474-H0; Sat, 29 Oct 2022 03:40:10 -0400 Date: Sat, 29 Oct 2022 10:40:09 +0300 Message-Id: <83ilk3hycm.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> (message from Andrew Hyatt on Fri, 28 Oct 2022 20:47:05 -0400) References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrew Hyatt > 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)) From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 23:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 58850@debbugs.gnu.org Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166708707720765 (code B ref 58850); Sat, 29 Oct 2022 23:45:01 +0000 Received: (at 58850) by debbugs.gnu.org; 29 Oct 2022 23:44:37 +0000 Received: from localhost ([127.0.0.1]:36887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oovVF-0005Or-GE for submit@debbugs.gnu.org; Sat, 29 Oct 2022 19:44:37 -0400 Received: from mail-yw1-f176.google.com ([209.85.128.176]:39540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oovVD-0005Oe-5t for 58850@debbugs.gnu.org; Sat, 29 Oct 2022 19:44:36 -0400 Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-36ad4cf9132so78512557b3.6 for <58850@debbugs.gnu.org>; Sat, 29 Oct 2022 16:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=k0vgcyTlIIb7r+V8EcMB806Fc3QzxjQF5FHXRMOIJRE=; b=KE69IA2D8Iu8SqmI/8S1y/a6jxQ9NbR1T5Ejj1Guk3+d4vPHJSeTQT8jycItF2oQTM OM1ERcE7gW7L5DEGeWOvwgPme0HCALd7bs8glwS23uf0MM/W6O+Ye+YM6v5MwYoB2U5q 93IxZt+bsGR8Zei0i0hSLmzVXHhjKAl48J1IvYqsyo3NODq2PGZ/n3ppbOUf/3x4oMgx WlKqfQIk2BhJSqFYWtWgbU2fV7dc+BatHJP73os+GTfLb91Iv0yVoaAmJWNianDJfTAY KUdOwuPKCtLiGpMak6BgBoquNDnfWQIkFVsLUso9ClInu1NTu0TNc/dZctJY+DZfwjfW KO+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k0vgcyTlIIb7r+V8EcMB806Fc3QzxjQF5FHXRMOIJRE=; b=JJDqWhksLp9gRXLEuWI0wQXudSO3tX3joBUtXeNi+zX1oMqXzBQHVUZJwAAPQHA173 9ogOgmkg5D4Uq0gmBzNcoCFd8+jOuCLA79Qz0dK6zmbTndhbvLUQad1PdsA9BNBzhFjO wz777sb1ZPU8TPOKwZP8bHVnlRSrQpCTAGJGgsrAswkvKjShXqvx4Zvkrdy7M9WbDeGz gDqHiM0axvrmwLFk67vvImgNwcVjg1MjyiBahoZ9ezRytb2ZDcwSdJhOWdo1fBjQG9YB Fm8RMwFQ8SiUUUyN4OJoDlAuSpyPwOWDx3EItw4wko2OZMqxFb/pu3w5/8Zpvm7Id69y K6NA== X-Gm-Message-State: ACrzQf3gW0JtSwDS1OqvYjoJMP8tC+AEfWwjmEyRzIyDt5kZU0ORXxDt fe7AsT8utmc2/6djAn0OioJCuIMzP5gLnbRabdA= X-Google-Smtp-Source: AMsMyM63MfYiAv6SE62HastatD7Tbqb5C8/lQ8II0WRIUKWZdj5YuIXykC4m4YcTw7d2hejpLYpTIpfX1b05wSqDu5U= X-Received: by 2002:a81:4e87:0:b0:368:3422:a62d with SMTP id c129-20020a814e87000000b003683422a62dmr6057281ywb.277.1667087069351; Sat, 29 Oct 2022 16:44:29 -0700 (PDT) MIME-Version: 1.0 References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> In-Reply-To: <83ilk3hycm.fsf@gnu.org> From: Andrew Hyatt Date: Sat, 29 Oct 2022 19:44:17 -0400 Message-ID: Content-Type: multipart/alternative; boundary="00000000000094168e05ec34f48e" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000094168e05ec34f48e Content-Type: text/plain; charset="UTF-8" On Sat, Oct 29, 2022 at 3:40 AM Eli Zaretskii wrote: > > From: Andrew Hyatt > > 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. --00000000000094168e05ec34f48e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Oct 29, 2022 at 3:40 AM Eli Zaretskii= <eliz@gnu.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">> From: Andrew Hyatt &l= t;ahyatt@gmail.com>
> Date: Fri, 28 Oct 2022 20:47:05 -0400
>
> From emacs -Q, execute the following:
>
>
> (defun will-fail ()
>=C2=A0 =C2=A0(let ((db (sqlite-open (make-temp-file "will-fail&quo= t;))))
>=C2=A0 =C2=A0 =C2=A0(sqlite-execute db "SELECT foo FROM bar;"= )))
>
> (will-fail)
>
> Some combination of sqlite and getting errors that result in backtrace= s
> seems to result in a problem.
>
> Relevant information from the crash report:
> Thread 0 Crashed::=C2=A0 Dispatch queue: com.apple.main-thread
> 0=C2=A0 =C2=A0libsystem_kernel.dylib=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00x1aab6ed98 __pthread_kill + 8
> 1=C2=A0 =C2=A0libsystem_pthread.dylib=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x1aaba3ee0 pthread_kill + 288
> 2=C2=A0 =C2=A0libsystem_c.dylib=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x1aaade3cc __abort + 128
> 3=C2=A0 =C2=A0libsystem_c.dylib=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x1aaacfd48 __stack_chk_fail = + 96
> 4=C2=A0 =C2=A0Emacs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 0x102dcdbd8 print_object + 5920
> 5=C2=A0 =C2=A0Emacs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 0x102dc9d50 Fprin1 + 112 (print.c:775)

Please try the latest master branch.=C2=A0 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:

=C2=A0 Debugger entered--Lisp error: (sqlite-error ("SQL logic error&q= uot; "no such table: bar" 1 1))

I've synced, rebuilt, verified Jonas's change is there, however = the crash still occurs.=C2=A0
--00000000000094168e05ec34f48e-- From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2022 06:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Hyatt Cc: 58850@debbugs.gnu.org Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166711173030512 (code B ref 58850); Sun, 30 Oct 2022 06:36:02 +0000 Received: (at 58850) by debbugs.gnu.org; 30 Oct 2022 06:35:30 +0000 Received: from localhost ([127.0.0.1]:37176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op1us-0007w4-D7 for submit@debbugs.gnu.org; Sun, 30 Oct 2022 02:35:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op1up-0007vp-Gq for 58850@debbugs.gnu.org; Sun, 30 Oct 2022 02:35:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op1uj-0002SB-V8; Sun, 30 Oct 2022 02:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=turamkg8/R+cMSoyKxVNmRl243CNj/8Nr83UwBbhWT4=; b=qU2em4Hrybkn 1iYI259pAxj8008o88JUor8qOBrmbdUTlGfK3KIggaph+aCYrOJ0rVVN0u4zYcOf7HMDPzxomnCTy 6rCXKD6tG20Z51qlrTTxHWQO7C07bO0vEdEN+RSAsqRdEK79Vf0JbRTesGFZmGVfUysuItN2JUGx/ 0GepWnHKHBE76N5Hn8qJuG47Ld2DYSIjmWzkukxNbULPAFewZ0egeYjcVweGfRsWo85bMH9QO1BT3 YKWh+uWcIAapvC1lYtWY2gxmm0Odumem80iCynYq8lEXVH5InUxF7jDtc2rRhYMxgGXTTSrk+XQFr Sty4ayfZ5RsprJSmnqiTpw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op1uj-0004Bb-8P; Sun, 30 Oct 2022 02:35:21 -0400 Date: Sun, 30 Oct 2022 08:35:03 +0200 Message-Id: <835yg1hl9k.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andrew Hyatt on Sat, 29 Oct 2022 19:44:17 -0400) References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrew Hyatt > Date: Sat, 29 Oct 2022 19:44:17 -0400 > Cc: 58850@debbugs.gnu.org > > > 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. Then please walk through the code with a debugger and tell us what kind of object is being created as result of the error that Emacs cannot print via prin1 because print_object barfs. I cannot do it here because the problem doesn't happen on my system in the first place. The way to fix this is one of the following, whichever seems cleaner: . repair the object before it gets to the printing routines, preferably where it is created; or . add some protection to routines in print.c to stop short of trying to look too closely at invalid Lisp objects Only debugging can tell which way is the best one here, but all things being equal, I'd prefer the former. From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2022 04:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 58850@debbugs.gnu.org Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166727693619283 (code B ref 58850); Tue, 01 Nov 2022 04:29:02 +0000 Received: (at 58850) by debbugs.gnu.org; 1 Nov 2022 04:28:56 +0000 Received: from localhost ([127.0.0.1]:42409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opitU-00050x-50 for submit@debbugs.gnu.org; Tue, 01 Nov 2022 00:28:56 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:43829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opitR-00050j-LP for 58850@debbugs.gnu.org; Tue, 01 Nov 2022 00:28:54 -0400 Received: by mail-yb1-f177.google.com with SMTP id n130so16009235yba.10 for <58850@debbugs.gnu.org>; Mon, 31 Oct 2022 21:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OSYtpbg7qRL7caa4Tq7PXQ3CMKQ2okMme+2IxZzjoYo=; b=DLuebrHSAWx5TfsXCuhmCDFqglOz0D31RAJjQhZ4wvlekjxj/1GXxblGsAd7TCQpU4 rv3WH+I+fvA8PrqcRllJGy6BygfZtAAokCb+vM0iK+o/RPQBbIBOa0qxlLS1XQ2r9Ha2 AehkOpsi9z8uHx6dUDqIyXrb6KRMUJjP1TgnxfoKUZzw5vLX3fpigKeN/gmM3uM97aZ1 5MtLGDutv3i7t4KOiObUbQEKGx5kgsbrQScXPaCOX7vWLgtG74Al7FRGJcqpQqxtQ//r LiHdiVMMJqMi+Tgcb+kB+8/OZpvZyk+twYDQV8IbZ3CEf+cB9E6nL4JaBMJZN39VR6zv WSHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OSYtpbg7qRL7caa4Tq7PXQ3CMKQ2okMme+2IxZzjoYo=; b=b0JDgtdD8smUuUIzE9iQiZzmRqYw+juJFCCcbthuERFtCZvVC5Yxk+S5hDUP/QrEV7 24/JmwtJ/Kf1MFg4KRUfg1coVv9OU9oxnRlWMnZzJOB1m/5VQPO69DB+XjJlB9tZZYuP IZc5z3O38WDUSBJtEUU8z74Uxpvv/+lk6FIAdb+UO99KKzDPj9mdBBJicoWbhbjqlQrW 83FNYIfxrMpIIGwDbl+2obXjnmT5ScE9906d9FkA/ay1JkBf9tBPNmZvf7wHlt6ZrmPj 4QJyV/xnY7qHCizg3MhczJ1+OysQvj3Fxf1DJ1tviHznU5EIyWtVEPzDl3RwsdcTd6gH G5Nw== X-Gm-Message-State: ACrzQf2ILLmeue8cb5fdqUflhrjroBGUmJ2HbNA0uFpWM5B4Axu32LG/ 0FAESxc+RO3pNurEbDdNgoyb+/Xjq2aTTxPmALI= X-Google-Smtp-Source: AMsMyM73showvHxmEd9d0JjTLwwa6QsP8rOdvl6QUcuNE97biPaVTt01meiHVoBiMnWlo6h2aPJWDjN4xAkW9cpmTV4= X-Received: by 2002:a25:5089:0:b0:6ca:ba8:5e99 with SMTP id e131-20020a255089000000b006ca0ba85e99mr15448991ybb.40.1667276927745; Mon, 31 Oct 2022 21:28:47 -0700 (PDT) MIME-Version: 1.0 References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> <835yg1hl9k.fsf@gnu.org> In-Reply-To: <835yg1hl9k.fsf@gnu.org> From: Andrew Hyatt Date: Tue, 1 Nov 2022 00:28:36 -0400 Message-ID: Content-Type: multipart/alternative; boundary="00000000000005447905ec61298a" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000005447905ec61298a Content-Type: text/plain; charset="UTF-8" On Sun, Oct 30, 2022 at 2:35 AM Eli Zaretskii wrote: > > From: Andrew Hyatt > > Date: Sat, 29 Oct 2022 19:44:17 -0400 > > Cc: 58850@debbugs.gnu.org > > > > > 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. > > Then please walk through the code with a debugger and tell us what > kind of object is being created as result of the error that Emacs > cannot print via prin1 because print_object barfs. I cannot do it > here because the problem doesn't happen on my system in the first > place. > > The way to fix this is one of the following, whichever seems cleaner: > > . repair the object before it gets to the printing routines, > preferably where it is created; or > . add some protection to routines in print.c to stop short of trying > to look too closely at invalid Lisp objects > > Only debugging can tell which way is the best one here, but all things > being equal, I'd prefer the former. > Thanks for the advice. Right now, I narrowed the problem down to the sqlite connection name creation, since it is the printing of the sqlite object's name that causes the crash. The creation of the name is on sqlite.c line 269 ( https://git.savannah.gnu.org/cgit/emacs.git/tree/src/sqlite.c#n269). I can make the crash go away by substituting that line with my own filename: name = build_string("/tmp/test.db"); But I don't know what might be wrong with the line there as written. I'll continue to investigate, but it's possible that someone with better knowledge of the emacs internal idioms might spot the issue. --00000000000005447905ec61298a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 30, 2022 at 2:35 AM Eli Zaret= skii <eliz@gnu.org> wrote:
> From: Andrew Hyatt <ahyatt@gmail.com>
> Date: Sat, 29 Oct 2022 19:44:17 -0400
> Cc: 58850@d= ebbugs.gnu.org
>
>=C2=A0 > Some combination of sqlite and getting errors that result i= n backtraces
>=C2=A0 > seems to result in a problem.
>=C2=A0 >
>=C2=A0 > Relevant information from the crash report:
>=C2=A0 > Thread 0 Crashed::=C2=A0 Dispatch queue: com.apple.main-thr= ead
>=C2=A0 > 0=C2=A0 =C2=A0libsystem_kernel.dylib=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00x1aab6ed98 __pthread_kill = + 8
>=C2=A0 > 1=C2=A0 =C2=A0libsystem_pthread.dylib=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x1aaba3ee0 pthread_kill + 288 >=C2=A0 > 2=C2=A0 =C2=A0libsystem_c.dylib=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x1aaade3cc __abort= + 128
>=C2=A0 > 3=C2=A0 =C2=A0libsystem_c.dylib=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x1aaacfd48 __stack= _chk_fail + 96
>=C2=A0 > 4=C2=A0 =C2=A0Emacs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 0x102dcdbd8 print_object + 5920
>=C2=A0 > 5=C2=A0 =C2=A0Emacs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 0x102dc9d50 Fprin1 + 112 (print.c:775)
>
>=C2=A0 Please try the latest master branch.=C2=A0 Jonas installed chang= es there
>=C2=A0 that are related to sqlite error handling, and with today's = master I
>=C2=A0 get a Lisp error with your recipe, not a crash:
>
>=C2=A0 =C2=A0 Debugger entered--Lisp error: (sqlite-error ("SQL lo= gic error" "no such table: bar" 1 1))
>
> I've synced, rebuilt, verified Jonas's change is there, howeve= r the crash still occurs.

Then please walk through the code with a debugger and tell us what
kind of object is being created as result of the error that Emacs
cannot print via prin1 because print_object barfs.=C2=A0 I cannot do it
here because the problem doesn't happen on my system in the first
place.

The way to fix this is one of the following, whichever seems cleaner:

=C2=A0 . repair the object before it gets to the printing routines,
=C2=A0 =C2=A0 preferably where it is created; or
=C2=A0 . add some protection to routines in print.c to stop short of trying=
=C2=A0 =C2=A0 to look too closely at invalid Lisp objects

Only debugging can tell which way is the best one here, but all things
being equal, I'd prefer the former.

Thanks for the advice.=C2=A0=C2=A0

Right now, I n= arrowed the problem down to the sqlite connection name creation, since it i= s the printing of the sqlite object's name that causes the crash.
=
The creation of the name is on sqlite.c line 269 (https://git.sava= nnah.gnu.org/cgit/emacs.git/tree/src/sqlite.c#n269).=C2=A0 I can make t= he crash go away by substituting that line with my own filename:=C2=A0 name= =3D build_string("/tmp/test.db");

But I= don't know what might be wrong with the line there as written.=C2=A0 I= 'll continue to investigate, but it's possible that someone with be= tter knowledge of the emacs internal idioms might spot the issue.

=C2=A0
--00000000000005447905ec61298a-- From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2022 07:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Hyatt Cc: 58850@debbugs.gnu.org Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.16672887597567 (code B ref 58850); Tue, 01 Nov 2022 07:46:01 +0000 Received: (at 58850) by debbugs.gnu.org; 1 Nov 2022 07:45:59 +0000 Received: from localhost ([127.0.0.1]:42589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oplyB-0001xz-4I for submit@debbugs.gnu.org; Tue, 01 Nov 2022 03:45:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oply9-0001xg-P2 for 58850@debbugs.gnu.org; Tue, 01 Nov 2022 03:45:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oply4-00078e-Eq; Tue, 01 Nov 2022 03:45:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cEn5NYQO8ZJynTAugpl7TpdgIlGZ9obrSaN9Xymt3vk=; b=Aaerksk2BM7A S+o1eQRTYyMXoiAx7Ls/HE4O/LYyJrQujm2b8/rpFJGMudywMazgI+bWXFp9XG3X9NVra8ZRiaPc/ y6iBT9xNYV4zK1xzh8DX26Hsrcm05qZfjlWuu1CvPcZiKBqXW33bGJ1Z5RZR7r0R7MYUqUzK84Ohh 3Kq+gYRDfVlTp3HjAnPPHFiCEQ1h93NZqIdO/ZrSOZgyO1iWs5mE53d7KeAkbRkW+71rXVDgxz+/P 524w03FiszIYM1fjbSkTZMSGnYSiWFAxeinvOBD7Wqhy4HJiw7JcyNVxx0+92reXzLOoEPhl9vBC0 r+oSFj+E4v5+REPcmZ7FOw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oply3-0004t2-Dv; Tue, 01 Nov 2022 03:45:51 -0400 Date: Tue, 01 Nov 2022 09:45:37 +0200 Message-Id: <83o7trce3i.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andrew Hyatt on Tue, 1 Nov 2022 00:28:36 -0400) References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> <835yg1hl9k.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrew Hyatt > Date: Tue, 1 Nov 2022 00:28:36 -0400 > Cc: 58850@debbugs.gnu.org > > Right now, I narrowed the problem down to the sqlite connection name creation, since it is the printing of the > sqlite object's name that causes the crash. This is not at all clear from the backtrace you posted; see below. > The creation of the name is on sqlite.c line 269 > (https://git.savannah.gnu.org/cgit/emacs.git/tree/src/sqlite.c#n269). I can make the crash go away by > substituting that line with my own filename: name = build_string("/tmp/test.db"); That line just encodes the file name. I have hard time believing it could cause a problem like this. What do you see in the value of 'name' after line 269 is executed? For starters, please rebuild Emacs without optimizations and with "--enable-checking=yes" at configure time, and then post a full backtrace when running the recipe you posted. The original backtrace you posted seems to come from an optimized build (so line numbers don't tell the whole story), and includes multiple references to ERT functions, from which I conclude it was not obtained by running the recipe, but by running something much more complex. Armed with the accurate backtrace, we might have a different picture of what causes this problem. From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2022 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 58850@debbugs.gnu.org, Andrew Hyatt Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166729340016502 (code B ref 58850); Tue, 01 Nov 2022 09:04:01 +0000 Received: (at 58850) by debbugs.gnu.org; 1 Nov 2022 09:03:20 +0000 Received: from localhost ([127.0.0.1]:42687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opnB1-0004I5-9Q for submit@debbugs.gnu.org; Tue, 01 Nov 2022 05:03:20 -0400 Received: from mail-ed1-f51.google.com ([209.85.208.51]:35361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opnAy-0004Ho-LZ for 58850@debbugs.gnu.org; Tue, 01 Nov 2022 05:03:17 -0400 Received: by mail-ed1-f51.google.com with SMTP id x2so20881383edd.2 for <58850@debbugs.gnu.org>; Tue, 01 Nov 2022 02:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=HgzAcoKZwMCwQyim091cXs/nLpz+UUfKRLmqjOd2Xo0=; b=e4zkGTiZ5DBrF8asld9/YKE/Z+QZQhPdjwCyZYCpZsiZ5qSqleNnhZ6O+iC9PaPE0f ns6vNrHA/zlcMhkMfqvAwR8Xw9w6lGlLKjPMM3iE3G2HJgpNYKkAS2tmTO3Yuhl2l9Oa tjWGWwQDLyoYfC5YdqdnJDrhSNY6Fi7jEwhxVH0SmZ/CjeuoAsvesFA2BChQ9udLZ/mK TPXxmEmVaNSPgx8ekLXtJtMSQMM4RzcdJpirGEKxRaSRJmMdVZymS9xmYi01wezrvNr6 SBmYVby/1EkH1hkoJOUMXZqZ+eemGtqOFI7hw8ABiLzs+7o9G9WBVIb/dEVgEqwIgkXU 4Msg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HgzAcoKZwMCwQyim091cXs/nLpz+UUfKRLmqjOd2Xo0=; b=u3IlZmj+QX0T3VSD1TC7gUfzGtTyilr9wfJA8P29j5QmjQ/iagmNefEKZX2Tix2G7p g99oQriphXbziheYpf2VTWuPAC+Z8JRq3n0eXIE80oTLxppgtJuUa0w+5GVi8e019/pa amsLToUFhNqDxAu0tDoY7v0DHL65tA+0Ylec9xRZA8qK2nHb+T7MKoiY73hdiq5XR0A6 TTCfICDjSPOu7p2x2iGl3UkK6AFg/2qfCVCJcm//Fl2tNgyh6YDevRIk3ft0O+qxGk5v 1K1KIsMGmjm4K+XwONXA73RHa1slUJZ0mJTTHiQoaOQNKQ3gpTv2GIjGWOMJpQLTuED9 2UPA== X-Gm-Message-State: ACrzQf3RAlhcwkHtxWq6a6+UQhpBuJwE8nx6sSYyWEJZV5yWRQG9JaO4 /hUgQQXtbFPTats95tP/30j1REZjywO9vg== X-Google-Smtp-Source: AMsMyM7Bq14VNAK1kxgcGMUmC9EI8pCV0VM3T9yvuHdfEWn4OvlV1rtuHl+vkafB/7Mt1CEHK9PFpw== X-Received: by 2002:a05:6402:5291:b0:45c:3f6a:d4bc with SMTP id en17-20020a056402529100b0045c3f6ad4bcmr18006354edb.285.1667293390142; Tue, 01 Nov 2022 02:03:10 -0700 (PDT) Received: from Mini.fritz.box (pd9e36358.dip0.t-ipconnect.de. [217.227.99.88]) by smtp.gmail.com with ESMTPSA id i3-20020aa7c703000000b00457c85bd890sm4269190edq.55.2022.11.01.02.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 02:03:09 -0700 (PDT) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: <83o7trce3i.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 01 Nov 2022 09:45:37 +0200") References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> <835yg1hl9k.fsf@gnu.org> <83o7trce3i.fsf@gnu.org> Date: Tue, 01 Nov 2022 10:03:08 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Armed with the accurate backtrace, we might have a different picture > of what causes this problem. Since I have debug build at hand, here is the result: (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = Stack buffer overflow * frame #0: 0x0000000103759334 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanDie() frame #1: 0x0000000103771870 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::Die() + 192 frame #2: 0x00000001037571c0 libclang_rt.asan_osx_dynamic.dylib`__asan::ScopedInErrorReport::~ScopedInErrorReport() + 1124 frame #3: 0x0000000103756498 libclang_rt.asan_osx_dynamic.dylib`__asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 1436 frame #4: 0x0000000103727964 libclang_rt.asan_osx_dynamic.dylib`wrap_memcpy + 616 frame #5: 0x000000019189acbc libsystem_c.dylib`__sfvwrite + 324 frame #6: 0x0000000191899988 libsystem_c.dylib`__vfprintf + 7200 frame #7: 0x00000001918a31cc libsystem_c.dylib`vsprintf_l + 204 frame #8: 0x000000010372db70 libclang_rt.asan_osx_dynamic.dylib`wrap_vsprintf + 184 frame #9: 0x000000010372e148 libclang_rt.asan_osx_dynamic.dylib`wrap_sprintf + 84 frame #10: 0x00000001008276ec emacs`print_vectorlike(obj=(struct Lisp_Sqlite *) $5 = 0x0000000117d4ccd8, printcharfun=(struct Lisp_Symbol *) $8 = 0x0000000101494c00, escapeflag=true, buf=" name=0dd48080") at print.c:2020:6 frame #11: 0x00000001008228f0 emacs`print_object(obj=(struct Lisp_Sqlite *) $13 = 0x0000000117d4ccd8, printcharfun=(struct Lisp_Symbol *) $16 = 0x0000000101494c00, escapeflag=true) at print.c:2569:11 frame #12: 0x0000000100812f3c emacs`print(obj=(struct Lisp_Sqlite *) $21 = 0x0000000117d4ccd8, printcharfun=(struct Lisp_Symbol *) $24 = 0x0000000101494c00, escapeflag=true) at print.c:1298:3 frame #13: 0x00000001008121fc emacs`Fprin1(object=(struct Lisp_Sqlite *) $29 = 0x0000000117d4ccd8, printcharfun=(struct buffer *) $34 = 0x0000000121142d20, overrides=(struct Lisp_Symbol *) $37 = 0x0000000101494c00) at print.c:773:3 frame #14: 0x0000000100780668 emacs`funcall_subr(subr=0x0000000100d15040, numargs=2, args=(struct Lisp_Symbol *) $40 = 0x0000000101494c00) at eval.c:3026:15 frame #15: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $45 = 0x0000000117d482d0, args_template=514, nargs=2, args=(struct Lisp_Symbol *) $48 = 0x0000000101494c00) at bytecode.c:809:14 frame #16: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $53 = 0x0000000117d482d0, args_template=514, nargs=2, args=(struct Lisp_Symbol *) $56 = 0x0000000101494c00) at eval.c:3069:10 frame #17: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $61 = 0x0000000117d482d0, nargs=2, arg_vector=(struct Lisp_Symbol *) $64 = 0x0000000101494c00) at eval.c:3141:9 frame #18: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $69 = 0x0000000117d482d0, numargs=2, args=(struct Lisp_Symbol *) $72 = 0x0000000101494c00) at eval.c:2933:12 frame #19: 0x00000001007717cc emacs`Ffuncall(nargs=3, args=(struct Lisp_Symbol *) $75 = 0x0000000101494c00) at eval.c:2983:21 frame #20: 0x000000010077dff4 emacs`Fapply(nargs=2, args=(struct Lisp_Symbol *) $78 = 0x0000000101494c00) at eval.c:2654:24 frame #21: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d110e0, numargs=2, args=(struct Lisp_Symbol *) $81 = 0x0000000101494c00) at eval.c:3047:9 frame #22: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $86 = 0x0000000121143240, args_template=128, nargs=0, args=(struct Lisp_Symbol *) $89 = 0x0000000101494c00) at bytecode.c:809:14 frame #23: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $94 = 0x000000011dc591f0, args_template=771, nargs=3, args=(struct Lisp_Symbol *) $97 = 0x0000000101494c00) at eval.c:3069:10 frame #24: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $102 = 0x000000011dc591f0, nargs=3, arg_vector=(struct Lisp_Symbol *) $105 = 0x0000000101494c00) at eval.c:3141:9 frame #25: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $110 = 0x000000011dc591f0, numargs=3, args=(struct Lisp_Symbol *) $113 = 0x0000000101494c00) at eval.c:2933:12 frame #26: 0x00000001007717cc emacs`Ffuncall(nargs=4, args=(struct Lisp_Symbol *) $116 = 0x0000000101494c00) at eval.c:2983:21 frame #27: 0x000000010077dff4 emacs`Fapply(nargs=3, args=(struct Lisp_Symbol *) $119 = 0x0000000101494c00) at eval.c:2654:24 frame #28: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d110e0, numargs=3, args=(struct Lisp_Symbol *) $122 = 0x0000000101494c00) at eval.c:3047:9 frame #29: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $127 = 0x0000000121132f20, args_template=128, nargs=2, args=(struct Lisp_Symbol *) $130 = 0x0000000101494c00) at bytecode.c:809:14 frame #30: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $135 = 0x0000000121132f20, args_template=128, nargs=2, args=(struct Lisp_Symbol *) $138 = 0x0000000101494c00) at eval.c:3069:10 frame #31: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $143 = 0x0000000121132f20, nargs=2, arg_vector=(struct Lisp_Symbol *) $146 = 0x0000000101494c00) at eval.c:3141:9 frame #32: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $151 = 0x0000000121132f20, numargs=2, args=(struct Lisp_Symbol *) $154 = 0x0000000101494c00) at eval.c:2933:12 frame #33: 0x00000001007717cc emacs`Ffuncall(nargs=3, args=(struct Lisp_Symbol *) $157 = 0x0000000101494c00) at eval.c:2983:21 frame #34: 0x000000010077cf8c emacs`Fapply(nargs=3, args=(struct Lisp_Symbol *) $160 = 0x0000000101494c00) at eval.c:2611:14 frame #35: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d110e0, numargs=3, args=(struct Lisp_Symbol *) $163 = 0x0000000101494c00) at eval.c:3047:9 frame #36: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $168 = 0x0000000107a49488, args_template=514, nargs=2, args=(struct Lisp_Symbol *) $171 = 0x0000000101494c00) at bytecode.c:809:14 frame #37: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $176 = 0x0000000117d48330, args_template=514, nargs=2, args=(struct Lisp_Symbol *) $179 = 0x0000000101494c00) at eval.c:3069:10 frame #38: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $184 = 0x0000000117d48330, nargs=2, arg_vector=(struct Lisp_Symbol *) $187 = 0x0000000101494c00) at eval.c:3141:9 frame #39: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $192 = 0x0000000117d48330, numargs=2, args=(struct Lisp_Symbol *) $195 = 0x0000000101494c00) at eval.c:2933:12 frame #40: 0x00000001007717cc emacs`Ffuncall(nargs=3, args=(struct Lisp_Symbol *) $198 = 0x0000000101494c00) at eval.c:2983:21 frame #41: 0x000000010077dff4 emacs`Fapply(nargs=2, args=(struct Lisp_Symbol *) $201 = 0x0000000101494c00) at eval.c:2654:24 frame #42: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d110e0, numargs=2, args=(struct Lisp_Symbol *) $204 = 0x0000000101494c00) at eval.c:3047:9 frame #43: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $209 = 0x0000000121143190, args_template=128, nargs=0, args=(struct Lisp_Symbol *) $212 = 0x0000000101494c00) at bytecode.c:809:14 frame #44: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $217 = 0x000000011dc591f0, args_template=771, nargs=3, args=(struct Lisp_Symbol *) $220 = 0x0000000101494c00) at eval.c:3069:10 frame #45: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $225 = 0x000000011dc591f0, nargs=3, arg_vector=(struct Lisp_Symbol *) $228 = 0x0000000101494c00) at eval.c:3141:9 frame #46: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $233 = 0x000000011dc591f0, numargs=3, args=(struct Lisp_Symbol *) $236 = 0x0000000101494c00) at eval.c:2933:12 frame #47: 0x00000001007717cc emacs`Ffuncall(nargs=4, args=(struct Lisp_Symbol *) $239 = 0x0000000101494c00) at eval.c:2983:21 frame #48: 0x000000010077dff4 emacs`Fapply(nargs=3, args=(struct Lisp_Symbol *) $242 = 0x0000000101494c00) at eval.c:2654:24 frame #49: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d110e0, numargs=3, args=(struct Lisp_Symbol *) $245 = 0x0000000101494c00) at eval.c:3047:9 frame #50: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $250 = 0x0000000121132e00, args_template=128, nargs=2, args=(struct Lisp_Symbol *) $253 = 0x0000000101494c00) at bytecode.c:809:14 frame #51: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $258 = 0x0000000121132e00, args_template=128, nargs=2, args=(struct Lisp_Symbol *) $261 = 0x0000000101494c00) at eval.c:3069:10 frame #52: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $266 = 0x0000000121132e00, nargs=2, arg_vector=(struct Lisp_Symbol *) $269 = 0x0000000101494c00) at eval.c:3141:9 frame #53: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $274 = 0x0000000121132e00, numargs=2, args=(struct Lisp_Symbol *) $277 = 0x0000000101494c00) at eval.c:2933:12 frame #54: 0x00000001007717cc emacs`Ffuncall(nargs=3, args=(struct Lisp_Symbol *) $280 = 0x0000000101494c00) at eval.c:2983:21 frame #55: 0x000000010077cf8c emacs`Fapply(nargs=3, args=(struct Lisp_Symbol *) $283 = 0x0000000101494c00) at eval.c:2611:14 frame #56: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d110e0, numargs=3, args=(struct Lisp_Symbol *) $286 = 0x0000000101494c00) at eval.c:3047:9 frame #57: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $291 = 0x000000010752ec50, args_template=257, nargs=1, args=(struct Lisp_Symbol *) $294 = 0x0000000101494c00) at bytecode.c:809:14 frame #58: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $299 = 0x0000000111116b30, args_template=128, nargs=2, args=(struct Lisp_Symbol *) $302 = 0x0000000101494c00) at eval.c:3069:10 frame #59: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $307 = 0x0000000111116b30, nargs=2, arg_vector=(struct Lisp_Symbol *) $310 = 0x0000000101494c00) at eval.c:3141:9 frame #60: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $315 = 0x0000000111116b30, numargs=2, args=(struct Lisp_Symbol *) $318 = 0x0000000101494c00) at eval.c:2933:12 frame #61: 0x00000001007717cc emacs`Ffuncall(nargs=3, args=(struct Lisp_Symbol *) $321 = 0x0000000101494c00) at eval.c:2983:21 frame #62: 0x000000010077dff4 emacs`Fapply(nargs=2, args=(struct Lisp_Symbol *) $324 = 0x0000000101494c00) at eval.c:2654:24 frame #63: 0x00000001007645a8 emacs`apply1(fn=(struct Lisp_Symbol *) $327 = 0x0000000101499dc0, arg=(struct Lisp_Cons *) $329 = 0x00000001074cd700) at eval.c:2870:43 frame #64: 0x0000000100762c8c emacs`call_debugger(arg=(struct Lisp_Cons *) $331 = 0x00000001074cd700) at eval.c:315:9 frame #65: 0x000000010078b91c emacs`maybe_call_debugger(conditions=(struct Lisp_Cons *) $333 = 0x00000001076b6390, sig=(struct Lisp_Symbol *) $336 = 0x00000001014a2d60, data=(struct Lisp_Cons *) $338 = 0x00000001074cd6d0) at eval.c:2014:7 frame #66: 0x000000010077787c emacs`signal_or_quit(error_symbol=(struct Lisp_Symbol *) $341 = 0x00000001014a2d60, data=(struct Lisp_Cons *) $343 = 0x00000001074cd6d0, keyboard_quit=false) at eval.c:1789:4 frame #67: 0x0000000100b92b84 emacs`Fsignal(error_symbol=(struct Lisp_Symbol *) $346 = 0x00000001014a2d60, data=(struct Lisp_Cons *) $348 = 0x00000001074cd6d0) at eval.c:1685:3 frame #68: 0x0000000100b92c60 emacs`xsignal(error_symbol=(struct Lisp_Symbol *) $351 = 0x00000001014a2d60, data=(struct Lisp_Cons *) $353 = 0x00000001074cd6d0) at lisp.h:4553:3 frame #69: 0x0000000100b92150 emacs`xsignal1(error_symbol=(struct Lisp_Symbol *) $356 = 0x00000001014a2d60, arg=(struct Lisp_Cons *) $358 = 0x00000001074cd6c0) at eval.c:1879:3 frame #70: 0x00000001009a0330 emacs`Fsqlite_execute(db=(struct Lisp_Sqlite *) $363 = 0x0000000117d4ccd8, query=(struct Lisp_String *) $365 = 0x000000011aa11ea0, values=(struct Lisp_Symbol *) $368 = 0x0000000101494c00) at sqlite.c:510:3 frame #71: 0x0000000100766ff0 emacs`eval_sub(form=(struct Lisp_Cons *) $370 = 0x00000001074766e0) at eval.c:2492:15 frame #72: 0x0000000100768a88 emacs`Fprogn(body=(struct Lisp_Symbol *) $373 = 0x0000000101494c00) at eval.c:436:13 frame #73: 0x0000000100770124 emacs`Flet(args=(struct Lisp_Cons *) $375 = 0x00000001074766d0) at eval.c:1026:9 frame #74: 0x00000001007663f4 emacs`eval_sub(form=(struct Lisp_Cons *) $377 = 0x0000000107476650) at eval.c:2437:8 frame #75: 0x0000000100768a88 emacs`Fprogn(body=(struct Lisp_Symbol *) $380 = 0x0000000101494c00) at eval.c:436:13 frame #76: 0x00000001007823a4 emacs`funcall_lambda(fun=(struct Lisp_Cons *) $382 = 0x0000000107475a00, nargs=0, arg_vector=(struct Lisp_Symbol *) $385 = 0x0000000101494c00) at eval.c:3221:11 frame #77: 0x000000010077c9c8 emacs`apply_lambda(fun=(struct Lisp_Cons *) $387 = 0x0000000107475a10, args=(struct Lisp_Symbol *) $390 = 0x0000000101494c00, count=(bytes = 544)) at eval.c:3091:9 frame #78: 0x0000000100767f90 emacs`eval_sub(form=(struct Lisp_Cons *) $392 = 0x00000001074cd5f0) at eval.c:2576:9 frame #79: 0x0000000100768a88 emacs`Fprogn(body=(struct Lisp_Symbol *) $395 = 0x0000000101494c00) at eval.c:436:13 frame #80: 0x00000001007663f4 emacs`eval_sub(form=(struct Lisp_Cons *) $397 = 0x00000001074cd610) at eval.c:2437:8 frame #81: 0x000000010077ab44 emacs`Feval(form=(struct Lisp_Cons *) $399 = 0x00000001074cd610, lexical=(struct Lisp_Symbol *) $402 = 0x0000000101494c30) at eval.c:2349:28 frame #82: 0x0000000100780560 emacs`funcall_subr(subr=0x0000000100d11080, numargs=2, args=(struct Lisp_Symbol *) $405 = 0x0000000101494c00) at eval.c:3024:15 frame #83: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $410 = 0x000000010760e440, args_template=513, nargs=2, args=(struct Lisp_Symbol *) $413 = 0x0000000101494c00) at bytecode.c:809:14 frame #84: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $418 = 0x00000001079d2418, args_template=256, nargs=1, args=(struct Lisp_Symbol *) $421 = 0x0000000101494c00) at eval.c:3069:10 frame #85: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $426 = 0x00000001079d2418, nargs=1, arg_vector=(struct Lisp_Symbol *) $429 = 0x0000000101494c00) at eval.c:3141:9 frame #86: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $434 = 0x00000001079d2418, numargs=1, args=(struct Lisp_Symbol *) $437 = 0x0000000101494c00) at eval.c:2933:12 frame #87: 0x00000001007717cc emacs`Ffuncall(nargs=2, args=(struct Lisp_Symbol *) $440 = 0x0000000101494c00) at eval.c:2983:21 frame #88: 0x0000000100756c78 emacs`Ffuncall_interactively(nargs=2, args=(struct Lisp_Symbol *) $443 = 0x0000000101494c00) at callint.c:248:32 frame #89: 0x0000000100781090 emacs`funcall_subr(subr=0x0000000100d10420, numargs=2, args=(struct Lisp_Symbol *) $446 = 0x0000000101494c00) at eval.c:3047:9 frame #90: 0x000000010077fab8 emacs`funcall_general(fun=(struct Lisp_Subr *) $451 = 0x0000000100d10420, numargs=2, args=(struct Lisp_Symbol *) $454 = 0x0000000101494c00) at eval.c:2929:12 frame #91: 0x00000001007717cc emacs`Ffuncall(nargs=3, args=(struct Lisp_Symbol *) $457 = 0x0000000101494c00) at eval.c:2983:21 frame #92: 0x000000010075c48c emacs`Fcall_interactively(function=(struct Lisp_Symbol *) $460 = 0x00000001079d23e8, record_flag=(struct Lisp_Symbol *) $463 = 0x0000000101494c00, keys=(struct Lisp_Vector *) $467 = 0x0000000107fd7c28) at callint.c:785:21 frame #93: 0x0000000100780668 emacs`funcall_subr(subr=0x0000000100d103c0, numargs=3, args=(struct Lisp_Symbol *) $470 = 0x0000000101494c00) at eval.c:3026:15 frame #94: 0x00000001008918cc emacs`exec_byte_code(fun=(struct Lisp_Vector *) $475 = 0x00000001075c5d38, args_template=1025, nargs=1, args=(struct Lisp_Symbol *) $478 = 0x0000000101494c00) at bytecode.c:809:14 frame #95: 0x000000010078c740 emacs`fetch_and_exec_byte_code(fun=(struct Lisp_Vector *) $483 = 0x00000001075c5d38, args_template=1025, nargs=1, args=(struct Lisp_Symbol *) $486 = 0x0000000101494c00) at eval.c:3069:10 frame #96: 0x0000000100781a4c emacs`funcall_lambda(fun=(struct Lisp_Vector *) $491 = 0x00000001075c5d38, nargs=1, arg_vector=(struct Lisp_Symbol *) $494 = 0x0000000101494c00) at eval.c:3141:9 frame #97: 0x000000010077fb08 emacs`funcall_general(fun=(struct Lisp_Vector *) $499 = 0x00000001075c5d38, numargs=1, args=(struct Lisp_Symbol *) $502 = 0x0000000101494c00) at eval.c:2933:12 frame #98: 0x00000001007717cc emacs`Ffuncall(nargs=2, args=(struct Lisp_Symbol *) $505 = 0x0000000101494c00) at eval.c:2983:21 frame #99: 0x00000001004d6448 emacs`call1(fn=(struct Lisp_Symbol *) $508 = 0x0000000101499250, arg1=(struct Lisp_Symbol *) $511 = 0x00000001079d23e8) at lisp.h:3242:10 frame #100: 0x00000001004ca430 emacs`command_loop_1 at keyboard.c:1493:13 frame #101: 0x0000000100774d0c emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1268), handlers=(struct Lisp_Symbol *) $514 = 0x0000000101494c90, hfun=(emacs`cmd_error at keyboard.c:926)) at eval.c:1474:25 frame #102: 0x00000001004c887c emacs`command_loop_2(handlers=(struct Lisp_Symbol *) $517 = 0x0000000101494c90) at keyboard.c:1123:11 frame #103: 0x0000000100772804 emacs`internal_catch(tag=(struct Lisp_Symbol *) $520 = 0x00000001014a3c90, func=(emacs`command_loop_2 at keyboard.c:1119), arg=(struct Lisp_Symbol *) $523 = 0x0000000101494c90) at eval.c:1197:25 frame #104: 0x00000001004c61a0 emacs`command_loop at keyboard.c:1101:2 frame #105: 0x00000001004c5c08 emacs`recursive_edit_1 at keyboard.c:710:9 frame #106: 0x00000001004c6d34 emacs`Frecursive_edit at keyboard.c:793:3 frame #107: 0x00000001004be3c0 emacs`main(argc=2, argv=0x000000016fdff650) at emacs.c:2515:3 frame #108: 0x00000001916abe50 dyld`start + 2544 (lldb) f 10 frame #10: 0x00000001008276ec emacs`print_vectorlike(obj=(struct Lisp_Sqlite *) $528 = 0x0000000117d4ccd8, printcharfun=(struct Lisp_Symbol *) $531 = 0x0000000101494c00, escapeflag=true, buf=" name=0dd48080") at print.c:2020:6 2017 i = sprintf (buf, " stmt=%p", XSQLITE (obj)->stmt); 2018 strout (buf, i, i, printcharfun); 2019 } -> 2020 i = sprintf (buf, " name=%s", XSQLITE (obj)->name); 2021 strout (buf, i, i, printcharfun); 2022 printchar ('>', printcharfun); 2023 } (lldb) p obj (Lisp_Object) $532 = 0x0000000117d4ccdd (struct Lisp_Sqlite *) $537 = 0x0000000117d4ccd8 (lldb) p *$537 (struct Lisp_Sqlite) $538 = { header = (size = 4611686018863616000) db = 0x000000010dd48080 stmt = 0x0000000000000000 name = 0x0000000120c131f0 "/var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T/will-failVznhDE" finalizer = 0x00000001009a2bf4 (emacs`sqlite_free at sqlite.c:201) eof = false is_statement = false } buf comes from print_object 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)))]; which I find quite funny :-). I haven't taken a close look, but I know that reading symbols goes so great lengths of growing its buffer as needed. Maybe this is missing in this case. Or something similar. From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2022 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 58850@debbugs.gnu.org, Andrew Hyatt Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166729418317925 (code B ref 58850); Tue, 01 Nov 2022 09:17:02 +0000 Received: (at 58850) by debbugs.gnu.org; 1 Nov 2022 09:16:23 +0000 Received: from localhost ([127.0.0.1]:42697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opnNe-0004f2-Ta for submit@debbugs.gnu.org; Tue, 01 Nov 2022 05:16:23 -0400 Received: from mail-ej1-f47.google.com ([209.85.218.47]:33710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opnNd-0004em-JF for 58850@debbugs.gnu.org; Tue, 01 Nov 2022 05:16:21 -0400 Received: by mail-ej1-f47.google.com with SMTP id q9so35600106ejd.0 for <58850@debbugs.gnu.org>; Tue, 01 Nov 2022 02:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MkFifpk4mIe0RXHwTXtqz6HFwLxdWjxaXNyBY3VebN4=; b=fZbGGWQCDf8BmlfI4mlhHu1rlKmOWN5zjohhpS/xjtG9rd+/9gDowwJbiiZQUkfgW7 RVnuBhTEvrHQHLna1tJmbD/xEmT+0XTHrhzlxYuqK0pDZa4ZTS6LsjQb3WxOSb5GOhHC NJU45mcCXSLGItVLT6nl/U9pToDNeGmaAxguDUFYZ2DOqbJAi0eR8lRumOQ9Vmbu8ZH7 2ikrtVrFYFvgqlsBjZrZPE0r7WEHJe7K+LiuRMHRDcnlJaIPJJo462u6kg67Pz8+NNW/ I6WrUsKCvwPvT9Q4mGZeWDHBv50q7P0VF2wovu89eN5cbyRyqvaOY5UKLqYUiP7MvPFy Tf3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MkFifpk4mIe0RXHwTXtqz6HFwLxdWjxaXNyBY3VebN4=; b=2jr0dEbijJFdpxnRWLboVbnU30e7JEkmO8pJJoP9bCR0RazL7+53Sti4FZ31V3K8oO 036w1Z7a+zJRjxJ2ZJUNDxKRBsFNw8gl3gKfK8NjLir/wU8rme3wncJgU+ooRF2cI5OE 0FaTIbzEmIGrc+HpJDAyZwxj75GL/geRJCIrxq+U7QMy5fI9eC9Atolrm4qIj6ntrU6M rog3j/RoYPyWDuE/ogQe3EHilR/KLdAwflQLSssCZxX5SPoq/HHk94qMEArd2bq5XOu5 C/qAwgHR0aUtSln3AEd0Th/lBKCT321gccKCvIvWMMoEXaa9teTCj7pC0iJLTxt+QzXx CvGQ== X-Gm-Message-State: ACrzQf0afA2w/VHGfwDrp7NT5eZEjMx3KpR0G38pfAGGeyiZWs1ozL/T HSU0IwfrNFID3W2+ciJhFV0= X-Google-Smtp-Source: AMsMyM50CdwgrIQzL+1yshRHV1nM/DKumD+u6JU3JiWkDboHjOhhozmCVJfHvcvt7Zdsb5c6VDkfRw== X-Received: by 2002:a17:907:e93:b0:7ad:9ada:a675 with SMTP id ho19-20020a1709070e9300b007ad9adaa675mr17759478ejc.743.1667294174902; Tue, 01 Nov 2022 02:16:14 -0700 (PDT) Received: from Mini.fritz.box (pd9e36358.dip0.t-ipconnect.de. [217.227.99.88]) by smtp.gmail.com with ESMTPSA id 9-20020a170906200900b00780b1979adesm3954169ejo.218.2022.11.01.02.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 02:16:14 -0700 (PDT) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Tue, 01 Nov 2022 10:03:08 +0100") References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> <835yg1hl9k.fsf@gnu.org> <83o7trce3i.fsf@gnu.org> Date: Tue, 01 Nov 2022 10:16:13 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > I haven't taken a close look, but I know that reading symbols goes so > great lengths of growing its buffer as needed. Maybe this is missing in > this case. Or something similar. I've pushed a fix to master. Could you please check, Andrew? From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Nov 2022 03:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Cc: 58850@debbugs.gnu.org, Eli Zaretskii Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166736003228076 (code B ref 58850); Wed, 02 Nov 2022 03:34:01 +0000 Received: (at 58850) by debbugs.gnu.org; 2 Nov 2022 03:33:52 +0000 Received: from localhost ([127.0.0.1]:44595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq4Vj-0007Im-Pl for submit@debbugs.gnu.org; Tue, 01 Nov 2022 23:33:52 -0400 Received: from mail-yw1-f169.google.com ([209.85.128.169]:34687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq4Vi-0007IQ-AN for 58850@debbugs.gnu.org; Tue, 01 Nov 2022 23:33:50 -0400 Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-367cd2807f2so155026587b3.1 for <58850@debbugs.gnu.org>; Tue, 01 Nov 2022 20:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=j91iyQBonIqVt5DdUDTL25MQcKCRuXWTOzfSzttF9Pw=; b=IU5U95HT4km1OzZhyHou6OqYrGmuPD/nOknN38ongxDF7t4pAn648JPpCwneTuZT2y LxTCp5lsBlzloI8CpnW8vkdE7fzdroTWa7pV8pNKjWzzVXEru9ySZvlvf2Z9P3aNfhcZ e2EjExLJqAGLnhAPucuZB41U2ozw9Vu1IPxhVo6rdIe3PK3Nj+Ln/7m4WDR22S6McZPj qtGbWltZR19rMCfGfjm0ZgXgkWWx42b3NFlA1jWjVWYAGPTqypG+TFmVmOATGB0q/d26 kwzPq+TxR1oFN4H3Pz74QOTv+VEu8t9nK2vcdQgZ4+hIz0X5kLwdcwiwI4AoSwLcNw/j oWkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j91iyQBonIqVt5DdUDTL25MQcKCRuXWTOzfSzttF9Pw=; b=hViZ1lAbFTA0+O1aGFU38NvKQ764//Qrm/nUQsyUVJDRGhJyCBM4BG/mlJrNBv1Kup tczEuJ7OeUsLeCrwErnZHSzfEMwTT7ZWkpODaoBA0PpTxuyxwPFkCsERA5kWDabvAXvO C/srpM2rXd3F72svgEHT06CdfGC6TlcL8uincHAOnZyi4kKjym0mWmhQ0lYRtehtq/Uo R1NI17N5VG0fCjg2HzWYoYrJ5cFIOCOb6VyhIBDI1+E5h5xkC/BLVmO0JOTow6UcDMua /IJMVEmXvbbniuTpAeF7033S/qOa1tDMyk8jxtKdBuxR6+IWYe1OJ7atcqfIW/bkjBzd 3TnA== X-Gm-Message-State: ACrzQf1HbpTg5ZzYkRuUz85Xk8dBxLaRb8cUFfug1R24bhSpwaKxTh+8 gK98q/XuDcWl88xBGnu7fPYJ1ipaDOSVDeLTAI0= X-Google-Smtp-Source: AMsMyM6p4ekaqWWa6VkLlt7R3IT/a4YmfemToSpk2UaKoiXyqMKXSeZSNyB+FsINfDiL876Ge/rg0cPHo/XzIMC0LO8= X-Received: by 2002:a0d:c402:0:b0:370:5b7:f665 with SMTP id g2-20020a0dc402000000b0037005b7f665mr21695653ywd.50.1667360024460; Tue, 01 Nov 2022 20:33:44 -0700 (PDT) MIME-Version: 1.0 References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> <835yg1hl9k.fsf@gnu.org> <83o7trce3i.fsf@gnu.org> In-Reply-To: From: Andrew Hyatt Date: Tue, 1 Nov 2022 23:33:32 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f8937f05ec748175" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000f8937f05ec748175 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Nov 1, 2022 at 5:16 AM Gerd M=C3=B6llmann wrote: > Gerd M=C3=B6llmann writes: > > > I haven't taken a close look, but I know that reading symbols goes so > > great lengths of growing its buffer as needed. Maybe this is missing i= n > > this case. Or something similar. > > I've pushed a fix to master. Could you please check, Andrew? > It does work for me, thank you for the fix! I don't think I really understand what is going on here either (does anyone? is the length of the path in the name the relevant thing here?), but if there's a solution that works, then that's enough for me, thanks. I'll close this bug. --000000000000f8937f05ec748175 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Nov 1, 2022 at 5:16 AM Gerd M=C3= =B6llmann <gerd.moellmann@gm= ail.com> wrote:
Gerd M=C3=B6llmann <gerd.moellmann@gmail.com>= ; writes:

> I haven't taken a close look, but I know that reading symbols goes= so
> great lengths of growing its buffer as needed.=C2=A0 Maybe this is mis= sing in
> this case.=C2=A0 Or something similar.

I've pushed a fix to master.=C2=A0 Could you please check, Andrew?
<= /blockquote>

It does work for me, thank you for the fix!= =C2=A0 I don't think I really understand=C2=A0what is going on here eit= her (does anyone? is the=C2=A0length of the path in the name the relevant t= hing here?), but if there's a solution that works, then that's enou= gh for me, thanks.=C2=A0 I'll close this bug.
--000000000000f8937f05ec748175-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 01 23:36:44 2022 Received: (at control) by debbugs.gnu.org; 2 Nov 2022 03:36:44 +0000 Received: from localhost ([127.0.0.1]:44606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq4YW-0007NX-81 for submit@debbugs.gnu.org; Tue, 01 Nov 2022 23:36:44 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:34357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq4YT-0007NJ-VB for control@debbugs.gnu.org; Tue, 01 Nov 2022 23:36:42 -0400 Received: by mail-qk1-f176.google.com with SMTP id 8so10974546qka.1 for ; Tue, 01 Nov 2022 20:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=9SVhZlWKVL82QSFscqg04FZtqE7r1eh9aMlLm6jpIpI=; b=UDu9d1qKJ824yNwsjdDvb6pvh2AauHs98K3+Camost2dK+4bUcROjLaFpFLguhWbn/ 6FGVivYD6EjS5A7OqtzHpeozRWm6eD/nxSyroqkkcBT/bVR2unmR0bj5rtBPYbtveMHI shCL+aO9gt5DnlGhMhgBuV8ufREbKqk8XtcXbfO4i6wRl4VVsYeFqEYrutk0QkjdvErO FELD3FhlIvKD58VFNY8brJJMCmhXY0EMj/NFgcIL0XOMVSegrPUKwVAg5ffUUQKekOQ5 vTrsiACu1S7dUyHaFR7fjCsUKylM/BbQL5hHPjKiKIMOLwbXVClz9zrQoCYhTpxhLS1h zJ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9SVhZlWKVL82QSFscqg04FZtqE7r1eh9aMlLm6jpIpI=; b=cA4fCZZ8sumYylc3rb4cr7+m3o69iY9IKHP3R658qnR4geNwIQejtCIPvANuHdxvnP hWX+SiGoX5Lk27gN0r8jP1d1oVBkbrhUWke4nQZpPPQN0nTD8YCufsf5pGBHOIAEeDIz 8FJBR+/y+/ppYJRjeofUuE3J5TWnakVldiPDtMXI0J3mXYjdGZHsVHuu5VA2AJ6NNTm0 O8fBy3OoJ1p8cu93Hywjg9LU1QJf6KoMgRsWbXErW+cEvmRVBHPsuBfjPbLJDX/z1DiW FJq6jKwmegAj1XwyLJIQPuf3XEMWY43I3PP3ydvdEgbe3Qd6hmpVdw0zVsBEA5OJaAnS 9BUQ== X-Gm-Message-State: ACrzQf19HiUJoyeeeuClhzBk67qhAbdybpjf7jutyFK+FvjWKDWFbQtB beDJQiWbmCrjRjd4r9TEEmJlxsXmUNg= X-Google-Smtp-Source: AMsMyM4JJC0mQ2apQhdqDKOvHj5C99eAmxTIiqs/UG5BsgS409bFN6rGY4BKB0PtPS6a23J53o2VAA== X-Received: by 2002:a05:620a:43a5:b0:6ee:d075:207b with SMTP id a37-20020a05620a43a500b006eed075207bmr15952093qkp.464.1667360195813; Tue, 01 Nov 2022 20:36:35 -0700 (PDT) Received: from andrews-mbp.lan (pool-71-183-193-81.nycmny.fios.verizon.net. [71.183.193.81]) by smtp.gmail.com with ESMTPSA id d16-20020a05620a241000b006cf38fd659asm1022352qkn.103.2022.11.01.20.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 20:36:35 -0700 (PDT) Date: Tue, 01 Nov 2022 23:36:34 -0400 Message-Id: To: control@debbugs.gnu.org From: Andrew Hyatt Subject: control message for bug #58850 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 58850 29.1 quit From unknown Sun Jun 22 07:50:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58850: 29.0.50; sqlite crashes on error Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Nov 2022 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Hyatt Cc: 58850@debbugs.gnu.org, Eli Zaretskii Received: via spool by 58850-submit@debbugs.gnu.org id=B58850.166736521720809 (code B ref 58850); Wed, 02 Nov 2022 05:01:02 +0000 Received: (at 58850) by debbugs.gnu.org; 2 Nov 2022 05:00:17 +0000 Received: from localhost ([127.0.0.1]:44648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq5rM-0005PX-Rp for submit@debbugs.gnu.org; Wed, 02 Nov 2022 01:00:17 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:39748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oq5rL-0005PF-Ua for 58850@debbugs.gnu.org; Wed, 02 Nov 2022 01:00:16 -0400 Received: by mail-ej1-f44.google.com with SMTP id b2so42341517eja.6 for <58850@debbugs.gnu.org>; Tue, 01 Nov 2022 22:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=h8dv7WAI1OhlK2jbbsCj2n6n8Wxv0iUwOp1ufhodWqc=; b=GKBmyZ9/cLfQcAnzOlZH/KqJBdTXBiW5YIsiR8TLkUcPXM2MrcjxlboH0mwLnQPwqP p1HKqlvU84hTvJYwMCjNIuoYUw6yZt8bobF9GBKokDcwTjBSC9tjMCa4gSubvV5nJiR3 k53D2KrtYSly0l4ByUUYYqSIPlqnsUG21Toxyi1khgS3RkQsrepM9JN1yXKQMs9oOKbN pg4ZBpH4RA5dF/3XK/09sOyEa+Dl/3N5bwSyMW+tyV6okMKX/lPJRMGuyQiBYZqRUSlo zs0SpIz62QIuKM5XE/BD3YbdkWkZMdkmfDHHW8d93zWZ4wRE7/a7eQJoj1tcwlConhhj 8h8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h8dv7WAI1OhlK2jbbsCj2n6n8Wxv0iUwOp1ufhodWqc=; b=PuzV2btjncbpSb9ho2S3wa9ZPNcC57GuKw+BRRSNfoBRV2QVVd+USXn2Wcmr7zNnwI yAfrbTXrDiFqF2s//5TjjtzkaRyBJcFLGX4JObYvxHddR7cDy6xkjprjKXEkCvdrybU1 TND0H0L3r/bx/3Dj3Cw/sQ0a1+8P/qJZ0dZPOEE6uXR55Mk7ixJ61ykYYDrHEsvBh9JL 9WbVkTfzZNrkCryAewlQhS0qRLLyWAbj2frianW2D/A9WGNFOJm40cviie0JgJHO0/tl Osh/PlAYenUvcCp0wB0Y9OuPxQenSHulsZehXwc8SWZqKXnG2szTHeS0AU5F5G6npWTt m9bQ== X-Gm-Message-State: ACrzQf1alL629H9H/9QRLKOgE/uYDuXxqJ9/EDIQFTRF7VHJ4/Whxinv u8+kzG6fQzYM6rGBLEh0rXY= X-Google-Smtp-Source: AMsMyM5MgBazIG3ICrXs3aU5fA8p0qP803dVm/DY9gviLrLtHnlOkOH9EgK02kZ0zGAUT1KooNjlSw== X-Received: by 2002:a17:907:1b1f:b0:72f:56db:cce9 with SMTP id mp31-20020a1709071b1f00b0072f56dbcce9mr20998453ejc.605.1667365209989; Tue, 01 Nov 2022 22:00:09 -0700 (PDT) Received: from [192.168.178.21] (pd9e36738.dip0.t-ipconnect.de. [217.227.103.56]) by smtp.gmail.com with ESMTPSA id vq7-20020a170907a4c700b007ad96726c42sm4958512ejc.91.2022.11.01.22.00.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 22:00:09 -0700 (PDT) Message-ID: <8cb872ce-23bf-6ea9-94d8-459592bf3550@gmail.com> Date: Wed, 2 Nov 2022 06:00:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Content-Language: en-US References: <6698F81B-6E83-403D-8D7C-DCAC4F9D07D0@gmail.com> <83ilk3hycm.fsf@gnu.org> <835yg1hl9k.fsf@gnu.org> <83o7trce3i.fsf@gnu.org> From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) On 02.11.22 04:33, Andrew Hyatt wrote: > It does work for me, thank you for the fix!  I don't think I really > understand what is going on here either (does anyone? is the length of > the path in the name the relevant thing here?), but if there's a > solution that works, then that's enough for me, thanks.  I'll close this > bug. It was a classical stack-buffer overflow. The "name=..." part of the printed representation of SQLite objects was printed to a fixed-size buffer on the processor stack. With a long enough name, this overwrites other stuff on the stack, like the return address, and boom. I fixed this by not using a buffer al all, which is the way this is done normally. There was actually no need for using the buffer in the first place. Thanks for the report, and the testing!