From: Codrut Gusoi <codrut.gusoi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 26097@debbugs.gnu.org
Subject: bug#26097: Segmentation fault due to missing faces in face_cache.
Date: Mon, 20 Mar 2017 21:40:30 +0200 [thread overview]
Message-ID: <CAJi2ve6JKvjunMaZzAjPz0peyUy8_zSC0eAtuivwLkOLUerS6g@mail.gmail.com> (raw)
In-Reply-To: <83h92nwzuw.fsf@gnu.org>
Yes there is a reliable recipe to reproduce.
I've prepared the VM, just let me know how I should send you the login
credentials (without the whole internet getting their hands on them)
since I can not write them here.
The exact recipe is described in my first email, here is what you need
to do on the VM now that I set it up:
First make sure your terminal is either maximized or fullscreen. Then
cd ~/emacs
emacs -nw .
Now that you have emacs running you should wait untill you see 2
windows: neotree on the left and dired on the right. You need to type:
<SPACE> p f. That is 'spacebar' followed by a 'p' followed by an 'f',
lower case. This will open helm on the lower part of the screen. From
here type what's between the quotes here: "src/term.c" then press
return (RET). You will have to wait a few seconds, then the segfault
will happen.
This is an Ubuntu 14.04 VM, you should be able to do anything you
please with it.
I am also available to chat on any platform you desire if you need
real time feedback from me.
On Mon, Mar 20, 2017 at 8:46 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> [Please keep the bug address on the CC list.]
>
>> From: Codrut Gusoi <codrut.gusoi@gmail.com>
>> Date: Mon, 20 Mar 2017 14:16:29 +0200
>>
>> I've tried watching the `used` count with `watch -l` and there is no
>> place where the font cache shrinks for the current frame. I believe
>> what I experineced previously was the `used` count from different
>> frames (since I added a breakpoint but did not look at the frame
>> address).
>
> For the bug you describe to happen, the 'used' count of a frame's face
> cache _must_ be reset to zero at some point. There simply isn't any
> other way to "lose" faces from the cache. So if you don't see that,
> it means you didn't succeed to reproduce the problem.
>
>> Have you managed to reproduce it locally?
>
> No.
>
>> If not, what do you say I set up a VM in AWS and give you the IP and
>> login details to take a look.
>
> That could work if there's a more-or-less reliable recipe for
> reproducing the problem. Is there?
>
> If there is not recipe, I won't be able to investigate the path to
> disaster, and when the segfault happens, it's already too late.
next prev parent reply other threads:[~2017-03-20 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 13:49 bug#26097: Segmentation fault due to missing faces in face_cache Codrut Gusoi
2017-03-14 18:20 ` Eli Zaretskii
[not found] ` <CAJi2ve5YMc04-VUTcRRMv49jFRo3wgFyraZT4TqPHNxPQyO4sA@mail.gmail.com>
2017-03-20 18:46 ` Eli Zaretskii
2017-03-20 19:40 ` Codrut Gusoi [this message]
2017-03-25 14:01 ` Eli Zaretskii
2017-03-25 16:46 ` Codrut Gusoi
2017-03-25 17:00 ` 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=CAJi2ve6JKvjunMaZzAjPz0peyUy8_zSC0eAtuivwLkOLUerS6g@mail.gmail.com \
--to=codrut.gusoi@gmail.com \
--cc=26097@debbugs.gnu.org \
--cc=eliz@gnu.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).