unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65433: 30.0.50; android-notifications-notify crashes Emacs
@ 2023-08-21 15:14 Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-08-22  0:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-21 15:14 UTC (permalink / raw)
  To: 65433

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



Steps taken:

- Delete dump files
- Start emacs -Q
- Edit -> Execute command
- eval-expression
- (android-notifications-notify :title "Title" :body "Body")


Then the app crashes. Logs are in attachment

(Termux compatible build aarch64)


In GNU Emacs 30.0.50 (build 1, aarch64-unknown-linux-android29) of
2023-08-21 built on xeon
Repository revision: fb5e1b21fbf3475abffc3c0de31437120904f42a
Windowing system distributor 'Sony', version 31.0.0
System Description: 
Sony/XQ-AS52_EEA/XQ-AS52:12/58.2.A.10.126/058002A010012603718185433:user/release-keys

Configured using:
'configure --with-png=yes --with-webp=yes --with-gif=yes
--with-json=ifavailable --with-jpeg=yes --with-xml2=yes
--with-sqlite3=yes --with-gnutls=yes --with-tiff=yes --with-selinux=yes
--with-modules=yes --with-tree-sitter=yes --with-imagemagick=no
--with-lcms2=yes --with-mailutils= --with-pop=no-by-default
--with-harfbuzz=yes --enable-check-lisp-object-type= 'CFLAGS=-O2
-Werror=implicit-function-declaration''

Configured features:
GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NOTIFY
INOTIFY PDUMPER PNG SECCOMP SQLITE3 TIFF TREE_SITTER WEBP ZLIB

Important settings:
locale-coding-system: nil

Major mode: Lisp Interaction

Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
modifier-bar-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cus-load rmc iso-transl tooltip cus-start cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel android-win term/common-win ls-lisp touch-screen
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote inotify android
multi-tty move-toolbar make-network-process emacs)

Memory information:
((conses 16 189946 77822) (symbols 48 22165 1) (strings 32 61337 2709)
(string-bytes 1 1574034) (vectors 16 35769)
(vector-slots 8 1289912 104643) (floats 8 220 47)
(intervals 56 1212 792) (buffers 992 10))

[-- Attachment #2: logcat --]
[-- Type: text/plain, Size: 10382 bytes --]

08-21 16:42:53.123 12236 12236 D EmacsView: popupMenu: org.gnu.emacs.EmacsContextMenu@2e9b64 @145, 18 false
08-21 16:42:53.258 12236 12236 D EmacsActivity: onWindowFocusChanged: NO
08-21 16:42:55.591 12236 12236 D EmacsContextMenu: onMenuItemClick: Execute Command (502)
08-21 16:42:55.593 12236 12236 D EmacsActivity: onContextMenuClosed: com.android.internal.view.menu.ContextMenuBuilder@5ef65a1
08-21 16:42:55.609 12236 12236 D InputMethodManager: showSoftInput() view=org.gnu.emacs.EmacsView{25484f6 VFE...... .F.....D 0,0-1080,2315 aid=1} flags=0 reason=SHOW_SOFT_INPUT
08-21 16:42:55.615 12236 12236 D EmacsView: onCreateInputConnection: current selection is: 4, by 4
08-21 16:42:55.628 17984 17984 I GoogleInputMethodService: GoogleInputMethodService.onStartInputView():2031 onStartInputView(EditorInfo{EditorInfo{packageName=org.gnu.emacs, inputType=1, inputTypeString=Normal, enableLearning=true, autoCorrection=true, autoComplete=true, imeOptions=12000000, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=0, initialSelEnd=0, initialCapsMode=0, label=null, fieldId=-1, fieldName=null, extras=null, hintText=null, hintLocales=[]}}, false)
08-21 16:42:55.630 12236 12236 D EmacsActivity: onWindowFocusChanged: YES
08-21 16:42:55.664 17984 17984 I AndroidIME: AbstractIme.onActivate():85 LatinIme.onActivate() : EditorInfo = EditorInfo{packageName=org.gnu.emacs, inputType=1, inputTypeString=Normal, enableLearning=true, autoCorrection=true, autoComplete=true, imeOptions=12000000, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=0, initialSelEnd=0, initialCapsMode=0, label=null, fieldId=-1, fieldName=null, extras=null, hintText=null, hintLocales=[]}, IncognitoMode = false, DeviceLocked = false
08-21 16:42:55.722 17984 17984 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1902 onStartInput(EditorInfo{EditorInfo{packageName=org.gnu.emacs, inputType=1, inputTypeString=Normal, enableLearning=true, autoCorrection=true, autoComplete=true, imeOptions=12000006, privateImeOptions=null, actionName=DONE, actionLabel=null, initialSelStart=4, initialSelEnd=4, initialCapsMode=0, label=null, fieldId=-1, fieldName=null, extras=null, hintText=null, hintLocales=[]}}, false)
08-21 16:42:55.724 17984 17984 I GoogleInputMethodService: GoogleInputMethodService.onStartInputView():2031 onStartInputView(EditorInfo{EditorInfo{packageName=org.gnu.emacs, inputType=1, inputTypeString=Normal, enableLearning=true, autoCorrection=true, autoComplete=true, imeOptions=12000006, privateImeOptions=null, actionName=DONE, actionLabel=null, initialSelStart=4, initialSelEnd=4, initialCapsMode=0, label=null, fieldId=-1, fieldName=null, extras=null, hintText=null, hintLocales=[]}}, false)
08-21 16:42:55.726 17984 17984 I AndroidIME: AbstractIme.onActivate():85 LatinIme.onActivate() : EditorInfo = EditorInfo{packageName=org.gnu.emacs, inputType=1, inputTypeString=Normal, enableLearning=true, autoCorrection=true, autoComplete=true, imeOptions=12000006, privateImeOptions=null, actionName=DONE, actionLabel=null, initialSelStart=4, initialSelEnd=4, initialCapsMode=0, label=null, fieldId=-1, fieldName=null, extras=null, hintText=null, hintLocales=[]}, IncognitoMode = false, DeviceLocked = false
08-21 16:42:55.877 12236 12236 D EmacsView: onLayout: org.gnu.emacs.EmacsSurfaceView{7a3ed91 V.ED..... ........ 0,0-1080,2315}
08-21 16:42:55.888 12236 12259 I org.gnu.emacs: Explicit concurrent copying GC freed 8717(537KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 2410KB/4821KB, paused 21us,9us total 3.763ms
08-21 16:43:27.291 12236 12236 E AndroidRuntime: Process: org.gnu.emacs, PID: 12236
08-21 16:43:27.291 12236 12236 E AndroidRuntime: java.lang.IllegalArgumentException: org.gnu.emacs: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
08-21 16:43:27.291 12236 12236 E AndroidRuntime: 	at org.gnu.emacs.EmacsDesktopNotification.display1(EmacsDesktopNotification.java:151)
08-21 16:43:27.291 12236 12236 E AndroidRuntime: 	at org.gnu.emacs.EmacsDesktopNotification.access$000(EmacsDesktopNotification.java:45)
08-21 16:43:27.291 12236 12236 E AndroidRuntime: 	at org.gnu.emacs.EmacsDesktopNotification$1.run(EmacsDesktopNotification.java:171)
08-21 16:43:27.293  1876  5131 D ActivityManager: New dropbox entry: org.gnu.emacs, data_app_crash, 1774bd0a-4780-448c-8fc9-697de02201af
08-21 16:43:27.293  1876  5131 W ActivityTaskManager:   Force finishing activity org.gnu.emacs/.EmacsActivity


08-21 16:43:27.301  1525  1525 I JavaDumper:JavaDumperThread: addEvent: data_app_crash@1692629007298.txt processName: org.gnu.emacs
08-21 16:43:27.308  5248  5248 I Freeform: onTaskRemovalStarted TaskInfo{userId=0 taskId=81701 displayId=0 isRunning=false baseIntent=Intent { flg=0x10008000 cmp=org.gnu.emacs/.EmacsActivity } baseActivity=null topActivity=null origActivity=null realActivity=ComponentInfo{org.gnu.emacs/org.gnu.emacs.EmacsActivity} numActivities=0 lastActiveTime=109075642 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@2da9d9b} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=null topActivityInfo=null launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null}
08-21 16:43:27.348  1876  6708 I ActivityManager: Process org.gnu.emacs (pid 12236) has died: fg  TOP
08-21 16:43:27.349  1876  2347 I WindowManager: WIN DEATH: Window{2e04dd6 u0 org.gnu.emacs/org.gnu.emacs.EmacsActivity}
08-21 16:43:27.349  1876  2347 W InputManager-JNI: Input channel object '2e04dd6 org.gnu.emacs/org.gnu.emacs.EmacsActivity (client)' was disposed without first being removed with the input manager!
08-21 16:43:27.794  1876  1933 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{b36ca02 u0 org.gnu.emacs/.EmacsActivity t-1 f}}

 movalStarted TaskInfo{userId=0 taskId=81701 displayId=0 isRunning=false baseIntent=Intent { flg=0x10008000 cmp=org.gnu.emacs/.EmacsActivity } baseActivity=null topActivity=null origActivity=null realActivity=ComponentInfo{org.gnu.emacs/org.gnu.emacs.EmacsActivity} numActivities=0 lastActiveTime=109075642 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@2da9d9b} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=null topActivityInfo=null launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null}
