vijai1996 / screenrecorder

NOTICE: This repository has moved to gitlab
https://gitlab.com/vijai/screenrecorder
GNU Affero General Public License v3.0
123 stars 49 forks source link

[Bug] Unfortunately, System UI has stopped #36

Closed Kristinita closed 6 years ago

Kristinita commented 6 years ago

1. Briefly

If I record screen video use:

2. Steps to reproduce

I record my screen, see example:

I can successful, without bugs, record screen video, use proprietary apps. For example, see my Screencast video:

3. Hardware and software

If I can add logs or other debugging information, please, tell me.

Thanks.

vijai1996 commented 6 years ago

Hello, yes. Logs will help me to debug. Please add log if possible. Thanks

Kristinita commented 6 years ago

Hello, yes. Logs will help me to debug. Please add log if possible. Thanks

I'm sorry, where I can find ScreenCam logs folder?

Thanks.

Kristinita commented 6 years ago

@vijai1996 , I can get no stack trace, use adb.

C:\System Volume Information>adb logcat -s com.orpheusdroid.screenrecorder
--------- beginning of system
--------- beginning of main
C:\System Volume Information>adb logcat -s com.android.systemui
--------- beginning of system
--------- beginning of main

What should I do, that add more debugging information?

Thanks.

webhat commented 6 years ago

I have the same issue, Trebuchet, Settings, PackageInstaller and other System tools keep crashing. Sadly I couldn't get logs as the system became too unstable.

vijai1996 commented 6 years ago

@Kristinita sorry for the late response. Unfortunately I cannot help without any log and you can filter out the error log alone for the app using adb logcat SCREENRECORDER_LOG:E *:S

@webhat That seems like a bad rom flash to me since you say many system apps are crashing. Please check your rom

webhat commented 6 years ago

@vijai1996 removing screencam solved it

vijai1996 commented 6 years ago

@webhat I'm sure screencam was not the issue as it cannot cause the mentioned apps to crash

webhat commented 6 years ago

@vijai1996 For "fun" I installed it again, as soon as it was installed F-Droid, AFWall+, Themes Provider and Trebuchet crashed. Literally the f-droid dialog box appeared to say it was installed and the next moment I was getting: Unfortunately, service has stopped

I'm not so sure that it has nothing to do with it.

vijai1996 commented 6 years ago

@webhat that only shows screencam is not the issue. Since screencam was not even running at the moment

webhat commented 6 years ago

@vijai1996 ok

webhat commented 6 years ago

You might want tot read this: https://gitlab.com/fdroid/fdroiddata/issues/979

vijai1996 commented 6 years ago

To my understanding this seems to be fdroid/lineage bug. Can you try installing app from the github release or from play store? In the mean time, I'll also push a test app with aapt2 disabled to test

webhat commented 6 years ago

After the reinstall to test this bug exists my phone has become to unstable, I'll be resetting and reloading the rom if I don't find a way to remove it today.

You're welcome 😎

vijai1996 commented 6 years ago

Well, the issue on gitlab says, you can reboot to safe mode and uninstall the apps which cause the system to crash because of non-standard resource management and restart to normal mode to boot successfully. In the mean time, if you are ready to test out few test builds I'd be uploading a couple of APKs here to test.

webhat commented 6 years ago

Thanks, forgot about safe-mode. 😌

I don't have ga apps, but if you give me links to apks I can install them and test.

vijai1996 commented 6 years ago

I'm attaching the test apps here. Please note that this is built from local repository and may be not stable as is. It is provided just to test if the system crash is solved.

Test this first. This is built using api27 using aapt2. ScreenCam api27 test build with aapt2 enabled

If it fails, try this. This has aapt2 disabled. ScreenCam api27 test build with aapt2 disabled

webhat commented 6 years ago

Both work without crashes

vijai1996 commented 6 years ago

@webhat Will push the fix today then. Thanks for testing

vijai1996 commented 6 years ago

Pushed the fix. Let's now wait for f-droid to pick the change and build the app