all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steinar Bang <sb@dod.no>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62630@debbugs.gnu.org
Subject: bug#62630: 27.1; Emacs is unable to open some jar files
Date: Mon, 03 Apr 2023 07:51:14 +0200	[thread overview]
Message-ID: <87iledjyy5.fsf@dod.no> (raw)
In-Reply-To: <87mt3pk0gd.fsf@dod.no> (Steinar Bang's message of "Mon, 03 Apr 2023 07:18:42 +0200")

>>>>> Steinar Bang <sb@dod.no>:
>>>>> Eli Zaretskii <eliz@gnu.org>:

>>> 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: #<buffer modelstore.services-1.0.0-SNAPSHOT-javadoc.jar>, 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.





  reply	other threads:[~2023-04-03  5:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 22:04 bug#62630: 27.1; Emacs is unable to open some jar files Steinar Bang
2023-04-03  2:27 ` Eli Zaretskii
2023-04-03  5:18   ` Steinar Bang
2023-04-03  5:51     ` Steinar Bang [this message]
2023-04-03  5:58       ` Steinar Bang
2023-04-03  6:27         ` Steinar Bang
2023-04-03  6:55           ` Steinar Bang
2023-04-03 13:52           ` Eli Zaretskii
2023-04-03 18:07             ` Steinar Bang
2023-04-03 18:11               ` Eli Zaretskii
2023-04-03 12:43     ` Eli Zaretskii
2023-04-03 12:58       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iledjyy5.fsf@dod.no \
    --to=sb@dod.no \
    --cc=62630@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.