unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: lekktu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	12579-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes
Date: Tue, 09 Oct 2012 21:46:28 +0200	[thread overview]
Message-ID: <80haq32zu3.fsf@somewhere.org> (raw)
In-Reply-To: <83wqyzzhsp.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Tue, 09 Oct 2012 19:17:26 +0200")

Eli,

Eli Zaretskii wrote:
>> From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
>> Cc: Drew Adams <drew.adams-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,  lekktu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,  12579@debbugs.gnu.org
>> Date: Tue, 09 Oct 2012 08:36:54 +0200
>> 
>> Here some food... I hope/guess it will help a lot to pinpoint what's going
>> wrong.
>
> Thanks.  We are not there yet.

Thanks for your precious help, anyway.

>> Note that I have the _impression_ that the problem lies, somehow, in packages
>> I would load from my .emacs file (such as idle-require, auto-complete, helm,
>> etc.). *NOT* that _they_ are wrong, but, when loaded, the problem would be
>> (more) apparent.
>
> helm is definitely involved, see below.  Not sure it's the culprit,
> though.

OK.

>> #1  0x011548c0 in emacs_abort () at w32fns.c:7214
>> #2  0x01055503 in sys_kill (pid=5624, sig=22) at w32proc.c:1432
>> #3 0x010014fc in fatal_error_backtrace (sig=22, backtrace_limit=2147483647)
>> at emacs.c:331
>> #4 0x010431b7 in die (msg=0x1537030 "assertion failed:
>> buffer->base_buffer->indirections > 0", file=0x1535810 "buffer.c",
>>     line=1664) at alloc.c:6398
>> #5  0x010ac068 in compact_buffer (buffer=0x3c44600) at buffer.c:1664
>> #6  0x0103fde2 in Fgarbage_collect () at alloc.c:5085
>
> This one we already saw.  I think it's already fixed in the
> development sources, so either try the next development snapshot or
> wait for the pretest of v24.3.

There is no new development snapshot on
http://alpha.gnu.org/gnu/emacs/windows/.

The same applies for a pretest version: nothing new since August on
http://alpha.gnu.org/gnu/emacs/pretest/windows/.

Still a bit of patience?

>> #0 0x7c91e514 in ntdll!LdrAccessResource () from
>> /cygdrive/c/WINDOWS/system32/ntdll.dll
>> #1 0x7c91df5a in ntdll!ZwWaitForSingleObject () from
>> /cygdrive/c/WINDOWS/system32/ntdll.dll
>> #2 0x7c929b23 in ntdll!RtlpWaitForCriticalSection () from
>> /cygdrive/c/WINDOWS/system32/ntdll.dll
>> #3 0x7c911046 in ntdll!RtlEnumerateGenericTableLikeADirectory () from
>> /cygdrive/c/WINDOWS/system32/ntdll.dll
>> #4  0x00a41fbc in ?? ()
>> #5  0x77bfd114 in msvcrt!_close () from /cygdrive/c/WINDOWS/system32/msvcrt.dll
>> #6  0x00000004 in ?? ()
>> #7  0x00000008 in ?? ()
>> #8  0x00000004 in ?? ()
>> #9  0x04ae9e70 in ?? ()
>> #10 0x0105fdc8 in sys_close (fd=4) at w32.c:5960
>> #11 0x01145749 in emacs_close (fd=4) at sysdep.c:1851
>> #12 0x0104b550 in deactivate_process (proc=78552693) at process.c:3929
>> #13 0x0104457e in remove_process (proc=78552693) at process.c:746
>> #14 0x010519b6 in status_notify (deleting_process=0x4ae9e70) at process.c:6673
>> [...]
>> Lisp Backtrace:
>> "delete-process" (0x82a55c)
>> "helm-kill-async-process" (0x82a74c)
>> "mapc" (0x82a83c)
>> "helm-kill-async-processes" (0x82a980)
>> "helm-update" (0x82ab80)
>> "if" (0x82adf4)
>> "helm-check-new-input" (0x82aee0)
>> [...]
>> "funcall" (0x82ee50)
>> "unwind-protect" (0x82f024)
>> "helm-let-internal" (0x82f110)
>> "if" (0x82f364)
>> "helm" (0x82f450)
>> "helm-other-buffer" (0x82f660)
>> "helm-for-files" (0x82f944)
>> "call-interactively" (0x82fb54)
>
> This backtrace (and all the rest like it which you got by attaching to
> an Emacs that appears "hung") is not helpful.  All they say is that
> helm, for whatever reason, tried to kill all asynchronous subprocesses
> (any idea why would it want to do that?) as part of running the
> command 'helm-for-files', and that this attempt to kill the processes
> hung for some reason.

