亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3492 | 回復(fù): 1
打印 上一主題 下一主題

請教 mips 運行 Valgrind 段錯誤 signal 11 (SIGSEGV) P [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2015-03-12 15:38 |只看該作者 |倒序瀏覽
我想在MIPS下用Valgrind ,但是總是死機(jī),自己編了個小程序,還是死機(jī),Process terminating with default action of signal 11
運行環(huán)境:MIPS linux 32 嵌入式單板 ,運行程序非常簡單,代碼如下
main (){
while(1){
sleep(1);
printf("tst    ================\n");
}}
。
運行Valgrind 報錯如下=================================================

命令: ./mips-linux-gnu-valgrind --tool=memcheck ./a.out

==1616== Memcheck, a memory error detector
==1616== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==1616== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==1616== Command: ./a.out
==1616==
==1616==
==1616== Process terminating with default action of signal 11 (SIGSEGV)
==1616==  Access not within mapped region at address 0x5554
==1616==    at 0x4004434: ??? (in /lib/ld-uClibc-0.9.30.so)
==1616==    by 0x4000ACC: ??? (in /lib/ld-uClibc-0.9.30.so)

==1616==  If you believe this happened as a result of a stack
==1616==  overflow in your program's main thread (unlikely but
==1616==  possible), you can try to increase the size of the
==1616==  main thread stack using the --main-stacksize= flag.
==1616==  The main thread stack size used in this run was 8388608.

valgrind: m_scheduler/scheduler.c:923 (run_thread_for_a_while): Assertion 'two_words[0] == 0 && two_words[1] == 0' failed.
==1616==    at 0x3803E004: ??? (in /tmp/valg/lib/valgrind/memcheck-mips32-linux)
==1616==    by 0x3803DF40: ??? (in /tmp/valg/lib/valgrind/memcheck-mips32-linux)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==1616==    at 0x4004434: ??? (in /lib/ld-uClibc-0.9.30.so)
==1616==    by 0x4000ACC: ??? (in /lib/ld-uClibc-0.9.30.so)

Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.



In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.

論壇徽章:
0
2 [報告]
發(fā)表于 2015-03-17 14:29 |只看該作者
upupupupupupupupupupupupupupupup
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP