From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Burr Newsgroups: gmane.emacs.bugs Subject: bug#22289: 24.3; Emacs crashes on loading file Date: Sat, 2 Jan 2016 14:29:23 +0000 (UTC) Message-ID: <1605685633.2833085.1451744963641.JavaMail.yahoo@mail.yahoo.com> References: <83ege0crpi.fsf@gnu.org> Reply-To: Alex Burr NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2833084_1421718513.1451744963635" X-Trace: ger.gmane.org 1451745028 9585 80.91.229.3 (2 Jan 2016 14:30:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jan 2016 14:30:28 +0000 (UTC) Cc: "22289@debbugs.gnu.org" <22289@debbugs.gnu.org> To: Eli Zaretskii , Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 02 15:30:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFNCA-0002Xx-Lh for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jan 2016 15:30:14 +0100 Original-Received: from localhost ([::1]:38663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFNCA-00065b-7a for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jan 2016 09:30:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFNC3-00065T-5T for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2016 09:30:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFNBz-0000hV-Il for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2016 09:30:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFNBz-0000hQ-Ew for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2016 09:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aFNBz-0000g5-5K for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2016 09:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex Burr Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2016 14:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22289 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22289-submit@debbugs.gnu.org id=B22289.14517449822545 (code B ref 22289); Sat, 02 Jan 2016 14:30:03 +0000 Original-Received: (at 22289) by debbugs.gnu.org; 2 Jan 2016 14:29:42 +0000 Original-Received: from localhost ([127.0.0.1]:34333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFNBY-0000et-HP for submit@debbugs.gnu.org; Sat, 02 Jan 2016 09:29:42 -0500 Original-Received: from nm6-vm2.bullet.mail.ne1.yahoo.com ([98.138.90.154]:56544) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFNBS-0000eb-Ut for 22289@debbugs.gnu.org; Sat, 02 Jan 2016 09:29:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1451744964; bh=j0Y5XGwlodg7CqTsLGIJVUs+YPbM9iHtHVszuKUIYcU=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=QvbdnupLeKjGDC/IwcTwfvrfbCHaDVoGxW0lGsXK0TC7kaRR1TA6nLA+0sX6/MBPed5HuKtVY5SLq5Q9AfRuS++JCNMe0BX6T32fsElJ90O8rZArpMJTU5NVwWxpM0gg7gWxgvT4jW10RK5jTUxSO40mhqMwxCqjwMWuVlLEiJCgZ2MmzBpsKM9pSM+VPV/uRKoV+LbZwJbdPE6uK+qqWf7ySPbq9Zf5SUhk3eunoKUv1RARfD3BYm2GfM4BGsieuLZZkY1FsiMryQdppqlFNYOdG6Qc0tA+A/cCPNUEDhIpCnRrwfsSlCwc/AUT4KH31EWQaX6uoAZunjPaIDmcUQ== Original-Received: from [98.138.100.113] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jan 2016 14:29:24 -0000 Original-Received: from [98.138.89.253] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jan 2016 14:29:24 -0000 Original-Received: from [127.0.0.1] by omp1045.mail.ne1.yahoo.com with NNFMP; 02 Jan 2016 14:29:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 442059.88113.bm@omp1045.mail.ne1.yahoo.com X-YMail-OSG: yRcIQGoVM1kBGDKLKC6IV_pB9lk3iRHxnrBwXKltrmex991UlG4N.fChmkVoFeG iJXlQLMjjPQnj9R6pQqzd1eJtVgI.TY8vCPO5JiksoTCwWh._OxdpLmRS6JeXOB3xi7sJ.u0nYjY dtyK.48lr5syIo5Id2XRkKm7Ak0fzmK41AC5FeYQWM7tZcN9YJ4.deHMF_lQU8.16s0HfS1s1fTK b1SS1D3U7KfKP9.oySzIc5pOwlC0hGiOUcOCoWJCwficMItIJSWJIYROuRIHt9zZa35MWT6RX3T5 5hlgyg2RMujne0hbbKbC1p2GG1Z3W_e.zfWTAREJCSHnoazJw9S179cXpG5DqBfpjoOZMKCFgb3T VueNZkSi_NKrLNRypRR7AU1toNmMo_scdvVAg3lXrY9nq3QWDcFntxVH7VE0UOj4BZSiIwcKGbCf luKeAwMPZB_UHbsUizj9Us.asIa_0kfUi2fGM4p2z3ZPd5ygLs9pRKmdWD6mTtGQadCrWPH3rrPY P33mO_zhaJp96jJ3ddF8n4GggoGOKHM6OJmMXf_oh61UTDxvrxtSus9wr2vhJyjlnLDzXXDdfGCX z2LQnmZRPh8NEzj43jVimnoSgcgkUdmiKvQE8TyEzCPq2EPf_Tows Original-Received: by 98.138.105.203; Sat, 02 Jan 2016 14:29:23 +0000 In-Reply-To: <83ege0crpi.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111105 Archived-At: ------=_Part_2833084_1421718513.1451744963635 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes, it seems to have been compiled with imagemagick support. I don't have = 14Gb of ram :-)So, the problem is then that this is not any kind of image. = It's a text file (actually a program for http://art.kano.me, which expects coffeescript). If I run:=20 =C2=A0convert Identify nelson.artimagemagick tells me that I have a 26708x2= 9472 1-bit ART image, which explains the problem! It loads normally if I rename the file not to have the .art suffix. So I ca= n solve my immediate problem. It's not clear to me whether imagemagick is making a real mistake here. it = doesn't seemto do any significant checking on the image header: https://git= hub.com/ImageMagick/ImageMagick/blob/7ce65e7125a4e1df1a274ce373c537a9df9c16= cd/coders/art.cHowever these old formats often didn't include any redundanc= y anyway. However it does seem like any filename ending in .art is a bit dangerous fo= r emacs at the moment. Alex =20 =20 =20 From: Eli Zaretskii To: Lars Magne Ingebrigtsen =20 Cc: ajb44.geo@yahoo.com; 22289@debbugs.gnu.org Sent: Saturday, January 2, 2016 8:26 AM Subject: Re: bug#22289: 24.3; Emacs crashes on loading file =20 > From: Lars Magne Ingebrigtsen > Date: Sat, 02 Jan 2016 03:57:17 +0100 > Cc: 22289@debbugs.gnu.org >=20 > Alex Burr writes: >=20 > > 1) loaded attached file 'nelson.art' with ctrl-x f > > 2) emacs then proceeded to malloc all core, causing linux to grind to a= halt. >=20 > If I save the image to a file and then use "display" to display it, my > machine grinds to a halt for 15 seconds, and then display says it can't > display it... >=20 > Could be an imagemagick bug of some kind... Alex, was your Emacs compiled with Imagemagick support?=C2=A0 Mine wasn't, so visiting that file does nothing special. =20 ------=_Part_2833084_1421718513.1451744963635 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, it seems to have been compiled w= ith imagemagick support.
I don't have 14Gb of ram :-)
So, the problem is then that this is not any kin= d of image. It's a text file (actually a
program for http://art.kano.me, which expects coffeescri= pt). If I run:
 convert Identify nelson.art
