* pdumper: M-x profiler-start crashes
@ 2018-02-16 2:18 T.V Raman
2018-02-16 8:32 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: T.V Raman @ 2018-02-16 2:18 UTC (permalink / raw)
To: emacs-devel
Built from the pdumper branch and was using the result -- then I
noticed some sluggishness with emacspeak and wanted to see what was
happening.
M-x profiler-start RET cpu RET immediately crashes emacs.
--
--
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pdumper: M-x profiler-start crashes
2018-02-16 2:18 pdumper: M-x profiler-start crashes T.V Raman
@ 2018-02-16 8:32 ` Eli Zaretskii
2018-02-16 9:24 ` martin rudalics
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2018-02-16 8:32 UTC (permalink / raw)
To: T.V Raman; +Cc: emacs-devel
> Date: Thu, 15 Feb 2018 18:18:10 -0800
> From: raman@google.com (T.V Raman)
>
> Built from the pdumper branch and was using the result -- then I
> noticed some sluggishness with emacspeak and wanted to see what was
> happening.
> M-x profiler-start RET cpu RET immediately crashes emacs.
Can you please run this under a debugger and show the full backtrace
from the crash? It is usually better to do that in an unoptimized
build, because otherwise backtraces could mislead.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pdumper: M-x profiler-start crashes
2018-02-16 8:32 ` Eli Zaretskii
@ 2018-02-16 9:24 ` martin rudalics
2018-02-16 16:44 ` T.V Raman
0 siblings, 1 reply; 5+ messages in thread
From: martin rudalics @ 2018-02-16 9:24 UTC (permalink / raw)
To: Eli Zaretskii, T.V Raman; +Cc: emacs-devel
>> M-x profiler-start RET cpu RET immediately crashes emacs.
>
> Can you please run this under a debugger and show the full backtrace
> from the crash? It is usually better to do that in an unoptimized
> build, because otherwise backtraces could mislead.
Here (on Windows XP) it gets me
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x011c2fa8 in hash_lookup (h=0x64f52a8, key=XIL(0x6624dbd), hash=0x68bfea0) at ../../src/fns.c:3978
#2 0x012277fa in record_backtrace (log=0x64f52a8, count=1) at ../../src/profiler.c:157
#3 0x0122797e in handle_profiler_signal (sys_signal=19) at ../../src/profiler.c:252
#4 0x0112a8e7 in deliver_process_signal (sig=19, handler=0x12278e5 <handle_profiler_signal>) at ../../src/sysdep.c:1713
#5 0x0122799d in deliver_profiler_signal (sys_signal=19) at ../../src/profiler.c:259
#6 0x012735c3 in timer_loop (arg=0x22e4800 <prof_itimer>) at ../../src/w32proc.c:490
#7 0x7c80b683 in KERNEL32!GetModuleFileNameA () from C:\WINDOWS\system32\kernel32.dll
#8 0x00000000 in ?? ()
Lisp Backtrace:
"file-remote-p" (0x82b89c)
"redisplay_internal (C function)" (0x0)
"redisplay" (0x82eac4)
"sit-for" (0x82edbc)
"execute-extended-command" (0x82f248)
"funcall-interactively" (0x82f244)
"call-interactively" (0x82f4f0)
"command-execute" (0x82f82c)
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pdumper: M-x profiler-start crashes
2018-02-16 9:24 ` martin rudalics
@ 2018-02-16 16:44 ` T.V Raman
2018-02-16 21:05 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: T.V Raman @ 2018-02-16 16:44 UTC (permalink / raw)
To: martin rudalics; +Cc: Eli Zaretskii, emacs-devel
martin rudalics <rudalics@gmx.at> writes:
Thanks for running that under GDB --- I was about to ask for volunteers
since Emacs is what talks to me, so running it under gdb does me little
good since I wouldn't get any speech output once I fall into GDB >>> M-x profiler-start RET cpu RET immediately crashes emacs.
>>
>> Can you please run this under a debugger and show the full backtrace
>> from the crash? It is usually better to do that in an unoptimized
>> build, because otherwise backtraces could mislead.
>
> Here (on Windows XP) it gets me
>
> (gdb) bt
> #0 0x00000000 in ?? ()
> #1 0x011c2fa8 in hash_lookup (h=0x64f52a8, key=XIL(0x6624dbd), hash=0x68bfea0) at ../../src/fns.c:3978
> #2 0x012277fa in record_backtrace (log=0x64f52a8, count=1) at ../../src/profiler.c:157
> #3 0x0122797e in handle_profiler_signal (sys_signal=19) at ../../src/profiler.c:252
> #4 0x0112a8e7 in deliver_process_signal (sig=19, handler=0x12278e5 <handle_profiler_signal>) at ../../src/sysdep.c:1713
> #5 0x0122799d in deliver_profiler_signal (sys_signal=19) at ../../src/profiler.c:259
> #6 0x012735c3 in timer_loop (arg=0x22e4800 <prof_itimer>) at ../../src/w32proc.c:490
> #7 0x7c80b683 in KERNEL32!GetModuleFileNameA () from C:\WINDOWS\system32\kernel32.dll
> #8 0x00000000 in ?? ()
>
> Lisp Backtrace:
> "file-remote-p" (0x82b89c)
> "redisplay_internal (C function)" (0x0)
> "redisplay" (0x82eac4)
> "sit-for" (0x82edbc)
> "execute-extended-command" (0x82f248)
> "funcall-interactively" (0x82f244)
> "call-interactively" (0x82f4f0)
> "command-execute" (0x82f82c)
>
> martin
>
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pdumper: M-x profiler-start crashes
2018-02-16 16:44 ` T.V Raman
@ 2018-02-16 21:05 ` Stefan Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2018-02-16 21:05 UTC (permalink / raw)
To: emacs-devel
> Thanks for running that under GDB --- I was about to ask for volunteers
> since Emacs is what talks to me, so running it under gdb does me little
> good since I wouldn't get any speech output once I fall into GDB >>> M-x
FWIW, I always run my main Emacs session from GDB, and that GDB is
always running from an(other) Emacs session ;-)
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-02-16 21:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 2:18 pdumper: M-x profiler-start crashes T.V Raman
2018-02-16 8:32 ` Eli Zaretskii
2018-02-16 9:24 ` martin rudalics
2018-02-16 16:44 ` T.V Raman
2018-02-16 21:05 ` Stefan Monnier
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.