Bug? App crashes using BetterImageView

Scantech

Well-Known Member
Licensed User
Longtime User
Hi Erel, try the attached file. Emulator is OK, but Samsung S6 crashed immediately. It might affect few devices out there? The BetterImageView library is used to demonstrate the error. Not sure if its the Library or B4A fault?

OS: 5.1.1
Tested in Obfuscated Release Mode
 

Attachments

  • BugTest.zip
    373.6 KB · Views: 230
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Works fine here on my device (using Android 5.1.1)
And i´m using a S6 too (but the edge)
 

Informatix

Expert
Licensed User
Longtime User
Hi Erel, try the attached file. Emulator is OK, but Samsung S6 crashed immediately. It might affect few devices out there? The BetterImageView library is used to demonstrate the error. Not sure if its the Library or B4A fault?

OS: 5.1.1
Tested in Obfuscated Release Mode
This should be posted in the BetterImageView thread as it concerns the library, not B4A, at first glance.
I have no idea of what could be wrong. Could you post an unfiltered log ?
 

Scantech

Well-Known Member
Licensed User
Longtime User
I should of mention the procedure to duplicate the error. Start app, click Image then click outside the Inputlist Dialog.

I do not see any error in the filtered log.

Unfortunately, b4a Example has stopped

at android.os.Parcel.readException(Parcel.java:1499)
at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:239)
at android.os.storage.StorageManager.getVolumeState(StorageManager.java:581)
at android.mtp.MTPJNIInterface.getExternalStorageStatus(MTPJNIInterface.java:639)
Exception is coming while getting the Mount status
(21) API call with NULL database connection pointer
(21) misuse at line 106269 of [b3bb660af9]
(21) API call with NULL database connection pointer
(21) misuse at line 100887 of [b3bb660af9]
(21) API call with NULL database connection pointer
(21) misuse at line 100887 of [b3bb660af9]
(21) API call with NULL database connection pointer
(21) misuse at line 106269 of [b3bb660af9]
notification from stack 2
[mtp_init_device] Library open with 64 bits.
[mtp_init_device] Going to open(): /dev/usb_mtp_gadget
[mtp_init_device 702] After open the MTP fd = 33 and line = 702...
[mtp_init_device] IOCTL SET_MTP_USER_PID Sucesss
[sua_support_present:1287] returning false
*****Starting mtp_io()
notification from stack 3
[mtp_start_io] source_thread Creation
[mtp_start_io] sink_thread Creation
[mtp_start_io:376] sink thread created so set th_sink
notification from stack 14
Open session has come remove the Message false
name = mtp_open_session
notification from stack 3
cleanupWithoutDisableLocked - size : 2, ref : 3
~SensorEventQueue 0
BitTube(): close receivedFd (97)
unregisterListener ::
cleanupConnection - size : 2, ref : 0
BitTube(): close sendFd (463)
notification from stack 14
Open session has come remove the Message false
name = mtp_open_session
Ignore. Because it is same clock text
notification from stack 3
refreshViews connected={ wifi } level=4 combinedSignalIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mobileLabel=T-Mobile wifiLabel="comcast2.4" emergencyOnly=false combinedLabel="comcast2.4" mAirplaneMode=false mDataActivity=4 mPhoneSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId=0x7f020115/com.android.systemui:drawable/ic_qs_signal_4 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mQSWifiIconId=0x7f02012b/com.android.systemui:drawable/ic_qs_wifi_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x7f02053e/com.android.systemui:drawable/stat_sys_tether_bluetooth
onWifiSignalChanged enabled=true enabledDesc:"comcast2.4"
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
do_out_standby +
[MAXIM] NO DSM LOG 0
(10) POSIX Error : 11 SQLite Error : 3850
User 0 external modification to /data/data/com.android.providers.settings/databases/settings.db; event=8
User 0 updating our caches for /data/data/com.android.providers.settings/databases/settings.db
(10) POSIX Error : 11 SQLite Error : 3850
output_devices devices:0
is_voice_wakeup : ret = 1 , wakeup_baby_cry_enabled = 0 , wakeup_mic_enabled = 1
get_scenario : scenario_type = 36
get_input_snd_device_id device:0xb
select_devices output_scenario:-1 input_scenario:36 out_snd_device 0x0 in_snd_device:0xb
> audio_route_reset :
> audio_route_apply_path : "voice_control-mic"
select_devices() input_route "voice_control-mic"
> audio_route_apply_path : "gain-voice_control-mic"
received broadcast android.intent.action.BATTERY_CHANGED
received broadcast android.intent.action.BATTERY_CHANGED
select_devices() input_gain "gain-voice_control-mic"
> audio_route_update_mixer : +
row count exceeds max cache entries for table system
User 0 external modification to /data/data/com.android.providers.settings/databases/settings.db; event=8
User 0 updating our caches for /data/data/com.android.providers.settings/databases/settings.db
> audio_route_update_mixer : changed(7) -
select_devices : set seamless_buf_offset
> audio_values_apply_path : "seamless_buf_offset"
select_devices -
do_out_standby -
onReceive action android.intent.action.BATTERY_CHANGED
row count exceeds max cache entries for table system
HeadsetService - Received Intent.ACTION_BATTERY_CHANGED
Disconnected process message: 10
mSystemReceiver - batteryLevel: 75 batteryStatus: 2
isStatusBarNotificationAllowedAsUser: packageName = com.android.systemui,userId = -1
isApplicationStateBlocked userId -1 pkgname com.android.systemui
ACTION_BATTERY_CHANGED - Level :: 75, Status :: 2
handleBatteryUpdate
[SANotificationServiceNotificationListener] On-Going,[com.android.systemui]
[SANotificationServiceNotificationListenerForKnox] This Notification is On-Going, let's skip it [ com.android.systemui]
----- contentsUnchanged : true, bigContentsUnchanged - false, headsUpContentsUnchanged - true , publicUnchanged true
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
getMobileDataEnabled()+ subId=1
----- inflateViews : modified publicViewLocal -----
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
----- inflateViews : modified KnoxViewLocal -----
There is/are notification(s)
kidsfalse mQsExpansionEnabled:true
There is/are notification(s)
kidsfalse mQsExpansionEnabled:true
sending db update complete noti to stack
noti = 29
mClearAll.setVisibility - mIsFullyOpened : false isShade : true mHasNotification : true mIsUpwardFling : false mQsFullyExpanded : false isShadeLocked : false mClearAllVisible : false
MountEmulatedStorage()
v2
Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SM-G920P_5.1.1 ver=38
Function: selinux_compare_spd_ram , priority [1] , priority version is VE=SEPF_SM-G920P_5.1.1_0038
accessInfo : 0
[DEBUG] get_category: variable seinfo: untrusted sensitivity: NULL, cateogry: NULL
TimaSignature is unavailable
--------- beginning of system
checkUser: useridlist=null, currentuser=0
checkUser: useridlist=null, currentuser=0
checkUser: useridlist=null, currentuser=0
checkUser: useridlist=null, currentuser=0
Added TimaKeyStore provider
MountEmulatedStorage()
v2
Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SM-G920P_5.1.1 ver=38
Function: selinux_compare_spd_ram , priority [1] , priority version is VE=SEPF_SM-G920P_5.1.1_0038
accessInfo : 0
[DEBUG] get_category: variable seinfo: untrusted sensitivity: NULL, cateogry: NULL
KNOX_SDCARD checking this for 10145
KNOX_SDCARD not a persona
Start proc 2651:com.google.android.music:main/u0a145 for service com.google.android.music/.sync.google.MusicGcmTaskService
getCoreFeaturePkgList :[]
Inside getClassLibPath + mLibMap{0=, 1=}
TimaSignature is unavailable
Added TimaKeyStore provider
getTasks: caller 10323 does not hold GET_TASKS; limiting output
Inside getClassLibPath caller
Inside getClassLibPath + mLibMap{0=, 1=}
getCoreFeaturePkgList :[]
onSignalStrengthsChanged signalStrength=SignalStrength: 16 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 -1 2147483647 0x4 gsm|lte level=4
updateTelephonySignalStrength: hasService=true ss=SignalStrength: 16 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 -1 2147483647 0x4 gsm|lte
updateTelephonySignalStrength: iconLevel=4
updateTelephonySignalStrength, No signal level. mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId = com.android.systemui:drawable/ic_qs_signal_4 mContentDescriptionPhoneSignal = Full phone signal
refreshViews connected={ wifi } level=4 combinedSignalIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mobileLabel=T-Mobile wifiLabel="comcast2.4" emergencyOnly=false combinedLabel="comcast2.4" mAirplaneMode=false mDataActivity=4 mPhoneSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId=0x7f020115/com.android.systemui:drawable/ic_qs_signal_4 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mQSWifiIconId=0x7f02012b/com.android.systemui:drawable/ic_qs_wifi_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x7f02053e/com.android.systemui:drawable/stat_sys_tether_bluetooth
onWifiSignalChanged enabled=true enabledDesc:"comcast2.4"
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
Inside getClassLibPath caller
CSEvent::SetError[0]
CSEvent::SetError[0]
VM with version 2.1.0 has multidex support
install
VM has multidex support, MultiDex support library is disabled.
Store database version: 131
Inside getClassLibPath caller
Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.net.NetworkMonitor; callingUser = 0; userId(target) = 0
Registering com/google/android/gms/org/conscrypt/NativeCrypto's 254 native methods...
Using platform SSLCertificateSocketFactory
Using GMS GoogleHttpClient
ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
Using our fixed implementation of GMSCore's GoogleHttpClient
Using platform SSLCertificateSocketFactory
Installed default security provider GmsCore_OpenSSL
Metadata value : SecSettings2
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.preferences.MusicPreferenceService$MusicPreferenceServiceBinder; callingUser = 0; userId(target) = 0
refreshViews connected={ wifi } level=4 combinedSignalIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mobileLabel=T-Mobile wifiLabel="comcast2.4" emergencyOnly=false combinedLabel="comcast2.4" mAirplaneMode=false mDataActivity=4 mPhoneSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId=0x7f020115/com.android.systemui:drawable/ic_qs_signal_4 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mQSWifiIconId=0x7f02012b/com.android.systemui:drawable/ic_qs_wifi_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x7f02053e/com.android.systemui:drawable/stat_sys_tether_bluetooth
onWifiSignalChanged enabled=true enabledDesc:"comcast2.4"
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
com.google.android.music.MusicApplication generated event: Application created
Inside getClassLibPath caller
Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
Registering com/google/android/gms/org/conscrypt/NativeCrypto's 254 native methods...
Installed default security provider GmsCore_OpenSSL
GMSCore installation verified
bindService callerProcessName:com.google.android.youtube, calleePkgName: com.google.android.youtube, action: null
retrieveServiceLocked(): component = com.google.android.youtube/com.google.android.apps.youtube.app.offline.transfer.OfflineTransferService; callingUser = 0; userId(target) = 0
ConfigStore database version: 1
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
bindService callerProcessName:com.google.android.youtube, calleePkgName: com.google.android.gms, action: null
retrieveServiceLocked(): component = com.google.android.gms/com.google.android.gms.auth.GetToken; callingUser = 0; userId(target) = 0
startService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.cache.StorageMigrationService; callingUser = 0; userId(target) = 0
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.artwork.ArtDownloadService; callingUser = 0; userId(target) = 0
getTasks: caller 10003 is using old GET_TASKS but privileged; allowing
getTasks: caller 10003 is using old GET_TASKS but privileged; allowing
Metadata value : SecSettings2
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
Found default route: MediaRouter.RouteInfo{ uniqueId=android/.support.v7.media.SystemMediaRouteProvider:DEFAULT_ROUTE, name=Phone, description=null, iconUri=null, enabled=true, connecting=false, connectionState=0, canDisconnect=false, playbackType=0, playbackStream=3, deviceType=0, volumeHandling=1, volume=3, volumeMax=15, presentationDisplayId=-1, extras=null, settingsIntent=null, providerPackageName=android }
getStreamVolume 3 index 30
InjectionManager
fillFeatureStoreMap com.google.android.music
Constructor com.google.android.music, Feature store :{}
featureStore :{}
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
com.google.android.music.net.NetworkMonitor generated event: Service created
type=WIFI subType= reason=null isConnected=true
remove failed: ENOENT (No such file or directory) : /data/system/sync/pending.xml.bak
bindService callerProcessName:android, calleePkgName: com.google.android.music, action: android.content.SyncAdapter
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.sync.SyncAdapterService; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
com.google.android.music.preferences.MusicPreferenceService$MusicPreferenceServiceBinder generated event: Service created
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
com.google.android.music.download.cache.StorageMigrationService generated event: Service created
Found 10015
com.google.android.music.download.artwork.ArtDownloadService generated event: Service created
[background] Process cur broadcast BroadcastRecord{27bfbf1d u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.net.NetworkMonitor; callingUser = 0; userId(target) = 0
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.ArtDownloadQueueService; callingUser = 0; userId(target) = 0
NQAS connected
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.cache.ArtCacheService; callingUser = 0; userId(target) = 0
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
InjectionManager
fillFeatureStoreMap com.google.android.youtube
Constructor com.google.android.youtube, Feature store :{}
featureStore :{}
[background] Process cur broadcast BroadcastRecord{33fcc951 u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
getTasks: caller 10323 does not hold GET_TASKS; limiting output
[background] Process cur broadcast BroadcastRecord{2d9e95b6 u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
Using our fixed implementation of GMSCore's GoogleHttpClient
Using platform SSLCertificateSocketFactory
com.google.android.music.net.NetworkMonitor$2 generated event: Broadcast received with context com.google.android.music.net.NetworkMonitor@1df9e9ea and intent Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) }
type=WIFI subType= reason=null isConnected=true
[background] Process cur broadcast BroadcastRecord{3ee762b7 u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
com.google.android.music.sync.google.MusicSyncAdapter generated event: Sync started
com.google.android.music.download.ArtDownloadQueueService generated event: Service created
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.net.NetworkMonitor; callingUser = 0; userId(target) = 0
com.google.android.music.download.cache.ArtCacheService generated event: Service created
LogCat connected to: 04157df471c6732d
startService callerProcess--------- beginning of main
--------- beginning of system
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
 
Last edited:

Informatix

Expert
Licensed User
Longtime User
I should of mention the procedure to duplicate the error. Start app, click Image then click outside the Inputlist Dialog.

I do not see any error in the filtered log.



B4X:
    at android.os.Parcel.readException(Parcel.java:1499)
    at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:239)
    at android.os.storage.StorageManager.getVolumeState(StorageManager.java:581)
    at android.mtp.MTPJNIInterface.getExternalStorageStatus(MTPJNIInterface.java:639)
Exception is coming while getting the Mount status
(21) API call with NULL database connection pointer
(21) misuse at line 106269 of [b3bb660af9]
(21) API call with NULL database connection pointer
(21) misuse at line 100887 of [b3bb660af9]
(21) API call with NULL database connection pointer
(21) misuse at line 100887 of [b3bb660af9]
(21) API call with NULL database connection pointer
(21) misuse at line 106269 of [b3bb660af9]
notification from stack 2
[mtp_init_device] Library open with 64 bits.
[mtp_init_device] Going to open(): /dev/usb_mtp_gadget
[mtp_init_device 702]  After open the MTP fd = 33 and line = 702...
[mtp_init_device] IOCTL SET_MTP_USER_PID Sucesss
[sua_support_present:1287] returning false
*****Starting mtp_io()
notification from stack 3
[mtp_start_io] source_thread Creation
[mtp_start_io] sink_thread Creation
[mtp_start_io:376] sink thread created so set th_sink
notification from stack 14
Open session has come  remove the  Message false
name = mtp_open_session
notification from stack 3
cleanupWithoutDisableLocked - size : 2, ref : 3
~SensorEventQueue 0
BitTube(): close receivedFd (97)
unregisterListener ::
cleanupConnection - size : 2, ref : 0
BitTube(): close sendFd (463)
notification from stack 14
Open session has come  remove the  Message false
name = mtp_open_session
Ignore. Because it is same clock text
notification from stack 3
refreshViews connected={ wifi } level=4 combinedSignalIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mobileLabel=T-Mobile wifiLabel="comcast2.4" emergencyOnly=false combinedLabel="comcast2.4" mAirplaneMode=false mDataActivity=4 mPhoneSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId=0x7f020115/com.android.systemui:drawable/ic_qs_signal_4 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mQSWifiIconId=0x7f02012b/com.android.systemui:drawable/ic_qs_wifi_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x7f02053e/com.android.systemui:drawable/stat_sys_tether_bluetooth
onWifiSignalChanged enabled=true enabledDesc:"comcast2.4"
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
do_out_standby +
[MAXIM] NO DSM LOG 0
(10) POSIX Error : 11 SQLite Error : 3850
User 0 external modification to /data/data/com.android.providers.settings/databases/settings.db; event=8
User 0 updating our caches for /data/data/com.android.providers.settings/databases/settings.db
(10) POSIX Error : 11 SQLite Error : 3850
output_devices devices:0
is_voice_wakeup : ret =  1  , wakeup_baby_cry_enabled = 0  ,  wakeup_mic_enabled = 1
get_scenario : scenario_type = 36
get_input_snd_device_id device:0xb
select_devices output_scenario:-1 input_scenario:36 out_snd_device 0x0 in_snd_device:0xb
> audio_route_reset :
> audio_route_apply_path : "voice_control-mic"
select_devices() input_route "voice_control-mic"
> audio_route_apply_path : "gain-voice_control-mic"
received broadcast android.intent.action.BATTERY_CHANGED
received broadcast android.intent.action.BATTERY_CHANGED
select_devices() input_gain "gain-voice_control-mic"
> audio_route_update_mixer : +
row count exceeds max cache entries for table system
User 0 external modification to /data/data/com.android.providers.settings/databases/settings.db; event=8
User 0 updating our caches for /data/data/com.android.providers.settings/databases/settings.db
> audio_route_update_mixer : changed(7) -
select_devices : set seamless_buf_offset
> audio_values_apply_path : "seamless_buf_offset"
select_devices -
do_out_standby -
onReceive action android.intent.action.BATTERY_CHANGED
row count exceeds max cache entries for table system
HeadsetService - Received Intent.ACTION_BATTERY_CHANGED
Disconnected process message: 10
mSystemReceiver - batteryLevel: 75 batteryStatus: 2
isStatusBarNotificationAllowedAsUser: packageName = com.android.systemui,userId = -1
isApplicationStateBlocked userId -1 pkgname com.android.systemui
ACTION_BATTERY_CHANGED - Level :: 75, Status :: 2
handleBatteryUpdate
[SANotificationServiceNotificationListener] On-Going,[com.android.systemui]
[SANotificationServiceNotificationListenerForKnox] This Notification is On-Going, let's skip it [ com.android.systemui]
----- contentsUnchanged : true, bigContentsUnchanged - false, headsUpContentsUnchanged - true , publicUnchanged true
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
getMobileDataEnabled()+ subId=1
----- inflateViews : modified publicViewLocal -----
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
----- inflateViews : modified KnoxViewLocal -----
There is/are notification(s)
kidsfalse mQsExpansionEnabled:true
There is/are notification(s)
kidsfalse mQsExpansionEnabled:true
sending db update complete noti to stack
noti = 29
mClearAll.setVisibility - mIsFullyOpened : false isShade : true mHasNotification : true mIsUpwardFling : false mQsFullyExpanded : false isShadeLocked : false mClearAllVisible : false
MountEmulatedStorage()
v2
Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SM-G920P_5.1.1 ver=38
Function: selinux_compare_spd_ram , priority [1] , priority version is VE=SEPF_SM-G920P_5.1.1_0038
accessInfo : 0
[DEBUG] get_category: variable seinfo: untrusted sensitivity: NULL, cateogry: NULL
TimaSignature is unavailable
--------- beginning of system
checkUser: useridlist=null, currentuser=0
checkUser: useridlist=null, currentuser=0
checkUser: useridlist=null, currentuser=0
checkUser: useridlist=null, currentuser=0
Added TimaKeyStore provider
MountEmulatedStorage()
v2
Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SM-G920P_5.1.1 ver=38
Function: selinux_compare_spd_ram , priority [1] , priority version is VE=SEPF_SM-G920P_5.1.1_0038
accessInfo : 0
[DEBUG] get_category: variable seinfo: untrusted sensitivity: NULL, cateogry: NULL
KNOX_SDCARD checking this for 10145
KNOX_SDCARD not a persona
Start proc 2651:com.google.android.music:main/u0a145 for service com.google.android.music/.sync.google.MusicGcmTaskService
getCoreFeaturePkgList :[]
Inside getClassLibPath + mLibMap{0=, 1=}
TimaSignature is unavailable
Added TimaKeyStore provider
getTasks: caller 10323 does not hold GET_TASKS; limiting output
Inside getClassLibPath caller
Inside getClassLibPath + mLibMap{0=, 1=}
getCoreFeaturePkgList :[]
onSignalStrengthsChanged signalStrength=SignalStrength: 16 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 -1 2147483647 0x4 gsm|lte level=4
updateTelephonySignalStrength: hasService=true ss=SignalStrength: 16 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 -1 2147483647 0x4 gsm|lte
updateTelephonySignalStrength: iconLevel=4
updateTelephonySignalStrength, No signal level. mPhoneSignalIconId = com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataSignalIconId = com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId = com.android.systemui:drawable/ic_qs_signal_4 mContentDescriptionPhoneSignal = Full phone signal
refreshViews connected={ wifi } level=4 combinedSignalIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mobileLabel=T-Mobile wifiLabel="comcast2.4" emergencyOnly=false combinedLabel="comcast2.4" mAirplaneMode=false mDataActivity=4 mPhoneSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId=0x7f020115/com.android.systemui:drawable/ic_qs_signal_4 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mQSWifiIconId=0x7f02012b/com.android.systemui:drawable/ic_qs_wifi_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x7f02053e/com.android.systemui:drawable/stat_sys_tether_bluetooth
onWifiSignalChanged enabled=true enabledDesc:"comcast2.4"
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
Inside getClassLibPath caller
CSEvent::SetError[0]
CSEvent::SetError[0]
VM with version 2.1.0 has multidex support
install
VM has multidex support, MultiDex support library is disabled.
Store database version: 131
Inside getClassLibPath caller
Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.net.NetworkMonitor; callingUser = 0; userId(target) = 0
Registering com/google/android/gms/org/conscrypt/NativeCrypto's 254 native methods...
Using platform SSLCertificateSocketFactory
Using GMS GoogleHttpClient
ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
Using our fixed implementation of GMSCore's GoogleHttpClient
Using platform SSLCertificateSocketFactory
Installed default security provider GmsCore_OpenSSL
Metadata value : SecSettings2
getMobileDataEnabled()+ subId=1
[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
getMobileDataEnabled()- subId=1 retVal=true
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.preferences.MusicPreferenceService$MusicPreferenceServiceBinder; callingUser = 0; userId(target) = 0
refreshViews connected={ wifi } level=4 combinedSignalIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mobileLabel=T-Mobile wifiLabel="comcast2.4" emergencyOnly=false combinedLabel="comcast2.4" mAirplaneMode=false mDataActivity=4 mPhoneSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mQSPhoneSignalIconId=0x7f020115/com.android.systemui:drawable/ic_qs_signal_4 mDataDirectionIconId=0x0/(null) mDataSignalIconId=0x7f02052e/com.android.systemui:drawable/stat_sys_signal_pure_4_auto_rotate mDataTypeIconId=0x0/(null) mQSDataTypeIconId=0x0/(null) mNoSimIconId=0x0/(null) mWifiIconId=0x7f020563/com.android.systemui:drawable/stat_sys_wifi_signal_4_hideinout mQSWifiIconId=0x7f02012b/com.android.systemui:drawable/ic_qs_wifi_4 mWifiActivityIconId=0x0/(null) mBluetoothTetherIconId=0x7f02053e/com.android.systemui:drawable/stat_sys_tether_bluetooth
onWifiSignalChanged enabled=true enabledDesc:"comcast2.4"
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
refreshNwBoosterIndicator - setNWBoosterIndicators(false)
com.google.android.music.MusicApplication generated event: Application created
Inside getClassLibPath caller
Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
Registering com/google/android/gms/org/conscrypt/NativeCrypto's 254 native methods...
Installed default security provider GmsCore_OpenSSL
GMSCore installation verified
bindService callerProcessName:com.google.android.youtube, calleePkgName: com.google.android.youtube, action: null
retrieveServiceLocked(): component = com.google.android.youtube/com.google.android.apps.youtube.app.offline.transfer.OfflineTransferService; callingUser = 0; userId(target) = 0
ConfigStore database version: 1
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
bindService callerProcessName:com.google.android.youtube, calleePkgName: com.google.android.gms, action: null
retrieveServiceLocked(): component = com.google.android.gms/com.google.android.gms.auth.GetToken; callingUser = 0; userId(target) = 0
startService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.cache.StorageMigrationService; callingUser = 0; userId(target) = 0
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.artwork.ArtDownloadService; callingUser = 0; userId(target) = 0
getTasks: caller 10003 is using old GET_TASKS but privileged; allowing
getTasks: caller 10003 is using old GET_TASKS but privileged; allowing
Metadata value : SecSettings2
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId:  Passphrase:  SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId:  Passphrase:  SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
Found default route: MediaRouter.RouteInfo{ uniqueId=android/.support.v7.media.SystemMediaRouteProvider:DEFAULT_ROUTE, name=Phone, description=null, iconUri=null, enabled=true, connecting=false, connectionState=0, canDisconnect=false, playbackType=0, playbackStream=3, deviceType=0, volumeHandling=1, volume=3, volumeMax=15, presentationDisplayId=-1, extras=null, settingsIntent=null, providerPackageName=android }
getStreamVolume 3 index 30
InjectionManager
fillFeatureStoreMap com.google.android.music
Constructor com.google.android.music, Feature store :{}
featureStore :{}
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
com.google.android.music.net.NetworkMonitor generated event: Service created
type=WIFI subType= reason=null isConnected=true
remove failed: ENOENT (No such file or directory) : /data/system/sync/pending.xml.bak
bindService callerProcessName:android, calleePkgName: com.google.android.music, action: android.content.SyncAdapter
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.sync.SyncAdapterService; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
com.google.android.music.preferences.MusicPreferenceService$MusicPreferenceServiceBinder generated event: Service created
retrieveServiceLocked(): component = null; callingUser = 0; userId(target) = 0
com.google.android.music.download.cache.StorageMigrationService generated event: Service created
Found 10015
com.google.android.music.download.artwork.ArtDownloadService generated event: Service created
[background] Process cur broadcast BroadcastRecord{27bfbf1d u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.net.NetworkMonitor; callingUser = 0; userId(target) = 0
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.ArtDownloadQueueService; callingUser = 0; userId(target) = 0
NQAS connected
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.download.cache.ArtCacheService; callingUser = 0; userId(target) = 0
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId:  Passphrase:  SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
InjectionManager
fillFeatureStoreMap com.google.android.youtube
Constructor com.google.android.youtube, Feature store :{}
featureStore :{}
[background] Process cur broadcast BroadcastRecord{33fcc951 u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
getTasks: caller 10323 does not hold GET_TASKS; limiting output
[background] Process cur broadcast BroadcastRecord{2d9e95b6 u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
Using our fixed implementation of GMSCore's GoogleHttpClient
Using platform SSLCertificateSocketFactory
com.google.android.music.net.NetworkMonitor$2 generated event: Broadcast received with context com.google.android.music.net.NetworkMonitor@1df9e9ea and intent Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) }
type=WIFI subType= reason=null isConnected=true
[background] Process cur broadcast BroadcastRecord{3ee762b7 u0 com.google.android.gms.gcm.ACTION_SCHEDULE} DELIVERED for app ProcessRecord{32176c76 5146:com.google.android.gms.persistent/u0a15}
com.google.android.music.sync.google.MusicSyncAdapter generated event: Sync started
com.google.android.music.download.ArtDownloadQueueService generated event: Service created
bindService callerProcessName:com.google.android.music, calleePkgName: com.google.android.music, action: null
retrieveServiceLocked(): component = com.google.android.music/com.google.android.music.net.NetworkMonitor; callingUser = 0; userId(target) = 0
com.google.android.music.download.cache.ArtCacheService generated event: Service created
LogCat connected to: 04157df471c6732d
startService callerProcess--------- beginning of main
--------- beginning of system
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
This log doesn't show any crash...
 

Informatix

Expert
Licensed User
Longtime User
I was able to reproduce the crash on my MotoG after tapping many times on the image and outside the dialog. I got a fatal signal 11. Here's the unfiltered log (I added a few Log() in the code to see where the app stops):
Action = 0 ---------------------------
ALPHA -> 255
End of touch
Action = 1 ---------------------------
CLICK
Attempted to finish an input event but the input event receiver has already been disposed.
Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42b25f78 attribute=null, token = android.os.BinderProxy@42b48b38
ALPHA -> 0
End of touch
Action = 0 ---------------------------
ALPHA -> 255
End of touch
Action = 1 ---------------------------
CLICK
Attempted to finish an input event but the input event receiver has already been disposed.
Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42b9ad90 attribute=null, token = android.os.BinderProxy@42b48b38
ALPHA -> 0
End of touch
Fatal signal 11 (SIGSEGV) at 0x000002b4 (code=1), thread 21575 (b4a.example)
The crash occurs after leaving the Touch event.
In the log, a warning is displayed after the InputList dialog is cancelled by clicking outside ("Attempted to finish an input event but the input event receiver has already been disposed."). I don't have the code of this dialog so I have no explanation.
 

Scantech

Well-Known Member
Licensed User
Longtime User
CallSubDelay does prevent it from crashing.

However, the behavior has changed. Now without the need of any coding below "imgDiag_Click", calling "imgDiag_Click" (not with CallSubDelay) in the touch event will always crash. :confused: It did not do that before.
 
Top