免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1538 | 回复: 2
打印 上一主题 下一主题

[内核入门] 编译selinux时出现Segmentation fault [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-08-12 15:15 |只看该作者 |倒序浏览

不是运行是出现,而是在编译时就出现了.
============================================
make: Entering directory `/home/cduan/test_selinux/android-x86'
make: *** [out/target/product/x86/obj/ETC/service_contexts_intermediates/service_contexts]Segmentation fault (core dumped)
make: *** Deleting file `out/target/product/x86/obj/ETC/service_contexts_intermediates/service_contexts'
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/x86/obj/ETC/property_contexts_intermediates/property_contexts] Segmentation fault (core dumped)
make: *** Deleting file `out/target/product/x86/obj/ETC/property_contexts_intermediates/property_contexts'
make: *** [out/target/product/x86/obj/ETC/file_contexts_intermediates/file_contexts] Segmentation fault (core dumped)
make: *** Deleting file `out/target/product/x86/obj/ETC/file_contexts_intermediates/file_contexts'
make: Leaving directory `/home/cduan/test_selinux/android-x86'

#### make failed to build some targets (1 seconds) ####

不太明白了.我应该去哪里找他dump出来的文件呢

虽然这里是编译时出现的,我还是怀疑是在编译的时候调用了一个m4去编译什么东西,此时出现的Segmentation fault,这样才能解释通吧.

现在的问题是,根据提示,看不出来他dump到哪里去了啊.
怎么分析呢.

谢谢大家.

论坛徽章:
20
CU大牛徽章
日期:2013-04-17 11:48:26羊年新春福章
日期:2015-03-10 22:39:202015年中国系统架构师大会
日期:2015-06-29 16:11:282015亚冠之平阳省
日期:2015-07-31 09:19:042015七夕节徽章
日期:2015-08-21 11:06:17IT运维版块每日发帖之星
日期:2015-09-30 06:20:002015亚冠之柏太阳神
日期:2015-10-19 20:29:5915-16赛季CBA联赛之天津
日期:2016-11-29 14:03:4315-16赛季CBA联赛之北控
日期:2016-12-24 20:51:492015年辞旧岁徽章
日期:2015-03-03 16:54:15双鱼座
日期:2015-01-12 20:58:532014年中国系统架构师大会
日期:2014-10-14 15:59:00
2 [报告]
发表于 2015-08-12 20:19 |只看该作者
LZ不说一下你的系统版本,你是怎么编译的,没办法帮你解决问题

论坛徽章:
0
3 [报告]
发表于 2015-08-17 15:30 |只看该作者
后来复现不了了.多谢各位.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP