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

libc: Fatal signal 11 (SIGSEGV) (code=1) crash #92

Closed
huyduongtu opened this issue Dec 25, 2013 · 4 comments
Closed

libc: Fatal signal 11 (SIGSEGV) (code=1) crash #92

huyduongtu opened this issue Dec 25, 2013 · 4 comments
Labels

Comments

@huyduongtu
Copy link

I'm using VitamioBundle 4.0.1, but I tried all of version of VitamioBundle. It always causes this issue.

My scenarios is start VideoPlayerActivity using VitamioBundle to watch video. From the list related videos in this activity, I start the second VideoPlayerActivity to watch the second Video. It's ok. But when I press Back to watch the first video, But It destroyed the first VideoPlayerActivity and return to the previous activity. So I can't watch the first Video again. Here is my Logcat:

12-25 15:01:59.177: E/MainMenuActivity(17968): onPause()
12-25 15:01:59.197: E/VideoPlayerActivity(17968): onCreate
12-25 15:01:59.307: E/VideoPlayerActivity(17968): onStart
12-25 15:01:59.307: E/Audio focus(17968): 1
12-25 15:01:59.307: E/VideoPlayerActivity(17968): onResume
12-25 15:01:59.587: E/VitamioVideoView(17968): surfaceCreated 0_0
12-25 15:01:59.607: E/VitamioVideoView(17968): surfaceDestroyed 0_0
12-25 15:01:59.607: E/VitamioVideoView(17968): release 0_0
12-25 15:01:59.607: E/VitamioVideoView(17968): end release 0_0
12-25 15:01:59.607: E/VitamioVideoView(17968): surfaceCreated 0_0
12-25 15:01:59.607: E/VitamioVideoView(17968): surfaceChanged 0_0
12-25 15:01:59.607: E/VitamioVideoView(17968): surfaceChanged 0_0
12-25 15:01:59.617: W/ResourceType(17968): Failure getting entry for 0x7f08001d (t=7 e=29) in package 0 (error -75)
12-25 15:02:00.578: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 8, Vitamio Library version: 8
12-25 15:02:00.578: E/VitamioVideoView(17968): PLAY http://tv6.cache24.vcdn.vn/streaming/5f189ca6ea65a24ad21ffb39c1824a7a/52ba9100/2013/1224/cb/15e6eabb6533e4647572104558838c70.mp4?format=f360&device=ios
12-25 15:02:00.578: E/VitamioVideoView(17968): release 0_0
12-25 15:02:00.578: E/VitamioVideoView(17968): end release 0_0
12-25 15:02:00.578: I/VitamioPlayer: LIB ROOT: /data/data/com.vng.zingtv/libs/
12-25 15:02:00.578: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:00.578: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:00.578: I/VitamioPlayer: LOAD FFMPEG START: /data/data/com.vng.zingtv/libs/libffmpeg.so
12-25 15:02:00.578: I/VitamioPlayer: LOAD FFMPEG END: /data/data/com.vng.zingtv/libs/libffmpeg.so
12-25 15:02:00.588: I/VitamioPlayer: LOAD VVO START: /data/data/com.vng.zingtv/libs/libvvo.9.so
12-25 15:02:00.588: E/VitamioPlayer: FIND_NAME_SYM vvo, render_yuv
12-25 15:02:00.588: I/VitamioPlayer: LOAD VVO END: /data/data/com.vng.zingtv/libs/libvvo.9.so
12-25 15:02:00.588: I/VitamioPlayer: LOAD VAO START: /data/data/com.vng.zingtv/libs/libvao.0.so
12-25 15:02:00.588: I/VitamioPlayer: LOAD VAO END: /data/data/com.vng.zingtv/libs/libvao.0.so
12-25 15:02:00.588: I/VitamioPlayer: VPLAYER INIT BEGIN
12-25 15:02:00.588: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:00.588: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:00.588: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:00.598: I/VitamioPlayer: VPLAYER INIT END
12-25 15:02:00.598: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:00.598: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:00.598: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:00.598: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:00.598: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:00.598: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:00.608: I/VitamioPlayer: PREPARE SIG: 0
12-25 15:02:00.608: E/VitamioVideoView(17968): end openVideo 1_0
12-25 15:02:00.618: I/VitamioPlayer: THREAD PREPARE START
12-25 15:02:00.618: I/VitamioPlayer: THREAD PREPARE ATTACHED
12-25 15:02:00.618: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:00.618: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:00.618: I/VitamioPlayer: OPEN FILE http://tv6.cache24.vcdn.vn/streaming/5f189ca6ea65a24ad21ffb39c1824a7a/52ba9100/2013/1224/cb/15e6eabb6533e4647572104558838c70.mp4?format=f360&device=ios
12-25 15:02:03.531: I/VitamioPlayer: METADATA: isom512isomiso2avc1mp41Lavf54.49.101
12-25 15:02:03.531: I/VitamioPlayer: META AUDIO: 1. und. SoundHandler, META SUBTITLE:
12-25 15:02:03.531: I/VitamioPlayer: WOW: BRILLIANT C COUNT 2
12-25 15:02:03.541: I/VitamioPlayer: OPEN STREAM AUDIO BEGIN
12-25 15:02:03.541: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:03.541: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:03.541: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:03.541: I/VitamioPlayer: 2, 48000, 0
12-25 15:02:03.571: I/VitamioPlayer: OPEN STREAM AUDIO END
12-25 15:02:03.581: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:03.581: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:03.581: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:03.581: I/VitamioPlayer: WOW: BRILLIANT C COUNT 2
12-25 15:02:03.581: I/VitamioPlayer: OPEN STREAM VIDEO BEGIN
12-25 15:02:03.581: I/VitamioPlayer: OPEN STREAM VIDEO END
12-25 15:02:03.581: I/VitamioPlayer: THREAD PREPARE DETTACHED
12-25 15:02:03.581: I/VitamioPlayer: THREAD PREPARE END
12-25 15:02:03.581: I/VitamioPlayer: THREAD ANALYTICS START
12-25 15:02:03.581: I/VitamioPlayer: CC: ARMYUV420 0
12-25 15:02:03.621: I/VitamioPlayer: Info (701, 0)
12-25 15:02:03.631: I/VitamioPlayer: Info (901, 0)
12-25 15:02:03.822: E/VitamioVideoView(17968): surfaceChanged 2_3
12-25 15:02:03.952: I/VitamioPlayer: Info (702, 0)
12-25 15:02:04.642: E/VideoPlayerActivity(17968): onPause()
12-25 15:02:04.662: E/VideoPlayerActivity(17968): onCreate
12-25 15:02:04.712: E/VideoPlayerActivity(17968): onStart
12-25 15:02:04.712: E/Audio focus(17968): 1
12-25 15:02:04.712: E/VideoPlayerActivity(17968): onResume
12-25 15:02:04.732: E/VideoInfo(17968): onCreate
12-25 15:02:04.732: E/VideoInfo(17968): onCreateView
12-25 15:02:04.783: E/VideoInfo(17968): onStart
12-25 15:02:04.883: I/VitamioPlayer: THREAD ANALYTICS END
12-25 15:02:05.113: E/VitamioVideoView(17968): surfaceCreated 0_0
12-25 15:02:05.133: E/VitamioVideoView(17968): surfaceDestroyed 0_0
12-25 15:02:05.133: E/VitamioVideoView(17968): release 0_0
12-25 15:02:05.133: E/VitamioVideoView(17968): end release 0_0
12-25 15:02:05.133: E/VitamioVideoView(17968): surfaceCreated 0_0
12-25 15:02:05.143: E/VitamioVideoView(17968): surfaceChanged 0_0
12-25 15:02:05.143: E/VitamioVideoView(17968): surfaceChanged 0_0
12-25 15:02:05.183: W/ResourceType(17968): Failure getting entry for 0x7f08001d (t=7 e=29) in package 0 (error -75)
12-25 15:02:05.373: E/VitamioVideoView(17968): surfaceDestroyed 3_3
12-25 15:02:05.373: E/VitamioVideoView(17968): release 3_3
12-25 15:02:05.373: I/VitamioPlayer: FILE CLOSE BEGIN
12-25 15:02:05.373: I/VitamioPlayer: CLOSE STREAM AUDIO BEGIN
12-25 15:02:05.403: I/VitamioPlayer: CLOSE STREAM AUDIO END
12-25 15:02:05.403: I/VitamioPlayer: CLOSE STREAM VIDEO BEGIN
12-25 15:02:05.403: I/VitamioPlayer: CLOSE STREAM VIDEO END
12-25 15:02:05.413: I/VitamioPlayer: CLOSE AVFORMAT BEGIN
12-25 15:02:05.413: I/VitamioPlayer: CLOSE AVFORMAT END
12-25 15:02:05.413: I/VitamioPlayer: FREE VIDEOPIC BEGIN
12-25 15:02:05.413: I/VitamioPlayer: FREE VIDEOPIC 2 END
12-25 15:02:05.413: I/VitamioPlayer: FREE SUBPIC BEGIN
12-25 15:02:05.413: I/VitamioPlayer: FREE SUBPIC 1 END
12-25 15:02:05.413: I/VitamioPlayer: FREE AUDIOFRAME BEGIN
12-25 15:02:05.413: I/VitamioPlayer: FREE AUDIOFRAME 8 END
12-25 15:02:05.413: I/VitamioPlayer: DELETE GLOBAL REF BEGIN
12-25 15:02:05.413: I/VitamioPlayer: DELETE GLOBAL REF END
12-25 15:02:05.413: I/VitamioPlayer: FILE CLOSE END
12-25 15:02:05.413: I/VitamioPlayer: VPLAYER RELEASE BEGIN
12-25 15:02:05.413: I/VitamioPlayer: VPLAYER RELEASE END
12-25 15:02:05.413: E/VitamioVideoView(17968): end release 0_0
12-25 15:02:05.583: E/VideoPlayerActivity(17968): onStop
12-25 15:02:05.683: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 8, Vitamio Library version: 8
12-25 15:02:05.683: E/VitamioVideoView(17968): PLAY http://tv6.cache24.vcdn.vn/streaming/b14de4ee371248a6a7f5bb08654e6b2b/52ba9105/2013/1211/dd/0860004eb6d6d03295f2410dfd8abfeb.mp4?format=f360&device=ios
12-25 15:02:05.694: E/VitamioVideoView(17968): release 0_0
12-25 15:02:05.694: E/VitamioVideoView(17968): end release 0_0
12-25 15:02:05.694: I/VitamioPlayer: VPLAYER INIT BEGIN
12-25 15:02:05.694: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:05.694: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:05.694: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:05.694: I/VitamioPlayer: VPLAYER INIT END
12-25 15:02:05.694: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:05.694: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:05.694: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:05.694: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:05.694: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:05.694: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:05.694: I/VitamioPlayer: PREPARE SIG: 0
12-25 15:02:05.694: E/VitamioVideoView(17968): end openVideo 1_0
12-25 15:02:05.714: I/VitamioPlayer: THREAD PREPARE START
12-25 15:02:05.714: I/VitamioPlayer: THREAD PREPARE ATTACHED
12-25 15:02:05.714: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:05.714: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:05.714: I/VitamioPlayer: OPEN FILE http://tv6.cache24.vcdn.vn/streaming/b14de4ee371248a6a7f5bb08654e6b2b/52ba9105/2013/1211/dd/0860004eb6d6d03295f2410dfd8abfeb.mp4?format=f360&device=ios
12-25 15:02:07.135: I/VitamioPlayer: METADATA: isom512isomiso2avc1mp41Lavf54.49.101
12-25 15:02:07.135: I/VitamioPlayer: META AUDIO: 1. und. SoundHandler, META SUBTITLE:
12-25 15:02:07.135: I/VitamioPlayer: WOW: BRILLIANT C COUNT 2
12-25 15:02:07.145: I/VitamioPlayer: OPEN STREAM AUDIO BEGIN
12-25 15:02:07.145: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:07.145: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:07.155: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:07.155: I/VitamioPlayer: 2, 48000, 0
12-25 15:02:07.175: I/VitamioPlayer: OPEN STREAM AUDIO END
12-25 15:02:07.175: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:07.175: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:07.175: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:07.175: I/VitamioPlayer: WOW: BRILLIANT C COUNT 2
12-25 15:02:07.175: I/VitamioPlayer: OPEN STREAM VIDEO BEGIN
12-25 15:02:07.185: I/VitamioPlayer: OPEN STREAM VIDEO END
12-25 15:02:07.185: I/VitamioPlayer: THREAD PREPARE DETTACHED
12-25 15:02:07.185: I/VitamioPlayer: THREAD PREPARE END
12-25 15:02:07.185: I/VitamioPlayer: CC: ARMYUV420 0
12-25 15:02:07.185: I/VitamioPlayer: THREAD ANALYTICS START
12-25 15:02:07.195: I/VitamioPlayer: Info (701, 0)
12-25 15:02:07.205: I/VitamioPlayer: Info (901, 0)
12-25 15:02:07.365: E/VitamioVideoView(17968): surfaceChanged 2_3
12-25 15:02:07.525: I/VitamioPlayer: Info (702, 0)
12-25 15:02:08.507: E/VideoPlayerActivity(17968): onPause()
12-25 15:02:08.517: E/VideoPlayerActivity(17968): onStart
12-25 15:02:08.517: E/Audio focus(17968): 1
12-25 15:02:08.517: E/VideoPlayerActivity(17968): onResume
12-25 15:02:08.527: E/VitamioVideoView(17968): surfaceCreated 0_0
12-25 15:02:08.527: E/VitamioVideoView(17968): release 0_0
12-25 15:02:08.527: E/VitamioVideoView(17968): end release 0_0
12-25 15:02:08.527: I/VitamioPlayer: VPLAYER INIT BEGIN
12-25 15:02:08.527: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:08.527: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:08.527: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:08.527: I/VitamioPlayer: VPLAYER INIT END
12-25 15:02:08.527: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:08.527: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:08.527: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:08.527: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:08.527: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:08.527: I/VitamioPlayer: Application package name: com.vng.zingtv
12-25 15:02:08.527: I/VitamioPlayer: PREPARE SIG: 0
12-25 15:02:08.537: E/VitamioVideoView(17968): end openVideo 1_0
12-25 15:02:08.537: E/VitamioVideoView(17968): surfaceChanged 1_0
12-25 15:02:08.537: I/VitamioPlayer: THREAD PREPARE START
12-25 15:02:08.537: I/VitamioPlayer: THREAD PREPARE ATTACHED
12-25 15:02:08.537: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com).
12-25 15:02:08.537: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
12-25 15:02:08.537: I/VitamioPlayer: OPEN FILE http://tv6.cache24.vcdn.vn/streaming/5f189ca6ea65a24ad21ffb39c1824a7a/52ba9100/2013/1224/cb/15e6eabb6533e4647572104558838c70.mp4?format=f360&device=ios
12-25 15:02:08.607: I/VitamioPlayer: THREAD ANALYTICS END
12-25 15:02:08.647: E/VitamioVideoView(17968): surfaceDestroyed 3_3
12-25 15:02:08.647: E/VitamioVideoView(17968): release 3_3
12-25 15:02:08.647: I/VitamioPlayer: PREPARE HANDLER 12
12-25 15:02:08.647: I/VitamioPlayer: THREAD PREPARE DETTACHED
12-25 15:02:08.647: I/VitamioPlayer: FILE CLOSE BEGIN
12-25 15:02:08.647: I/VitamioPlayer: FREE VIDEOPIC BEGIN
12-25 15:02:08.647: I/VitamioPlayer: FREE VIDEOPIC 2 END
12-25 15:02:08.647: I/VitamioPlayer: FREE SUBPIC BEGIN
12-25 15:02:08.647: I/VitamioPlayer: FREE SUBPIC 1 END
12-25 15:02:08.647: I/VitamioPlayer: FREE AUDIOFRAME BEGIN
12-25 15:02:08.647: I/VitamioPlayer: FREE AUDIOFRAME 8 END
12-25 15:02:08.647: I/VitamioPlayer: DELETE GLOBAL REF BEGIN
12-25 15:02:08.647: I/VitamioPlayer: DELETE GLOBAL REF END
12-25 15:02:08.647: I/VitamioPlayer: FILE CLOSE END
12-25 15:02:08.647: I/VitamioPlayer: VPLAYER RELEASE BEGIN
12-25 15:02:08.647: I/VitamioPlayer: VPLAYER RELEASE END
12-25 15:02:08.647: E/VitamioVideoView(17968): end release 0_0
12-25 15:02:08.657: A/libc(17968): Fatal signal 11 (SIGSEGV) at 0x00002058 (code=1), thread 18198 (com.vng.zingtv)
12-25 15:02:08.707: E/VideoPlayerActivity(17968): onStop
112-25 15:02:08.707: E/VideoPlayerActivity(17968): onDestroy
12-25 15:02:08.877: E/Trace(18212): error opening trace file: No such file or directory (2)
12-25 15:02:08.947: E/ZingTvApplication(18212): memclass 64
12-25 15:02:08.947: E/CacheManager(18212): usableSpace = 4465856512
12-25 15:02:08.967: W/GAV2(18212): Thread[main,5,main]: Need to call initialize() and be in fallback mode to start dispatch.
12-25 15:02:08.987: E/MainMenuActivity(18212): onCreate()
12-25 15:02:09.077: E/MainMenuActivity(18212): onStart()

Please help me to solve it
Hope to see your answer soon. Thanks

@huyduongtu
Copy link
Author

In VideoViewDemo activity in Vitamio Demo, I created a button to start second VideoViewDemo. When playing video, I press the button to start VideoViewDemo, It causes the same error.

....
Button btn = (Button) findViewById(R.id.btn);
btn.setOnClickListener(new OnClickListener() {

        @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub
            Intent intent = new Intent(VideoViewDemo.this, VideoViewDemo.class);
            startActivity(intent);
        }
    });

....

@huyduongtu
Copy link
Author

I don't know why surfaceCreated() is called twice when start VideoPlayerActivity. Here is my code in VideoView in Vitamio lib

SurfaceHolder.Callback mSHCallback = new SurfaceHolder.Callback()
{
public void surfaceChanged(SurfaceHolder holder, int format, int w, int h)
{
if (BuildConfig.DEBUG)
Log.e(TAG, "surfaceChanged " + mCurrentState + "_" + mTargetState);
mSurfaceWidth = w;
mSurfaceHeight = h;
boolean isValidState = (mTargetState == STATE_PLAYING);
boolean hasValidSize = (mVideoWidth == w && mVideoHeight == h);
if (mMediaPlayer != null && isValidState && hasValidSize)
{
start();
}
}

    public void surfaceCreated(SurfaceHolder holder)
    {
        Log.e(TAG, "surfaceCreated " + mCurrentState + "_" + mTargetState);
        mSurfaceHolder = holder;
        mSurfaceHolder.setFormat(PixelFormat.RGBA_8888);
        openVideo();
    }

    public void surfaceDestroyed(SurfaceHolder holder)
    {
        Log.e(TAG, "surfaceDestroyed " + mCurrentState + "_" + mTargetState);
        synchronized (mDesTroyLock)
        {
            mSurfaceHolder = null;
            if (mVideoController != null)
                mVideoController.hide();
            release(true);
        }
    }
};

