Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EGLlib: validate_display: 92 error 3008 (EGL_BAD_DISPLAY) : App crashes immediately (kivymd) (Buildozer) #2258

Closed
5 tasks done
mandharsh38 opened this issue Jul 7, 2020 · 10 comments

Comments

@mandharsh38
Copy link

mandharsh38 commented Jul 7, 2020

Checklist

  • the issue is indeed a bug and not a support request
  • issue doesn't already exist: https://github.com/kivy/python-for-android/issues
  • I have a short, runnable example that reproduces the issue
  • I reproduced the problem with the latest development version (p4a.branch = develop)
  • I used the grave accent (aka backticks) to format code or logs when appropriated

Versions

  • Python:3.7
  • OS:macOS + ubuntu
  • Kivy:1.11.1
  • Cython:0.29.20
  • OpenJDK:14.0.1

Description

Kivymd App crashes after the loading screen. App built via Buildozer both on macOS and ubuntu-server but no luck.
App works fine on PyCharm IDE .
Here is my main.py file:


from kivy.lang import Builder
from kivymd.app import MDApp

ScreenHelper = """
Screen:
    NavigationLayout:
    
        ScreenManager:
            id: screen_manager
            
            Screen:
            
                name: "homepage"
                
                BoxLayout:
                    orientation : 'vertical'
                    
                    MDToolbar:
                        title: 'vPark'
                        elevation: 10
                        left_action_items:[["menu",lambda x: root.ids.nav_drawer.toggle_nav_drawer()]]
                        right_action_items:[["face",lambda x: app.AccountPage()]]
                    

                    MDLabel:
                        text: 'Homepage'
                        halign: 'center'

            Screen:
                name: "account-page"
                BoxLayout:
                    orientation : 'vertical'
                    MDToolbar:
                        title: 'My Account'
                        elevation: 10
                        left_action_items:[["home",lambda x: app.HomePage()]]
                    MDLabel:
                        text: 'Account Page'
                        halign: 'center'

            Screen:
                name: "settings-page"
                BoxLayout:
                    orientation : 'vertical'
                    MDToolbar:
                        title: 'Settings'
                        elevation: 10
                        left_action_items:[["home",lambda x: app.HomePage()]]
                    MDLabel:
                        text: 'Settings Page'
                        halign: 'center'

            Screen:
                name: "recents-page"
                BoxLayout:
                    orientation : 'vertical'
                    MDToolbar:
                        title: 'Recent Searches'
                        elevation: 10
                        left_action_items:[["home",lambda x: app.HomePage()]]
                    MDLabel:
                        text: 'Recent Searches'
                        halign: 'center'

            Screen:
                name: "help-page"
                BoxLayout:
                    orientation : 'vertical'
                    MDToolbar:
                        title: 'Help Center'
                        elevation: 10
                        left_action_items:[["home",lambda x: app.HomePage()]]
                    MDLabel:
                        text: 'Help Centre'
                        halign: 'center'

        MDNavigationDrawer:
            id: nav_drawer
            
            BoxLayout:
                
                orientation:'vertical'
                
                Image:
                    source: 'logo-temp.png'
                
                ScrollView:
                    
                    MDList:
            
                        OneLineListItem:
                            text: 'Home'
                    
                    
                        
                            on_release:
                                root.ids.nav_drawer.set_state("close")
                                root.ids.screen_manager.current = "homepage"
                                            
                        OneLineListItem:
                            text: 'Recent Vehicle Searches'
                            
                            
                                
                            on_release: 
                                root.ids.nav_drawer.set_state("close")
                                root.ids.screen_manager.current = 'recents-page'
                                            
                        OneLineListItem:
                            text: 'Settings'
                            
                            
                                
                            on_release: 
                                root.ids.nav_drawer.set_state("close")
                                root.ids.screen_manager.current = 'settings-page'
                                            
                        OneLineListItem:
                            text: 'Help Center'
                            
                            
                                
                            on_release: 
                                root.ids.nav_drawer.set_state("close")
                                root.ids.screen_manager.current = 'help-page'                                    
"""



class vParkApp(MDApp):
    def build(self):
        screen = Builder.load_string(ScreenHelper)
        return screen

    def AccountPage(self):
        self.root.ids.screen_manager.current = 'account-page'

    def HomePage(self):
        self.root.ids.screen_manager.current = 'homepage'


vParkApp().run()

And here is my buildozer.spec file:

[app]

# (str) Title of your application
title = vPark

# (str) Package name
package.name = vPark

# (str) Package domain (needed for android/ios packaging)
package.domain = com.vPark.app

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg

# (str) Application versioning (method 1)
version = 0.2

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy==master,kivymd,SDL2_image==2.0.4

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png

# (str) Icon of the application
icon.filename = %(source.dir)s/logo-temp.png

# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = all

# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

#
# OSX Specific
#

#
# author = © Copyright Info

# change the major version of python used by the app
osx.python_version = 3.7

# Kivy version to use
osx.kivy_version = 1.11.1

#
# Android specific
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
#android.permissions = INTERNET

# (int) Target Android API, should be as high as possible.
#android.api = 30

# (int) Minimum API your APK will support.
#android.minapi = 19

# (int) Android SDK version to use
#android.sdk = 20

# (str) Android NDK version to use
#android.ndk = 19b

# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =

# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =

# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False

# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
# android.accept_sdk_license = False

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (str) Android app theme, default is ok for Kivy-based app
# android.apptheme = "@android:style/Theme.NoTitleBar"

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) add java compile options
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
# see https://developer.android.com/studio/write/java8-support for further information
# android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"

# (list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
# please enclose in double quotes 
# e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =

# (list) packaging options to add 
# see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
# can be necessary to solve conflicts in gradle_dependencies
# please enclose in double quotes 
# e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =

# (list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_arm64_v8a = libs/android-v8/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
#android.uses_library =

# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D

# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = armeabi-v7a

# (int) overrides automatic versionCode computation (used in build.gradle)
# this is not the same as app version and should only be edited if you know what you're doing
# android.numeric_version = 1

#
# Python for android (p4a) specific
#

# (str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy

# (str) python-for-android branch to use, defaults to master
#p4a.branch = master

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir =

# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =

# (str) Filename to the hook for p4a
#p4a.hook =

# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =


#
# iOS specific
#

# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master

# Another platform dependency: ios-deploy
# Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
# Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s


