某些Android设备中的致命信号11(SIGSEGV)错误

时间:2017-12-21 05:54:08

标签: android

我正在开发一款安卓游戏,它在我的galaxy j5 prime中正常工作,但是当它在其他设备上测试时,然后在其中一些应用程序自行停止显示下面给出的错误。

有关游戏的信息:它有几个布局,在框架布局内,我使用setvisiblity隐藏和显示布局,其中一个布局有动态添加的surfaceview。它还有Media Player对象用于游戏声音。 当内部具有表面视图的布局可见时,应用程序停止。

我没有收到这样的错误,以及为什么在某些设备中会产生此错误。

Logcat:

12-21 10:34:11.058 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
12-21 10:34:11.058 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
12-21 10:34:11.068 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
12-21 10:34:11.068 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
12-21 10:34:11.068 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
12-21 10:34:11.078 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
12-21 10:34:11.078 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:11.078 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:11.088 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:11.098 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:11.098 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:11.098 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:12.008 9332-9344/com.example.prashant.dodgeballfinal W/MediaPlayer-JNI: MediaPlayer finalized without being released
 12-21 10:34:12.008 9332-9344/com.example.prashant.dodgeballfinal W/MediaPlayer-JNI: MediaPlayer finalized without being released
 12-21 10:34:12.008 9332-9344/com.example.prashant.dodgeballfinal W/MediaPlayer-JNI: MediaPlayer finalized without being released
 12-21 10:34:23.838 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:23.848 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:23.858 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:23.858 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:23.858 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:23.878 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:23.878 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:23.878 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
 12-21 10:34:23.888 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:23.928 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:23.928 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:23.928 9332-9332/com.example.prashant.dodgeballfinal E/MediaPlayer: Should have subtitle controller already set
 12-21 10:34:24.418 9332-9344/com.example.prashant.dodgeballfinal W/MediaPlayer-JNI: MediaPlayer finalized without being released
 12-21 10:34:24.418 9332-9344/com.example.prashant.dodgeballfinal W/MediaPlayer-JNI: MediaPlayer finalized without being released
 12-21 10:34:24.418 9332-9344/com.example.prashant.dodgeballfinal W/MediaPlayer-JNI: MediaPlayer finalized without being released
 12-21 10:34:31.398 9332-9347/com.example.prashant.dodgeballfinal I/art: Background sticky concurrent mark sweep GC freed 46738(3MB) AllocSpace objects, 0(0B) LOS objects, 18% free, 14MB/18MB, paused 951us total 101.562ms
 12-21 10:34:50.498 9332-9332/com.example.prashant.dodgeballfinal A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 9332 (.dodgeballfinal)

                                                                     [ 12-21 10:34:50.498   321:  321 W/         ]
                                                                     handle_request(11) debug_value = false;


                                                                     [ 12-21 10:34:50.498   321:  321 W/         ]
                                                                     wait_for_sigstope = 19

                                                                     [ 12-21 10:34:50.548   321:  321 W/         ]
                                                                     wait_for_sigstope = 11

0 个答案:

没有答案