unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: Help Guix <help-guix@gnu.org>, guix-devel@gnu.org
Subject: Re: stateful caches (was Re: OBS Studio memory leak)
Date: Thu, 15 Jun 2023 14:59:10 +0200	[thread overview]
Message-ID: <87sfas3mqp.fsf@xelera.eu> (raw)
In-Reply-To: <87wn05hqou.fsf@kitej>

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

Hi!

Guillaume Le Vaillant <glv@posteo.net> writes:

[...]

> I used gdb on versions of mesa and vlc with debug symbols:
>
> --8<---------------cut here---------------start------------->8---
> guix build --with-debug-info=mesa --with-debug-info=vlc vlc
>
> gdb /gnu/store/...-vlc-3.0.18/bin/.vlc-real
> (gdb) run some-video.mkv
> --8<---------------cut here---------------end--------------->8---
>
> Then I sent a SIGSTOP signal to the vlc process, and in gdb I looked at
> the backtrace of all the threads of vlc.

got it, thanks!

[...]

>> do you think this bug (is it a bug, right?) needs to be reported
>> upstream?
>
> I guess it would be better if the code reading the shader cache was more
> robust when reading possibly incompatible or corrupted data. However
> I have not tried more recent versions of mesa, maybe they are better at
> it...
>
> And it seems that Maxim has already reported the issue upstream,
> see <https://issues.guix.gnu.org/63197>

oh I missed it: I'll make my comments in that issue then, thanks!

> and <https://gitlab.freedesktop.org/mesa/mesa/-/issues/8937>

I see

Happy hacking. Gio'


-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

      reply	other threads:[~2023-06-15 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <NXj2j6I--3-9@tutanota.com>
     [not found] ` <87y1kozvny.fsf@robbyzambito.me>
     [not found]   ` <874jnbn6mk.fsf@kitej>
     [not found]     ` <NXnloOL--7-9@tutanota.com>
     [not found]       ` <871qify1i8.fsf@kitej>
2023-06-15 10:26         ` stateful caches (was Re: OBS Studio memory leak) Giovanni Biscuolo
2023-06-15 11:41           ` Guillaume Le Vaillant
2023-06-15 12:59             ` Giovanni Biscuolo [this message]

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://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfas3mqp.fsf@xelera.eu \
    --to=g@xelera.eu \
    --cc=glv@posteo.net \
    --cc=guix-devel@gnu.org \
    --cc=help-guix@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/guix.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).