[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer

# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin

#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#


#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

App gets built with no errors but after installing apk on phone(I tried a lot of different ones and emulator as well) the app crashes after the loading screen and logcat shows the error: EGLlib: validate_display: 92 error 3008 (EGL_BAD_DISPLAY)

@humanusa
Copy link

humanusa commented Sep 9, 2022

Getting same error. Did you resolve it ?

@misl6
Copy link
Member

misl6 commented Sep 10, 2022

@mandharsh38 or @humanusa , can you please add a full log (the runtime one) ?

@monojk
Copy link

monojk commented Sep 10, 2022

I am having the same problem. Here's my log:

2022-09-10 10:02:44.095 20380-20380/org.test.cardreader D/hidapi: Initializing Bluetooth
2022-09-10 10:02:44.096 20380-20380/org.test.cardreader D/hidapi: Couldn't initialize Bluetooth, missing android.permission.BLUETOOTH
2022-09-10 10:02:44.119 20380-20380/org.test.cardreader I/PythonActivity: Surface will NOT be transparent
2022-09-10 10:02:44.124 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: dispatchAttachedToWindow
2022-09-10 10:02:44.130 782-782/? I/SurfaceFlinger: id=61 createSurf (1920x1080),1 flag=404, org.test.cardreader/org.kivy.android.PythonActivity#0
2022-09-10 10:02:44.142 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: Relayout returned: old=[0,0][0,0] new=[0,0][1920,1080] result=0x7 surface={valid=true 479863640064} changed=true
2022-09-10 10:02:44.143 20380-20411/org.test.cardreader I/Adreno: QUALCOMM build                   : 1b7798b, I8a9bdcf8d3
    Build Date                       : 03/15/18
    OpenGL ES Shader Compiler Version: EV031.22.00.01
    Local Branch                     : 
    Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.6.5.R1.08.00.00.312.043
    Remote Branch                    : NONE
    Reconstruct Branch               : NOTHING
2022-09-10 10:02:44.145 20380-20411/org.test.cardreader I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib64/hw/gralloc.msm8996.so from the current namespace instead.
2022-09-10 10:02:44.149 20380-20411/org.test.cardreader I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2022-09-10 10:02:44.154 20380-20411/org.test.cardreader I/OpenGLRenderer: Initialized EGL, version 1.4
2022-09-10 10:02:44.154 20380-20411/org.test.cardreader D/OpenGLRenderer: Swap behavior 2
2022-09-10 10:02:44.156 782-782/? I/SurfaceFlinger: id=62 createSurf (1920x1008),4 flag=404, SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0#0
2022-09-10 10:02:44.158 782-782/? I/SurfaceFlinger: id=63 createSurf (1920x1008),-1 flag=20404, Background for - SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0#0
2022-09-10 10:02:44.158 20380-20411/org.test.cardreader D/libGLESv1: STS_GLApi : DTS, ODTC are not allowed for Package : org.test.cardreader
2022-09-10 10:02:44.159 20380-20380/org.test.cardreader D/SurfaceView: BG show() Surface(name=Background for - SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0) org.libsdl.app.SDLSurface{3524d49 VFE...... .F....ID 0,0-1920,1008}
2022-09-10 10:02:44.159 20380-20411/org.test.cardreader D/OpenGLRenderer: eglCreateWindowSurface = 0x6fb8fd47f0
2022-09-10 10:02:44.165 20380-20380/org.test.cardreader D/SurfaceView: surfaceCreated 1 org.libsdl.app.SDLSurface{3524d49 VFE...... .F....ID 0,0-1920,1008}
2022-09-10 10:02:44.165 20380-20380/org.test.cardreader D/SurfaceView: surfaceChanged (1920,1008) 1 org.libsdl.app.SDLSurface{3524d49 VFE...... .F....ID 0,0-1920,1008}
2022-09-10 10:02:44.172 20380-20380/org.test.cardreader D/SensorManager: registerListener :: 1, K6DS3TR Accelerometer, 20000, 0,  
2022-09-10 10:02:44.173 20380-20380/org.test.cardreader D/SensorManager: registerListener fail :: 1, K6DS3TR Accelerometer, 20000, 0,  
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: Initializing Python for Android
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: Setting additional env vars from p4a_env_vars.txt
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: Changing directory to the one provided by ANDROID_ARGUMENT
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: /data/user/0/org.test.cardreader/files/app
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: Preparing to initialize python
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: _python_bundle dir exists
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: calculated paths to be...
2022-09-10 10:02:44.175 20380-20414/org.test.cardreader I/python: /data/user/0/org.test.cardreader/files/app/_python_bundle/stdlib.zip:/data/user/0/org.test.cardreader/files/app/_python_bundle/modules
2022-09-10 10:02:44.176 20380-20414/org.test.cardreader I/python: set wchar paths...
2022-09-10 10:02:44.176 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1920, 1080) ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=2
2022-09-10 10:02:44.177 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: MSG_WINDOW_FOCUS_CHANGED 1
2022-09-10 10:02:44.180 20380-20380/org.test.cardreader I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2022-09-10 10:02:44.192 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: Relayout returned: old=[0,0][1920,1080] new=[0,0][1920,1080] result=0x3 surface={valid=true 479863640064} changed=false
2022-09-10 10:02:44.210 20380-20411/org.test.cardreader I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib64/hw/gralloc.msm8996.so from the current namespace instead.
2022-09-10 10:02:44.238 20380-20414/org.test.cardreader I/python: Initialized python
2022-09-10 10:02:44.238 20380-20414/org.test.cardreader I/python: AND: Init threads
2022-09-10 10:02:44.238 20380-20414/org.test.cardreader I/python: testing python print redirection
2022-09-10 10:02:44.239 20380-20414/org.test.cardreader I/python: Android path ['.', '/data/user/0/org.test.cardreader/files/app/_python_bundle/stdlib.zip', '/data/user/0/org.test.cardreader/files/app/_python_bundle/modules', '/data/user/0/org.test.cardreader/files/app/_python_bundle/site-packages']
2022-09-10 10:02:44.240 20380-20414/org.test.cardreader I/python: os.environ is environ({'PATH': '/sbin:/system/sbin:/system/bin:/system/xbin:/vendor/bin:/vendor/xbin', 'DOWNLOAD_CACHE': '/data/cache', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'BOOTCLASSPATH': '/system/framework/QPerformance.jar:/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/legacy-test.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/smartbondingservice.jar:/system/framework/sprengine.jar:/system/framework/android.hidl.base-V1.0-java.jar:/system/framework/android.hidl.manager-V1.0-java.jar:/system/framework/timakeystore.jar:/system/framework/fipstimakeystore.jar:/system/framework/ucmopensslenginehelper.jar:/system/framework/esecomm.jar:/system/framework/SemAudioThumbnail.jar:/system/framework/knoxsdk.jar:/system/framework/sec_edm.jar:/system/framework/sagearpolicymanager.jar:/system/framework/sec_sdp_sdk.jar:/system/framework/sec_sdp_hidden_sdk.jar:/system/framework/knoxvpnuidtag.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/WfdCommon.jar:/system/framework/oem-services.jar:/system/framework/qcom.fmradio.jar:/system/framework/sprintextension.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/samsung-services.jar:/system/framework/hqm.jar:/system/framework/dmf.jar:/system/framework/ssrm.jar', 'MC_AUTH_TOKEN_PATH': '/efs/TEE', 'KNOX_STORAGE': '/data/knox/ext_sdcard', 'ENC_EMULATED_STORAGE_TARGET': '/storage/enc_emulated', 'ANDROID_SOCKET_zygote': '8', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/org.test.cardreader/files/app', 'ANDROID_APP_PATH': '/data/user/0/org.test.cardreader/files/app', 'ANDROID_PRIVATE': '/data/user/0/org.test.cardreader/files', 'ANDROID_UNPACK': '/data/user/0/org.test.cardreader/files/app', 'PYTHONHOME': '/data/user/0/org.test.cardreader/files/app', 'PYTHONPATH': '/data/user/0/org.test.cardreader/files/app:/data/user/0/org.test.cardreader/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'sensorLandscape', 'P4A_NUMERIC_VERSION': 'None', 'P4A_MINSDK': '21', 'LC_CTYPE': 'C.UTF-8'})
2022-09-10 10:02:44.240 20380-20414/org.test.cardreader I/python: Android kivy bootstrap done. __name__ is __main__
2022-09-10 10:02:44.240 20380-20414/org.test.cardreader I/python: AND: Ran string
2022-09-10 10:02:44.240 20380-20414/org.test.cardreader I/python: Run user program, change dir and execute entrypoint
2022-09-10 10:02:44.246 3591-4571/? D/ViewRootImpl@812dfb6[cardreader]: dispatchDetachedFromWindow
2022-09-10 10:02:44.246 3591-4571/? D/InputEventReceiver: channel 'cf6e4b7 Splash Screen org.test.cardreader (client)' ~ Disposing input event receiver.
2022-09-10 10:02:44.246 3591-4571/? D/InputEventReceiver: channel 'cf6e4b7 Splash Screen org.test.cardreader (client)' ~NativeInputEventReceiver.
2022-09-10 10:02:44.247 3591-4571/? I/WindowManager: Destroying surface Surface(name=Splash Screen org.test.cardreader) called by com.android.server.wm.WindowStateAnimator.destroySurface:2501 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:985 com.android.server.wm.WindowState.removeImmediately:2404 com.android.server.wm.WindowState.removeIfPossible:2612 com.android.server.wm.WindowState.removeIfPossible:2442 com.android.server.wm.WindowManagerService.removeWindow:2020 com.android.server.wm.Session.remove:237 android.view.ViewRootImpl.dispatchDetachedFromWindow:4101 
2022-09-10 10:02:44.247 782-2564/? I/SurfaceFlinger: id=59 Removed Splash Screen org.test.cardreader#0 (2/5)
2022-09-10 10:02:44.247 782-2564/? I/SurfaceFlinger: id=59 Removed Splash Screen org.test.cardreader#0 (-2/5)
2022-09-10 10:02:44.248 782-782/? I/Layer: id=59 onRemoved Splash Screen org.test.cardreader#0 
2022-09-10 10:02:44.253 782-782/? I/SurfaceFlinger: Display 0 HWC layers:
        type    |    handle    | flag |  format   |   source crop (l,t,r,b)    |         frame       | name 
    ------------+--------------+------+-----------+----------------------------+---------------------+------
     SolidColor |              | 0002 |  Unknown  |   0.0    0.0   -1.0   -1.0 |    0    0 1008 1920 | Background for - SurfaceView - org.t[...]y.android.PythonActivity@3524d49@0#0
         Device | 0x786fbfe900 | 0000 | RGBA_8888 |   0.0    0.0 1080.0 1920.0 |    0    0 1080 1920 | org.test.cardreader/org.kivy.android.PythonActivity#0
         Device | 0x786fb91f00 | 0000 | RGBA_8888 |   0.0    0.0   72.0 1920.0 | 1008    0 1080 1920 | StatusBar#0
         Device | 0x786fb91680 | 0000 | RGBA_8888 |   0.0    0.0 1080.0 1920.0 |    0    0 1080 1920 | ScreenshotSurface#0
