Subject: bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes

From: "Fabrice Niessen" <[email-masked]>
Date: Fri, 09 Nov 2012 10:19:46 +0100

Hi Eli and Thierry,

Got a new one...

"Fabrice Niessen" wrote:
> "Fabrice Niessen" wrote:
>> Eli Zaretskii wrote:
>>>> New infloop. Same context (completing pattern for Helm-for-files). This time,
>>>> with a correct .gdbinit file.
>>>
>>> Next, I'd like to see which process is being waited for.  To this end,
>>> next time you have an infloop, go to this stack frame:
>>>
>>>  #14 0x0102ffff in status_notify (deleting_process=0x3e25e70) at process.c:6606
>>>
>>> and display the details of the process being deleted.
>>
>> (gdb) xstring
>> $3 = (struct Lisp_String *) 0x3d32f10
>> "locate-process"
>> (gdb) print p->command
>> $4 = 135560334
>> (gdb) xtype
>> Lisp_Cons
>
> For your information,

Same version of Emacs:

GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600) of 2012-10-22 on DANI-PC

> - I use a version of Helm from 2 days ago

Still the same version.

> - I do use Thierry's test fix in my .emacs file, that is:

Removed (as adviced by Thierry), but already in Helm code...

What is well changed: I know only used `helm-locate', instead of
`helm-for-files'; that is one of the two tests asked by Thierry.
Conclusion is: it freezes with `helm-locate'. I will know test with
`helm-for-files' configured without the use of the locate feature.

Here the backtrace (with different results):

--8<---------------cut here---------------start------------->8---
Warning: /cygdrive/c/Program Files/Emacs-24.2/bin/../lwlib: No such file or directory.
--8<---------------cut here---------------end--------------->8---

BTW, is this important (does it have impacts of the usefulness of the backtrace)?

--8<---------------cut here---------------start------------->8---
(gdb) thread apply all backtrace

Thread 8 (Thread 2156.0x18e4):
#0  0x7c91120f in ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c962119 in ntdll!KiIntSystemCall () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000004 in ?? ()
#4  0x00000001 in ?? ()
#5  0x5ad2ffd0 in ?? ()
#6  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 7 (Thread 2156.0xcfc):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c91d9da in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c801879 in ReadFile () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000488 in ?? ()
#4  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 6 (Thread 2156.0x159c):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c91d9da in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c801879 in ReadFile () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x000004ac in ?? ()
#4  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 5 (Thread 2156.0x1220):
#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  0x7c8025db in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x0000048c in ?? ()
#4  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 4 (Thread 2156.0x107c):
#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  0x7199402b in ?? () from /cygdrive/c/WINDOWS/System32/mswsock.dll
#3  0x719957c9 in ?? () from /cygdrive/c/WINDOWS/System32/mswsock.dll
#4  0x719f67de in WSACancelAsyncRequest () from /cygdrive/c/WINDOWS/system32/Ws2_32.dll
#5  0x0108d925 in _sys_read_ahead (fd=4) at w32.c:6079
#6  0x01033127 in reader_thread (arg=0x167dc98) at w32proc.c:838
#7  0x7c80b729 in KERNEL32!GetModuleFileNameA () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#8  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 3 (Thread 2156.0xef4):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7e3991be in USER32!GetProcessWindowStation () from /cygdrive/c/WINDOWS/system32/USER32.dll
#2  0x7e3991f1 in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll
#3  0x01148948 in w32_msg_pump (msg_buf=0x5b8cff54) at w32fns.c:2375
#4  0x01148b86 in w32_msg_worker@4 (arg=0x0) at w32fns.c:2601
#5  0x7c80b729 in KERNEL32!GetModuleFileNameA () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#6  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 2 (Thread 2156.0x2b4):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c91d21a in ntdll!ZwDelayExecution () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c8023f1 in SleepEx () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000000 in ?? ()

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)

Thread 1 (Thread 2156.0xde8):
#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  0x00a41fe0 in ?? ()
#5  0x77bfd114 in msvcrt!_close () from /cygdrive/c/WINDOWS/system32/msvcrt.dll
#6  0x00000005 in ?? ()
#7  0x0000000a in ?? ()
#8  0x00000005 in ?? ()
#9  0x05c6f620 in ?? ()
#10 0x0108d41e in sys_close (fd=5) at w32.c:5918
#11 0x011452a8 in emacs_close (fd=5) at sysdep.c:2082
#12 0x01029ce4 in deactivate_process (proc=96925221) at process.c:3924
#13 0x01022d92 in remove_process (proc=96925221) at process.c:735
#14 0x0102ffff in status_notify (deleting_process=0x5c6f620) at process.c:6606
#15 0x01023263 in Fdelete_process (process=96925221) at process.c:850
#16 0x01013174 in eval_sub (form=84808006) at eval.c:2139
#17 0x0100f0aa in Fprogn (args=84808110) at eval.c:359
#18 0x01015cf1 in funcall_lambda (fun=84808174, nargs=1, arg_vector=0x829b70) at eval.c:2999
#19 0x01015600 in apply_lambda (fun=84808174, args=84809582) at eval.c:2883
#20 0x0101375b in eval_sub (form=84809558) at eval.c:2214
#21 0x0100f0aa in Fprogn (args=84809590) at eval.c:359
#22 0x01010582 in Fwhile (args=84809550) at eval.c:935
#23 0x01012d3c in eval_sub (form=84809542) at eval.c:2087
#24 0x0100f0aa in Fprogn (args=84807718) at eval.c:359
#25 0x01015cf1 in funcall_lambda (fun=84807774, nargs=0, arg_vector=0x829ef0) at eval.c:2999
#26 0x01015600 in apply_lambda (fun=84807774, args=57358362) at eval.c:2883
#27 0x0101375b in eval_sub (form=83918918) at eval.c:2214
#28 0x0100f0aa in Fprogn (args=83917038) at eval.c:359
#29 0x01015cf1 in funcall_lambda (fun=83917006, nargs=0, arg_vector=0x82a0f0) at eval.c:2999
#30 0x01015600 in apply_lambda (fun=83917006, args=57358362) at eval.c:2883
#31 0x0101375b in eval_sub (form=76664790) at eval.c:2214
#32 0x0100f0aa in Fprogn (args=76663014) at eval.c:359
#33 0x0100ef2e in Fif (args=76663214) at eval.c:310
#34 0x01012d3c in eval_sub (form=76663206) at eval.c:2087
#35 0x0100f0aa in Fprogn (args=76663350) at eval.c:359
#36 0x01015cf1 in funcall_lambda (fun=76663326, nargs=1, arg_vector=0x82a450) at eval.c:2999
#37 0x01015600 in apply_lambda (fun=76663326, args=76663814) at eval.c:2883
#38 0x0101375b in eval_sub (form=76612566) at eval.c:2214
#39 0x0100f0aa in Fprogn (args=76664150) at eval.c:359
#40 0x01012d3c in eval_sub (form=76664206) at eval.c:2087
#41 0x01010a4e in Funwind_protect (args=76664214) at eval.c:1147
#42 0x01012d3c in eval_sub (form=76664222) at eval.c:2087
#43 0x0100f0aa in Fprogn (args=76664230) at eval.c:359
#44 0x01103187 in Fsave_current_buffer (args=76664230) at editfns.c:962
#45 0x01012d3c in eval_sub (form=76664238) at eval.c:2087
#46 0x0100f0aa in Fprogn (args=76664246) at eval.c:359
#47 0x010104e9 in Flet (args=76664254) at eval.c:913
#48 0x01012d3c in eval_sub (form=76664262) at eval.c:2087
#49 0x0100f0aa in Fprogn (args=76664398) at eval.c:359
#50 0x01012d3c in eval_sub (form=76664390) at eval.c:2087
#51 0x01010da4 in internal_lisp_condition_case (var=59048394, bodyform=76664390, handlers=76554158) at eval.c:1242
#52 0x01010abe in Fcondition_case (args=76664454) at eval.c:1183
#53 0x01012d3c in eval_sub (form=76664462) at eval.c:2087
#54 0x0100f0aa in Fprogn (args=76664470) at eval.c:359
#55 0x010104e9 in Flet (args=76664478) at eval.c:913
#56 0x01012d3c in eval_sub (form=76664486) at eval.c:2087
#57 0x0100f0aa in Fprogn (args=76664518) at eval.c:359
#58 0x01015cf1 in funcall_lambda (fun=76664494, nargs=0, arg_vector=0x82b27c) at eval.c:2999
#59 0x01015391 in Ffuncall (nargs=1, args=0x82b278) at eval.c:2835
#60 0x0101385e in Fapply (nargs=2, args=0x82b278) at eval.c:2251
#61 0x01014c0e in Ffuncall (nargs=3, args=0x82b274) at eval.c:2755
#62 0x010e0f13 in exec_byte_code (bytestr=20931649, vector=20931701, maxdepth=16, args_template=57358362, nargs=0, args=0x0)
    at bytecode.c:899
