Android Question Debug Logger Stopped

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Hi,

In a physical device (BLU Studio XL2), suddenly the debug logger stopped - no data! Removing filter, I could get this:

Logger connected to: BLU Studio XL 2
--------- beginning of main
getServiceInstance failed!
(1) duplicate column name: lastuse
Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
>>sipStart<< created = NO
getSlotFromBufferLocked: unknown buffer: 0xb463f2e0
getSlotFromBufferLocked: unknown buffer: 0xa8ca65a0
mWifiServiceMessenger == null
Profile state UP : expires=594 status_code=200 status_text=OK
getServiceInstance failed!
getServiceInstance failed!
Profile state UP : expires=594 status_code=200 status_text=OK
getSlotFromBufferLocked: unknown buffer: 0xb463f4c0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
getaddrinfo: xxxxx.xxx.xx get result from proxy gai_error = 0
getaddrinfo: xxxxx.xxx.xx get result from proxy gai_error = 0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
ssl=0xaf8037c0 cert_verify_callback x509_store_ctx=0x9ce7895c arg=0x0
ssl=0xaf8037c0 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
ssl=0x9e7a9380 cert_verify_callback x509_store_ctx=0x9cf7d95c arg=0x0
ssl=0x9e7a9380 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
getServiceInstance failed!
getSlotFromBufferLocked: unknown buffer: 0xb463f4c0
getServiceInstance failed!
getSlotFromBufferLocked: unknown buffer: 0xa8ca65a0
getSlotFromBufferLocked: unknown buffer: 0xa8ca7720
getServiceInstance failed!
getSlotFromBufferLocked: unknown buffer: 0xb463f4c0
getSlotFromBufferLocked: unknown buffer: 0xa8caa420
getSlotFromBufferLocked: unknown buffer: 0xa8ca9520
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
getaddrinfo: xxxxx.xxx.xx get result from proxy gai_error = 0
[getaddrinfo]: hostname= xxxxx.xxx.xx; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0


Any suggestion?
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User
How is the IDE connected to the device? Is your app running?
Hi @Erel ... yes, the app is running in debug mode, connected using wifi. If filter is disabled, I can see the log as posted. If enabled, no. See the log with filter enabled:

Logger connected to: BLU Studio XL 2
--------- beginning of crash
jni/pjsip/android_toolchain/pjsip/../../sources/pjsip/src/pjsua-lib/pjsua_acc.c:398: pjsua_acc_add: assertion "pjsua_var.acc_cnt < (sizeof(pjsua_var.acc)/sizeof(pjsua_var.acc[0]))" failed
Microdump skipped (uninteresting)
Fatal signal 6 (SIGABRT), code -6 in tid 2587 (ervice.Executor)
--------- beginning of main

Again: the app is running perfectly with full features. B4 bridge is connected - if I force disconnect using stop button, the app stops, what means that connection is real. The same computer and app connected to a Samsung shows the log correctly.
I noticed this effect in my Blu phone about a month ago and then fixed automatically - I even thought that it was my mistake. But now it's happening again. It's not a problem for me: I can use a Samsung to compile and the problem doesn't affect the app in production also - only the debug log is the problem. BUT, I think that could be important for B4A and community, because could happen with other devices/brands. Then I collected the log and situation and posted.
Ide is connected thru WiFi. Again, same connection works fine with a Samsung and was working fine with this same device (BLU) two days ago...
Any suggestion?
 
Last edited:
Upvote 0

Marcos Alves

Well-Known Member
Licensed User
Longtime User
You can try to switch to USB debug mode and see whether the logs work properly. It might be a problem in the device logs implementation.
Yes, I think that it's something related to the device... but it disappeared, worked during 4 months, and started again now. I'll do some tests and post here if have any result - the experience could be useful for other community member having the same issue... lets see if we find the fix.
 
Upvote 0
Top