Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

M8 Crashes on Video Play

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    M8 Crashes on Video Play

    Hi,

    my M8 Box keeps crashing my video player app after several hours of playing some videos in a playlist without any pause (just playing one by one).

    logcat just tells me that my Proccess has died. nothing more. the previous errors are different every crash.

    here are 2 example logs:

    Code:
    I/AmlogicPlayer(  119): media.amplayer.osd2xenable is not setting,use default false
    
    V/AmlogicPlayerDataSouceProtocol(  119): L54
    
    V/AmlogicPlayer(  119): set_cpu_freq_scaling_based_auido failed
    
    V/MediaPlayerService(  119): Client(322) destructor pid = 1859
    
    V/AudioSink(  119): close
    
    V/MediaPlayerService(  119): disconnect(322) from pid 1859
    
    F/Looper  ( 1859): Could not create wake pipe.  errno=24
    
    I/AndroidRuntime( 8984): VM exiting with result code 0, cleanup skipped.
    
    W/InputDispatcher(  517): channel '41e60b58  (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    
    E/InputDispatcher(  517): channel '41e60b58  (server)' ~ Channel is unrecoverably broken and will be disposed!
    
    W/InputDispatcher(  517): Attempted to unregister already unregistered input channel '41e60b58  (server)'
    
    V/AudioFlinger(  119): removeTracks_l removing track on session 212
    
    V/AudioFlinger(  119): remove track (4097) and delete from mixer
    
    V/AudioFlinger(  119): acquireWakeLock_l() AudioOut_8 status 0
    
    I/ActivityManager(  517): Process com.amlogic.SubTitleService (pid 8984) has died.
    
    W/ActivityManager(  517): Scheduling restart of crashed service com.amlogic.SubTitleService/.SubTitleService in 0ms
    
    I/WindowState(  517): WIN DEATH: Window{41e60b58 u0 com.amlogic.SubTitleService}
    
    D/ActivityManager(  517): send app_CRASH broadcast, packageName:com.amlogic.SubTitleService
    
    I/ActivityManager(  517): Start proc com.amlogic.SubTitleService for restart com.amlogic.SubTitleService: pid=9035 uid=1000 gids={41000, 3003, 1028, 1015, 3002, 3001}
    
    W/ContextImpl(  517): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1154 com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3688 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3718 com.android.server.am.ActivityManagerService.appDiedLocked:3856 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1043 
    
    D/IPReset (  826): called
    
    D/dalvikvm(  117): GC_EXPLICIT freed 43K, 2% free 6310K/6392K, paused 1ms+2ms, total 45ms
    
    W/InputDispatcher(  517): channel '41eddd38 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    
    E/InputDispatcher(  517): channel '41eddd38 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    
    D/ActivityManager(  517): send app_CRASH broadcast, packageName:eicin.TemplatePlayer
    
    W/InputDispatcher(  517): Attempted to unregister already unregistered input channel '41eddd38 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity (server)'
    
    I/ActivityManager(  517): Process eicin.TemplatePlayer (pid 1859) has died.
    
    W/ContextImpl(  517): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1154 com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3688 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3718 com.android.server.am.ActivityManagerService.appDiedLocked:3856 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1043 
    
    I/WindowState(  517): WIN DEATH: Window{41eddd38 u0 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity}
    
    W/WindowManager(  517): Force-removing child win Window{4203aef8 u0 SurfaceView} from container Window{41eddd38 u0 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity}
    
    W/ActivityManager(  517): Force removing ActivityRecord{420323c0 u0 eicin.TemplatePlayer/.TemplateActivity t3}: app died, no saved state
    
    D/Zygote  (  117): Process 1859 terminated by signal (6)
    Code:
    I/DEBUG   (  123):     4013916c 1c43e914 d11e4607 f9c4f001 29046801  
    
    I/ActivityManager(  506): Start proc com.amlogic.SubTitleService for service com.amlogic.SubTitleService/.SubTitleService: pid=6579 uid=1000 gids={41000, 3003, 1028, 1015, 3002, 3001}
    
    D/dalvikvm( 6579): GC_CONCURRENT freed 202K, 25% free 704K/936K, paused 1ms+0ms, total 3ms
    
    D/dalvikvm( 6579): GC_CONCURRENT freed 162K, 18% free 928K/1120K, paused 1ms+0ms, total 5ms
    
    D/dalvikvm( 6579): GC_CONCURRENT freed 208K, 18% free 1106K/1348K, paused 2ms+0ms, total 6ms
    
    D/TextLayoutCache( 6579): Using debug level = 0 - Debug Enabled = 0
    
    E/sub_jni ( 6579): ================= JNI_OnLoad ================
    
    I/sub_jni ( 6579): [subtitle_thread:479]starting controler thread!!
    
    I/sub_subtitle( 6579): ----------------------close_subtitle------------------------------
    
    I/sub_pgs ( 6579): init pgs_subtitle info
    
    I/sub_dvb ( 6579): [dvbsub_init_decoder::413] Invalid extradata, subtitle streams may be combined!
    
    I/sub_jni ( 6579): [inter_subtitle_parser]get_subtitle_num():0
    
    I/sub_jni ( 6579): [inter_subtitle_parser]get_subtitle_num():0
    
    I/sub_jni ( 6579): [inter_subtitle_parser]get_subtitle_num():0
    
    E/NativeCrashListener(  506): Exception dealing with report
    
    E/NativeCrashListener(  506): libcore.io.ErrnoException: read failed: EAGAIN (Try again)
    
    E/NativeCrashListener(  506):     at libcore.io.Posix.readBytes(Native Method)
    
    E/NativeCrashListener(  506):     at libcore.io.Posix.read(Posix.java:128)
    
    E/NativeCrashListener(  506):     at libcore.io.BlockGuardOs.read(BlockGuardOs.java:149)
    
    E/NativeCrashListener(  506):     at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240)
    
    E/NativeCrashListener(  506):     at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138)
    
    D/ActivityManager(  506): send app_CRASH broadcast, packageName:eicin.TemplatePlayer
    
    D/Zygote  (  125): Process 1793 terminated by signal (6)
    
    I/ActivityManager(  506): Process eicin.TemplatePlayer (pid 1793) has died.
    
    I/WindowState(  506): WIN DEATH: Window{41a53718 u0 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity}
    
    W/ContextImpl(  506): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1162 com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3689 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3719 com.android.server.am.ActivityManagerService.appDiedLocked:3857 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1043 
    
    W/ActivityManager(  506): Force removing ActivityRecord{419fa268 u0 eicin.TemplatePlayer/.TemplateActivity t4}: app died, no saved state
    
    W/WindowManager(  506): Force-removing child win Window{41a06e68 u0 SurfaceView} from container Window{41a53718 u0 eicin.TemplatePlayer/eicin.TemplatePlayer.TemplateActivity}
    
    E/InputDispatcher(  506): Received spurious receive callback for unknown input channel.  fd=178, events=0x9
    this problem occours on finless rom 1.3beta aswell as on the new 1.7 rom.

    seems to be a hardware bug. i cant see any other reason this will happen.

    have you any ideas?

    #2
    no ideas?

    did no one play videos over hours in a loop?

    Comment


      #3
      Did you tried other apps? Maybe you have memory leak in your app?

      Comment


        #4
        I could not found any memory leaks on my app during a lot of debugging work.
        my rom has no other apps than this, but i will try to install one.

        so none of you guys ever tried to let the m8 run with videos over servall hours?

        Comment


          #5
          Originally posted by feh View Post
          I could not found any memory leaks on my app during a lot of debugging work.
          my rom has no other apps than this, but i will try to install one.

          so none of you guys ever tried to let the m8 run with videos over servall hours?

          Yes I do run 3-4 hours daily without any problem but using old Lifeforce Rom....

          Comment


            #6
            im afraid its not about playing 3-4 hours but 10-15 hours sometimes it lasts even 24 hours before it crashes.

            Comment


              #7
              Originally posted by feh View Post
              im afraid its not about playing 3-4 hours but 10-15 hours sometimes it lasts even 24 hours before it crashes.
              Ok got it you are doing extreme Crash test cos in real life who plays 15hours non stop

              Comment


                #8
                Well..

                Perhaps.. you should at a time-out between vids, giving xbmc time to emty the cache...ect

                But,
                I think you are better off.. buying a cheap videoplayer..
                -i donated a bunch of these.. to the public musea

                And as test a androidbox with trackball... to run a website.. nijntje/miffy where kids can play games..

                Anyway.. just my 2cents

                Comment

                Working...
                X