#63 0x010e02da in Fbyte_code (bytestr=20931649, vector=20931701, maxdepth=16) at bytecode.c:474
#64 0x01013258 in eval_sub (form=20931638) at eval.c:2145
#65 0x01010da4 in internal_lisp_condition_case (var=57358362, bodyform=20931638, handlers=20115822) at eval.c:1242
#66 0x010e1b50 in exec_byte_code (bytestr=20931393, vector=20931525, maxdepth=20, args_template=57358362, nargs=0, args=0x0)
    at bytecode.c:1095
#67 0x01015e26 in funcall_lambda (fun=20931365, nargs=1, arg_vector=0x36b381a <__register_frame_info+57358362>) at eval.c:3006
#68 0x010152bf in Ffuncall (nargs=2, args=0x82b968) at eval.c:2823
#69 0x01014661 in call1 (fn=57400610, arg1=96925573) at eval.c:2568
#70 0x01040874 in timer_check_2 (timers=99298190, idle_timers=99298230) at keyboard.c:4386
#71 0x0104095d in timer_check () at keyboard.c:4453
#72 0x0103e7e6 in readable_events (flags=1) at keyboard.c:3350
#73 0x010472bb in get_input_pending (flags=1) at keyboard.c:6679
#74 0x01052a98 in detect_input_pending_run_timers (do_display=true) at keyboard.c:10272
#75 0x0102b77f in wait_reading_process_output (time_limit=16, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=57358362,
    wait_proc=0x0, just_wait_proc=0) at process.c:4749
#76 0x010fb997 in sit_for (timeout=64, reading=true, display_option=1) at dispnew.c:5977
#77 0x0103baf8 in read_char (commandflag=1, nmaps=2, maps=0x82be00, prev_event=57358362, used_mouse_menu=0x82bed3, end_time=0x0)
    at keyboard.c:2668
#78 0x0104eef4 in read_key_sequence (keybuf=0x82c050, bufsize=30, prompt=57358362, dont_downcase_last=false,
    can_return_switch_frame=true, fix_current_buffer=true) at keyboard.c:9230
#79 0x010385c4 in command_loop_1 () at keyboard.c:1458
#80 0x01010e86 in internal_condition_case (bfun=0x10380de <command_loop_1>, handlers=57408946, hfun=0x10378fd <cmd_error>)
    at eval.c:1288
#81 0x01037d57 in command_loop_2 (ignore=57358362) at keyboard.c:1167
#82 0x010108e3 in internal_catch (tag=57462578, func=0x1037d33 <command_loop_2>, arg=57358362) at eval.c:1059
#83 0x01037cc0 in command_loop () at keyboard.c:1138
#84 0x010372cb in recursive_edit_1 () at keyboard.c:778
#85 0x010be480 in read_minibuf (map=76294318, initial=57358362, prompt=76634321, expflag=false, histvar=95220242, histpos=0,
    defalt=95385729, allow_props=false, inherit_input_method=true) at minibuf.c:674
#86 0x010bf18a in Fread_from_minibuffer (prompt=76634321, initial_contents=57358362, keymap=76294318, sys_read=57358362,
    hist=95220242, default_value=95385729, inherit_input_method=57358386) at minibuf.c:976
#87 0x010134c8 in eval_sub (form=76623102) at eval.c:2163
#88 0x0100f0aa in Fprogn (args=76623190) at eval.c:359
#89 0x010104e9 in Flet (args=76622222) at eval.c:913
#90 0x01012d3c in eval_sub (form=76622230) at eval.c:2087
#91 0x0100f0aa in Fprogn (args=76622246) at eval.c:359
#92 0x0100eff8 in Fcond (args=76622270) at eval.c:337
#93 0x01012d3c in eval_sub (form=76622278) at eval.c:2087
#94 0x0100f0aa in Fprogn (args=76622286) at eval.c:359
#95 0x01010051 in FletX (args=76622294) at eval.c:843
#96 0x01012d3c in eval_sub (form=76622302) at eval.c:2087
#97 0x0100f0aa in Fprogn (args=76622326) at eval.c:359
#98 0x01103187 in Fsave_current_buffer (args=76622318) at editfns.c:962
#99 0x01012d3c in eval_sub (form=76622310) at eval.c:2087
#100 0x0100f0aa in Fprogn (args=76622366) at eval.c:359
#101 0x01015cf1 in funcall_lambda (fun=76622334, nargs=7, arg_vector=0x82cbd0) at eval.c:2999
#102 0x01015600 in apply_lambda (fun=76622334, args=76594470) at eval.c:2883
#103 0x0101375b in eval_sub (form=76594462) at eval.c:2214
#104 0x01010a4e in Funwind_protect (args=76594534) at eval.c:1147
#105 0x01012d3c in eval_sub (form=76594526) at eval.c:2087
#106 0x0100f0aa in Fprogn (args=76594582) at eval.c:359
#107 0x01012d3c in eval_sub (form=76594550) at eval.c:2087
#108 0x01010a4e in Funwind_protect (args=76594598) at eval.c:1147
#109 0x01012d3c in eval_sub (form=76594590) at eval.c:2087
#110 0x0100f0aa in Fprogn (args=76592318) at eval.c:359
#111 0x010104e9 in Flet (args=76592326) at eval.c:913
#112 0x01012d3c in eval_sub (form=76592334) at eval.c:2087
#113 0x0100f0aa in Fprogn (args=76592342) at eval.c:359
#114 0x010104e9 in Flet (args=76592494) at eval.c:913
#115 0x01012d3c in eval_sub (form=76592502) at eval.c:2087
#116 0x01010da4 in internal_lisp_condition_case (var=59048394, bodyform=76592502, handlers=76542078) at eval.c:1242
#117 0x01010abe in Fcondition_case (args=76592582) at eval.c:1183
#118 0x01012d3c in eval_sub (form=76592590) at eval.c:2087
#119 0x01010a4e in Funwind_protect (args=76592606) at eval.c:1147
#120 0x01012d3c in eval_sub (form=76592598) at eval.c:2087
#121 0x0100f0aa in Fprogn (args=76592710) at eval.c:359
#122 0x010104e9 in Flet (args=76592718) at eval.c:913
#123 0x01012d3c in eval_sub (form=76592726) at eval.c:2087
#124 0x0100f0aa in Fprogn (args=76592734) at eval.c:359
#125 0x010108e3 in internal_catch (tag=57462578, func=0x100f055 <Fprogn>, arg=76542590) at eval.c:1059
#126 0x01010849 in Fcatch (args=76542582) at eval.c:1030
#127 0x01012d3c in eval_sub (form=76542574) at eval.c:2087
#128 0x0100f0aa in Fprogn (args=76592766) at eval.c:359
#129 0x01015cf1 in funcall_lambda (fun=76592742, nargs=9, arg_vector=0x82dc94) at eval.c:2999
#130 0x01015391 in Ffuncall (nargs=10, args=0x82dc90) at eval.c:2835
#131 0x010140a8 in Fapply (nargs=2, args=0x82dd40) at eval.c:2308
#132 0x01012fcd in eval_sub (form=76548262) at eval.c:2111
#133 0x0100f0aa in Fprogn (args=76548286) at eval.c:359
#134 0x0100ef2e in Fif (args=76548950) at eval.c:310
#135 0x01012d3c in eval_sub (form=76548942) at eval.c:2087
#136 0x0100f0aa in Fprogn (args=76549014) at eval.c:359
#137 0x0100ef2e in Fif (args=76548998) at eval.c:310
#138 0x01012d3c in eval_sub (form=76548990) at eval.c:2087
#139 0x0100f0aa in Fprogn (args=76549022) at eval.c:359
#140 0x010104e9 in Flet (args=76549030) at eval.c:913
#141 0x01012d3c in eval_sub (form=76549038) at eval.c:2087
#142 0x0100f0aa in Fprogn (args=76549070) at eval.c:359
#143 0x01015cf1 in funcall_lambda (fun=76549046, nargs=9, arg_vector=0x82e404) at eval.c:2999
#144 0x01015391 in Ffuncall (nargs=10, args=0x82e400) at eval.c:2835
#145 0x010140a8 in Fapply (nargs=2, args=0x82e4b0) at eval.c:2308
#146 0x01012fcd in eval_sub (form=76548118) at eval.c:2111
#147 0x0100f0aa in Fprogn (args=76548814) at eval.c:359
#148 0x01015cf1 in funcall_lambda (fun=76548830, nargs=0, arg_vector=0x82e6f4) at eval.c:2999
#149 0x01015391 in Ffuncall (nargs=1, args=0x82e6f0) at eval.c:2835
#150 0x01012fcd in eval_sub (form=76523310) at eval.c:2111
#151 0x01010a4e in Funwind_protect (args=76523326) at eval.c:1147
#152 0x01012d3c in eval_sub (form=76523302) at eval.c:2087
#153 0x0100f0aa in Fprogn (args=76523454) at eval.c:359
#154 0x01015cf1 in funcall_lambda (fun=76521502, nargs=2, arg_vector=0x82e9b0) at eval.c:2999
#155 0x01015600 in apply_lambda (fun=76521502, args=76548926) at eval.c:2883
#156 0x0101375b in eval_sub (form=76548918) at eval.c:2214
#157 0x0100ef11 in Fif (args=76548950) at eval.c:309
#158 0x01012d3c in eval_sub (form=76548942) at eval.c:2087
#159 0x0100f0aa in Fprogn (args=76549014) at eval.c:359
#160 0x0100ef2e in Fif (args=76548998) at eval.c:310
#161 0x01012d3c in eval_sub (form=76548990) at eval.c:2087
#162 0x0100f0aa in Fprogn (args=76549022) at eval.c:359
#163 0x010104e9 in Flet (args=76549030) at eval.c:913
#164 0x01012d3c in eval_sub (form=76549038) at eval.c:2087
#165 0x0100f0aa in Fprogn (args=76549070) at eval.c:359
#166 0x01015cf1 in funcall_lambda (fun=76549046, nargs=10, arg_vector=0x82f020) at eval.c:2999
#167 0x01015600 in apply_lambda (fun=76549046, args=94382742) at eval.c:2883
#168 0x0101375b in eval_sub (form=94382734) at eval.c:2214
#169 0x0100f0aa in Fprogn (args=94382854) at eval.c:359
#170 0x010104e9 in Flet (args=94622046) at eval.c:913
#171 0x01012d3c in eval_sub (form=94622054) at eval.c:2087
#172 0x0100f0aa in Fprogn (args=94622070) at eval.c:359
#173 0x01015cf1 in funcall_lambda (fun=94630030, nargs=3, arg_vector=0x82f420) at eval.c:2999
#174 0x01015600 in apply_lambda (fun=94630030, args=92924774) at eval.c:2883
#175 0x0101375b in eval_sub (form=92924190) at eval.c:2214
#176 0x0100f0aa in Fprogn (args=92924886) at eval.c:359
#177 0x01015cf1 in funcall_lambda (fun=94391350, nargs=1, arg_vector=0x82f630) at eval.c:2999
#178 0x01015600 in apply_lambda (fun=94391350, args=95770398) at eval.c:2883
#179 0x0101375b in eval_sub (form=95770390) at eval.c:2214
#180 0x0100f0aa in Fprogn (args=95770494) at eval.c:359
#181 0x01015cf1 in funcall_lambda (fun=95770566, nargs=1, arg_vector=0x82f934) at eval.c:2999
#182 0x01015391 in Ffuncall (nargs=2, args=0x82f930) at eval.c:2835
#183 0x010e69b0 in Fcall_interactively (function=60950914, record_flag=57358362, keys=57379757) at callint.c:852
#184 0x01014f7d in Ffuncall (nargs=4, args=0x82fb60) at eval.c:2781
#185 0x010146db in call3 (fn=57469674, arg1=60950914, arg2=57358362, arg3=57358362) at eval.c:2599
#186 0x010529fe in Fcommand_execute (cmd=60950914, record_flag=57358362, keys=57358362, special=57358362) at keyboard.c:10240
#187 0x01038e13 in command_loop_1 () at keyboard.c:1586
#188 0x01010e86 in internal_condition_case (bfun=0x10380de <command_loop_1>, handlers=57408946, hfun=0x10378fd <cmd_error>)
    at eval.c:1288
#189 0x01037d57 in command_loop_2 (ignore=57358362) at keyboard.c:1167
#190 0x010108e3 in internal_catch (tag=57398802, func=0x1037d33 <command_loop_2>, arg=57358362) at eval.c:1059
#191 0x01037d11 in command_loop () at keyboard.c:1146
#192 0x010372cb in recursive_edit_1 () at keyboard.c:778
#193 0x010375f8 in Frecursive_edit () at keyboard.c:842
#194 0x01002920 in main (argc=1, argv=0xa44480) at emacs.c:1552

Lisp Backtrace:
"delete-process" (0x829a2c)
"helm-kill-async-process" (0x829b70)
"while" (0x829e04)
"helm-kill-async-processes" (0x829ef0)
"helm-update" (0x82a0f0)
"if" (0x82a364)
"helm-check-new-input" (0x82a450)
"progn" (0x82a6a4)
"unwind-protect" (0x82a7d4)
"save-current-buffer" (0x82a934)
"let" (0x82ab04)
"progn" (0x82ac34)
"condition-case" (0x82ae14)
"let" (0x82afe4)
"helm-check-minibuffer-input-1" (0x82b27c)
"apply" (0x82b278)
"byte-code" (0x82b4ec)
"timer-event-handler" (0x82b96c)
"read-from-minibuffer" (0x82c46c)
"let" (0x82c694)
"cond" (0x82c7f4)
"let*" (0x82c984)
"save-current-buffer" (0x82cae4)
"helm-read-pattern-maybe" (0x82cbd0)
"unwind-protect" (0x82ce34)
"progn" (0x82cf64)
"unwind-protect" (0x82d094)
"let" (0x82d264)
"let" (0x82d434)
"condition-case" (0x82d614)
"unwind-protect" (0x82d744)
"let" (0x82d914)
"catch" (0x82db04)
"helm-internal" (0x82dc94)
"apply" (0x82dd40)
"if" (0x82df44)
"if" (0x82e0a4)
"let" (0x82e274)
"helm" (0x82e404)
"apply" (0x82e4b0)
0x4900ad8 Lisp type 6
"funcall" (0x82e6f0)
"unwind-protect" (0x82e8c4)
"helm-let-internal" (0x82e9b0)
"if" (0x82ec04)
"if" (0x82ed64)
"let" (0x82ef34)
"helm" (0x82f020)
"let" (0x82f334)
"helm-locate-with-db" (0x82f420)
"helm-locate-1" (0x82f630)
"helm-locate" (0x82f934)
"call-interactively" (0x82fb64)
(gdb) thread 1
[Switching to thread 1 (Thread 2156.0xde8)]
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) frame 14
#14 0x0102ffff in status_notify (deleting_process=0x5c6f620) at process.c:6606
6606    process.c: No such file or directory.
(gdb) print *p
$1 = {
  header = {
    size = 1073872914,
    next = {
      nbytes = 144,
      buffer = 0x90,
      vector = 0x90
    }
  },
  tty_name = 57358362,
  name = 95268961,
  command = 99165854,
  filter = 57358386,
  sentinel = 95441550,
  log = 57358362,
  buffer = 72508421,
  childp = 57358386,
  plist = 57358362,
  type = 57481914,
  mark = 96614195,
  status = 99296310,
  decode_coding_system = 59149866,
  decoding_buf = 20036945,
  encode_coding_system = 59149842,
  encoding_buf = 20036945,
  write_queue = 57358362,
  gnutls_cred_type = 57358362,
  pid = 3552,
  infd = 5,
  outfd = 10,
  tick = 16,
  update_tick = 16,
  decoding_carryover = 0,
  read_output_delay = 0,
  adaptive_read_buffering = 1,
  read_output_skip = 0,
  kill_without_query = 0,
  pty_flag = 0,
  inherit_coding_system_flag = 0,
  raw_status_new = 0,
  raw_status = 0,
  gnutls_initstage = GNUTLS_STAGE_EMPTY,
  gnutls_state = 0x0,
  gnutls_x509_cred = 0x0,
  gnutls_anon_cred = 0x0,
  gnutls_log_level = 0,
  gnutls_handshakes_tried = 0,
  gnutls_p = 0
}
(gdb) print p->name
$2 = 95268961
(gdb) xstring
$3 = (struct Lisp_String *) 0x5adb060
"locate-process"
(gdb) print p->command
$4 = 99165854
(gdb) xtype
Lisp_Cons
(gdb) xcons
$5 = (struct Lisp_Cons *) 0x5e92698
{
  car = 0x379c271,
  u = {
    cdr = 0x5e92696,
    chain = 0x5e92696
  }
}
(gdb) xsymbol
Argument to arithmetic operation not a number or boolean.
--8<---------------cut here---------------end--------------->8---

BTW, is this the right thing to do: typing `xcons' when type is Lisp_Cons?

Best regards,
Fabrice