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: Sat, 20 Aug 2022 12:23:58 -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: multipart/alternative; boundary="Apple-Mail=_E05E0C09-5D79-4B7D-8917-092745586D9F" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13277"; 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 Sat Aug 20 18:25:15 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 1oPRHc-0003Ap-Ca for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Aug 2022 18:25:14 +0200 Original-Received: from localhost ([::1]:58834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPRHb-0000lw-8X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Aug 2022 12:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPRHS-0000lY-RD for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 12:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPRHS-0003Ae-I9 for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPRHS-0004JR-BH for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 12:25: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: Sat, 20 Aug 2022 16:25: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.166101264716511 (code B ref 57267); Sat, 20 Aug 2022 16:25:02 +0000 Original-Received: (at 57267) by debbugs.gnu.org; 20 Aug 2022 16:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:33419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPRGY-0004IE-Pv for submit@debbugs.gnu.org; Sat, 20 Aug 2022 12:24:07 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPRGW-0004Hi-UI for 57267@debbugs.gnu.org; Sat, 20 Aug 2022 12:24:06 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D50AA5C0080; Sat, 20 Aug 2022 12:23:59 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 20 Aug 2022 12:23:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jojojames.com; h=cc:cc: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=1661012639; x=1661099039; bh=5x Tlrgdja87sMUFmDbgZdPZPj8CciUCdeCg6htzHuvk=; b=h7cj/iiEOu1Yy3Nz77 EjXqk8RqiCmI49nHQL9OEP/227u7osvW8TlNnlb3uHxbCpUKQ927JF6oiqaAxcH9 F4o07f7xL+oxYZ9XWd3eP0ByckSy+PN0PrDcndfZpkC/J08Tu7RE8s5Wie5wS4en RTJo2aYLXAvK8hOH0oHuOlh+wc/DdI+NC4esYFsB5jdQZdqpaybuWzs+M6lTarPz TWi8gnrCTF+5nh0ax07zQTjmhaW+KuT525h+bYkwoBj+3RpEyDOEVFrxeeFThNZA Gp25eVcRBMmH2kbmQTjOCyokx1Mp7r8dFQaOHgWjujO1m4acBuNFVXHNRL9B2A0G +/9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1661012639; x=1661099039; bh=5xTlrgdja87sMUFmDbgZdPZPj8Cc iUCdeCg6htzHuvk=; b=Pv1VXp5/MWGJyFAFSqzjhUTSZ5X0r4CaHnRUSj84Hbja B+kqrDylqaCGJ23JwusXCZKqYHyuUC3ud/Q8CaZGF+93LDlGq02M26twO2RRVuGF 6pftxZ/jslrNx38DFTeU/1ALHxo9v+mZhUtxBM8NdayZCwgHInGopMeVZ5Vlc+jB vgBEZ8uLnxhyjDsPqzhwL+mFVQVR+/jpvrHOLruDj1n2u9VxXAEvPJMAygLE6zT/ eyEXY1ZOcmeMq8avJe2dhHrUMNlwtjsmvuPzMxL3x8ttIORx/kjtx4GDCCgehpb9 c07iDhiqrz76xm5kd5zQpL9FCUTsJV8ToiZ/JRhx0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeifedguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhkfgtggfuffgjvefvfhfosegrtdhmrehhtdejnecuhfhrohhmpehjrghm vghssehjohhjohhjrghmvghsrdgtohhmnecuggftrfgrthhtvghrnhephfejtdeffeekte ffhfekteeitedvleeuueejiedthffggeetleegfeejgfeludfhnecuffhomhgrihhnpegv mhgrtghsrdgrphhpnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhgrmhgvshesjhhojhhojhgrmhgvshdrtghomh X-ME-Proxy: Feedback-ID: i4b00421f:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 20 Aug 2022 12:23:59 -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:240258 Archived-At: --Apple-Mail=_E05E0C09-5D79-4B7D-8917-092745586D9F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > 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. Do you think that would lead to a crash every time? My crashes are very = inconsistent. > 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. Can you point me to some documentation for that? >=20 > = --------------------------------------------------------------------------= ----- >=20 > 2022-08-19 10:09:53.301888-0400 emacs[92880:17395371] fopen failed for = data file: errno =3D 2 (No such file or directory) (hmnn?) >=20 > This time I had to use: >=20 > /Users/james/Code/emacs/src/emacs >=20 > instead of $ lldb ../nextstep/Emacs.app/Contents/MacOS/Emacs (which = crashed on startup) >=20 I don't quite understand. I've seen to open errors in your log. Are you saying that these happen because you started Emacs from src this time? FWIW, I don't see differences when starting one or the other. > On Aug 20, 2022, at 2:34 AM, Gerd M=C3=B6llmann = wrote: >=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 > 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 > In any case, this doesn't look like a problem to me that is caused by > Emacs. >=20 >>=20 >> = --------------------------------------------------------------------------= ----- >>=20 >> 2022-08-19 10:09:53.301888-0400 emacs[92880:17395371] fopen failed = for data file: errno =3D 2 (No such file or directory) (hmnn?) >>=20 >> This time I had to use: >>=20 >> /Users/james/Code/emacs/src/emacs >>=20 >> instead of $ lldb ../nextstep/Emacs.app/Contents/MacOS/Emacs (which = crashed on startup) >>=20 >=20 > I don't quite understand. I've seen to open errors in your log. Are > you saying that these happen because you started Emacs from src this > time? FWIW, I don't see differences when starting one or the other. --Apple-Mail=_E05E0C09-5D79-4B7D-8917-092745586D9F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 > = 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.

Do = you think that would lead to a crash every time? My crashes are very = inconsistent.

> 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.

Can = you point me to some documentation for that?


---------------------------------------------------------------= ----------------

2022-08-19 = 10:09:53.301888-0400 emacs[92880:17395371] fopen failed for data file: = errno =3D 2 (No such file or directory) (hmnn?)

This time I had to use:

/Users/james/Code/emacs/src/emacs

instead of $ lldb ../nextstep/Emacs.app/Contents/MacOS/Emacs = (which crashed on startup)


I don't quite understand.  I've seen to open errors in = your log.  Are
you saying that these happen because = you started Emacs from src this
time?  FWIW, I don't = see differences when starting one or the other.

On Aug = 20, 2022, at 2:34 AM, Gerd M=C3=B6llmann <gerd.moellmann@gmail.com> wrote:

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.

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.

In any case, this doesn't look = like a problem to me that is caused by
Emacs.


---------------------------------------------------------------= ----------------

2022-08-19 = 10:09:53.301888-0400 emacs[92880:17395371] fopen failed for data file: = errno =3D 2 (No such file or directory) (hmnn?)

This time I had to use:

/Users/james/Code/emacs/src/emacs

instead of $ lldb ../nextstep/Emacs.app/Contents/MacOS/Emacs = (which crashed on startup)


I don't quite understand. =  I've seen to open errors in your log.  Are
you saying that these happen = because you started Emacs from src this
time?  FWIW, I don't see differences when starting one = or the other.

= --Apple-Mail=_E05E0C09-5D79-4B7D-8917-092745586D9F--