canvas.drawText 发生 Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
来源:互联网 发布:origin软件怎么安装 编辑:程序博客网 时间:2024/05/18 02:04
想要实现的是底层预览相机,上面有取景框和提示拍照方向的文字。
原布局是
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<MyUtils.camera.CameraSurfaceView
android:layout_width="0dip"
android:layout_height="0dip" />
<MyUtils.camera.RedRectImageView
android:layout_width="0dip"
android:layout_height="0dip" />
在RedRectImageView中绘制矩形和文字,但是唯独在 sumsung-GT-I9268 发生了crash,原因如下:Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
参考了 http://blog.csdn.net/sonikk/article/details/9217181 还是没能解决
最终以自定义SurfaceView来取代ImageView以双SurfaceView来实现在CameraSurfaceView上绘制图形和文字,
此时在 sumsung-GT-I9268上成功表现。
初步认为原crash原因是内存溢出,但未就这个问题深入,只是换了实现方式,在此mark,也许以后可以解决。
0 0
- canvas.drawText 发生 Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)问题解决
- Linphone Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
- 打开百度地图报 Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)错误
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)问题解决
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)问题解决
- WebView 报 Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 3777 (WebViewCoreThre)
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4358 (CameraPreviewTh)问题解决
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 16169 (Thread-1035)
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)问题解决
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1755 (CrBrowserMain)问题
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 629 (example.testpro)
- Android Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread
- A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 25427 (pool-1-thread-2)
- android native开发 错误信息定位:Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4785 (XXX)
- FFmpeg Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 23518,一个空格引发的血案
- Fatal signal 11 (SIGSEGV) at 0x390955ae (code=1)
- Gulp 自动化的项目构建工具
- leetcode Valid Palindrome
- Nand Flash,Nor Flash,CFI Flash,SPI Flash 之间的关系
- cocos2d-x error C2143: 语法错误 : 缺少“;”(在“*”的前面)
- Linux 指令详解 pushd 快速切换目录
- canvas.drawText 发生 Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
- JAVA集合类--给面试的TX们
- jQuery.tablesorter html表格排序插件
- 欢迎使用CSDN-markdown编辑器
- Android系统回顾(五):Android Application类
- 设计模式学习笔记---享元模式FlyWeight pattern(Java版)
- iOS开发 剖析网易新闻标签栏视图切换(addChildViewController属性介绍)
- hibernate 3和4的blob处理
- Android中R文件的丢失问题