08-21 16:43:27.348  1876  6708 I ActivityManager: Process org.gnu.emacs (pid 12236) has died: fg  TOP
08-21 16:43:27.349  1876  2347 I WindowManager: WIN DEATH: Window{2e04dd6 u0 org.gnu.emacs/org.gnu.emacs.EmacsActivity}
08-21 16:43:27.349  1876  2347 W InputManager-JNI: Input channel object '2e04dd6 org.gnu.emacs/org.gnu.emacs.EmacsActivity (client)' was disposed without first being removed with the input manager!
08-21 16:43:27.794  1876  1933 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{b36ca02 u0 org.gnu.emacs/.EmacsActivity t-1 f}}

movalStarted TaskInfo{userId=0 taskId=81701 displayId=0 isRunning=false baseIntent=Intent { flg=0x10008000 cmp=org.gnu.emacs/.EmacsActivity } baseActivity=null topActivity=null origActivity=null realActivity=ComponentInfo{org.gnu.emacs/org.gnu.emacs.EmacsActivity} numActivities=0 lastActiveTime=109075642 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@2da9d9b} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=null topActivityInfo=null launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null}
08-21 16:43:27.348  1876  6708 I ActivityManager: Process org.gnu.emacs (pid 12236) has died: fg  TOP
08-21 16:43:27.349  1876  2347 I WindowManager: WIN DEATH: Window{2e04dd6 u0 org.gnu.emacs/org.gnu.emacs.EmacsActivity}
08-21 16:43:27.349  1876  2347 W InputManager-JNI: Input channel object '2e04dd6 org.gnu.emacs/org.gnu.emacs.EmacsActivity (client)' was disposed without first being removed with the input manager!
08-21 16:43:27.794  1876  1933 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{b36ca02 u0 org.gnu.emacs/.EmacsActivity t-1 f}}

movalStarted TaskInfo{userId=0 taskId=81701 displayId=0 isRunning=false baseIntent=Intent { flg=0x10008000 cmp=org.gnu.emacs/.EmacsActivity } baseActivity=null topActivity=null origActivity=null realActivity=ComponentInfo{org.gnu.emacs/org.gnu.emacs.EmacsActivity} numActivities=0 lastActiveTime=109075642 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@2da9d9b} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=null topActivityInfo=null launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null}
08-21 16:43:27.348  1876  6708 I ActivityManager: Process org.gnu.emacs (pid 12236) has died: fg  TOP
08-21 16:43:27.349  1876  2347 I WindowManager: WIN DEATH: Window{2e04dd6 u0 org.gnu.emacs/org.gnu.emacs.EmacsActivity}
08-21 16:43:27.349  1876  2347 W InputManager-JNI: Input channel object '2e04dd6 org.gnu.emacs/org.gnu.emacs.EmacsActivity (client)' was disposed without first being removed with the input manager!
08-21 16:43:27.794  1876  1933 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{b36ca02 u0 org.gnu.emacs/.EmacsActivity t-1 f}}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#65433: 30.0.50; android-notifications-notify crashes Emacs
  2023-08-21 15:14 bug#65433: 30.0.50; android-notifications-notify crashes Emacs Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-22  0:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-08-22  1:16   ` Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-22  0:49 UTC (permalink / raw)
  To: Antonio Romano; +Cc: 65433

Antonio Romano <n58r@pm.me> writes:

> Steps taken:
>
> - Delete dump files
> - Start emacs -Q
> - Edit -> Execute command
> - eval-expression
> - (android-notifications-notify :title "Title" :body "Body")
>
>
> Then the app crashes. Logs are in attachment
>
> (Termux compatible build aarch64)
>
>
> In GNU Emacs 30.0.50 (build 1, aarch64-unknown-linux-android29) of
> 2023-08-21 built on xeon
> Repository revision: fb5e1b21fbf3475abffc3c0de31437120904f42a
> Windowing system distributor 'Sony', version 31.0.0

Thanks, this should have been fixed.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#65433: 30.0.50; android-notifications-notify crashes Emacs
  2023-08-22  0:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-22  1:16   ` Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-08-22  1:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-22  1:16 UTC (permalink / raw)
  To: luangruo; +Cc: 65433

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

Can confirm that it now works. Thank you for the feature and the fix!

[-- Attachment #2: Type: text/html, Size: 73 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#65433: 30.0.50; android-notifications-notify crashes Emacs
  2023-08-22  1:16   ` Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-22  1:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-22  1:36 UTC (permalink / raw)
  To: Antonio Romano; +Cc: 65433-done

Antonio Romano <n58r@pm.me> writes:

> Can confirm that it now works. Thank you for the feature and the fix!

Thanks, closing.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-22  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 15:14 bug#65433: 30.0.50; android-notifications-notify crashes Emacs Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  0:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  1:16   ` Antonio Romano via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-22  1:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).