Sometimes (once a day, I'd say), I get errors from (Cygwin's) Bash, when
Helm-for-files is running: I get a popup, click OK, and then Helm goes on.

Maybe the crashes happen when I don't get such a popup, but some process is
still crashed, letting Emacs with no response?

> But it doesn't show where Emacs is hung or inflooping, because attaching to
> such a process catches it in some random place. What is needed is
> information about where Emacs loops. I guess it's time for another GDB
> lesson, this time copied from etc/DEBUG:
>
>   If Emacs is in an infinite loop, try to determine where the loop
>   starts and ends.  The easiest way to do this is to use the GDB command
>   `finish'.  Each time you use it, Emacs resumes execution until it
>   exits one stack frame.  Keep typing `finish' until it doesn't
>   return--that means the infinite loop is in the stack frame which you
>   just tried to finish.
>
> Can you please do this, after attaching to Emacs, and report which
> 'finish' command doesn't return?

For sure, I'll do. Wait. Except that I don't have a .gdbinit file for Emacs
24.1, and that I've the impression that only Emacs 24.1 does hang from time to
time.

Should I take a snapshot from Emacs 24.1 on
http://alpha.gnu.org/gnu/emacs/windows/?  If yes, which one can I take: there
is no version indicated there... How can I know which file is a snapshot of
24.1?

Another question: before typing finish, do I do the other sequence as well:

- (continue),
- thread apply all backtrace, and
- xbacktrace?

Thanks for doing me learn along this painful process!

Best regards,
Fabrice

