From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109137 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: Bug: context/mtxrun makes Firefox eat up cpu Date: Thu, 29 Oct 2020 17:56:08 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4830362876891311009==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23479"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 29 17:56:53 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYBEL-0005zl-05 for gctc-ntg-context-518@m.gmane-mx.org; Thu, 29 Oct 2020 17:56:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3ACB81A9BD5; Thu, 29 Oct 2020 17:56:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id weOyIXdry6hc; Thu, 29 Oct 2020 17:56:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 45DCF1A9BD6; Thu, 29 Oct 2020 17:56:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D178B1A9BD2 for ; Thu, 29 Oct 2020 17:56:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JNDolrMN1eyh for ; Thu, 29 Oct 2020 17:56:33 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.44; helo=mail-io1-f44.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BDB451A9BB0 for ; Thu, 29 Oct 2020 17:56:33 +0100 (CET) Original-Received: by mail-io1-f44.google.com with SMTP id z17so4248456iog.11 for ; Thu, 29 Oct 2020 09:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Hpl2C0nNQgjvCkTZhD9nzgXVqcDikUEEMSkxzHFg2K8=; b=CKom4BndAfVothOFX6k3Y20aoN5qtbiiJBM0zMuw/DOKEekghB3ijfcfoyGmlq/qUJ G32N1e8O9ta5jbEW+S/mjvMsrvD3Jh32TwxGpeQBWMaJLQGbH2YvDVFOgeDHG3nfRH5f JtHG3AJA8gYLRPi8l4c3OoQ+2GoX+1WIc3JrcIOHY4iVWnVcuHHXoRF5s7PPH+6xMBcA flzrba+TnUmz2LVv9YNHj10xASnRMCBnfYRbn27VbtUJmfvUC0omeWq0jMitcfZDm8tN JsoNOKBg01YIQOZjix4YWVf5malbFLB9db07456mgTpcBJmXiRETDsCAwhIIFMbGl5vA KbwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Hpl2C0nNQgjvCkTZhD9nzgXVqcDikUEEMSkxzHFg2K8=; b=eyxdK+6juUFWtAyyzP/a9wrwYXoWiN/Ll1RclusmwRkr1cx6I73fgGtjrtLDM4Iuxh aqa5YY+tdYSYemokA1sk6o2Ff/GRvEeENOto8HTP+G9QLyzlWz1DePXzYS2vwFI61La2 HyFZESiaKVHZbCPB0h08tMd2n98ATdQro9q+SWQr2bN0yeGYz5FIANhSMM3cyISom+z/ wAkt5C0ADXn1WN0OvC20lxL8lSTkJOBI+p1fMC3YKeaN9a0JwwLN5tuhD/Z+czQrWWru ubDT5JxXEnEXsPPuyblitHOR/EN+Sv87Cv97vushug9yarGmEBdegk5BoSrj4ts8KD8E bfsw== X-Gm-Message-State: AOAM533CxD1U+GPui434HYL7WNkJZq/+GXU5gdQCQke0OAayGXR0ihtn CRAA/MIfqlsvHYC75XCgs+CqiSXEEREmuXOOwtBkY5ii6TFTBA== X-Google-Smtp-Source: ABdhPJwfmRUnzK5fo2OdgrgZR269fNLkYIM5DfpboYEyASgwLnC2YzBVyZOWMjk4uMoObb6vpurcmnp30aic47k3kAs= X-Received: by 2002:a05:6602:2b03:: with SMTP id p3mr4257701iov.28.1603990592566; Thu, 29 Oct 2020 09:56:32 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109137 Archived-At: --===============4830362876891311009== Content-Type: multipart/alternative; boundary="0000000000007e391605b2d2290c" --0000000000007e391605b2d2290c Content-Type: text/plain; charset="UTF-8" Hi aditya, > It is possible for you to check on a fresh install of manjaro in a virtual machine to rule out the possibility that something else in your system is causing this behavior. I remember trying context while browsing the wiki before so it should work normally in a brand new environment, but I don't think it's reasonable to install a brand new distro just to make sure that 'context --help' can work normally, no matter how problematic the current distro is, as long as it does not prevent commands from displaying help messages. On Thu, 29 Oct 2020 at 16:50, Aditya Mahajan wrote: > On Thu, 29 Oct 2020, Sylvain Hubert wrote: > > > Hi, > > > > sorry if this is not the best place to file a bug but I found no working > > bug tracker for context. > > > > Environment: > > Manjaro 20.1.2, context 2020.09.20 23:02, firefox 82.0 > > > > Step to reproduce: > > 1. `firefox --safe-mode # start firefox without add-ons` > > 2.a`context --version # or --help, or without arguments` > > 2.b or: `mtxrun --script font --list --all` > > > > Expected behavior: > > Nothing surprising should happen. > > > > Actual behavior: > > Firefox suddenly eats 100% of cpu > > I cannot reproduce this behavior (I am on manjaro but using firefox 81 > rather than 82). My environment: > > $uname -a > Linux hostname 5.4.67-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:20:18 UTC > 2020 x86_64 GNU/Linux > > $firefox --version > Mozilla Firefox 81.0 > > $context --version > mtx-context | ConTeXt Process Management 1.03 > mtx-context | > mtx-context | main context file: > /opt/luametatex/texmf-context/tex/context/base/mkiv/context.mkiv > mtx-context | current version: 2020.09.15 18:11 > mtx-context | main context file: > /opt/luametatex/texmf-context/tex/context/base/mkiv/context.mkxl > mtx-context | current version: 2020.09.15 18:11 > > I followed your steps: > 1. start `firefox --safe-mode` > 2. On a different terminal, open htop and filter `firefox` so I can view > firefox's CPU usage. > 3. Run `mtxrun --script font --list --all` > > The CPU usage of firefox does not change in any appreciable way (it was 0% > and remains 0%). > > It is possible for you to check on a fresh install of manjaro in a virtual > machine to rule out the possibility that something else in your system is > causing this behavior. > > Aditya > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --0000000000007e391605b2d2290c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi aditya,

> It is possible for you to check on a fresh install of manjaro in a=20 virtual machine to rule out the possibility that something else in your=20 system is causing this behavior.
I remember trying context while = browsing the wiki before so it should work normally in a brand new environm= ent, but I don't think it's reasonable to install a brand new distr= o just to make sure that 'context --help' can work normally, no mat= ter how problematic the current distro is, as long as it does not prevent c= ommands from displaying help messages.

On Thu, 29 Oct 2020 at 16:5= 0, Aditya Mahajan <adityam@umich.ed= u> wrote:
On Thu, 29 Oct 2020, Sylvain Hubert wrote:

> Hi,
>
> sorry if this is not the best place to file a bug but I found no worki= ng
> bug tracker for context.
>
> Environment:
> Manjaro 20.1.2, context 2020.09.20 23:02, firefox 82.0
>
> Step to reproduce:
> 1. `firefox --safe-mode=C2=A0 # start firefox without add-ons`
> 2.a`context --version=C2=A0 # or --help, or without arguments`
> 2.b or: `mtxrun --script font --list --all`
>
> Expected behavior:
> Nothing surprising should happen.
>
> Actual behavior:
> Firefox suddenly eats 100% of cpu

I cannot reproduce this behavior (I am on manjaro but using firefox 81 rath= er than 82). My environment:

$uname -a
Linux hostname 5.4.67-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:20:18 UTC 2020= x86_64 GNU/Linux

$firefox --version
Mozilla Firefox 81.0

$context --version
mtx-context=C2=A0 =C2=A0 =C2=A0| ConTeXt Process Management 1.03
mtx-context=C2=A0 =C2=A0 =C2=A0|
mtx-context=C2=A0 =C2=A0 =C2=A0| main context file: /opt/luametatex/texmf-c= ontext/tex/context/base/mkiv/context.mkiv
mtx-context=C2=A0 =C2=A0 =C2=A0| current version: 2020.09.15 18:11
mtx-context=C2=A0 =C2=A0 =C2=A0| main context file: /opt/luametatex/texmf-c= ontext/tex/context/base/mkiv/context.mkxl
mtx-context=C2=A0 =C2=A0 =C2=A0| current version: 2020.09.15 18:11

I followed your steps:
1. start `firefox --safe-mode`
2. On a different terminal, open htop and filter `firefox` so I can view fi= refox's CPU usage.
3. Run `mtxrun --script font --list --all`

The CPU usage of firefox does not change in any appreciable way (it was 0% = and remains 0%).

It is possible for you to check on a fresh install of manjaro in a virtual = machine to rule out the possibility that something else in your system is c= ausing this behavior.

Aditya
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000007e391605b2d2290c-- --===============4830362876891311009== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4830362876891311009==--