2022-09-10 10:02:44.256 3591-4571/? I/WindowManager: Screen frozen for +635ms due to Window{cf6e4b7 u0 Splash Screen org.test.cardreader}
2022-09-10 10:02:44.271 3591-4017/? I/ActivityManager: Displayed org.test.cardreader/org.kivy.android.PythonActivity: +635ms
2022-09-10 10:02:44.303 782-782/? I/SurfaceFlinger: Display 0 HWC layers:
        type    |    handle    | flag |  format   |   source crop (l,t,r,b)    |         frame       | name 
    ------------+--------------+------+-----------+----------------------------+---------------------+------
         Client |              | 0002 |  Unknown  |  -0.1    0.0   -0.9   -1.0 |    0  223 1080 1766 | Background for - SurfaceView - org.t[...]y.android.PythonActivity@3524d49@0#0
         Client | 0x786fbfe900 | 0000 | RGBA_8888 |   0.0  203.0 1080.0 1717.0 |    0  215 1080 1705 | org.test.cardreader/org.kivy.android.PythonActivity#0
         Client | 0x786fb91f00 | 0000 | RGBA_8888 |   0.0  203.0   72.0 1428.0 |    0  215 1080  656 | StatusBar#0
         Client | 0x786fb91680 | 0000 | RGBA_8888 |   0.0    0.0 1080.0 1920.0 |    0    0 1080 1920 | ScreenshotSurface#0
         Client |              | 0000 |  Unknown  |  -0.4   -0.9   -0.9   -1.0 |    0    0 1080  311 | BlackSurface#0
         Client |              | 0000 |  Unknown  |  -0.9   -0.0   -1.0   -0.6 |    0    0  212 1920 | BlackSurface#0
       
