→ ToCross:對了我的系統是Debian 謝謝<(_ _)> 03/10 15:45
我們系上的站上最近有不少使用者反映
每次要進到看板的時候就會異常斷線
我剛剛在有使用者斷線的時候執行ps aux
會出現像這樣的process
bbs 9757 0.0 0.1 34308 1088 ? SN 15:10 0:00 debug me!(6)(sha
kuhachi,13)
然後我用再版上爬文看到的結果
make clean;make -DGDB 再重跑mbbsd
執行gdb以後出現向下面這樣的訊息
bbs@fwbbs:~$ gdb mbbsd 9813
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...mbbsd: 沒有此一檔案或目錄.
Attaching to process 9813
Using host libthread_db library "/lib/libthread_db.so.1".
Reading symbols from /home/bbs/bin/mbbsd.03101247...done.
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
0x400d5366 in accept () from /lib/libc.so.6
(gdb) where
#0 0x400d5366 in accept () from /lib/libc.so.6
#1 0x08085948 in daemon_login (argc=2, argv=0xbffffdb4, envp=0xbffffdc0) at mb
bsd.c:1598
#2 0x0808562d in main (argc=2, argv=0xbffffdb4, envp=0xbffffdc0) at mbbsd.c:14
57
檢查程式碼其實我也看不出來問題出在哪@@"
麻煩版上大大幫個忙解答一下
先謝謝囉<(_ _)>
--
http://www.wretch.cc/album/littlexkid
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.118.15