unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Simen Endsjø" <simendsjo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 70914@debbugs.gnu.org
Subject: bug#70914: 29.3; Crashes often on Windows
Date: Fri, 24 May 2024 12:07:23 +0200	[thread overview]
Message-ID: <CAHkVV6FyDDMD71G7Yv+Wavx65AnCV1QY0AZnSLZ7dMVmw7_Naw@mail.gmail.com> (raw)
In-Reply-To: <86h6f0wsbv.fsf@gnu.org>

I still get these. Should I open a new issue for this as the bug
report has changed towards the path issue?
The path issue was only visible to me when debugging in gdb, so these
crashes (my original case) is still ongoing.

#0  0x00007ff9672dd313 in KERNELBASE!DebugBreak () from
C:\WINDOWS\System32\KernelBase.dll
#1  0x00007ff719eb0f28 in emacs_abort ()
#2  0x00007ff719d7a389 in terminate_due_to_signal ()
#3  0x00007ff719d9b249 in deliver_fatal_thread_signal ()
#4  0x00007ff719f16672 in _gnu_exception_handler
(exception_data=0xb3a4dfb400) at
C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:213
#5  0x00007ff968bbb248 in msvcrt!__C_specific_handler () from
C:\WINDOWS\System32\msvcrt.dll
#6  0x00007ff969b549ff in ntdll!.chkstk () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7  0x00007ff969ace466 in ntdll!RtlFindCharInUnicodeString () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#8  0x00007ff969b539ee in ntdll!KiUserExceptionDispatcher () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#9  0x00007ff719dda17d in rpl_re_compile_pattern ()
#10 0x00007ff719dcaf10 in compile_pattern ()
#11 0x00007ff719dcb34d in looking_at_1 ()
#12 0x00007ff719e10032 in Ffuncall ()
#13 0x00007ff8e7591da7 in
F73702d736b69702d666f72776172642d746f2d73796d626f6c_sp_skip_forward_to_symbol_0
()
   from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\smartparens-7ac9a6ec-f08b49fa.eln
#14 0x00007ff719e10032 in Ffuncall ()
#15 0x00007ff8e7582ee8 in F73702d6765742d7468696e67_sp_get_thing_0 ()
from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\smartparens-7ac9a6ec-f08b49fa.eln
#16 0x00007ff719e0ed66 in eval_sub ()
#17 0x00007ff719e0ee2d in Fprogn ()
#18 0x00007ff719e0eb56 in eval_sub ()
#19 0x00007ff719e11c89 in internal_lisp_condition_case ()
#20 0x00007ff719e0eb56 in eval_sub ()
#21 0x00007ff719e12416 in FletX ()
#22 0x00007ff719e0eb56 in eval_sub ()
#23 0x00007ff719e0f558 in Fcond ()
#24 0x00007ff719e0eb56 in eval_sub ()
#25 0x00007ff719e0f58d in Fcond ()
#26 0x00007ff719e0eb56 in eval_sub ()
#27 0x00007ff719e0fa7d in funcall_lambda ()
#28 0x00007ff719e10032 in Ffuncall ()
#29 0x00007ff719e102d8 in Fapply ()
#30 0x00007ff719e5a390 in exec_byte_code ()
#31 0x00007ff719e0f8e0 in funcall_lambda ()
#32 0x00007ff719e10032 in Ffuncall ()
#33 0x00007ff719e102d8 in Fapply ()
#34 0x00007ff719e5a390 in exec_byte_code ()
#35 0x00007ff719e10032 in Ffuncall ()
#36 0x00007ff8f0c8f185 in
F6261636b776172642d64656c6574652d636861722d756e746162696679_backward_delete_char_untabify_0
()
--Type <RET> for more, q to quit, c to continue without paging--c
   from c:\programs\emacs\latest\lib\emacs\29.3\native-lisp\29.3-2771a4de\preloaded\simple-fab5b0cf-9ff4140c.eln
#37 0x00007ff719e10032 in Ffuncall ()
#38 0x00007ff719e07d04 in Ffuncall_interactively ()
#39 0x00007ff719e10032 in Ffuncall ()
#40 0x00007ff719e09196 in Fcall_interactively ()
#41 0x00007ff8f0c7f2ef in F636f6d6d616e642d65786563757465_command_execute_0 ()
   from c:\programs\emacs\latest\lib\emacs\29.3\native-lisp\29.3-2771a4de\preloaded\simple-fab5b0cf-9ff4140c.eln
#42 0x00007ff719e10032 in Ffuncall ()
#43 0x00007ff719d8ec83 in command_loop_1 ()
#44 0x00007ff719e0a62d in internal_condition_case ()
#45 0x00007ff719d7ac32 in command_loop_2 ()
#46 0x00007ff719d921ef in Fexecute_kbd_macro ()
#47 0x00007ff8ec6c4191 in
F6576696c2d657865637574652d7265706561742d696e666f_evil_execute_repeat_info_0
()
   from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\evil-repeat-09db557d-eb33be8a.eln
#48 0x00007ff719e10032 in Ffuncall ()
#49 0x00007ff8ec6f3296 in
F6576696c2d636c65616e75702d696e736572742d7374617465_evil_cleanup_insert_state_0
()
   from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\evil-states-b443b961-daed8501.eln
#50 0x00007ff719e10032 in Ffuncall ()
#51 0x00007ff719e10109 in funcall_nil ()
#52 0x00007ff719e0aeab in run_hook_with_args ()
#53 0x00007ff719e0b0d1 in Frun_hooks ()
#54 0x00007ff8ec6f220c in
F6576696c2d696e736572742d7374617465_evil_insert_state_0 ()
   from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\evil-states-b443b961-daed8501.eln
#55 0x00007ff719e10032 in Ffuncall ()
#56 0x00007ff8ec842590 in
F6576696c2d6368616e67652d7374617465_evil_change_state_0 ()
   from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\evil-core-00ab2194-02c400a0.eln
#57 0x00007ff719e10032 in Ffuncall ()
#58 0x00007ff8ec6f1ac4 in
F6576696c2d6e6f726d616c2d7374617465_evil_normal_state_0 ()
   from d:\.emacs.d\.local\cache\eln\29.3-2771a4de\evil-states-b443b961-daed8501.eln
#59 0x00007ff719e10032 in Ffuncall ()
#60 0x00007ff719e07d04 in Ffuncall_interactively ()
#61 0x00007ff719e10032 in Ffuncall ()
#62 0x00007ff719e10438 in Fapply ()
#63 0x00007ff719e09439 in Fcall_interactively ()
#64 0x00007ff8f0c7f2ef in F636f6d6d616e642d65786563757465_command_execute_0 ()
   from c:\programs\emacs\latest\lib\emacs\29.3\native-lisp\29.3-2771a4de\preloaded\simple-fab5b0cf-9ff4140c.eln
#65 0x00007ff719e10032 in Ffuncall ()
#66 0x00007ff719d8ec83 in command_loop_1 ()
#67 0x00007ff719e0a62d in internal_condition_case ()
#68 0x00007ff719d7ac32 in command_loop_2 ()
#69 0x00007ff719e0a59b in internal_catch ()
#70 0x00007ff719d7abcc in command_loop ()
#71 0x00007ff719d82fe7 in recursive_edit_1 ()
#72 0x00007ff719d833b0 in Frecursive_edit ()
#73 0x00007ff719f29b7d in main ()

On Tue, May 14, 2024 at 1:23 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Simen Endsjø <simendsjo@gmail.com>
> > Date: Tue, 14 May 2024 12:14:11 +0200
> > Cc: 70914@debbugs.gnu.org
> >
> > Here's a backtrace of the most recent crash. I have no idea if it's
> > one issue or several. It seems to be crashing at arbitrary times,
> > often just when writing plain text in org-mode buffers.
>
> It's unclear what happened here and why.  Seems like some fatal
> exception in the middle of all-completions call, but why would that
> be?
>
> I do see that you have quite a few 3rd-party packages involved in
> this: vertico, orderless, and consult at least.
>
> I also see that one of the threads is run by Glib, which sounds
> strange to me, but maybe it's because of librsvg?  Not sure if this is
> related to the crash.
>
> This part of your environment:
>
>   Important settings:
>     value of $LANG: en_US
>     locale-coding-system: cp65001   <<<<<<<<<<<<<<<<<<<<<<<
>
> might also be related: AFAIU it means you configured your system to
> use UTF-8 encoding by default, which might cause issues with
> sub-processes, because Emacs on Windows doesn't support passing UTF-8
> encoded arguments to sub-processes.  And the backtrace indicates that
> you had a sub-process running when this happened (or at least a thread
> was running waiting for output from a sub-process).
>
> And why is the value of $LANG "en_US"?  It's supposed to be "ENU" on
> Windows.  Did you customize the locale and/or the defaults for the
> coding-systems, and if so, how?
>
> In any case, please keep running Emacs under GDB and post two or three
> more backtraces from the crash, so that we could see which parts of
> this to focus on.
>
> Thanks.





  parent reply	other threads:[~2024-05-24 10:07 UTC|newest]

Thread overview: 141+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13  8:47 bug#70914: 29.3; Crashes often on Windows Simen Endsjø
2024-05-13 10:35 ` Eli Zaretskii
2024-05-14 10:14   ` Simen Endsjø
2024-05-14 11:23     ` Eli Zaretskii
2024-05-14 12:08       ` Simen Endsjø
2024-05-14 12:30         ` Eli Zaretskii
2024-05-14 13:58           ` Simen Endsjø
2024-05-14 14:18             ` Eli Zaretskii
2024-05-15 10:25               ` Simen Endsjø
2024-05-15 11:19                 ` Simen Endsjø
2024-05-15 11:24                   ` Simen Endsjø
2024-05-15 12:20                     ` Eli Zaretskii
2024-05-15 12:15                   ` Eli Zaretskii
2024-05-15 13:50                     ` Simen Endsjø
2024-05-15 12:04                 ` Eli Zaretskii
2024-05-15 13:45                   ` Simen Endsjø
2024-05-16  7:05           ` Simen Endsjø
2024-05-16 10:11             ` Eli Zaretskii
2024-05-24 10:13         ` Simen Endsjø
2024-05-15 10:53       ` Simen Endsjø
2024-05-15 12:11         ` Eli Zaretskii
2024-05-15 13:00           ` Simen Endsjø
2024-05-15 13:36             ` Simen Endsjø
2024-05-15 13:58               ` Simen Endsjø
2024-05-15 15:25               ` Eli Zaretskii
2024-05-15 18:13                 ` Simen Endsjø
2024-05-15 18:21                   ` Simen Endsjø
2024-05-15 18:53                     ` Eli Zaretskii
2024-05-15 20:03                       ` Simen Endsjø
2024-05-16  8:07                         ` Eli Zaretskii
2024-05-16 10:50                           ` Simen Endsjø
2024-05-16 11:44                             ` Simen Endsjø
2024-05-16 12:15                               ` Eli Zaretskii
2024-05-18 18:47                           ` Simen Endsjø
2024-05-18 19:46                             ` Eli Zaretskii
2024-05-18 21:45                               ` Simen Endsjø
2024-05-19  5:50                                 ` Eli Zaretskii
2024-05-19  9:03                                   ` Eli Zaretskii
2024-05-19 17:41                                     ` Simen Endsjø
2024-05-19 18:31                                       ` Eli Zaretskii
2024-05-19 18:38                                         ` Simen Endsjø
2024-05-20 13:47                                           ` Eli Zaretskii
2024-05-20 17:54                                             ` Simen Endsjø
2024-05-20 18:20                                               ` Eli Zaretskii
2024-05-20 18:41                                                 ` Simen Endsjø
2024-05-20 19:00                                                   ` Eli Zaretskii
2024-05-20 19:22                                                     ` Eli Zaretskii
2024-05-20 20:28                                                       ` Simen Endsjø
2024-05-21 14:06                                                         ` Eli Zaretskii
2024-05-21 17:39                                                           ` Simen Endsjø
2024-05-21 18:29                                                             ` Eli Zaretskii
2024-05-21 19:05                                                               ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-21 19:24                                                                 ` Eli Zaretskii
2024-05-21 20:31                                                                 ` Simen Endsjø
2024-05-22  4:32                                                                   ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22  4:35                                                                     ` Simen Endsjø
2024-05-22  5:08                                                                       ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22  5:57                                                                         ` Simen Endsjø
2024-05-22  6:12                                                                           ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22  8:16                                                                             ` Simen Endsjø
2024-05-22  8:23                                                                               ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22  8:41                                                                                 ` Simen Endsjø
2024-05-22  8:50                                                                                   ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22 11:09                                                                                     ` Simen Endsjø
2024-05-22 11:21                                                                                       ` Simen Endsjø
2024-05-22 11:24                                                                                         ` Simen Endsjø
2024-05-22 13:26                                                                                         ` Eli Zaretskii
2024-05-22 13:35                                                                                           ` Simen Endsjø
2024-05-22 14:07                                                                                             ` Eli Zaretskii
2024-05-22 11:40                                                                                     ` Eli Zaretskii
2024-05-22 11:36                                                                                   ` Eli Zaretskii
2024-05-22 11:24                                                                             ` Eli Zaretskii
2024-05-22 13:14                                                                               ` Simen Endsjø
2024-05-22 14:03                                                                                 ` Eli Zaretskii
2024-05-22 16:54                                                                                   ` Simen Endsjø
2024-05-22 18:19                                                                                     ` Eli Zaretskii
2024-05-22 19:21                                                                                       ` Simen Endsjø
2024-05-22 20:28                                                                                         ` Simen Endsjø
2024-05-23  5:19                                                                                           ` Eli Zaretskii
2024-05-23  7:31                                                                                             ` Simen Endsjø
2024-05-23  8:18                                                                                               ` Eli Zaretskii
2024-05-23 10:05                                                                                                 ` Simen Endsjø
2024-05-23 10:30                                                                                             ` Ihor Radchenko
2024-05-23 10:39                                                                                               ` Eli Zaretskii
2024-05-23 10:48                                                                                                 ` Ihor Radchenko
2024-05-23 11:31                                                                                                   ` Eli Zaretskii
2024-05-23 11:51                                                                                                     ` Ihor Radchenko
2024-05-23 13:33                                                                                                       ` Eli Zaretskii
2024-05-23 13:52                                                                                                         ` Ihor Radchenko
2024-05-23 14:05                                                                                                           ` Eli Zaretskii
2024-05-23 14:23                                                                                                             ` Ihor Radchenko
2024-05-23 16:02                                                                                                               ` Eli Zaretskii
2024-05-23 18:33                                                                                                                 ` Simen Endsjø
2024-05-23 18:46                                                                                                                   ` Eli Zaretskii
2024-05-22 12:26                                                                   ` Eli Zaretskii
2024-05-22 13:34                                                                     ` Simen Endsjø
2024-05-22 14:05                                                                       ` Eli Zaretskii
2024-05-22 14:28                                                                         ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22 14:58                                                                           ` Eli Zaretskii
2024-05-22 18:12                                                                             ` Hannes Domani via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22 18:32                                                                               ` Eli Zaretskii
2024-05-21 20:01                                                               ` Simen Endsjø
2024-05-16  6:42                       ` Simen Endsjø
2024-05-16 10:03                         ` Eli Zaretskii
2024-05-16 11:00                           ` Simen Endsjø
2024-05-16 12:13                             ` Eli Zaretskii
2024-05-16 12:11                           ` Andrea Corallo
2024-05-16 12:22                             ` Eli Zaretskii
2024-05-16 15:26                               ` Andrea Corallo
2024-05-16 16:03                                 ` Eli Zaretskii
2024-05-16 17:04                                   ` Andrea Corallo
2024-05-16 18:24                                     ` Eli Zaretskii
2024-05-24  7:59                                 ` Andrea Corallo
2024-05-24 10:48                                   ` Eli Zaretskii
2024-05-27  9:53                                     ` Andrea Corallo
2024-05-27 11:55                                       ` Eli Zaretskii
2024-05-16 18:40                             ` Simen Endsjø
2024-05-16 19:28                               ` Eli Zaretskii
2024-05-16 20:13                                 ` Simen Endsjø
2024-05-16 21:03                                   ` Simen Endsjø
2024-05-17  6:51                                     ` Eli Zaretskii
2024-05-17 18:05                                       ` Simen Endsjø
2024-05-17 18:38                                         ` Eli Zaretskii
2024-05-17 20:39                                           ` Simen Endsjø
2024-05-18 11:18                                           ` Simen Endsjø
2024-05-18 11:49                                             ` Eli Zaretskii
2024-05-18 18:36                                               ` Simen Endsjø
2024-05-18 19:35                                                 ` Eli Zaretskii
2024-05-18 19:43                                                   ` Simen Endsjø
2024-05-18 11:55                                             ` Eli Zaretskii
2024-05-18 18:42                                               ` Simen Endsjø
2024-05-18 19:40                                                 ` Eli Zaretskii
2024-05-17  6:16                                   ` Eli Zaretskii
2024-05-15 18:35                   ` Eli Zaretskii
2024-05-15 15:18             ` Eli Zaretskii
2024-05-24 10:07       ` Simen Endsjø [this message]
2024-05-24 10:47         ` Eli Zaretskii
2024-05-24 13:08           ` Simen Endsjø
2024-05-27 12:54             ` Simen Endsjø
2024-05-27 13:22               ` Eli Zaretskii
     [not found]                 ` <87sey1g5dg.fsf@simendsjo.me>
2024-05-28 18:40                   ` 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

  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=CAHkVV6FyDDMD71G7Yv+Wavx65AnCV1QY0AZnSLZ7dMVmw7_Naw@mail.gmail.com \
    --to=simendsjo@gmail.com \
    --cc=70914@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 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).