imagemagick tells me that= I have a 26708x29472 1-bit ART image, which explains the problem!
It loa= ds normally if I rename the file not to have the .art suffix. So I can solv= e my immediate problem.

It's not clear to me whether imagemagick is ma= king a real mistake here. it doesn't seem
However these old formats= often didn't include any redundancy anyway.

However it does seem like any= filename ending in .art is a bit dangerous for emacs at the moment.
<= div id=3D"yui_3_16_0_1_1450894093388_52879" class=3D"" dir=3D"ltr">
Alex







From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org> Cc: ajb44.geo@yahoo.com; = 22289@debbugs.gnu.org
Sent: Saturday, January 2, 2016 8:26 AM
Subject: Re: bug#22289: 24.3; Emacs crashes on loading fi= le

> From: Lars Ma= gne Ingebrigtsen <larsi@gnus.org>

> Date: Sat, 02 Jan 2016 03:57= :17 +0100
> Cc: 22289@debbugs.gn= u.org
>
> Alex Burr <ajb44.geo@yahoo.com> writes:
> > > 1) loaded attached file 'nelson.art' with ctrl-x= f
> > 2) emacs then proceeded to malloc all core, = causing linux to grind to a halt.
>
> If I save the image to a file and then use "display" to display it, m= y
> machine grinds to a halt for 15 seconds, and then = display says it can't
> display it...
>
> Could be an imagemagick bug of some kind...<= /div>

Alex, was your Emacs compiled wi= th Imagemagick support?  Mine wasn't,
so visiting th= at file does nothing special.



=
------=_Part_2833084_1421718513.1451744963635--