精華區beta EE_DSnP 關於我們 聯絡資訊
跑test case "do4" 執行到第一個"mtp"指令的時候 如果在 ccws1 / 2 的伺服器執行的話,會跑出 "程式記憶體區段錯誤" ========================================= = Memory Manager = ========================================= * Block size : 65536 Bytes * Number of blocks : 1 * Free mem in last block: 19296 * Recycle list : 程式記憶體區段錯誤 然而在自己的機器執行的話,結果都跟老師的檔案一模一樣 還有,在系上工作站make的時候,都會跑出: make[1]: Warning: File `../../lib/lib.d' has modification time 8.1 s in the future > building memTest... make[1]: warning: Clock skew detected. Your build may be incomplete. 不知道跟這個程式記憶體區段錯誤有沒有關聯.. p.s.我自己的機器是Fedora Core 5 有抓新的libcmd.a檔 ----- 更囧的是 在系上工作站跑ddd 也會出現"程式記憶體區段錯誤" 訊息如下: [b3705029@ccws1 b93705029_HW4]$ ddd Internal error (Segmentation fault). Oops! You have found a bug in DDD. If you can reproduce this bug, please send a bug report to <[email protected]>, giving a subject like DDD 3.3.10 (i386-redhat-linux-gnu) gets `Segmentation fault' signal To enable us to fix the bug, you should include the following information: * What you were doing to get this message. Report all the facts. * The contents of the `~/.ddd/log' file as generated by this session. Please read also the section "Reporting Bugs" in the DDD manual. We thank you for your support. 程式記憶體區段錯誤 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.248.74 ※ 編輯: fifth 來自: 140.112.248.74 (12/17 20:45)
ric2k1:Your crash looks like a memory corruption... 12/17 22:00
ric2k1:Hope you are able to figure it out. 12/17 22:01
ric2k1:The make warning message is just due to clock diff. 12/17 22:01
ric2k1:It has nothing to do with the bug. 12/17 22:02
ric2k1:Fedora 5 should be OK. Anyone has the same problem? 12/17 22:02
ric2k1:The ddd crash may be the "display" problem. 12/17 22:02
ric2k1:You can try "xterm" to see if there's a window popup 12/17 22:06
fifth:DDD開起來了(抱歉我忘了開ming= =) 不過還是不知道為什麼 12/18 00:31
fifth:我又試了幾次 在我的機器確實是能跑的Orz 12/18 00:33