-- 
Fabrice Niessen
Pre-sales, Network and Software Engineer
M i s s i o n   C r i t i c a l   I T
✉ fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org
☎ +32 2-757.10.15





  parent reply	other threads:[~2012-10-09 19:46 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05  8:14 bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Fabrice Niessen
2012-10-05 16:05 ` Eli Zaretskii
     [not found]   ` <83txu87vlp.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-06  9:31     ` Fabrice Niessen
2012-10-06 11:00       ` Eli Zaretskii
2012-10-17  5:27 ` Dmitry Antipov
     [not found] ` <80vcep2v3z.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-10-06 11:26   ` bug#12579: Emacs 24.1 / 24.2 daily crashes Fabrice Niessen
2012-10-06 12:51     ` Eli Zaretskii
     [not found]       ` <83k3v37ogj.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-06 20:42         ` Fabrice Niessen
2012-10-06 20:58           ` Eli Zaretskii
2012-10-06 12:22   ` bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Fabrice Niessen
2012-10-06 12:55     ` Eli Zaretskii
2012-10-06 17:24       ` Drew Adams
2012-10-06 17:42         ` Eli Zaretskii
2012-10-07 17:29         ` Juanma Barranquero
2012-10-07 17:48           ` Drew Adams
2012-10-07 18:37             ` Eli Zaretskii
     [not found]               ` <837gr25dsn.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09  6:36                 ` Fabrice Niessen
2012-10-09 16:02                   ` Drew Adams
2012-10-09 17:00                     ` Eli Zaretskii
2012-10-20 23:45                     ` Drew Adams
2012-10-21  3:54                       ` Eli Zaretskii
2012-10-21 16:15                         ` Drew Adams
2012-10-21 18:01                           ` Eli Zaretskii
2012-10-21 18:10                             ` Drew Adams
2012-10-21 18:25                               ` Eli Zaretskii
2012-10-21 18:34                                 ` Drew Adams
     [not found]                                   ` <F331209BF007436288CAEE51ED817578-HZWafpOgb61l57MIdRCFDg@public.gmane.org>
2012-10-21 20:23                                     ` Fabrice Niessen
2012-10-21 20:45                                       ` Eli Zaretskii
2012-10-09 17:17                   ` Eli Zaretskii
2012-10-09 17:26                     ` Drew Adams
2012-10-09 18:23                       ` Eli Zaretskii
     [not found]                     ` <83wqyzzhsp.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09 19:46                       ` Fabrice Niessen [this message]
2012-10-09 20:23                         ` Eli Zaretskii
     [not found]                           ` <83pq4rz97b.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09 21:43                             ` Fabrice Niessen
2012-10-10  3:49                               ` Eli Zaretskii
     [not found]                                 ` <83obkbyojd.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10  5:58                                   ` Fabrice Niessen
2012-10-10  8:41                                   ` Fabrice Niessen
     [not found]                                     ` <80y5je7m8a.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-10-10  8:45                                       ` Fabrice Niessen
2012-10-10 13:02                                         ` Stefan Monnier
     [not found]                                           ` <jwvvceimqgr.fsf-monnier+emacs-mXXj517/zsQ@public.gmane.org>
2012-10-10 13:48                                             ` Fabrice Niessen
2012-10-10 15:36                                         ` Eli Zaretskii
     [not found]                                           ` <83haq2z6cw.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10 18:38                                             ` Fabrice Niessen
2012-10-10 15:33                                     ` Eli Zaretskii
2012-10-10 14:09                                   ` Fabrice Niessen
2012-10-10 16:02                                     ` Eli Zaretskii
     [not found]                                       ` <83bogaz56i.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10 18:43                                         ` Fabrice Niessen
2012-10-12 12:20                                         ` Fabrice Niessen
     [not found]                                           ` <80mwzrriff.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-10-12 14:57                                             ` Fabrice Niessen
2012-10-12 15:35                                               ` Eli Zaretskii
2012-10-12 15:41                                           ` Eli Zaretskii
     [not found]                                             ` <83mwzr7l55.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-13  7:45                                               ` Fabrice Niessen
2012-10-13  8:42                                                 ` Eli Zaretskii
     [not found]                                                   ` <838vba7og9.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-14  8:23                                                     ` Fabrice Niessen
2012-10-14 11:44                                                       ` Eli Zaretskii
2012-11-05 15:48                                                     ` Fabrice Niessen
2012-11-05 18:10                                                       ` Eli Zaretskii
     [not found]                                                         ` <83vcdj3opa.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-06  9:42                                                           ` Fabrice Niessen
     [not found]                                                             ` <80a9uv2hki.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-11-06 11:10                                                               ` Fabrice Niessen
2012-11-06 17:03                                                             ` Eli Zaretskii
     [not found]                                                               ` <83hap23bqm.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-06 21:51                                                                 ` Fabrice Niessen
2012-11-07 10:52                                                                 ` Fabrice Niessen
2012-11-07 17:10                                                                   ` Eli Zaretskii
     [not found]                                                                     ` <83pq3p1gqn.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-08 10:17                                                                       ` Fabrice Niessen
     [not found]                                                                         ` <80y5ic1jrv.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-11-08 15:32                                                                           ` Fabrice Niessen
2012-11-08 15:58                                                                             ` Thierry Volpiatto
2012-11-08 16:18                                                                               ` Eli Zaretskii
2012-11-08 17:34                                                                                 ` Thierry Volpiatto
2012-11-08 18:34                                                                                   ` Eli Zaretskii
2012-11-08 19:07                                                                                     ` Thierry Volpiatto
2012-10-10 10:02                             ` Fabrice Niessen
2012-10-10 15:39                               ` Eli Zaretskii
     [not found]                                 ` <83fw5mz68a.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-10 18:41                                   ` Fabrice Niessen
2012-10-09  6:53                 ` Fabrice Niessen
2012-10-09  7:11                 ` Fabrice Niessen
2012-10-09 17:18                   ` Eli Zaretskii
     [not found]                     ` <83vcejzhrf.fsf-mXXj517/zsQ@public.gmane.org>
2012-10-09 19:30                       ` Fabrice Niessen
2012-11-08 22:04   ` Fabrice Niessen
2012-11-08 22:12     ` Eli Zaretskii
     [not found]       ` <83wqxvzqvg.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-08 22:24         ` Fabrice Niessen
2012-11-09  9:19   ` Fabrice Niessen
2012-11-09  9:44     ` Eli Zaretskii
     [not found]       ` <83mwyryusx.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-09 10:59         ` Fabrice Niessen
2012-11-09 11:12           ` Eli Zaretskii
2012-11-09 12:17             ` Thierry Volpiatto
     [not found]               ` <87pq3nkm23.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-11-09 13:51                 ` Fabrice Niessen
2012-11-09 14:07                   ` Eli Zaretskii
     [not found]                     ` <83fw4izx72.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-09 14:21                       ` Fabrice Niessen
2012-11-09 14:54                         ` Eli Zaretskii
2012-11-09 13:58               ` Eli Zaretskii
2012-11-09 16:37   ` Fabrice Niessen
2012-11-09 18:01     ` Eli Zaretskii
     [not found]       ` <83625ezmds.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-13  8:46         ` Fabrice Niessen
2012-11-13 12:54           ` Eli Zaretskii
2012-11-14  9:29         ` Fabrice Niessen
     [not found]           ` <80k3tosfam.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2012-11-16  9:21             ` bug#12579: Emacs 24.2 crashes or freezes Fabrice Niessen
2012-11-16  9:57               ` Eli Zaretskii
     [not found]                 ` <83lie1swer.fsf-mXXj517/zsQ@public.gmane.org>
2012-11-16 11:10                   ` Fabrice Niessen
2012-11-21 15:35   ` Fabrice Niessen
2012-11-21 18:21     ` Eli Zaretskii
2012-11-21 18:48     ` Stefan Monnier
2012-11-21 18:49     ` Stefan Monnier
     [not found]     ` <mailman.13522.1353523851.855.bug-gnu-emacs@gnu.org>
     [not found]       ` <mailman.13522.1353523851.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2012-11-28 10:45         ` Fabrice Niessen
2012-11-29  4:22           ` Stefan Monnier
     [not found]             ` <jwvhao959f6.fsf-monnier+emacs-mXXj517/zsQ@public.gmane.org>
2012-11-29 21:53               ` Fabrice Niessen
     [not found]     ` <mailman.13519.1353522176.855.bug-gnu-emacs@gnu.org>
2012-12-06 11:39       ` Fabrice Niessen
2012-12-07 19:22         ` Fabrice Niessen
2012-12-07 21:38           ` Eli Zaretskii
     [not found]           ` <mailman.14812.1354916384.855.bug-gnu-emacs@gnu.org>
     [not found]             ` <mailman.14812.1354916384.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2012-12-18 22:54               ` Fabrice Niessen
2012-12-19  1:10                 ` Stefan Monnier
     [not found]                 ` <mailman.15646.1355879469.855.bug-gnu-emacs@gnu.org>
2012-12-19  8:35                   ` Sebastien Vauban
2012-12-19 17:06                     ` Eli Zaretskii
     [not found]                     ` <mailman.15691.1355937909.855.bug-gnu-emacs@gnu.org>
2012-12-19 20:32                       ` Sebastien Vauban
2012-12-19 21:27                         ` Eli Zaretskii
     [not found]                         ` <mailman.15713.1355952483.855.bug-gnu-emacs@gnu.org>
2012-12-19 22:32                           ` Sebastien Vauban
2012-12-20  5:56                             ` Eli Zaretskii
2013-02-19 18:51                               ` Glenn Morris
2013-02-19 20:58                                 ` 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=80haq32zu3.fsf@somewhere.org \
    --to=fni-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=12579-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.org \
    --cc=lekktu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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).