From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31771: 26.1; Writing image file with emacs hangs entire system Date: Sat, 09 Jun 2018 15:47:27 -0400 Message-ID: <87y3fnzqr4.fsf@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528573567 28659 195.159.176.226 (9 Jun 2018 19:46:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2018 19:46:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31771@debbugs.gnu.org To: Adam Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 09 21:46:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRjoH-0007NY-Uf for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2018 21:46:02 +0200 Original-Received: from localhost ([::1]:41327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRjqP-0001jI-5H for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2018 15:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRjqI-0001iS-3w for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 15:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRjqE-0006uu-66 for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 15:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRjqE-0006ud-1I for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 15:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRjqD-0007Hn-Nm for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 15:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jun 2018 19:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31771-submit@debbugs.gnu.org id=B31771.152857365627975 (code B ref 31771); Sat, 09 Jun 2018 19:48:01 +0000 Original-Received: (at 31771) by debbugs.gnu.org; 9 Jun 2018 19:47:36 +0000 Original-Received: from localhost ([127.0.0.1]:41537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRjpo-0007H4-GC for submit@debbugs.gnu.org; Sat, 09 Jun 2018 15:47:36 -0400 Original-Received: from mail-it0-f48.google.com ([209.85.214.48]:39435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRjpm-0007Gm-UC; Sat, 09 Jun 2018 15:47:35 -0400 Original-Received: by mail-it0-f48.google.com with SMTP id p185-v6so6515152itp.4; Sat, 09 Jun 2018 12:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DbLcM/3NNpTMbCLqX3gOqMZocJuMbMbdHg73Iut2Zbg=; b=MyKpdcoIWXIqpleXsuQPik4MkJtzOSY8HWFA8Pg4i791Hm2a/uSMQpjufNXdipjiF6 KGEqXuRAEVIQIIYLGEFEOXSas/usNRscDrmi8RmDjNOqPO+xG3mq4VxdZKxY7r+kJCpQ xWr1bdU288NSVZPPicggnUvg7KYkVm5NQu9pQWr85YlkjXRG6XG6zzXZmGI/p5xiek8T Eb0qrNYOyLNCnUlvueUQuVKwZqcDkQaBQhvOBkpFNt92xVHW2o3pLmwfo40ycoiSfhKW DhL7/Jwr2XFf6bgJetVYXJSx5VGkPq3yBtHqNcWypiTIlBO/M/BZ14Duz9S7LC8SCGDQ zlNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DbLcM/3NNpTMbCLqX3gOqMZocJuMbMbdHg73Iut2Zbg=; b=Ud11BWObCwgmPx2qt1YFbTWpBj6qw9GtCfmVhK/teVq00Z4IGOqHVyoCWomWEf6ny/ EodSHHGQV4O+jZLeXDYFU+t9riJhRCPXPVFnLgrhopTFUyA0qkv35gTBVs3Iij/Na9wO FCOj/NpQPKeU+6GhrupzY40+xWUc/sKlMYFW59ykg0K4a4R6EGnniGm25FzVppHxeM/X S6G1cJy5CpeqZ30SIXEBHBS1528FIrZMDgMcGi0NLOMpcPz9Wk5MdwAjUxCte6bA61Mq o0BTmaYro24l3ZbVQ1tWuMdro5kKlDXC1NzRukf3pPtGDoNs4R+2W+kHdzDL530xvQju rFdA== X-Gm-Message-State: APt69E2U0BWo/qfnO1diU6l16a/PviWyq9uk5MTvTZ3l69Lltu0T25VB fl+f0aHXnvDIDwyJ8dNkYodRog== X-Google-Smtp-Source: ADUXVKKRYFojvXWJ9BCRpVF+F865ayRwLMsfaPVTJiE9l1BNRAn7K+pyUi2aYvRvX+dYcIFUktuQ4w== X-Received: by 2002:a24:8782:: with SMTP id f124-v6mr6341303ite.30.1528573649289; Sat, 09 Jun 2018 12:47:29 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id c102-v6sm3488224itd.3.2018.06.09.12.47.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Jun 2018 12:47:28 -0700 (PDT) In-Reply-To: (Adam's message of "Sat, 9 Jun 2018 13:53:09 -0400") 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" Xref: news.gmane.org gmane.emacs.bugs:147252 Archived-At: tags 31771 + unreproducible quit Adam writes: > After following these commands, your emacs should freeze, and then your > entire system should hang a few seconds later. I couldn't reproduce this. No hang, and if I look closely, I can see the one black pixel rendered correctly in the top left corner. Is your whole system completely frozen, or is it perhaps just using so much RAM that it goes into swap and starts thrashing and becomes very slow? If the former, I guess it's some kind of graphics driver thing, though it seems a bit funny that an image as simple as a single black pixel could wreck it. > My hunch: this is caused by emacs trying to render the image after it's > saved. Unfortunately, this causes emacs and my system to hang, so I > can't provide any core dumps. I'm using linux 4.16.13, mesa 18.1.1, > libpng 1.6.34, and imagemagick 7.0.7.38 > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY > ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS > GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2 Do you really have imagemagick 7? Or do maybe also have imagemagic 6? As far as I know, the patch for Emacs to use v7 is not merged yet: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25967#41