From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: james@jojojames.com Newsgroups: gmane.emacs.bugs Subject: bug#57267: 28.1; emacs crashes when loading too many images Date: Sun, 21 Aug 2022 17:21:10 -0400 Message-ID: References: <83v8qqawsh.fsf@gnu.org> <83a681fk6i.fsf@gnu.org> <837d34g4l7.fsf@gnu.org> <4B3965F5-E6E3-489A-BCA8-A292387A5AF9@jojojames.com> <99A661F2-C12C-4F15-BB17-D23E28783548@jojojames.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57267@debbugs.gnu.org, Eli Zaretskii To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 21 23:22:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oPsOk-0003BP-Io for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 23:22:24 +0200 Original-Received: from localhost ([::1]:47446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPsOj-0001o9-A0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 17:22:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPsOR-0001o0-KN for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 17:22:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPsOQ-00013P-L6 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 17:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPsOQ-0000s8-98 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 17:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: james@jojojames.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Aug 2022 21:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57267-submit@debbugs.gnu.org id=B57267.16611168843306 (code B ref 57267); Sun, 21 Aug 2022 21:22:02 +0000 Original-Received: (at 57267) by debbugs.gnu.org; 21 Aug 2022 21:21:24 +0000 Original-Received: from localhost ([127.0.0.1]:36957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPsNo-0000rF-Db for submit@debbugs.gnu.org; Sun, 21 Aug 2022 17:21:24 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:39523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPsNj-0000qy-HN for 57267@debbugs.gnu.org; Sun, 21 Aug 2022 17:21:23 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CDF1132003D3; Sun, 21 Aug 2022 17:21:11 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 21 Aug 2022 17:21:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jojojames.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1661116871; x= 1661203271; bh=b7YpscoGrHkLIAML+rZW+9QyJjlIqt8zcgbqI8e74vg=; b=d MgWnOBiwg4JnsLDgUrS3/Z4kbyeVaWfO2/uPvKn3euU/ub8qKthi6YMgcw9++yPe IolP+Yehi+PPYx/+oJYqqi7Xqlh4S8tBXjTDlO++yRmc9wjNjy3L1KVy/MrGMRiJ BvpmHS4ZJMofY6Uigu90DFue0uO0HL9vre2miP32r33LWV4iEQEu/LFGsXlVcr8/ 9vd9dm5NeJ/LgF/Bb5y34IMQeNZkOfZkvKwnuPW53vA1vdOIGzQ6ItVyKre52elM XTknP/urpCG0NR63w4FfFHf8CbhtsNQ+A6oc8BicQQumtBce52+INXLd5PDPBdzU 0EIP4h8g35Q7x15kVSIKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1661116871; x= 1661203271; bh=b7YpscoGrHkLIAML+rZW+9QyJjlIqt8zcgbqI8e74vg=; b=p pBVkAslBugdXn1UsVYChLggJ3hpuwJaK5LRPsZVB6K7ykMLqki/z9IjOr0REdfOg +DO+xWCmzsAwKP2f9GMPOvK246eCH1GxktWQULqXV3lUQUxg0oZJ89PqGX8eNDIJ F2sNcZb6fmICR1wzrnM76emc1dNihYwYeMIVAnhAVXUEb1gV2IulwF2ulnuys/jc 3T7LcDFfal4zo+H0G6dvkUQoB9jF3pg1wV44xTCAP0Po7u0tCSOowbXtnIgwH1uJ 5+GjVSfUwx4yoCh1bLfG8SwuHpn9jUOOjUOycrwK6aysvDc1rGGrz8mYHJRLrcJf zFxJRVs6uvZewsCRf9f0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeihedgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepjhgr mhgvshesjhhojhhojhgrmhgvshdrtghomhenucggtffrrghtthgvrhhnpeekgeevtdevge eileegfeefuddtfeekveehgfeuffeuleeuledttdeiteeggfekgeenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjrghmvghssehjohhjohhjrg hmvghsrdgtohhm X-ME-Proxy: Feedback-ID: i4b00421f:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Aug 2022 17:21:10 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240363 Archived-At: > I'd personally give jpeginfo a try. It's cheap. Just 'brew install' > it. All the jpegs were valid. > On Aug 21, 2022, at 1:30 AM, Gerd M=C3=B6llmann = wrote: >=20 > james@jojojames.com writes: >=20 >>=20 >>> Could it be that one or more jpegs of yours is invalid in some way? >> Maybe you could check this with the 'jpeginfo' utitlity. I've never >> used it myself, because I don't have a use for it, but from what I = read, >> it might be able to detect at least some error cases. Maybe it's = worth >> trying. >>=20 >> Do you think that would lead to a crash every time? My crashes are >> very inconsistent. >=20 > I can't really answer that question because, as a starter, I don't = even > know what AppleVPA is doing when it crashes, and there's no way to = find > out, AFAIK. In general, with multi-threading, ASLR, and whatnot, = things > tend to not behave consistently quite frequently, at least in my > experience. >=20 > I'd personally give jpeginfo a try. It's cheap. Just 'brew install' > it. >=20 >>> Another idea might be to try and install an external jpeg library >> (libjpeg I presume), and configure Emacs to use it. Alas, this = doesn't >> seem to work on my M1 Mac, but maybe it does on your x86_64 system. >>=20 >> Can you point me to some documentation for that? >=20 > I can't find documentation for this. I guess I only "know" about this > because I added it in 1998, according to the ChangeLog, which must be = a > lie :-). >=20 > Anyways. On my system, I just did 'brew install libjpeg' and then > './configure'. The file config.log showed that configure was trying = to > use libjpeg, but didn't like it for some reason I don't remember. >=20 > BTW, Homebrew also has other jpeg libs ('brew search jpeg' and so on), > but I didn't try them all. As I mentioned, I don't do much with = images > myself. >=20 > Maybe it's also worth asking an help-gnu-emacs, if this doesn't work. > Or someone reading this knows more about this topic.