From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.bugs Subject: bug#62630: 27.1; Emacs is unable to open some jar files Date: Mon, 03 Apr 2023 07:51:14 +0200 Message-ID: <87iledjyy5.fsf@dod.no> References: <87lejarldj.fsf@dod.no> <838rf9wvi8.fsf@gnu.org> <87mt3pk0gd.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17369"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 62630@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 03 07:52:34 2023 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 1pjD7J-0004Ox-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Apr 2023 07:52:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjD6q-0007Yf-Nt; Mon, 03 Apr 2023 01:52:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjD6o-0007YU-U7 for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 01:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjD6o-0002J1-M7 for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 01:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjD6o-0001a9-Bw for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 01:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steinar Bang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 05:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62630 X-GNU-PR-Package: emacs Original-Received: via spool by 62630-submit@debbugs.gnu.org id=B62630.16805010866013 (code B ref 62630); Mon, 03 Apr 2023 05:52:02 +0000 Original-Received: (at 62630) by debbugs.gnu.org; 3 Apr 2023 05:51:26 +0000 Original-Received: from localhost ([127.0.0.1]:43145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjD6E-0001Yt-4z for submit@debbugs.gnu.org; Mon, 03 Apr 2023 01:51:26 -0400 Original-Received: from cadalora.bang.priv.no ([46.43.15.90]:35800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjD69-0001Xp-En for 62630@debbugs.gnu.org; Mon, 03 Apr 2023 01:51:24 -0400 Original-Received: from marquez (unknown [84.210.69.52]) by cadalora.bang.priv.no (Postfix) with ESMTPSA id 550731046E1; Mon, 3 Apr 2023 06:51:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dod.no; s=sb; t=1680501075; bh=T58yXWGDMaMzwZoGbp2dFfaXNKW8VWHb2wVO/rdk888=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=w7bUZhyYF8r+rhr1daIlIp8de5zeoSDccvkjn3SJ75gmIGF2oa41a4+ZPkDD7ok+t KY9qb9Fb6Be4M/QXCTLaC+35QkJ1IrO5NolfUtEqeAMes8wTPxY6SYssUZTiGSq6Uf wSZsF0mfM0warDlEP75YdZYqeAAhgedIMft2Ple4= In-Reply-To: <87mt3pk0gd.fsf@dod.no> (Steinar Bang's message of "Mon, 03 Apr 2023 07:18:42 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259153 Archived-At: >>>>> Steinar Bang : >>>>> Eli Zaretskii : >>> When opening some .jar files that I have created with maven-jar-plugin >>> 3.2.0, instead of opening the directory listing of the .jar file, the >>> following error message is written to the minibuffer: >>> Args out of range: #, 329454, 329458 >>> and then the file is opened in a buffer showing the binary contents of >>> the file >> I cannot reproduce this, neither with Emacs 27.1 nor with what will be >> soon Emacs 29.1. I wonder why this happens on your system. Could it be something in my config? I will investigate this next. > Here is the complete stack trace I get when hitting this problem: > https://gist.github.com/steinarb/234cf172c214b26b33ee92a4e5b5afd1 Here is a screenshot after opening some failing files: https://www.bang.priv.no/screenshots/Screenshot%20at%202023-04-03%2007-27-13.png The top half is the main jar file of the maven project. It gives no error message but opens empty. The same thing happens with the -sources.jar file in the same directory. The bottom half is the -javadoc.jar, which is the file that gives the stacktrace in the git when opening. Putting the cursor at the end of the -javadoc.jar buffer and pressing 'C-x =' reports: point=322410 of 322409 (EOB) column=1105 329454 seems to be way beyond 322409? The behaviour is identical on a different debian 11.6 "bullseye" computer with the same emacs 27.1 version.