private void release(boolean cleartargetstate)
{
    if (BuildConfig.DEBUG)
        Log.e(TAG, "release " + mCurrentState + "_" + mTargetState);
    if (mMediaPlayer != null)
    {
        mMediaPlayer.reset();
        mMediaPlayer.release();
        mMediaPlayer = null;
        mCurrentState = STATE_IDLE;
        if (cleartargetstate)
            mTargetState = STATE_IDLE;
    }
    if (BuildConfig.DEBUG)
        Log.e(TAG, "end release " + mCurrentState + "_" + mTargetState);
}

Here is my logcat:
12-25 17:44:05.786: E/LSVideoView(2777): PLAY rtmp://live.zuni.vcdn.vn/livezunitv/zing_tv
12-25 17:44:05.866: E/LSVideoView(2777): surfaceCreated 0_3
12-25 17:44:05.886: E/LSVideoView(2777): surfaceDestroyed 0_3
12-25 17:44:05.886: E/LSVideoView(2777): release 0_3
12-25 17:44:05.886: E/LSVideoView(2777): end release 0_3
12-25 17:44:05.886: E/LSVideoView(2777): surfaceCreated 0_3
12-25 17:44:05.896: E/LSVideoView(2777): openVideo
12-25 17:44:05.896: E/LSVideoView(2777): release 0_3
12-25 17:44:05.896: E/LSVideoView(2777): end release 0_3
12-25 17:44:05.896: E/LSVideoView(2777): end openVideo 1_3
12-25 17:44:05.896: E/LSVideoView(2777): surfaceChanged 1_3
12-25 17:44:05.896: E/LSVideoView(2777): openVideo
12-25 17:44:05.896: E/LSVideoView(2777): release 1_3
12-25 17:44:05.896: E/LSVideoView(2777): end release 0_3
12-25 17:44:05.906: E/LSVideoView(2777): end openVideo 1_3
12-25 17:44:05.906: E/LSVideoView(2777): surfaceChanged 1_3
12-25 17:46:46.157: E/VitamioPlayer: NATIVE FFMPEG stream_open, can't find codec 0

@huyduongtu
Copy link
Author

I solved it. call release() before sufaceCreated() of VideoView.

@ghost
Copy link

ghost commented Sep 16, 2014

@crossle , @crosslesong -hi, i did not know where to put this so i am putting it here. i get this crash in the log .

Device: Samsung tab3.0 8, android version version 4.4. Please assist. Thanks
And vitamios version is one level older than the current version that is 4.2.1.

Build fingerprint: 'samsung/lt01wifixx/lt01wifi:4.4.2/KOT49H/T310XXUBNE9:user/release-keys'
Revision: '6'
pid: 6534, tid: 6564, name: dtvroryandwendy >>> com.adonnai.godtvroryandwendy <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 65fe801c
r0 00000000 r1 00000000 r2 401b934d r3 00000000
r4 65fe8018 r5 401f6180 r6 40008000 r7 65fe8020
r8 00956660 r9 00001000 sl 00955660 fp 64fa087c
ip 6489cda4 sp 64fa0068 lr 401b937f pc 401b9384 cpsr 20000030
d0 0000000379616c70 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0a4d4f24b0473516 d5 6b7bbbb033b6a758
d6 8c783998b5b10cbd d7 fffff830120eb801
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 4000000000000000
d18 bff0000000000000 d19 3fa5555500000006
d20 be927e4f809a3b1e d21 bf56c16c16bb400e
d22 3e21ee9ebdb33cbd d23 3ff0000000000000
d24 3fefffffff111278 d25 3e1dddb100000000
d26 3c685962a0000000 d27 3c6982b5f78206d9
d28 3fefffffff111278 d29 3fd49d9000000000
d30 0000000000000000 d31 0000000000000000
scr 68000013

backtrace:
#00 pc 00011384 /system/lib/libc.so (dlfree+55)
#1 pc 0000dd33 /system/lib/libc.so (free+10)
#2 pc 00154de9 /data/data/com.adonnai.godtvroryandwendy/libs/libffmpeg.so (av_freep+8)

code around pc:
401b9364 d406079b 54dcf8df 692e447d d20742b4
401b9374 f500e236 f7fd70e0 2800eac4 bdf8d0f2
401b9384 1c04f857 0003f001 f0002801 f0218229
401b9394 07c90207 0302eb04 80b1f100 1c08f857
401b93a4 b9701a64 46203110 4631188e e944f00f
401b93b4 f0402800 f8d5821e 1b8201b0 21b0f8c5
401b93c4 42b4e217 f0c0440a 6968820b f0004284
401b93d4 08cf808c d8272f1f eb0568a0 f10505c7
401b93e4 68e10c28 d0064560 f0c042b0 68c5820e
401b93f4 f04042a5 4281820a f8dfd10a 2501044c
401b9404 fa054478 6801f707 0507ea21 e0766005
401b9414 d0064561 f0c042b1 688d81fc f04042a5
401b9424 60c181f8 e06a6088 69a068e1 d00e42a1
401b9434 42b568a5 68eed307 f00042a6 e00281ed
401b9444 608d60e9 f8dfe01c 44780404 6961e1df
401b9454 0514f104 6921b939 0510f104 e00fb919

code around lr:
401b935c 447804e8 31bcf8d0 d406079b 54dcf8df
401b936c 692e447d d20742b4 f500e236 f7fd70e0
401b937c 2800eac4 bdf8d0f2 1c04f857 0003f001
401b938c f0002801 f0218229 07c90207 0302eb04
401b939c 80b1f100 1c08f857 b9701a64 46203110
401b93ac 4631188e e944f00f f0402800 f8d5821e
401b93bc 1b8201b0 21b0f8c5 42b4e217 f0c0440a
401b93cc 6968820b f0004284 08cf808c d8272f1f
401b93dc eb0568a0 f10505c7 68e10c28 d0064560
401b93ec f0c042b0 68c5820e f04042a5 4281820a
401b93fc f8dfd10a 2501044c fa054478 6801f707
401b940c 0507ea21 e0766005 d0064561 f0c042b1
401b941c 688d81fc f04042a5 60c181f8 e06a6088
401b942c 69a068e1 d00e42a1 42b568a5 68eed307
401b943c f00042a6 e00281ed 608d60e9 f8dfe01c
401b944c 44780404 6961e1df 0514f104 6921b939

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant