[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtk3, emacs 24 and gnome shell
From: |
Michael Welsh Duggan |
Subject: |
Re: gtk3, emacs 24 and gnome shell |
Date: |
Fri, 28 Oct 2011 19:30:03 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Rasmus Pank Roulund <address@hidden> writes:
> Tassilo Horn <address@hidden> writes:
>
>> Hi Rasmus,
>>
>>>> Run it in gdb. Compile it without optimizations and -ggdb in CFLAGS and
>>>> then run it like so:
>>>>
>>>> $ cd path/to/emacs/src/
>>>> $ gdb emacs
>>>> gdb> run
>>>>
>>>> Then you'll get C and lisp backtraces when emacs crashes. (It's
>>>> important to start emacs from its src directory, because that contains
>>>> some GDB setup scripts.)
>>>
>>> I run the program using gdb etc. as suggested above, but no message is
>>> echoed upon a crash.
>>
>> It shoult at least say that emacs has crashed somehow.
>>
>>> Do I have to issue some command to get a backtrace?
>>
>> Yes: bt full
>
> It says nothing.
>
> ┏━━━
> ┃ (gdb) bt full
> ┃ No stack.
> ┃
> ┃ Lisp Backtrace:
> ┃ Cannot access memory at address 0x7fffffffcb98
> ┗━━━
>
> I started Emacs with run --daemon.
>
> Emacs often crash after returning from suspend, although not in any
> deterministic sense.
In order to debug when running as a daemon, you need to add something
like the following to your src/.gdbinit file:
# Follow emacs when running using --daemon. We need to follow the
# child of the daemonizing fork, and go back to following parents
# shortly afterward.
break main
commands
silent
set follow-fork-mode child
continue
end
break init_signals
commands
silent
set follow-fork-mode parent
continue
end
--
Michael Welsh Duggan
(address@hidden)
- Re: gtk3, emacs 24 and gnome shell, (continued)
- Re: gtk3, emacs 24 and gnome shell, Rasmus, 2011/10/24
- Re: gtk3, emacs 24 and gnome shell, Chong Yidong, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Tassilo Horn, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Rasmus, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Tassilo Horn, 2011/10/25
- Re: gtk3, emacs 24 and gnome shell, Rasmus, 2011/10/27
- Re: gtk3, emacs 24 and gnome shell, Paul Eggert, 2011/10/27
- Re: gtk3, emacs 24 and gnome shell, Tassilo Horn, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell, Eli Zaretskii, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell, Rasmus Pank Roulund, 2011/10/28
- Re: gtk3, emacs 24 and gnome shell,
Michael Welsh Duggan <=
- Re: gtk3, emacs 24 and gnome shell, Eli Zaretskii, 2011/10/29
- Re: gtk3, emacs 24 and gnome shell, Michael Welsh Duggan, 2011/10/29
- Re: gtk3, emacs 24 and gnome shell, Michael Welsh Duggan, 2011/10/29