From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24063: 25.1; Emacs 25.1 RC1 crashes on Solaris 11.3 when asked to open and display an image Date: Wed, 27 Jul 2016 19:00:32 +0300 Message-ID: <83mvl3rrz3.fsf@gnu.org> References: <416ba161-e9c8-45bc-b497-ba1f6a713d1d@hitech.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469635846 11483 80.91.229.3 (27 Jul 2016 16:10:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2016 16:10:46 +0000 (UTC) Cc: 24063@debbugs.gnu.org To: Henry Unger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 27 18:10:36 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 1bSRPn-0003Rw-NB for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Jul 2016 18:10:35 +0200 Original-Received: from localhost ([::1]:47442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSRPj-0006ny-RN for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Jul 2016 12:10:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSRGc-0004qp-KO for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2016 12:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSRGY-00041N-5A for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2016 12:01:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSRGY-00041G-2s for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2016 12:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bSRGX-0006aN-Oo for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2016 12:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2016 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24063-submit@debbugs.gnu.org id=B24063.146963525625295 (code B ref 24063); Wed, 27 Jul 2016 16:01:01 +0000 Original-Received: (at 24063) by debbugs.gnu.org; 27 Jul 2016 16:00:56 +0000 Original-Received: from localhost ([127.0.0.1]:39346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSRGR-0006Zv-SC for submit@debbugs.gnu.org; Wed, 27 Jul 2016 12:00:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSRGO-0006Ze-2z for 24063@debbugs.gnu.org; Wed, 27 Jul 2016 12:00:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSRGG-0003xc-5L for 24063@debbugs.gnu.org; Wed, 27 Jul 2016 12:00:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSRGF-0003xQ-Uu; Wed, 27 Jul 2016 12:00:44 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3053 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bSRGD-0003eT-SO; Wed, 27 Jul 2016 12:00:42 -0400 In-reply-to: <416ba161-e9c8-45bc-b497-ba1f6a713d1d@hitech.com> (message from Henry Unger on Tue, 26 Jul 2016 20:03:35 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:121583 Archived-At: > Date: Tue, 26 Jul 2016 20:03:35 -0700 > From: Henry Unger > Cc: 24063@debbugs.gnu.org > > > int xlim = min (row_width, width); > > for (x = 0; x < xlim; x++) > > { > > PixelGetMagickColor (pixels[x], &pixel); > > XPutPixel (ximg, x, y, <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > > lookup_rgb_color (f, > > color_scale * pixel.red, > > color_scale * pixel.green, > > color_scale * pixel.blue)); > > } > > > > That particular line is a strange place to crash. Can you tell what are the > > values of ximg, xlim, x, y, and pixels[x] when it crashes? > > ximg = 0x400e > xlim = 0 > x = 0 > y = 0 > (dbx) print pixels[x] > dbx: cannot access address 0xffff0000 So the problem is in the value returned by PixelGetNextIteratorRow. The only ideas I have is (a) upgrade to a later version of ImageMagick, and (b) ask on some ImageMagick forum about similar problems. Thanks.