Closed lKinderBueno closed 8 months ago
Crash in ffmpeg. Not sure the reason now.
The backtrace is not complete, i need the full backtrace. If you are running in android studio, disable log filter(default is displaying current app's log), then you will see full backtrace. Or you can run command line
logcat -c # clear log before app run
logcat
Sorry for the long wait, but I did not have access to the device till today. Here is the full log. The package name is "com.example.test" log.txt
The error is different in this log. What about changing this line to
final Number h = call.argument("player");
final long handle = h.longValue();
The error is different in this log. What about changing this line to
final Number h = call.argument("player"); final long handle = h.longValue();
The logo I posted before was from another firestick model, the 4k one. The first log was from the first firestick gen. I changed, but it crashes.
Launching lib\main.dart on AFTMM in debug mode... Running Gradle task 'assembleDebug'... √ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app-debug.apk... Debug service listening on ws://127.0.0.1:54475/ZeoG5oR9qXc=/ws Syncing files to device AFTMM... W/libOpenSLES(10254): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) W/libOpenSLES(10254): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) W/mdk.adec1@20525(10254): type=1400 audit(0.0:1237): avc: denied { read } for name="u:object_r:dolby_prop:s0" dev="tmpfs" ino=12426 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:dolby_prop:s0 tclass=file permissive=0 I/libOpenSLES(10254): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) E/libc (10254): Access denied finding property "dolby.dma.minbufcnt" W/libOpenSLES(10254): Leaving PlaybackRate::GetRateRange (SL_RESULT_PARAMETER_INVALID) W/VideoCapabilities(10254): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities(10254): Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities(10254): Unrecognized profile/level 32768/64 for video/mp4v-es E/libEGL (10254): validate_display:99 error 3008 (EGL_BAD_DISPLAY) W/VideoCapabilities(10254): Unsupported mime video/dolby-vision W/VideoCapabilities(10254): Unsupported mime video/dolby-vision W/VideoCapabilities(10254): Unsupported mime video/dolby-vision E/libEGL (10254): validate_display:99 error 3008 (EGL_BAD_DISPLAY) W/VideoCapabilities(10254): Unsupported mime video/dolby-vision W/VideoCapabilities(10254): Unsupported mime video/dolby-vision W/VideoCapabilities(10254): Unsupported mime video/dolby-vision W/VideoCapabilities(10254): Unrecognized profile/level 0/0 for video/mpeg2 W/VideoCapabilities(10254): Unrecognized profile/level 0/2 for video/mpeg2 W/VideoCapabilities(10254): Unrecognized profile/level 0/3 for video/mpeg2 I/VideoCapabilities(10254): Unsupported profile 4 for video/mp4v-es I/OMXClient(10254): MuxOMX ctor F/libc (10254): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10404 (Thread-4) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'Amazon/mantis/mantis:6.0/NS6298/4760N:user/amz-p,release-keys' Revision: '0' ABI: 'arm' pid: 10254, tid: 10404, oom: 0, name: Thread-4 >>> com.example.test <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 r0 00000000 r1 00000000 r2 7fffffff r3 00000000 r4 8528a1f8 r5 00000000 r6 7a67a400 r7 7a67a4a8 r8 00000000 r9 85004bf8 sl 86fa1e40 fp 85004b80 ip 7a67a2f8 sp 7a67a3d8 lr ac7daa81 pc 8522b6cc cpsr 600f0030 backtrace: #00 pc 000c26cc /data/app/com.example.test-1/lib/arm/libmdk.so #01 pc 0007e971 /data/app/com.example.test-1/lib/arm/libmdk.so #02 pc 0007be09 /data/app/com.example.test-1/lib/arm/libmdk.so #03 pc 00046f83 /system/lib/libc.so (_ZL15__pthread_startPv+22) #04 pc 00019d0d /system/lib/libc.so (__start_thread+6) Lost connection to device.
The debug symbol is missing in previous build, so i can't see the crash line number. please use the latest sdk and try again https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z/download
These are the logs using the latest sdk:
Launching lib\main.dart on AFTMM in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Debug service listening on ws://127.0.0.1:60678/Y78YUsuQe-E=/ws
Syncing files to device AFTMM...
W/libOpenSLES( 1554): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
W/libOpenSLES( 1554): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
W/VideoCapabilities( 1554): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities( 1554): Unrecognized profile/level 32768/2 for video/mp4v-es
W/VideoCapabilities( 1554): Unrecognized profile/level 32768/64 for video/mp4v-es
E/libEGL ( 1554): validate_display:99 error 3008 (EGL_BAD_DISPLAY)
E/libEGL ( 1554): validate_display:99 error 3008 (EGL_BAD_DISPLAY)
I/libOpenSLES( 1554): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
E/libc ( 1554): Access denied finding property "dolby.dma.minbufcnt"
W/libOpenSLES( 1554): Leaving PlaybackRate::GetRateRange (SL_RESULT_PARAMETER_INVALID)
W/mdk.adec1@20599( 1554): type=1400 audit(0.0:1255): avc: denied { read } for name="u:object_r:dolby_prop:s0" dev="tmpfs" ino=12426 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:dolby_prop:s0 tclass=file permissive=0
W/VideoCapabilities( 1554): Unsupported mime video/dolby-vision
W/VideoCapabilities( 1554): Unsupported mime video/dolby-vision
W/VideoCapabilities( 1554): Unsupported mime video/dolby-vision
W/VideoCapabilities( 1554): Unsupported mime video/dolby-vision
W/VideoCapabilities( 1554): Unsupported mime video/dolby-vision
W/VideoCapabilities( 1554): Unsupported mime video/dolby-vision
W/VideoCapabilities( 1554): Unrecognized profile/level 0/0 for video/mpeg2
W/VideoCapabilities( 1554): Unrecognized profile/level 0/2 for video/mpeg2
W/VideoCapabilities( 1554): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities( 1554): Unsupported profile 4 for video/mp4v-es
I/OMXClient( 1554): MuxOMX ctor
F/libc ( 1554): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1626 (Thread-4)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Amazon/mantis/mantis:6.0/NS6298/4760N:user/amz-p,release-keys'
Revision: '0'
ABI: 'arm'
pid: 1554, tid: 1626, oom: 0, name: Thread-4 >>> com.example.test <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
r0 00000000 r1 00000000 r2 7fffffff r3 00000000
r4 8558a948 r5 00000000 r6 7ad7f3f8 r7 7ad7f4a0
r8 00000000 r9 7cffb478 sl 7bbfb000 fp 7cffb400
ip 7ad7f2f0 sp 7ad7f3d0 lr ac7daa81 pc 8552be2c cpsr 600f0030
backtrace:
#00 pc 000c2e2c /data/app/com.example.test-1/lib/arm/libmdk.so
#01 pc 0007eb25 /data/app/com.example.test-1/lib/arm/libmdk.so
#02 pc 0007be1d /data/app/com.example.test-1/lib/arm/libmdk.so
#03 pc 00046f83 /system/lib/libc.so (_ZL15__pthread_startPv+22)
#04 pc 00019d0d /system/lib/libc.so (__start_thread+6)
Lost connection to device.
I can see the line number, but seems wrong. btw, did you enable logging? I can't see any log from fvp
Add
import 'package:logging/logging.dart';
import 'package:intl/intl.dart';
add the following lines before registerWith()
Logger.root.level = Level.ALL;
Logger.root.onRecord.listen((record) {
print('${record.loggerName}: ${record.message}');
});
Should be fixed in this build https://github.com/wang-bin/mdk-sdk/actions/runs/6525513489
Sorry, I created a new project and I forgot to add the logs. I just test the new build and it is working. Thank you very much
Describe the bug Once the app is compiled, it crashes on the Amazon Firestick.
It has been reported by other users that the same app crashes on specific devices as Chromecast 4k TV and other Amazon and Nvidia devices. I was able to run it on smartphones and more and less performant android tv boxes.
Log