all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Johan Widén" <j.e.widen@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 65445@debbugs.gnu.org
Subject: bug#65445: 29.1; Android emacs: False memory full condition, due to Java exception (?)
Date: Tue, 22 Aug 2023 09:09:10 +0200	[thread overview]
Message-ID: <CACxzjrszUyneyxey-XrBN2subOm+Z-TvK2cLtRCCU659BPuQ3Q@mail.gmail.com> (raw)
In-Reply-To: <87r0nv8t8i.fsf@yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

I now ran
  adb logcat -d | grep ...
and got the enclosed log lines, which seems to be from today, not from
the time of my bug report.
But it is for emacs.

Den tis 22 aug. 2023 kl 08:51 skrev Po Lu <luangruo@yahoo.com>:
>
> Johan Widén <j.e.widen@gmail.com> writes:
>
> > I used emacs swiper to search for "out of memory" but found nothing.
> > This was in the dumpstate*.txt file fetched by
> >   adb bugreport org.gnu.emacs
>
> Perhaps the log buffer has been rotated past the point of the error.
> Also, I believe adb bugreport only includes log messages after a crash:
> since Emacs is capable of recovering from these faux ``out of memory''
> errors, the message printed may not appear within generated bug reports.
>
> How about:
>
>   (adb) logcat | grep -A10 "Possible out of memory"
>
> ?



-- 
Johan Widén, tel: +46705367346
Risvägen 5 A, 192 73 Sollentuna, SWEDEN

[-- Attachment #2: logcat.txt --]
[-- Type: text/plain, Size: 1479 bytes --]

08-22 07:42:57.956 16554 16597 W android_exception_check_1: Possible out of memory error.  The Java exception follows:  
08-22 07:42:57.956 16554 16597 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.ClipData.getItemCount()' on a null object reference
08-22 07:42:57.956 16554 16597 W System.err: 	at org.gnu.emacs.EmacsSdk11Clipboard.getClipboardData(EmacsSdk11Clipboard.java:247)
08-22 07:42:57.957 16554 16597 W System.err: 	at org.gnu.emacs.EmacsNative.initEmacs(Native Method)
08-22 07:42:57.957 16554 16597 W System.err: 	at org.gnu.emacs.EmacsThread.run(EmacsThread.java:80)
08-22 07:42:57.958 16554 16599 I android_run_debug_thread: libunwind: Unsupported .eh_frame_hdr version
08-22 07:42:57.960 16554 16599 I android_run_debug_thread: Backtrace:
08-22 07:42:57.960 16554 16599 I android_run_debug_thread: /apex/com.android.runtime/lib64/bionic/libc.so(backtrace+0x3c) [0x7f2698ce3c]
08-22 07:42:57.960 16554 16599 I android_run_debug_thread: /data/app/~~GwLIc-L9KJZNDVGvtbZXQw==/org.gnu.emacs-sA5EyHrnEIJjLrGbFnYFZQ==/lib/arm64/libemacs.so(+0x0) [0x7ba146d624]
08-22 07:42:57.960 16554 16599 I android_run_debug_thread: /data/app/~~GwLIc-L9KJZNDVGvtbZXQw==/org.gnu.emacs-sA5EyHrnEIJjLrGbFnYFZQ==/lib/arm64/libemacs.so(+0x0) [0x7ba143852c]
08-22 07:42:57.960 16554 16599 I android_run_debug_thread: /data/app/~~GwLIc-L9KJZNDVGvtbZXQw==/org.gnu.emacs-sA5EyHrnEIJjLrGbFnYFZQ==/lib/arm64/libemacs.so(+0x0) [0x7ba146f150]

  reply	other threads:[~2023-08-22  7:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 20:46 bug#65445: 29.1; Android emacs: False memory full condition, due to Java exception (?) Johan Widén
2023-08-21 23:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  2:27   ` Eli Zaretskii
2023-08-22  2:27     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  5:21       ` Johan Widén
2023-08-22  5:25         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  5:52           ` Johan Widén
2023-08-22  6:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  7:09               ` Johan Widén [this message]
2023-08-22  7:28                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-02 16:30                   ` Stefan Kangas
2023-09-02 17:21                     ` Johan Widén
2023-09-02 18:52                       ` Stefan Kangas
2023-09-02 18:56                         ` Johan Widén

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=CACxzjrszUyneyxey-XrBN2subOm+Z-TvK2cLtRCCU659BPuQ3Q@mail.gmail.com \
    --to=j.e.widen@gmail.com \
    --cc=65445@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /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.