From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105025 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: context (lmtx) segfaults on x86_64 linux Date: Wed, 11 Sep 2019 09:41:30 +0800 Message-ID: <20190911014130.GC844@smoon.vl-lomov.ru> References: <20190910141126.GA844@smoon.vl-lomov.ru> <4e89aa04-075f-cb66-e94b-51c576304fce@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0301379778630174697==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="176072"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.1 (2019-06-15) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 11 03:48:46 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i7rkT-000jfz-1q for gctc-ntg-context-518@m.gmane.org; Wed, 11 Sep 2019 03:48:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CB806160B88; Wed, 11 Sep 2019 03:48:24 +0200 (CEST) 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 iiiLe81NqIx2; Wed, 11 Sep 2019 03:48:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 33DAB160B7A; Wed, 11 Sep 2019 03:48:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B7CC9160906 for ; Wed, 11 Sep 2019 03:48:22 +0200 (CEST) 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 G9YZgmMQfYDM for ; Wed, 11 Sep 2019 03:48:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=37.140.190.182; helo=forward102o.mail.yandex.net; envelope-from=lomov.vl@yandex.ru; receiver= X-Greylist: delayed 407 seconds by postgrey-1.36 at zapf.ntg.nl; Wed, 11 Sep 2019 03:48:21 CEST Original-Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 336EF16086E for ; Wed, 11 Sep 2019 03:48:21 +0200 (CEST) Original-Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward102o.mail.yandex.net (Yandex) with ESMTP id D8C976680046 for ; Wed, 11 Sep 2019 04:41:32 +0300 (MSK) Original-Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gpxx5tqldL-fWV4RwbK; Wed, 11 Sep 2019 04:41:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1568166092; bh=QaVsp6OQqhhrFFMaumOq8kfk3k5VoMuN/H2bpi6j+Ic=; h=In-Reply-To:Subject:To:From:References:Date:Message-ID; b=ZtoHBJJcSRaTaR2vcXOL1gYnVQUZPx314cAV6HjduRMPOvmLH4ySyO9/QITErtQOL j3V/mWkz7bgiDpV6Vcwfn91+zxHW7VNzjwOl2Q8RZveebRyYjdEVImnmsupnEgSjlY T95UC8tKjef3aRFyyHZHh8GLsvjd7rd0ubTT9kqc= Authentication-Results: mxback7j.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id tRdWcgEwya-fW7Onb4u; Wed, 11 Sep 2019 04:41:32 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Original-Received: by smoon.vl-lomov.ru (Postfix, from userid 1000) id 46Sl4C0B5Dz3hj3L; Wed, 11 Sep 2019 09:41:31 +0800 (+08) Mail-Followup-To: Vladimir Lomov , mailing list for ConTeXt users In-Reply-To: <4e89aa04-075f-cb66-e94b-51c576304fce@gmail.com> 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.org gmane.comp.tex.context:105025 Archived-At: --===============0301379778630174697== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ncSAzJYg3Aa9+CRW" Content-Disposition: inline --ncSAzJYg3Aa9+CRW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Henri Menke [2019-09-11 11:19:57 +1200]: > On 9/11/19 3:50 AM, Aditya Mahajan wrote: >> On Tue, 10 Sep 2019, Hans Hagen wrote: >>=20 >>> On 9/10/2019 4:11 PM, Vladimir Lomov wrote: >>>> Hello, >>>> today I updated lmtx and on simple >>>> >>>> $ context --version >>>> >>>> I get segfault (in the same time luametatex --version works fine). >>>> Running under gdb shows me that the problem might be in one of 'reallo= c' >>>> calls. >>>> >>>> The context from Context Suite (mkiv) works fine. >>>> >>>> P.S. I tested on two systems, both runs Archlinux x86_64. >>> can you completely wipe the texmf-cache directory and then run >>> >>> mtxrun --generate >>> context --make >>> >>> (there is a change in bytecode that gets not automatically noticed that= =20 >>> can give that crash) >>=20 >> I had the same issue and completely wiping the texmf-cache fixes it. >>=20 >> @Vladimir: If you are using the luametatex package from AUR, then the=20 >> texmf-cache is located at $HOME/.cache/luametatex. No, I don't use the package from AUR, I simply do /usr/local/opt/lmtx $ sudo ./install.sh but I explicitly set TEXMFCACHE=3D$HOME/.cache/lmtx (for context suite I set it to $HOME/.cache/context-suite). > I'm receiving the super helpful error message: >=20 > ! error (lua): function call: no >=20 > Maybe some sort of cache versioning is in order to at least give a better= error. It didn't occured to me that the problem may be with the cache, it would be helpfull if context/luametatex will give error message, something like "cache version mismatch" and exit. > Cheers, Henri >=20 >>=20 >> Aditya --- WBR, Vladimir Lomov --=20 Sometimes I live in the country, And sometimes I live in town. And sometimes I have a great notion, To jump in the river and drown. --ncSAzJYg3Aa9+CRW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCXXhQygAKCRAHGfInzJc4 BQYSAQDv0lJbqsffstzY3uH38rWhCRo27tN5BkBTg3BHsbX+5gEAwEg/ujmjaido EVnh40CVFLMNES1J2JqyvbPrKswNfw4= =fzv8 -----END PGP SIGNATURE----- --ncSAzJYg3Aa9+CRW-- --===============0301379778630174697== 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== --===============0301379778630174697==--