Alfredo Silvano 1 Posted December 19, 2020 Android 64bit API Level 30 NDK 21 Hi, sometimes my application hangs in the splashscreen and if I put it in debug it doesn't even run Application.Initialize! If I close it and reopen it, most of the time, it starts up regularly. I have already tried to delete the app and reinstall it, but I got the same result. Thanks a lot Share this post Link to post
Dave Nottage 557 Posted December 19, 2020 Use a logcat viewer to check the log messages for any errors. Beyond that, you're going to need to give more detail about what is in the app, and perhaps a reproducible example if possible. Share this post Link to post
Guest Posted December 19, 2020 if the "case" can be reproduced in others device, then, the problem is in the software (your app or programing language -- on the end is a Embarcadero :) my kilker tip: 1) new project with nothing more than a "Form" 2) later, go add some code not conventional ... more and more 3) try other IDE, same that "TRIAL" hug Share this post Link to post
Alfredo Silvano 1 Posted December 21, 2020 On 12/19/2020 at 10:38 PM, Dave Nottage said: Use a logcat viewer to check the log messages for any errors. Beyond that, you're going to need to give more detail about what is in the app, and perhaps a reproducible example if possible. Hi Dave, I used TailExpert and I found this at app start: 12-21 10:56:29.521 +0000 18857 18857 W subsystem_ramdu: type=1400 audit(0.0:136996): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 10:56:29.538 +0000 18857 18857 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 10:56:31.722 +0000 2569 2569 E QuickstepTransition: getActivityLaunchOptions iconLoc=Rect(337, 1666 - 505, 1834) 12-21 10:56:31.749 +0000 2569 2569 W ActivityThread: SCHED: com.miui.home/.launcher.Launcher [85, r=161ms, a=28ms, w=15603ms] 12-21 10:56:31.801 +0000 18862 18862 E cadero.Domogea: Unknown bits set in runtime_flags: 0x8000 12-21 10:56:31.875 +0000 2569 9095 E LauncherAnimationRunner: onAnimationStart 12-21 10:56:31.876 +0000 2569 9095 E LauncherAnimationRunner: onAnimationStart: mode=0 taskId=167 12-21 10:56:31.876 +0000 2569 9095 E LauncherAnimationRunner: onAnimationStart: mode=1 taskId=1 12-21 10:56:31.878 +0000 2569 2569 E QuickstepTransition: startIconLaunchAnimator:launcherClosing=true iconLoc=Rect(337, 1666 - 505, 1834) 12-21 10:56:31.878 +0000 2569 2569 E QuickstepTransition: startOpeningWindowAnimators:iconLoc=Rect(337, 1666 - 505, 1834) 12-21 10:56:31.879 +0000 2569 2569 E ClipAnimationHelper: updateSourceStack mSourceInsets=Rect(0, 0 - 0, 130) mSourceStackBounds=Rect(0, 0 - 1080, 2340) 12-21 10:56:31.879 +0000 2569 2569 E ClipAnimationHelper: updateTargetRect mSourceRect=RectF(0.0, 0.0, 1080.0, 2340.0) mTargetRect=RectF(0.0, 0.0, 1080.0, 2340.0) mSourceWindowClipInsets=RectF(0.0, 0.0, 0.0, 0.0) mHomeStackBounds=Rect(0, 0 - 1080, 2340) targetRect=Rect(0, 0 - 1080, 2340) 12-21 10:56:31.881 +0000 2569 2569 E FloatingIconView: recycle 12-21 10:56:31.881 +0000 2569 2569 E FloatingIconView: setIcon: mFinalDrawableBounds=Rect(0, 0 - 168, 168) 12-21 10:56:31.881 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(0, 0 - 168, 168) 12-21 10:56:31.881 +0000 2569 2569 E QuickstepTransition: startLauncherContentAnimator:isAppOpening=true 12-21 10:56:31.890 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(0, 0 - 168, 168) 12-21 10:56:31.907 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(0, 0 - 168, 168) 12-21 10:56:31.907 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-14, 0 - 183, 197) 12-21 10:56:31.924 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-14, 0 - 183, 197) 12-21 10:56:31.924 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-39, 0 - 208, 247) 12-21 10:56:31.940 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-39, 0 - 208, 247) 12-21 10:56:31.940 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-59, 0 - 228, 287) 12-21 10:56:31.957 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-59, 0 - 228, 287) 12-21 10:56:31.957 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-72, 0 - 241, 313) 12-21 10:56:31.974 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-72, 0 - 241, 313) 12-21 10:56:31.974 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-80, 0 - 249, 329) 12-21 10:56:31.990 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-80, 0 - 249, 329) 12-21 10:56:31.990 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-85, 0 - 254, 339) 12-21 10:56:31.990 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-85, 0 - 254, 339) 12-21 10:56:31.997 +0000 2569 2924 W RenderInspector: QueueBuffer time out on com.miui.home/com.miui.home.launcher.Launcher, count=1, avg=18 ms, max=18 ms. 12-21 10:56:32.007 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-85, 0 - 254, 339) 12-21 10:56:32.007 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-87, 0 - 256, 343) 12-21 10:56:32.024 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-87, 0 - 256, 343) 12-21 10:56:32.024 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-89, 0 - 258, 347) 12-21 10:56:32.040 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-89, 0 - 258, 347) 12-21 10:56:32.057 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-89, 0 - 258, 347) 12-21 10:56:32.057 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-90, 0 - 259, 349) 12-21 10:56:32.107 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-90, 0 - 259, 349) 12-21 10:56:32.124 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-90, 0 - 259, 349) 12-21 10:56:32.140 +0000 2569 2569 E FloatingIconView: setBackgroundDrawableBounds sTmpRect=Rect(-90, 0 - 259, 349) 12-21 10:56:32.142 +0000 2569 2569 E LauncherAnimationRunner: finish: mFinishRunnable.run 12-21 10:56:32.143 +0000 2569 2569 E FloatingIconView: recycle 12-21 10:56:32.158 +0000 18862 18862 W ResourceType: CREATING STRING CACHE OF 40 bytes 12-21 10:56:32.159 +0000 751 751 E Layer : [Surface(name=AppWindowToken{57db807 token=Token{e0eae46 ActivityRecord{ac8c47a u0 com.miui.home/.launcher.Launcher t1}}})/@0x53b02ca - animation-leash#0] No local sync point found 12-21 10:56:32.159 +0000 751 751 E Layer : [Surface(name=AppWindowToken{3364a4 token=Token{a4e737 ActivityRecord{6855c36 u0 com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity t167}}})/@0x4cf946c - animation-leash#0] No local sync point found 12-21 10:56:32.181 +0000 18862 18862 E libc : Access denied finding property "ro.vendor.df.effect.conflict" 12-21 10:56:32.171 +0000 18862 18862 W cadero.Domogear: type=1400 audit(0.0:136997): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=12835 scontext=u:r:untrusted_app_27:s0:c15,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 12-21 10:56:32.182 +0000 1101 1114 E ANDR-IOP: IIop:: Iop HAL Service is not available. 12-21 10:56:32.218 +0000 18862 18862 E cadero.Domogea: Invalid ID 0x00000000. 12-21 10:56:32.248 +0000 18862 18862 W linker : Warning: "/data/app/com.embarcadero.Domogear-tyWIjIXwikYt5J8djzWC6Q==/lib/arm64/libDomogear.so" unused DT entry: DT_RPATH (type 0xf arg 0x2b301) (ignoring) 12-21 10:56:34.510 +0000 18891 18891 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 10:56:34.501 +0000 18891 18891 W subsystem_ramdu: type=1400 audit(0.0:136998): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 10:56:35.371 +0000 1947 3252 E TaskPersister: File error accessing recents directory (directory doesn't exist?). 12-21 10:56:36.426 +0000 2165 24525 E BtGatt.GattService: [Landroid.content.pm.ServiceInfo;@9a8d74c 12-21 10:56:39.541 +0000 18893 18893 W subsystem_ramdu: type=1400 audit(0.0:136999): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 10:56:39.556 +0000 18893 18893 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 10:56:41.757 +0000 1947 1965 W ActivityTaskManager: Launch timeout has expired, giving up wake lock! [... another failed try ...] 12-21 11:02:54.276 +0000 2569 2569 E LauncherAnimationRunner: finish: mFinishRunnable.run 12-21 11:02:54.276 +0000 2569 2569 E FloatingIconView: recycle 12-21 11:02:54.291 +0000 751 751 E Layer : [Surface(name=AppWindowToken{57db807 token=Token{e0eae46 ActivityRecord{ac8c47a u0 com.miui.home/.launcher.Launcher t1}}})/@0x53b02ca - animation-leash#0] No local sync point found 12-21 11:02:54.291 +0000 751 751 E Layer : [Surface(name=AppWindowToken{57db807 token=Token{e0eae46 ActivityRecord{ac8c47a u0 com.miui.home/.launcher.Launcher t1}}})/@0x53b02ca - animation-leash#0] No local sync point found 12-21 11:02:54.291 +0000 751 751 E Layer : [Surface(name=AppWindowToken{a57485c token=Token{2cfa6cf ActivityRecord{41b7b2e u0 com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity t168}}})/@0xa0f5524 - animation-leash#0] No local sync point found 12-21 11:02:54.291 +0000 751 751 E Layer : [Surface(name=AppWindowToken{a57485c token=Token{2cfa6cf ActivityRecord{41b7b2e u0 com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity t168}}})/@0xa0f5524 - animation-leash#0] No local sync point found 12-21 11:02:54.303 +0000 19243 19243 W ResourceType: CREATING STRING CACHE OF 40 bytes 12-21 11:02:54.323 +0000 19243 19243 E libc : Access denied finding property "ro.vendor.df.effect.conflict" 12-21 11:02:54.311 +0000 19243 19243 W cadero.Domogear: type=1400 audit(0.0:137181): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=12835 scontext=u:r:untrusted_app_27:s0:c15,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 12-21 11:02:54.325 +0000 1101 1114 E ANDR-IOP: IIop:: Iop HAL Service is not available. 12-21 11:02:54.358 +0000 19243 19243 E cadero.Domogea: Invalid ID 0x00000000. 12-21 11:02:54.390 +0000 19243 19243 W linker : Warning: "/data/app/com.embarcadero.Domogear-tyWIjIXwikYt5J8djzWC6Q==/lib/arm64/libDomogear.so" unused DT entry: DT_RPATH (type 0xf arg 0x2b301) (ignoring) 12-21 11:02:55.501 +0000 19271 19271 W subsystem_ramdu: type=1400 audit(0.0:137182): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 11:02:55.518 +0000 19271 19271 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 11:02:55.852 +0000 17455 17469 W ocess.gservice: Reducing the number of considered missed Gc histogram windows from 119 to 100 12-21 11:02:57.526 +0000 1947 3252 E TaskPersister: File error accessing recents directory (directory doesn't exist?). 12-21 11:02:57.658 +0000 19202 19276 W equicksearchbo: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied) 12-21 11:02:57.658 +0000 19202 19276 W equicksearchbo: Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied) 12-21 11:02:57.659 +0000 19202 19276 W equicksearchbo: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied) 12-21 11:03:00.541 +0000 19280 19280 W subsystem_ramdu: type=1400 audit(0.0:137183): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 11:03:00.554 +0000 19280 19280 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 11:03:03.895 +0000 1947 1965 W ActivityTaskManager: Launch timeout has expired, giving up wake lock! 12-21 11:03:05.561 +0000 19281 19281 W subsystem_ramdu: type=1400 audit(0.0:137184): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 11:03:05.579 +0000 19281 19281 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps [... another success try ...] 12-21 11:06:46.795 +0000 751 751 E Layer : [Surface(name=AppWindowToken{f1951ae token=Token{a2d9a29 ActivityRecord{29a1bb0 u0 com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity t172}}})/@0xdeedbf8 - animation-leash#0] No local sync point found 12-21 11:06:46.795 +0000 751 751 E Layer : [Surface(name=AppWindowToken{57db807 token=Token{e0eae46 ActivityRecord{ac8c47a u0 com.miui.home/.launcher.Launcher t1}}})/@0x53b02ca - animation-leash#0] No local sync point found 12-21 11:06:46.834 +0000 19844 19844 W ResourceType: CREATING STRING CACHE OF 40 bytes 12-21 11:06:46.851 +0000 19844 19844 E libc : Access denied finding property "ro.vendor.df.effect.conflict" 12-21 11:06:46.841 +0000 19844 19844 W cadero.Domogear: type=1400 audit(0.0:137441): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=12835 scontext=u:r:untrusted_app_27:s0:c15,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 12-21 11:06:46.853 +0000 1101 1114 E ANDR-IOP: IIop:: Iop HAL Service is not available. 12-21 11:06:46.885 +0000 19844 19844 E cadero.Domogea: Invalid ID 0x00000000. 12-21 11:06:46.917 +0000 19844 19844 W linker : Warning: "/data/app/com.embarcadero.Domogear-tyWIjIXwikYt5J8djzWC6Q==/lib/arm64/libDomogear.so" unused DT entry: DT_RPATH (type 0xf arg 0x2b301) (ignoring) 12-21 11:06:49.534 +0000 19844 19844 W Activity: Slow Operation: Activity com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity onCreate took 2654ms 12-21 11:06:50.024 +0000 1947 3252 E TaskPersister: File error accessing recents directory (directory doesn't exist?). 12-21 11:06:50.451 +0000 19844 19844 W cadero.Domogear: type=1400 audit(0.0:137442): avc: denied { search } for name="kgsl-3d0" dev="sysfs" ino=32471 scontext=u:r:untrusted_app_27:s0:c15,c257,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 12-21 11:06:50.462 +0000 19844 19844 W AdrenoUtils: <ReadGpuID_from_sysfs:194>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model 12-21 11:06:50.462 +0000 19844 19844 W AdrenoUtils: <ReadGpuID:218>: Failed to read chip ID from gpu_model. Fallback to use the GSL path 12-21 11:06:50.628 +0000 19844 19844 W Activity: Slow Operation: Activity com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity onStart took 1092ms 12-21 11:06:50.655 +0000 19844 19844 W Looper : Slow Looper main: Long Msg: seq=3 plan=12:06:46.649 late=204ms wall=3800ms running=1163ms runnable=45ms io=6ms h=android.app.ActivityThread$H w=159 12-21 11:06:50.656 +0000 19844 19844 W Looper : Slow Looper main: Activity com.embarcadero.Domogear/com.embarcadero.firemonkey.FMXNativeActivity is 4005ms late (wall=0ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] }) because of 2 msg, msg 1 took 338ms (seq=2 running=316ms runnable=3ms late=1ms h=android.app.ActivityThread$H w=110), msg 2 took 3800ms (seq=3 running=1163ms runnable=45ms io=6ms late=204ms h=android.app.ActivityThread$H w=159) 12-21 11:06:50.715 +0000 19844 19844 W cadero.Domogea: Accessing hidden method Landroid/graphics/Paint;->getRasterizer()Landroid/graphics/Rasterizer; (greylist, JNI, allowed) 12-21 11:06:50.717 +0000 19844 19844 W cadero.Domogea: Accessing hidden method Landroid/graphics/Paint;->setRasterizer(Landroid/graphics/Rasterizer;)Landroid/graphics/Rasterizer; (greylist, JNI, allowed) 12-21 11:06:50.723 +0000 19844 19844 W cadero.Domogea: Accessing hidden field Landroid/graphics/Canvas;->CLIP_SAVE_FLAG:I (greylist, JNI, allowed) 12-21 11:06:50.723 +0000 19844 19844 W cadero.Domogea: Accessing hidden field Landroid/graphics/Canvas;->CLIP_TO_LAYER_SAVE_FLAG:I (greylist, JNI, allowed) 12-21 11:06:50.723 +0000 19844 19844 W cadero.Domogea: Accessing hidden field Landroid/graphics/Canvas;->FULL_COLOR_LAYER_SAVE_FLAG:I (greylist, JNI, allowed) 12-21 11:06:50.723 +0000 19844 19844 W cadero.Domogea: Accessing hidden field Landroid/graphics/Canvas;->HAS_ALPHA_LAYER_SAVE_FLAG:I (greylist, JNI, allowed) 12-21 11:06:50.723 +0000 19844 19844 W cadero.Domogea: Accessing hidden field Landroid/graphics/Canvas;->MATRIX_SAVE_FLAG:I (greylist, JNI, allowed) 12-21 11:06:50.724 +0000 19844 19844 W cadero.Domogea: Accessing hidden method Landroid/graphics/Canvas;->clipRegion(Landroid/graphics/Region;Landroid/graphics/Region$Op;)Z (greylist, JNI, allowed) 12-21 11:06:50.724 +0000 19844 19844 W cadero.Domogea: Accessing hidden method Landroid/graphics/Canvas;->clipRegion(Landroid/graphics/Region;)Z (greylist, JNI, allowed) 12-21 11:06:50.726 +0000 19844 19844 W cadero.Domogea: Accessing hidden method Landroid/graphics/Canvas;->save(I)I (greylist, JNI, allowed) 12-21 11:06:50.747 +0000 19844 19859 W System : A resource failed to call release. 12-21 11:06:51.101 +0000 19901 19901 W subsystem_ramdu: type=1400 audit(0.0:137443): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 11:06:51.111 +0000 19901 19901 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 11:06:51.221 +0000 19844 19844 W Gralloc3: mapper 3.x is not supported 12-21 11:06:51.237 +0000 19844 19859 W System : A resource failed to call release. 12-21 11:06:51.856 +0000 19844 19844 W Looper : Slow Looper main: doFrame is 475ms late because of 17 msg, msg 1 took 477ms (seq=8 running=450ms late=1066ms h=android.os.Handler c=$Proxy6) 12-21 11:06:51.964 +0000 19844 19844 W Looper : Slow Looper main: doFrame is 774ms late because of 38 msg, msg 1 took 718ms (seq=25 running=628ms runnable=6ms io=2ms late=475ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver), msg 3 took 51ms (seq=27 running=43ms io=2ms late=1206ms h=android.os.Handler c=$Proxy6) 12-21 11:06:56.111 +0000 19938 19938 W subsystem_ramdu: type=1400 audit(0.0:137444): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 12-21 11:06:56.123 +0000 19938 19938 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 11:07:01.135 +0000 19940 19940 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps 12-21 11:07:01.121 +0000 19940 19940 W subsystem_ramdu: type=1400 audit(0.0:137445): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 my app named com.embarcadero.Domogear. Honestly, I don't see anything noticeable aside Invalid ID 0x00000000 Share this post Link to post
Alfredo Silvano 1 Posted December 22, 2020 Clarification: I checked on iOS and the app starts regularly! Any suggestions? Share this post Link to post
Dave Nottage 557 Posted December 22, 2020 4 hours ago, Alfredo Silvano said: Any suggestions? See my first reply. Share this post Link to post
Alfredo Silvano 1 Posted December 23, 2020 12 hours ago, Dave Nottage said: See my first reply. I saw it and I posted logcat result: do you see some information that help to recognize the problem? An example code may not be useful, I remind you in debugging the first line of code of the project, Application.Initialize, the debugger does not execute it! When I launch application, on messages box in the IDE, I can found this message: Failed start Process 9199 stopped * thread #1: tid = 9199, 0x00000072143fbe04 libart.so`art::mirror::Class::DescriptorEquals(char const*) + 196, name = 'cadero.Domogear', stop reason = signal SIGSTOP frame #0: 0x00000072143fbe04 libart.so`art::mirror::Class::DescriptorEquals(char const*) + 196 libart.so`art::mirror::Class::DescriptorEquals: -> 0x72143fbe04 <+196>: ldrsb w9, [x0], #1 0x72143fbe08 <+200>: tbz w9, #31, 0x72143fbda4 ; <+100> 0x72143fbe0c <+204>: ldrsb w9, [x8, #1] 0x72143fbe10 <+208>: tbnz w9, #31, 0x72143fbe34 ; <+244> thread #2: tid = 9220, 0x000000729618f33c libc.so`syscall + 28, name = 'Jit thread pool', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #3: tid = 9221, 0x000000729618f33c libc.so`syscall + 28, name = 'Runtime worker ', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #4: tid = 9222, 0x000000729618f33c libc.so`syscall + 28, name = 'Runtime worker ', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #5: tid = 9223, 0x000000729618f33c libc.so`syscall + 28, name = 'Runtime worker ', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #6: tid = 9224, 0x000000729618f33c libc.so`syscall + 28, name = 'Runtime worker ', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #7: tid = 9225, 0x00000072961e0318 libc.so`__rt_sigtimedwait + 8, name = 'Signal Catcher', stop reason = signal SIGSTOP frame #0: 0x00000072961e0318 libc.so`__rt_sigtimedwait + 8 libc.so`__rt_sigtimedwait: -> 0x72961e0318 <+8>: cmn x0, #1, lsl #12 ; =4096 0x72961e031c <+12>: cneg x0, x0, hi 0x72961e0320 <+16>: b.hi 0x72961dfe7c ; __set_errno_internal 0x72961e0324 <+20>: ret thread #8: tid = 9227, 0x00000072961e0214 libc.so`__ppoll + 4, name = 'ADB-JDWP Connec', stop reason = signal SIGSTOP frame #0: 0x00000072961e0214 libc.so`__ppoll + 4 libc.so`__ppoll: -> 0x72961e0214 <+4>: svc #0 0x72961e0218 <+8>: cmn x0, #1, lsl #12 ; =4096 0x72961e021c <+12>: cneg x0, x0, hi 0x72961e0220 <+16>: b.hi 0x72961dfe7c ; __set_errno_internal thread #9: tid = 9231, 0x000000729618f33c libc.so`syscall + 28, name = 'HeapTaskDaemon', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #10: tid = 9232, 0x000000729618f33c libc.so`syscall + 28, name = 'ReferenceQueueD', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #11: tid = 9233, 0x000000729618f33c libc.so`syscall + 28, name = 'FinalizerDaemon', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #12: tid = 9234, 0x000000729618f33c libc.so`syscall + 28, name = 'FinalizerWatchd', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #13: tid = 9241, 0x00000072961e01d4 libc.so`__ioctl + 4, name = 'Binder:9199_1', stop reason = signal SIGSTOP frame #0: 0x00000072961e01d4 libc.so`__ioctl + 4 libc.so`__ioctl: -> 0x72961e01d4 <+4>: svc #0 0x72961e01d8 <+8>: cmn x0, #1, lsl #12 ; =4096 0x72961e01dc <+12>: cneg x0, x0, hi 0x72961e01e0 <+16>: b.hi 0x72961dfe7c ; __set_errno_internal thread #14: tid = 9247, 0x00000072961e01d4 libc.so`__ioctl + 4, name = 'Binder:9199_2', stop reason = signal SIGSTOP frame #0: 0x00000072961e01d4 libc.so`__ioctl + 4 libc.so`__ioctl: -> 0x72961e01d4 <+4>: svc #0 0x72961e01d8 <+8>: cmn x0, #1, lsl #12 ; =4096 0x72961e01dc <+12>: cneg x0, x0, hi 0x72961e01e0 <+16>: b.hi 0x72961dfe7c ; __set_errno_internal thread #15: tid = 9279, 0x00000072961e01d4 libc.so`__ioctl + 4, name = 'Binder:9199_3', stop reason = signal SIGSTOP frame #0: 0x00000072961e01d4 libc.so`__ioctl + 4 libc.so`__ioctl: -> 0x72961e01d4 <+4>: svc #0 0x72961e01d8 <+8>: cmn x0, #1, lsl #12 ; =4096 0x72961e01dc <+12>: cneg x0, x0, hi 0x72961e01e0 <+16>: b.hi 0x72961dfe7c ; __set_errno_internal thread #16: tid = 9400, 0x000000729618f33c libc.so`syscall + 28, name = 'Profile Saver', stop reason = signal SIGSTOP frame #0: 0x000000729618f33c libc.so`syscall + 28 libc.so`syscall: -> 0x729618f33c <+28>: svc #0 0x729618f340 <+32>: cmn x0, #1, lsl #12 ; =4096 0x729618f344 <+36>: cneg x0, x0, hi 0x729618f348 <+40>: b.hi 0x72961dfe7c ; __set_errno_internal thread #17: tid = 9409, 0x00000072961e0098 libc.so`__epoll_pwait + 8, name = 'RenderThread', stop reason = signal SIGSTOP frame #0: 0x00000072961e0098 libc.so`__epoll_pwait + 8 libc.so`__epoll_pwait: -> 0x72961e0098 <+8>: cmn x0, #1, lsl #12 ; =4096 0x72961e009c <+12>: cneg x0, x0, hi 0x72961e00a0 <+16>: b.hi 0x72961dfe7c ; __set_errno_internal 0x72961e00a4 <+20>: ret Executable module set to "C:\\Users\\esser\\.lldb\\module_cache\\remote-android\\.cache\\CE48E0D6-9960-7C7F-6119-6C3C69BA2920\\app_process64". Architecture set to: aarch64--linux-android. Process Domogear.apk (9199) can help? I hope so ... Share this post Link to post
Dave Nottage 557 Posted December 23, 2020 10 hours ago, Alfredo Silvano said: An example code may not be useful If it reproduces the problem, it would be extremely useful. Share this post Link to post
Alfredo Silvano 1 Posted December 28, 2020 On 12/23/2020 at 10:30 PM, Dave Nottage said: If it reproduces the problem, it would be extremely useful. I certainly mean bad. The app sometimes fails to start and the debugger doesn't even execute the first line of code in the dproj file. I have already posted logcat analysis and delphi post build messages, I don't have what code to post. The problem is on iOS and Android and it is definitely in the app launch phase, right after launch, while viewing the splash screen. Share this post Link to post
Dave Nottage 557 Posted December 29, 2020 3 hours ago, Alfredo Silvano said: The app sometimes fails to start and the debugger doesn't even execute the first line of code in the dproj file. On Android, problems in deployment can cause the app to fail to start, however you have indicated it is also a problem on iOS, so it is more likely to be a problem with the initialization of one of the units included. Can you create a blank app that runs OK? If so, use that, and start adding your original to the project until it breaks - then you have a reproducible example. 1 Share this post Link to post
Alfredo Silvano 1 Posted December 29, 2020 Thanks Dave, maybe i found the problem: the event handler i am using to replace System.Messaging, along with this, creates this problem. I complete the port and delete System.Messaging and see if the problem goes away. I update you, thanks Share this post Link to post
Alfredo Silvano 1 Posted January 9, 2021 On 12/29/2020 at 10:30 AM, Alfredo Silvano said: Thanks Dave, maybe i found the problem: the event handler i am using to replace System.Messaging, along with this, creates this problem. I complete the port and delete System.Messaging and see if the problem goes away. I update you, thanks By removing the new event handler and using System.Messaging, the problem no longer occurs. Thanks a lot 1 Share this post Link to post