Giter VIP home page Giter VIP logo

Comments (10)

wang-bin avatar wang-bin commented on May 30, 2024

Crash in ffmpeg. Not sure the reason now.

from fvp.

wang-bin avatar wang-bin commented on May 30, 2024

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

from fvp.

lKinderBueno avatar lKinderBueno commented on May 30, 2024

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

from fvp.

wang-bin avatar wang-bin commented on May 30, 2024

The error is different in this log. What about changing this line to

      final Number h = call.argument("player");
      final long handle = h.longValue();

from fvp.

lKinderBueno avatar lKinderBueno commented on May 30, 2024

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.

log.txt

from fvp.

wang-bin avatar wang-bin commented on May 30, 2024

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

from fvp.

lKinderBueno avatar lKinderBueno commented on May 30, 2024

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.

log.txt

from fvp.

wang-bin avatar wang-bin commented on May 30, 2024

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}');
  });

from fvp.

wang-bin avatar wang-bin commented on May 30, 2024

Should be fixed in this build https://github.com/wang-bin/mdk-sdk/actions/runs/6525513489

from fvp.

lKinderBueno avatar lKinderBueno commented on May 30, 2024

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

from fvp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.