all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Simen Endsjø" <simendsjo@gmail.com>
Cc: 70914@debbugs.gnu.org, corwin@bru.st, ssbssa@yahoo.de
Subject: bug#70914: 29.3; Crashes often on Windows
Date: Wed, 22 May 2024 14:36:33 +0300	[thread overview]
Message-ID: <86y1826ptq.fsf@gnu.org> (raw)
In-Reply-To: <CAHkVV6Ermt_Yv4px4D70OR9YJnSLM43Xtc0wVL-s-G4ScDPUxw@mail.gmail.com> (message from Simen Endsjø on Wed, 22 May 2024 10:41:16 +0200)

> From: Simen Endsjø <simendsjo@gmail.com>
> Date: Wed, 22 May 2024 10:41:16 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, Corwin Brust <corwin@bru.st>, 
> 	"70914@debbugs.gnu.org" <70914@debbugs.gnu.org>
> 
> > That doesn't sound good.
> > Maybe you could show me how you set the conditional breakpoint, and
> > how it crashed, so I can take a look at this on gdb side.
> 
> I do a C-c in gdb to add a breakpoint, and when continuing, the process exists
> with code 0202.

0202 is 130 decimal.  I don't ATM see any calls to exit with such an
exit code in Emacs, but you can find out who causes us to exit with
this status like this:

  gdb ./emacs.exe
  ...
  (gdb) break exit
  (gdb) break _exit
  (gdb) break abort
  (gdb) run

Then do whatever you need to cause these exits, and produce a
backtrace when one of the 3 breakpoints above breaks.

> If I add the conditional breakpoint at start, this doesn't
> happen though, but it seems like it gets stuck without progressing further.
> `print name != NULL` and `print (int)strcmp(name, "//") == 0` doesn't trigger an
> error.

Conditional breakpoints in code that gets called a lot is not a very
good idea, as it will slow down Emacs significantly, even if the
condition is correct (which it isn't in your case).  That's why I
suggest the emacs_abort method, see my other message.

> No, not yet. I'm afraid this isn't the root cause of my problems though. I
> experienced a crash yesterday running `evil-fill-and-move` (format paragraph),
> which probably shouldn't use any disk operations like this.

You cannot know that, not for sure.  That function is called all over
the place in Emacs.  But I still wonder where did that "//" file name
come from, it shouldn't happen.





  parent reply	other threads:[~2024-05-22 11:36 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 [this message]
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ø
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

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

  git send-email \
    --in-reply-to=86y1826ptq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70914@debbugs.gnu.org \
    --cc=corwin@bru.st \
    --cc=simendsjo@gmail.com \
    --cc=ssbssa@yahoo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

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