2022-09-10 10:02:44.418 3591-4682/? D/MdnieScenarioControlService:  packageName : org.test.cardreader    className : org.kivy.android.PythonActivity
2022-09-10 10:02:44.428 20380-20414/org.test.cardreader I/python: [INFO   ] [Logger      ] Record log in /data/user/0/org.test.cardreader/files/app/.kivy/logs/kivy_22-09-10_2.txt
2022-09-10 10:02:44.428 20380-20414/org.test.cardreader I/python: [INFO   ] [Kivy        ] v2.1.0
2022-09-10 10:02:44.429 20380-20414/org.test.cardreader I/python: [INFO   ] [Kivy        ] Installed at "/data/user/0/org.test.cardreader/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
2022-09-10 10:02:44.429 20380-20414/org.test.cardreader I/python: [INFO   ] [Python      ] v3.9.9 (main, Sep  9 2022, 18:21:55) 
2022-09-10 10:02:44.429 20380-20414/org.test.cardreader I/python: [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d
2022-09-10 10:02:44.430 20380-20414/org.test.cardreader I/python: [INFO   ] [Python      ] Interpreter at ""
2022-09-10 10:02:44.430 20380-20414/org.test.cardreader I/python: [INFO   ] [Logger      ] Purge log fired. Processing...
2022-09-10 10:02:44.431 20380-20414/org.test.cardreader I/python: [INFO   ] [Logger      ] Purge finished!
2022-09-10 10:02:44.622 782-782/? I/SurfaceFlinger: Display 0 HWC layers:
        type    |    handle    | flag |  format   |   source crop (l,t,r,b)    |         frame       | name 
    ------------+--------------+------+-----------+----------------------------+---------------------+------
     SolidColor |              | 0002 |  Unknown  |  -0.0    0.0   -1.0   -1.0 |    0    0 1009 1920 | Background for - SurfaceView - org.t[...]y.android.PythonActivity@3524d49@0#0
         Device | 0x786fbfe900 | 0000 | RGBA_8888 |   1.0    1.0 1079.0 1919.0 |    0    0 1080 1920 | org.test.cardreader/org.kivy.android.PythonActivity#0
         Client | 0x786fb91f00 | 0000 | RGBA_8888 |   0.0    1.0   71.0 1919.0 | 1007    0 1080 1920 | StatusBar#0
         Client | 0x786fb91680 | 0000 | RGBA_8888 |   0.0    0.0 1080.0 1920.0 |    0    0 1080 1920 | ScreenshotSurface#0
2022-09-10 10:02:44.689 782-782/? I/SurfaceFlinger: Display 0 HWC layers:
        type    |    handle    | flag |  format   |   source crop (l,t,r,b)    |         frame       | name 
    ------------+--------------+------+-----------+----------------------------+---------------------+------
     SolidColor |              | 0002 |  Unknown  |  -0.0    0.0   -1.0   -1.0 |    0    0 1009 1920 | Background for - SurfaceView - org.t[...]y.android.PythonActivity@3524d49@0#0
         Device | 0x786fbfe900 | 0000 | RGBA_8888 |   1.0    1.0 1079.0 1919.0 |    0    0 1080 1920 | org.test.cardreader/org.kivy.android.PythonActivity#0
         Device | 0x786fb91f00 | 0000 | RGBA_8888 |   0.0    1.0   71.0 1919.0 | 1007    0 1080 1920 | StatusBar#0
2022-09-10 10:02:46.179 20380-20414/org.test.cardreader I/python: [INFO   ] [Factory     ] 189 symbols loaded
2022-09-10 10:02:46.525 20380-20414/org.test.cardreader I/python: [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
2022-09-10 10:02:46.616 20380-20414/org.test.cardreader I/python: [INFO   ] [Window      ] Provider: sdl2
2022-09-10 10:02:46.645 20380-20414/org.test.cardreader E/libEGL: validate_display:171 error 3008 (EGL_BAD_DISPLAY)
2022-09-10 10:02:46.655 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
2022-09-10 10:02:46.658 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] Backend used <sdl2>
2022-09-10 10:02:46.659 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 V@269.0 (GIT@1b7798b, I8a9bdcf8d3) (Date:03/15/18)'>
2022-09-10 10:02:46.660 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] OpenGL vendor <b'Qualcomm'>
2022-09-10 10:02:46.661 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] OpenGL renderer <b'Adreno (TM) 530'>
2022-09-10 10:02:46.662 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] OpenGL parsed version: 3, 2
2022-09-10 10:02:46.663 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] Texture max size <16384>
2022-09-10 10:02:46.665 20380-20414/org.test.cardreader I/python: [INFO   ] [GL          ] Texture max units <16>
2022-09-10 10:02:46.671 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: Relayout returned: old=[0,0][1920,1080] new=[0,0][1920,1080] result=0x1 surface={valid=true 479863640064} changed=false
2022-09-10 10:02:46.678 20380-20385/org.test.cardreader I/zygote64: Do partial code cache collection, code=30KB, data=23KB
2022-09-10 10:02:46.678 20380-20385/org.test.cardreader I/zygote64: After code cache collection, code=30KB, data=23KB
2022-09-10 10:02:46.678 20380-20385/org.test.cardreader I/zygote64: Increasing code cache capacity to 128KB
2022-09-10 10:02:46.694 20380-20380/org.test.cardreader D/ViewRootImpl@8c3ac77[PythonActivity]: Relayout returned: old=[0,0][1920,1080] new=[0,0][1920,1080] result=0x1 surface={valid=true 479863640064} changed=false
2022-09-10 10:02:46.697 20380-20414/org.test.cardreader D/libGLESv2: STS_GLApi : DTS, ODTC are not allowed for Package : org.test.cardreader
2022-09-10 10:02:46.698 20380-20414/org.test.cardreader I/python: [INFO   ] [Window      ] auto add sdl2 input provider
2022-09-10 10:02:46.700 20380-20414/org.test.cardreader I/python: [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
2022-09-10 10:02:46.941 20380-20414/org.test.cardreader W/linker: "/data/app/org.test.cardreader-TaChdAWGb5Ia2tlRsRFBIQ==/lib/arm64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:  Traceback (most recent call last):
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:    File "/home/joachim/PycharmProjects/CardReader/.buildozer/android/app/main.py", line 18, in <module>
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:    File "/home/joachim/PycharmProjects/CardReader/.buildozer/android/app/readPunchCard_scipy.py", line 11, in <module>
2022-09-10 10:02:47.113 20380-20414/org.test.cardreader I/python:  ModuleNotFoundError: No module named 'matplotlib'
2022-09-10 10:02:47.113 20380-20414/org.test.cardreader I/python: Python for android ended.
2022-09-10 10:02:47.362 3591-6167/? I/WindowManager: WIN DEATH: Window{bd3f943 u0 org.test.cardreader/org.kivy.android.PythonActivity}
2022-09-10 10:02:47.362 782-782/? I/SurfaceFlinger: id=62 Removed SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0#0 (1/4)
2022-09-10 10:02:47.363 3591-6166/? I/ActivityManager: Process org.test.cardreader (pid 20380) has died: fore TOP (342,1673)
2022-09-10 10:02:47.363 3591-6166/? W/ActivityManager: Force removing ActivityRecord{fe81cbf u0 org.test.cardreader/org.kivy.android.PythonActivity t141}: app died, no saved state
2022-09-10 10:02:47.363 782-782/? I/SurfaceFlinger: id=63 Removed Background for - SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0#0 (0/4)
2022-09-10 10:02:47.364 3591-6167/? I/WindowManager: Destroying surface Surface(name=org.test.cardreader/org.kivy.android.PythonActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2501 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:985 com.android.server.wm.WindowState.removeImmediately:2404 com.android.server.wm.WindowState.removeIfPossible:2612 com.android.server.wm.WindowState.-wrap1:0 com.android.server.wm.WindowState$DeathRecipient.binderDied:3151 android.os.BinderProxy.sendDeathNotice:843 <bottom of call stack> 
2022-09-10 10:02:47.366 782-843/? I/SurfaceFlinger: id=61 Removed org.test.cardreader/org.kivy.android.PythonActivity#0 (1/3)
2022-09-10 10:02:47.367 782-843/? I/SurfaceFlinger: id=61 Removed org.test.cardreader/org.kivy.android.PythonActivity#0 (-2/3)
2022-09-10 10:02:47.372 782-782/? I/Layer: id=61 onRemoved org.test.cardreader/org.kivy.android.PythonActivity#0 
2022-09-10 10:02:47.374 782-782/? I/Layer: id=62 onRemoved SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0#0 
2022-09-10 10:02:47.374 782-782/? I/Layer: id=63 onRemoved Background for - SurfaceView - org.test.cardreader/org.kivy.android.PythonActivity@3524d49@0#0 
2022-09-10 10:02:47.379 782-782/? I/SurfaceFlinger: id=61 Removed org.test.cardreader/org.kivy.android.PythonActivity#0 (-2/3)
2022-09-10 10:02:47.379 782-782/? E/SurfaceFlinger: Failed to find layer (org.test.cardreader/org.kivy.android.PythonActivity#0) in layer parent (no-parent).
2022-09-10 10:02:47.380 3591-6166/? W/MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root activity or app is null, task=TaskRecord{30103bcd0 #141 A=org.test.cardreader U=0 StackId=1 sz=0}, rootActivity=null
2022-09-10 10:02:47.546 5032-5072/? D/ApplicationPackageManager: updateItemMetaDataForFixedIconScale: package: org.test.cardreader
2022-09-10 10:02:47.547 3591-5259/? D/PackageManager: getSelectedMetaData : packageName(org.test.cardreader) or Metadata strings {[Ljava.lang.String;@ddd1208}
2022-09-10 10:02:47.548 5032-5072/? I/ApplicationPackageManager: load=org.test.cardreader, bg=144-144, dr=1536-1536, forDefault=true, density=0
2022-09-10 10:02:47.554 5032-5072/? I/ApplicationPackageManager: load=org.test.cardreader-scale, bg=144-144, dr=216-216
2022-09-10 10:03:16.741 20465-20491/? D/BlockNotificationList:     ComponentInfo{org.test.cardreader/org.kivy.android.PythonActivity}
2022-09-10 10:03:19.078 20465-20491/? D/ApplicationPackageManager: updateItemMetaDataForFixedIconScale: package: org.test.cardreader
2022-09-10 10:03:19.078 3591-5259/? D/PackageManager: getSelectedMetaData : packageName(org.test.cardreader) or Metadata strings {[Ljava.lang.String;@631dd7}
2022-09-10 10:03:19.078 20465-20491/? I/ApplicationPackageManager: load=org.test.cardreader, bg=144-144, dr=1536-1536, forDefault=true, density=0
2022-09-10 10:03:19.080 20465-20491/? I/ApplicationPackageManager: load=org.test.cardreader-scale, bg=144-144, dr=216-216

@misl6
Copy link
Member

misl6 commented Sep 10, 2022

Hi @monojk,

This looks like to be the root cause, E/libEGL: validate_display:171 error 3008 (EGL_BAD_DISPLAY) is not an issue here, and it's unrelated:

2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:  Traceback (most recent call last):
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:    File "/home/joachim/PycharmProjects/CardReader/.buildozer/android/app/main.py", line 18, in <module>
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:    File "/home/joachim/PycharmProjects/CardReader/.buildozer/android/app/readPunchCard_scipy.py", line 11, in <module>
2022-09-10 10:02:47.113 20380-20414/org.test.cardreader I/python:  ModuleNotFoundError: No module named 'matplotlib'
2022-09-10 10:02:47.113 20380-20414/org.test.cardreader I/python: Python for android ended.

Did you added matplotlib to your requirements?

@misl6
Copy link
Member

misl6 commented Sep 10, 2022

Not closing the issue as support, as the original author issue may be different, but @monojk feel free to join us on Discord, as we only use Github for issues or feature requests.

@humanusa
Copy link

Could this be the solution

kivy/kivy#6627 - need to try it.

@humanusa
Copy link

Log if it helps.

2022-09-10 00:33:24.992 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:33:24.992 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:33:31.866 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:33:31.867 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:36:31.165 1863-1886/? E/KernelUidCpuTimeReader: Malformed cpu data for UID=10113!
Time between reads: +3m6s169ms
Previous times: u=+49m30s650ms s=+15m8s610ms
Current times: u=+49m30s590ms s=+15m8s640ms
Delta: u=-60ms s=+30ms
2022-09-10 00:36:31.166 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:36:31.167 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:41:18.169 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:41:18.169 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:46:18.943 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:46:18.943 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:46:20.883 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 00:47:00.670 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:00.671 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:05.722 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:05.722 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:11.992 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:11.993 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:17.108 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:17.108 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:22.799 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:22.800 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:27.877 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:27.878 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:34.769 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:34.770 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:39.983 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:39.984 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:45.061 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:45.062 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:55.658 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:47:55.659 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:49:03.771 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 00:49:04.574 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:49:04.575 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:52:27.648 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:52:27.649 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:55:22.057 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:55:22.057 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:44.461 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:44.461 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:55.981 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:55.982 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:56.987 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:56.987 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:59.064 1863-1886/? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2022-09-10 00:58:59.824 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:59.824 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:59.854 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:58:59.854 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:59:09.383 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:59:09.384 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 00:59:20.695 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:00:20.708 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:01:20.711 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:01:59.812 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:01:59.812 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:02:13.768 10851-22376/? E/ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
2022-09-10 01:02:20.712 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:02:24.719 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:02:24.720 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:03:20.716 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:04:20.718 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:04:58.469 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:04:58.469 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:04:59.079 534-534/? E/QTI PowerHAL: Failed to acquire lock.
2022-09-10 01:04:59.079 534-534/? E/QTI PowerHAL: Error opening /sys/kernel/hbtp/display_pwr: No such file or directory
2022-09-10 01:04:59.194 519-2326/? E/msm8916_platform: platform_set_parameters:mic_ret: -2
2022-09-10 01:04:59.271 2672-2672/? E/LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suitch
2022-09-10 01:04:59.271 2672-2672/? E/LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suilst
2022-09-10 01:05:10.105 8792-22998/? E/memtrack: Couldn't load memtrack module
2022-09-10 01:05:20.720 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:05:47.983 22636-23007/? E/PhFileGroupPop: Failed to add file group
2022-09-10 01:05:47.991 22636-23007/? E/PhFileGroupPop: Failed to add file group
2022-09-10 01:05:48.014 22636-23007/? E/bvfx: RuntimeException while executing runnable bviu{bqth@dcb7a34} with executor MoreExecutors.directExecutor()
java.lang.NullPointerException: Attempt to read from field 'java.lang.String bhgv.b' on a null object reference
at bilc.b(PG:2)
at bqth.b(PG:2)
at bviu.run(PG:7)
at bvhy.execute(PG:1)
at bvfx.o(PG:1)
at bvfx.b(PG:5)
at bvjb.r(PG:2)
at bqvi.l(PG:1)
at bile.a(PG:15)
at agjy.a(PG:2)
at bhmk.m(PG:3)
at bhmk.q(PG:1)
at bhmk.g(PG:2)
at bimf.a(PG:1)
at bqtj.a(PG:2)
at bvkl.a(PG:1)
at bvjo.run(PG:4)
at bvkn.run(PG:1)
at beoe.run(PG:1)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at beni.run(PG:2)
at benp.run(PG:4)
at java.lang.Thread.run(Thread.java:764)
2022-09-10 01:05:48.188 22636-23007/? E/PhFileGroupPop: Failed to add file group
2022-09-10 01:05:48.196 22636-23007/? E/PhFileGroupPop: Failed to add file group
2022-09-10 01:05:48.205 22636-23007/? E/bvfx: RuntimeException while executing runnable bviu{bqth@d34bcaf} with executor MoreExecutors.directExecutor()
java.lang.NullPointerException: Attempt to read from field 'java.lang.String bhgv.b' on a null object reference
at bilc.b(PG:2)
at bqth.b(PG:2)
at bviu.run(PG:7)
at bvhy.execute(PG:1)
at bvfx.o(PG:1)
at bvfx.b(PG:5)
at bvjb.r(PG:2)
at bqvi.l(PG:1)
at bile.a(PG:15)
at agjy.a(PG:2)
at bhmk.m(PG:3)
at bhly.a(Unknown Source:4)
at bqtl.a(PG:2)
at bvgb.d(PG:2)
at bvgd.run(PG:9)
at bvke.run(PG:4)
at beoe.run(PG:1)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at beni.run(PG:2)
at benp.run(PG:4)
at java.lang.Thread.run(Thread.java:764)
2022-09-10 01:06:08.958 6466-23051/? E/memtrack: Couldn't load memtrack module
2022-09-10 01:06:20.724 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:06:45.213 23059-23059/? E/com.whatsapp: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:06:46.979 23143-23143/? E/cebook.service: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:06:47.118 23143-23143/? E/ACRA: Initializing ANR detector for process: com.facebook.services
2022-09-10 01:07:20.726 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:07:59.080 1139-1459/? E/QC-time-services: Receive Passed == base = 12, unit = 1, operation = 0, result = 0
2022-09-10 01:07:59.081 1070-1154/? E/QC-time-services: Daemon: Time-services: Waiting to acceptconnection
2022-09-10 01:07:59.091 1139-1459/? E/QC-time-services: Receive Passed == base = 13, unit = 1, operation = 0, result = 0
2022-09-10 01:07:59.092 1070-1154/? E/QC-time-services: Daemon: Time-services: Waiting to acceptconnection
2022-09-10 01:08:21.428 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:08:48.086 23288-23288/? E/id.defcontaine: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:08:48.127 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:08:48.127 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:08:50.206 1088-1921/? E/: Couldn't opendir /data/app/vmdl2089067920.tmp: No such file or directory
2022-09-10 01:08:50.206 1088-1921/? E/installd: Failed to delete /data/app/vmdl2089067920.tmp: No such file or directory
2022-09-10 01:08:50.320 23309-23309/? E/ndroid.keychai: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:08:50.490 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:08:52.011 1664-22945/? E/droid.launcher: Failed to open APK '/data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk' I/O error
2022-09-10 01:08:52.024 1664-22945/? E/ResourcesManager: failed to add asset path /data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk
2022-09-10 01:08:52.024 1664-22945/? E/droid.launcher: Failed to open APK '/data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk' I/O error
2022-09-10 01:08:52.024 1664-22945/? E/ResourcesManager: failed to add asset path /data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk
2022-09-10 01:08:52.024 1664-22945/? E/droid.launcher: Failed to open APK '/data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk' I/O error
2022-09-10 01:08:52.025 1664-22945/? E/ResourcesManager: failed to add asset path /data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk
2022-09-10 01:08:52.025 1664-22945/? E/droid.launcher: Failed to open APK '/data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk' I/O error
2022-09-10 01:08:52.025 1664-22945/? E/ResourcesManager: failed to add asset path /data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk
2022-09-10 01:08:52.025 1664-22945/? E/droid.launcher: Failed to open APK '/data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk' I/O error
2022-09-10 01:08:52.025 1664-22945/? E/ResourcesManager: failed to add asset path /data/app/org.test.myapp-NiWWq8_L7sVW5NFxrnREaA==/base.apk
2022-09-10 01:08:52.620 23401-23401/? E/com.androirc: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:08:52.848 558-558/? E/rcornerservice: Enable RCorner Service orientation:4
2022-09-10 01:08:52.848 558-558/? E/rcornerservice: setupRCorner(bEnable:1, bInvert:0,orientation:0)
2022-09-10 01:08:52.850 558-558/? E/rcornerservice: setupRCorner: success to lock buffer:0
2022-09-10 01:08:52.850 558-558/? E/rcornerservice: setupRCorner(outBuffer.bits:0x0x7931e77000)
2022-09-10 01:09:05.477 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:09:05.477 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:09:05.502 534-534/? E/QTI PowerHAL: Failed to acquire lock.
2022-09-10 01:09:05.502 534-534/? E/QTI PowerHAL: Error opening /sys/kernel/hbtp/display_pwr: No such file or directory
2022-09-10 01:09:05.506 519-2326/? E/msm8916_platform: platform_set_parameters:mic_ret: -2
2022-09-10 01:09:05.642 535-790/? E/qti_sensors_hal: processInd: prox state =0.000000,7.000000, ts=-29986761
2022-09-10 01:09:05.799 1139-1459/? E/QC-time-services: Receive Passed == base = 12, unit = 1, operation = 0, result = 0
2022-09-10 01:09:05.800 1070-1154/? E/QC-time-services: Daemon: Time-services: Waiting to acceptconnection
2022-09-10 01:09:05.860 1070-1154/? E/QC-time-services: Daemon: Time-services: Waiting to acceptconnection
2022-09-10 01:09:05.860 1139-1459/? E/QC-time-services: Receive Passed == base = 13, unit = 1, operation = 0, result = 0
2022-09-10 01:09:06.494 459-459/? E/SELinux: avc: denied { find } for interface=vendor.qti.hardware.perf::IPerf sid=u:r:hal_fingerprint_default:s0 pid=1125 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:hal_perf_hwservice:s0 tclass=hwservice_manager permissive=0
2022-09-10 01:09:07.470 2672-2672/? E/LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suilst
2022-09-10 01:09:08.253 1990-3423/? E/native: E0000 00:00:1662752348.214767 3423 streaming-decoder.cc:3223] Failed to unload dynamic LM.
2022-09-10 01:09:09.859 23342-23465/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38 in tid 23465 (SDLThread), pid 23342 (org.test.myapp)
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: Build fingerprint: 'asus/WW_X01AD/ASUS_X01A_1:9/WW_Phone-202011271133/16.2018.2011.78-20201127:user/release-keys'
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: Revision: '0'
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: ABI: 'arm64'
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: pid: 23342, tid: 23465, name: SDLThread >>> org.test.myapp <<<
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: Cause: null pointer dereference
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x0 0000007ec4c3c600 x1 0000000000000003 x2 0000000000000000 x3 0000000000000000
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x4 0000000000008cd5 x5 0000007ec2eb1800 x6 0000000000008cd5 x7 0000007ec495b800
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x8 0000000000000040 x9 0000000000000001 x10 0000000000000001 x11 0000000000000000
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x12 0000000000000001 x13 0000007ec2eb1890 x14 00000000000000ff x15 0000007ed4d86ef0
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x16 0000000000000000 x17 0000000000000001 x18 0000000000008814 x19 0000007ec495b800
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x20 0000000000000000 x21 0000000000008be7 x22 0000000000000001 x23 0000000000000000
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x24 0000007ec2eb1890 x25 000000000000003c x26 0000007ec495bb90 x27 0000000000000058
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: x28 0000000000000000 x29 0000007ec53fc750
2022-09-10 01:09:10.058 23498-23498/? A/DEBUG: sp 0000007ec53fc6f0 lr 0000007ed4d60630 pc 0000007ed4d60bd8
2022-09-10 01:09:10.074 23498-23498/? A/DEBUG: backtrace:
2022-09-10 01:09:10.074 23498-23498/? A/DEBUG: #00 pc 000000000037abd8 /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::DrawParamValidate(unsigned int, int, int, int, int)+1704)
2022-09-10 01:09:10.074 23498-23498/? A/DEBUG: #1 pc 000000000013caa4 /vendor/lib64/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+156)
2022-09-10 01:09:10.074 23498-23498/? A/DEBUG: #2 pc 0000000000008988 /data/data/org.test.myapp/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
2022-09-10 01:09:11.194 1123-1123/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_08
2022-09-10 01:09:12.998 23524-23524/? E/ding:backgroun: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:09:14.735 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:16.297 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:16.990 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:20.679 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:20.693 2605-2963/? E/HwDetectorWithState: (REDACTED) a: %d
2022-09-10 01:09:21.433 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:09:24.308 23568-23598/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38 in tid 23598 (SDLThread), pid 23568 (org.test.myapp)
2022-09-10 01:09:24.406 23604-23604/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-09-10 01:09:24.406 23604-23604/? A/DEBUG: Build fingerprint: 'asus/WW_X01AD/ASUS_X01A_1:9/WW_Phone-202011271133/16.2018.2011.78-20201127:user/release-keys'
2022-09-10 01:09:24.406 23604-23604/? A/DEBUG: Revision: '0'
2022-09-10 01:09:24.406 23604-23604/? A/DEBUG: ABI: 'arm64'
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: pid: 23568, tid: 23598, name: SDLThread >>> org.test.myapp <<<
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: Cause: null pointer dereference
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x0 0000007ec6b27600 x1 0000000000000003 x2 0000000000000000 x3 0000000000000000
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x4 0000000000008cd5 x5 0000007ec32f3200 x6 0000000000008cd5 x7 0000007ec4a3ec00
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x8 0000000000000040 x9 0000000000000001 x10 0000000000000001 x11 0000000000000000
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x12 0000000000000001 x13 0000007ec32f3290 x14 00000000000000ff x15 0000007ed4d86ef0
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x16 0000000000000000 x17 0000000000000001 x18 0000000000008814 x19 0000007ec4a3ec00
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x20 0000000000000000 x21 0000000000008be7 x22 0000000000000001 x23 0000000000000000
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x24 0000007ec32f3290 x25 000000000000003c x26 0000007ec4a3ef90 x27 0000000000000058
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: x28 0000000000000000 x29 0000007ec528d750
2022-09-10 01:09:24.407 23604-23604/? A/DEBUG: sp 0000007ec528d6f0 lr 0000007ed4d60630 pc 0000007ed4d60bd8
2022-09-10 01:09:24.414 23604-23604/? A/DEBUG: backtrace:
2022-09-10 01:09:24.414 23604-23604/? A/DEBUG: #00 pc 000000000037abd8 /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::DrawParamValidate(unsigned int, int, int, int, int)+1704)
2022-09-10 01:09:24.414 23604-23604/? A/DEBUG: #1 pc 000000000013caa4 /vendor/lib64/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+156)
2022-09-10 01:09:24.414 23604-23604/? A/DEBUG: #2 pc 0000000000008988 /data/data/org.test.myapp/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
2022-09-10 01:09:24.831 1123-1123/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_09
2022-09-10 01:09:27.039 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:27.084 2605-2960/? E/HwDetectorWithState: (REDACTED) a: %d
2022-09-10 01:09:27.212 10851-23624/? E/ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
2022-09-10 01:09:27.416 1863-1886/? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2022-09-10 01:09:27.431 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:09:27.431 1863-1886/? E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
2022-09-10 01:09:27.461 23628-23628/? E/ackageinstalle: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:09:33.835 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:39.359 1863-7671/? E/ActivityTrigger: activityStartTrigger: not whiteListedorg.test.myapp/org.kivy.android.PythonActivity/10211
2022-09-10 01:09:39.361 1863-7671/? E/ActivityTrigger: activityResumeTrigger: not whiteListedorg.test.myapp/org.kivy.android.PythonActivity/10211
2022-09-10 01:09:39.615 1863-7671/? E/ActivityTrigger: activityResumeTrigger: not whiteListedorg.test.myapp/org.kivy.android.PythonActivity/10211
2022-09-10 01:09:39.616 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:39.627 2605-2960/? E/HwDetectorWithState: (REDACTED) a: %d
2022-09-10 01:09:43.277 23655-23685/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38 in tid 23685 (SDLThread), pid 23655 (org.test.myapp)
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: Build fingerprint: 'asus/WW_X01AD/ASUS_X01A_1:9/WW_Phone-202011271133/16.2018.2011.78-20201127:user/release-keys'
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: Revision: '0'
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: ABI: 'arm64'
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: pid: 23655, tid: 23685, name: SDLThread >>> org.test.myapp <<<
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: Cause: null pointer dereference
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: x0 0000007ec4bd1600 x1 0000000000000003 x2 0000000000000000 x3 0000000000000000
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: x4 0000000000008cd5 x5 0000007ec32e7200 x6 0000000000008cd5 x7 0000007ec4a35c00
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: x8 0000000000000040 x9 0000000000000001 x10 0000000000000001 x11 0000000000000000
2022-09-10 01:09:43.395 23692-23692/? A/DEBUG: x12 0000000000000001 x13 0000007ec32e7290 x14 00000000000000ff x15 0000007ed4d86ef0
2022-09-10 01:09:43.396 23692-23692/? A/DEBUG: x16 0000000000000000 x17 0000000000000001 x18 0000000000008814 x19 0000007ec4a35c00
2022-09-10 01:09:43.396 23692-23692/? A/DEBUG: x20 0000000000000000 x21 0000000000008be7 x22 0000000000000001 x23 0000000000000000
2022-09-10 01:09:43.396 23692-23692/? A/DEBUG: x24 0000007ec32e7290 x25 000000000000003c x26 0000007ec4a35f90 x27 0000000000000058
2022-09-10 01:09:43.396 23692-23692/? A/DEBUG: x28 0000000000000000 x29 0000007ec5294750
2022-09-10 01:09:43.396 23692-23692/? A/DEBUG: sp 0000007ec52946f0 lr 0000007ed4d60630 pc 0000007ed4d60bd8
2022-09-10 01:09:43.412 23692-23692/? A/DEBUG: backtrace:
2022-09-10 01:09:43.412 23692-23692/? A/DEBUG: #00 pc 000000000037abd8 /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::DrawParamValidate(unsigned int, int, int, int, int)+1704)
2022-09-10 01:09:43.412 23692-23692/? A/DEBUG: #1 pc 000000000013caa4 /vendor/lib64/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+156)
2022-09-10 01:09:43.412 23692-23692/? A/DEBUG: #2 pc 0000000000008988 /data/data/org.test.myapp/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
2022-09-10 01:09:43.993 1123-1123/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_00
2022-09-10 01:09:44.039 1863-1945/? E/InputDispatcher: channel '66c7630 org.test.myapp/org.kivy.android.PythonActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2022-09-10 01:09:44.062 1863-10159/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.launcher3/com.android.launcher3.NowLauncher/28
2022-09-10 01:09:48.359 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:49.326 2605-2960/? E/HwDetectorWithState: (REDACTED) a: %d

2022-09-10 01:09:56.469 543-621/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2022-09-10 01:09:56.472 1863-2972/? E/ANDR-PERF-JNI: Iop tryGetService failed
2022-09-10 01:09:56.482 1863-2972/? E/ActivityTrigger: activityStartTrigger: not whiteListedorg.test.myapp/org.kivy.android.PythonActivity/10211
2022-09-10 01:09:56.483 1863-2972/? E/ActivityTrigger: activityResumeTrigger: not whiteListedorg.test.myapp/org.kivy.android.PythonActivity/10211
2022-09-10 01:09:56.487 1863-1879/? E/ActivityTrigger: activityResumeTrigger: not whiteListedorg.test.myapp/org.kivy.android.PythonActivity/10211
2022-09-10 01:09:56.499 2605-2960/? E/HwDetectorWithState: (REDACTED) a: %d
2022-09-10 01:09:59.863 23739-23773/? E/libEGL: validate_display:92 error 3008 (EGL_BAD_DISPLAY)
2022-09-10 01:10:00.107 23739-23773/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38 in tid 23773 (SDLThread), pid 23739 (org.test.myapp)
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: Build fingerprint: 'asus/WW_X01AD/ASUS_X01A_1:9/WW_Phone-202011271133/16.2018.2011.78-20201127:user/release-keys'
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: Revision: '0'
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: ABI: 'arm64'
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: pid: 23739, tid: 23773, name: SDLThread >>> org.test.myapp <<<
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: Cause: null pointer dereference
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x0 0000007ec4aa4600 x1 0000000000000003 x2 0000000000000000 x3 0000000000000000
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x4 0000000000008cd5 x5 0000007ec32de200 x6 0000000000008cd5 x7 0000007ec4a4ac00
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x8 0000000000000040 x9 0000000000000001 x10 0000000000000001 x11 0000000000000000
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x12 0000000000000001 x13 0000007ec32de290 x14 00000000000000ff x15 0000007ed4d86ef0
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x16 0000000000000000 x17 0000000000000001 x18 0000000000008814 x19 0000007ec4a4ac00
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x20 0000000000000000 x21 0000000000008be7 x22 0000000000000001 x23 0000000000000000
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x24 0000007ec32de290 x25 000000000000003c x26 0000007ec4a4af90 x27 0000000000000058
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: x28 0000000000000000 x29 0000007ec528f750
2022-09-10 01:10:00.200 23780-23780/? A/DEBUG: sp 0000007ec528f6f0 lr 0000007ed4d60630 pc 0000007ed4d60bd8
2022-09-10 01:10:00.210 23780-23780/? A/DEBUG: backtrace:
2022-09-10 01:10:00.210 23780-23780/? A/DEBUG: #00 pc 000000000037abd8 /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::DrawParamValidate(unsigned int, int, int, int, int)+1704)
2022-09-10 01:10:00.210 23780-23780/? A/DEBUG: #1 pc 000000000013caa4 /vendor/lib64/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+156)
2022-09-10 01:10:00.210 23780-23780/? A/DEBUG: #2 pc 0000000000008988 /data/data/org.test.myapp/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
2022-09-10 01:10:01.651 1123-1123/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_01
2022-09-10 01:10:01.782 1863-1945/? E/InputDispatcher: channel 'ed5efb0 org.test.myapp/org.kivy.android.PythonActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2022-09-10 01:10:01.814 1863-6576/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.launcher3/com.android.launcher3.NowLauncher/28
2022-09-10 01:10:02.693 23803-23803/? E/_client_proces: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:10:03.122 23817-23817/? E/_client_proces: Not starting debugger since process cannot load the jdwp agent.
2022-09-10 01:10:10.871 8792-23896/? E/memtrack: Couldn't load memtrack module
2022-09-10 01:10:21.434 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2022-09-10 01:11:09.757 6466-24057/? E/memtrack: Couldn't load memtrack module
2022-09-10 01:11:21.437 1098-1141/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0

@monojk
Copy link

monojk commented Sep 11, 2022

Hi @monojk,

This looks like to be the root cause, E/libEGL: validate_display:171 error 3008 (EGL_BAD_DISPLAY) is not an issue here, and it's unrelated:

2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:  Traceback (most recent call last):
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:    File "/home/joachim/PycharmProjects/CardReader/.buildozer/android/app/main.py", line 18, in <module>
2022-09-10 10:02:47.112 20380-20414/org.test.cardreader I/python:    File "/home/joachim/PycharmProjects/CardReader/.buildozer/android/app/readPunchCard_scipy.py", line 11, in <module>
2022-09-10 10:02:47.113 20380-20414/org.test.cardreader I/python:  ModuleNotFoundError: No module named 'matplotlib'
2022-09-10 10:02:47.113 20380-20414/org.test.cardreader I/python: Python for android ended.

Did you added matplotlib to your requirements?

Ah, thanks for the hint.
I got further now, but with a SIGSEGV in matplotlib, and that's most likely not related to this thread, but still a problem for me.

2022-09-11 17:38:18.939 4011-4011/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2022-09-11 17:38:18.939 4011-4011/? A/DEBUG: Cause: null pointer dereference
...
2022-09-11 17:38:18.941 4011-4011/? A/DEBUG: backtrace:
2022-09-11 17:38:18.941 4011-4011/? A/DEBUG:     #00 pc 000000000001ad64  /data/data/org.test.cardreader/files/app/_python_bundle/site-packages/matplotlib/ft2font.so (offset 0x3c000)
2022-09-11 17:38:18.941 4011-4011/? A/DEBUG:     #01 pc 000000000001ad5c  /data/data/org.test.cardreader/files/app/_python_bundle/site-packages/matplotlib/ft2font.so (offset 0x3c000)

@misl6
Copy link
Member

misl6 commented Sep 12, 2022

Hi @monojk !
Can you please open a new issue, with the full log regarding your last error?
(So we can avoid going off-topic here)

@Julian-O
Copy link
Contributor

Closing as can't repo

@Julian-O Julian-O closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants