看板 PttCurrent 關於我們 聯絡資訊
※ 引述《in2 (集十隻仙女有賞:P)》之銘言: : ※ 引述《aecho (游泳游泳 XDD)》之銘言: : : 從open ptt換成 current ptt : : 目前遇到一個問題 換了code重新安裝後 : : 用以前的帳號連進去 結果只要是跟 看文章 或 瀏覽看板有關的 : : 都會爛掉 覺的是跟 .DIR 格式不同有關 : : 現在不知道要怎麼處理 Q___Q : : 爛掉的process用ps aux | grep bbs 查到後 : 用 make GDB=1 clean install 來玩, : 把 debugging symbols 編進去~ : 醬子比較看的懂是什麼問題 :o 1) 錯誤產生 bbs 2161 0.0 0.8 32068 1024 ? SN 20:27 0:00 debug me!(11)(aecho,19) 2) gdb program 2161 ... Attaching to process 2161 Reading symbols from /home/bbs/bin/mbbsd.051819... (no debugging symbols found)...done. Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /usr/lib/libhz.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libhz.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 0x40149de1 in nanosleep () from /lib/libc.so.6 (gdb) step Single stepping until exit from function nanosleep, which has no line number information. 0x40149d78 in sleep () from /lib/libc.so.6 (gdb) step Single stepping until exit from function sleep, which has no line number information. 0x08070281 in abort_bbs_debug () (gdb) step Single stepping until exit from function abort_bbs_debug, which has no line number information. 接著我就不知道要打什麼.... 此時打 list的結果 =___= (gdb) list No symbol table is loaded. Use the "file" command. -- 我還真是雞婆阿.... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.247.52