<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Improve GDB backtrace generation for GTK/EFL"
   href="https://bugs.webkit.org/show_bug.cgi?id=128928#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Improve GDB backtrace generation for GTK/EFL"
   href="https://bugs.webkit.org/show_bug.cgi?id=128928">bug 128928</a>
              from <span class="vcard"><a class="email" href="mailto:mcatanzaro&#64;igalia.com" title="Michael Catanzaro &lt;mcatanzaro&#64;igalia.com&gt;"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
        <pre>coredumpctl is not useful for bots -- anything that makes coredumps display in the web interface would be a great solution there -- but for humans running tests manually, we should try to figure out a solution that doesn't require editing core_pattern to disable it.

(In reply to <a href="show_bug.cgi?id=128928#c5">comment #5</a>)
<span class="quote">&gt; I guess that would require the users to run systemd. This can be problematic
&gt; on the bots (they run on unprivileged containers, and systemd don't plays
&gt; nice there)</span >

Huh, I didn't realize that. I thought all Linux except Gentoo was using systemd nowadays (certainly it's installed on the bots I used yesterday), and that it was designed to handle unprivileged containers nicely -- that's the whole point of machinectl, right? but I've hardly used containers myself.

<span class="quote">&gt; So...  the main question.... is coredumpctl able to get and print the
&gt; environ variables that a program had defined when it crashed for a given
&gt; coredump? If is not, I don't think it will be of any help here.</span >

Hm, I don't think so. You can match on an awful lot, anything listed in systemd.journal-fields(7), but not environment variables. It'd be easy to add though, since it has access to /proc/$pid/environ as you say, we'd just need to make it save the environment as a journal field. This is how the abrt coredumpctl integration was written -- abrt needed more info on the coredumps, so they modified coredumpctl to save it in journal fields. But that is a lot more work....</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>