<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hello all,</p>
<p style="margin-top:0;margin-bottom:0">Here is today status on my Debian 10 Buster</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>guy@debian:~$ uname --all</div>
<div>Linux debian 4.16.0-2-amd64 #1 SMP Debian 4.16.12-1 (2018-05-27) x86_64 GNU/Linux</div>
<div>
<div>guy@debian:~$ cat /etc/environment </div>
<div>COUNTRY=FR</div>
<div>#GIGACAGE_ENABLED=no</div>
<div>DRI_PRIME=1</div>
<div>QT_STYLE_OVERRIDE=Adwaita</div>
<div>guy@debian:~$ </div>
<div><br>
</div>
<br>
</div>
<div>
<div>guy@debian:~$ apt policy webkit2gtk*</div>
<div>webkit2gtk-driver:</div>
<div>  Installé : 2.20.3-1</div>
<div>  Candidat : 2.20.3-1</div>
<div> Table de version :</div>
<div>     2.21.4-1 1</div>
<div>          1 http://deb.debian.org/debian experimental/main amd64 Packages</div>
<div> *** 2.20.3-1 500</div>
<div>        500 http://deb.debian.org/debian buster/main amd64 Packages</div>
<div>        100 /var/lib/dpkg/status</div>
<div>guy@debian:~$ ulimit -a</div>
<div>core file size          (blocks, -c) 0</div>
<div>data seg size           (kbytes, -d) unlimited</div>
<div>scheduling priority             (-e) 0</div>
<div>file size               (blocks, -f) unlimited</div>
<div>pending signals                 (-i) 14332</div>
<div>max locked memory       (kbytes, -l) 16384</div>
<div>max memory size         (kbytes, -m) unlimited</div>
<div>open files                      (-n) 1024</div>
<div>pipe size            (512 bytes, -p) 8</div>
<div>POSIX message queues     (bytes, -q) 819200</div>
<div>real-time priority              (-r) 0</div>
<div>stack size              (kbytes, -s) 8192</div>
<div>cpu time               (seconds, -t) unlimited</div>
<div>max user processes              (-u) 14332</div>
<div>virtual memory          (kbytes, -v) unlimited</div>
<div>file locks                      (-x) unlimited</div>
<div>guy@debian:~$ env | grep GIG</div>
<div>guy@debian:~$ gnome-control-center</div>
<div>guy@debian:~$ </div>
<div><br>
</div>
<br>
</div>
<div>So now gnome-control-center open and close with no errors</div>
<div>Note I had to install <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">webkit2gtk-driver which is the only package
 referenced with the name <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">webkit2gtk and was not previously intalled
 on my regular Debian.</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Best
 Regards</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></span></div>
<div><br>
</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Jeremy Bicha <jbicha@debian.org><br>
<b>Envoyé :</b> samedi 16 juin 2018 03:11<br>
<b>À :</b> Andres Freund<br>
<b>Cc :</b> GT; 894376@bugs.debian.org; webkit2gtk@packages.debian.org<br>
<b>Objet :</b> Re: Bug#894376: gnome-control-center crash FATAL: Could not allocate gigacage memory</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Please try again after installing all updates and then log out and log<br>
back in. In particular, you want webkit2gtk 2.20.3-1 which was pushed<br>
to Debian Testing yesterday. The new version should still run even if<br>
you limit memory overcommitting.<br>
<br>
I am CCing the webkit2gtk developer in case we want to adjust the<br>
Debian NEWS entry. (Wording improvement suggestions appreciated.) I<br>
talked to Berto about removing the Debian NEWS entry but he wants to<br>
keep it to warn users that a useful security feature will be disabled<br>
if they have memory limits enabled.<br>
<br>
You might want to try limiting memory only for the specific<br>
troublesome apps instead of for the entire session.<br>
<br>
Thanks,<br>
Jeremy Bicha<br>
<br>
On Fri, Jun 15, 2018 at 5:04 PM, Andres Freund <andres@anarazel.de> wrote:<br>
> On 2018-03-29 11:04:58 -0400, Jeremy Bicha wrote:<br>
>> On Thu, Mar 29, 2018 at 10:52 AM, GT <grandtoubab@msn.com> wrote:<br>
>> > FATAL: Could not allocate gigacage memory with maxAlignment = 34359738368,<br>
>><br>
>> Please see the recent note at<br>
>> <a href="https://anonscm.debian.org/git/pkg-webkit/webkit.git/tree/debian/NEWS" id="LPlnk5868" class="OWAAutoLink" previewremoved="true">
https://anonscm.debian.org/git/pkg-webkit/webkit.git/tree/debian/NEWS</a><br>
><br>
> That link is dead. A local copy says:<br>
><br>
> webkit2gtk (2.20.0-2) unstable; urgency=medium<br>
><br>
>   webkit2gtk 2.20.0 contains a security feature named Gigacage that<br>
>   requires a virtual memory region of several gigabytes and is used for<br>
>   variable-length random-access allocations.<br>
><br>
>   One consequence of this is that webkit-based applications may not run if<br>
>   their maximum virtual memory size is restricted (e.g. using ulimit -v).<br>
><br>
>   If it's not possible to remove the VM size limits the Gigacage can be<br>
>   disabled by setting the environment variable GIGACAGE_ENABLED=no. Keep<br>
>   in mind that you will be making your system less secure by doing this.<br>
><br>
>  -- Alberto Garcia <berto@igalia.com>  Wed, 21 Mar 2018 14:14:44 +0200<br>
><br>
> Which seems not correct. My system does *NOT* set ulimit -v:<br>
> andres@alap4:~$ ulimit -v<br>
> unlimited<br>
><br>
> yet:<br>
><br>
> andres@alap4:~$ gnome-control-center<br>
> FATAL: Could not allocate gigacage memory with maxAlignment = 34359738368, totalSize = 120259084288.<br>
> (Make sure you have not set a virtual memory limit.)<br>
> Segmentation fault<br>
><br>
> I suspect this is because the system has strict overcommit enabled.<br>
> That's a *MUCH* more reasonable thing to configure than ulimit -v, and<br>
> is very painful to avoid if you work with memory intensive applications<br>
> (which without it constantly can trigger the OOM killer, rather than the<br>
> culprit getting allocation failures).<br>
><br>
> At the very least you should update that note to also refer to strict<br>
> overcommit. But really, that's a pretty crazy restriction.<br>
><br>
> Also, it's fairly indefensible to error out with SIGSEGV. The error<br>
> message is ok enough, but that doesn't at all explain the SIGSEGV.<br>
><br>
> Greetings,<br>
><br>
> Andres Freund<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>