- 主题:[smth]进入版面浏览掉线问题
smthbbs 1.2.1 stable
Redhat 7.3
最近出了一些莫名其妙的问题
开始某个版面浏览的时候立刻断线,但是该版面文件属主都是bbs,并没有什么问题啊?
检查发现 浏览到某一个屏幕的时候短线的,具体为2XX-2XX帖子
用web方式进去将那一屏幕的帖子删除后,可以进去了
不过按.进回收站也会掉线,只好把回收站文件给删除掉了
这次又发现一个版面问题更大,从上翻到 1380 帖子就掉线
而从上往下翻到1220号帖子也掉线了
感觉很奇怪,这些文章以前就有,没有问题啊?
最近因为系统升级内核失败,重装了系统和重新安装了bbs了!
也不清楚问题在哪里
记得以前版面上有讨论过卡住十大的时候 如何gdb
不过我抓不住那个断线的时候,一掉线,那个就没了
而在线的时候attach,又动不了了,这个是我在线的时候attach的,那个掉线的一刹那抓不住
bbs 15004 0.0 0.4 14732 1920 ? S 12:34 0:00 bbsd:aqi /bin/bbs
gdb bin/bbsd
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 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-redhat-linux"...
(gdb) attach 15004
Attaching to program: /home/bbs/bin/bbsd, process 15004
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.12...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.12
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libpthread.so.0...done.
[New Thread 1024 (LWP 15004)]
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/lib/libesmtp.so.5...done.
Loaded symbols for /usr/lib/libesmtp.so.5
Reading symbols from /usr/lib/libltdl.so.3...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
0x420e187e in select () from /lib/i686/libc.so.6
(gdb) bt
#0 0x420e187e in select () from /lib/i686/libc.so.6
#1 0x40683000 in ?? ()
#2 0x080bb219 in igetkey ()
#3 0x080b423d in list_select_loop ()
#4 0x080e7662 in new_i_read ()
#5 0x0806544a in Read ()
#6 0x080ab3c9 in fav_onselect ()
#7 0x080b3995 in do_select_internal ()
#8 0x080b4024 in list_select ()
#9 0x080b4250 in list_select_loop ()
#10 0x080acbbd in choose_board ()
#11 0x080ace89 in FavBoard ()
#12 0x0807fe1f in domenu ()
#13 0x080b95dd in main_bbs ()
#14 0x080b2a5f in bbs_main ()
#15 0x080b2bdf in bbs_standalone_main ()
#16 0x080b2d3a in main ()
#17 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
--
FROM 202.197.75.*
ft, attach以后,c
【 在 cnbird (阿七) 的大作中提到: 】
: smthbbs 1.2.1 stable
: Redhat 7.3
: 最近出了一些莫名其妙的问题
: ...................
--
FROM 220.249.10.36
啊哦,对不起!我比较菜,还没怎么看gdb就来打搅大家了
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 18726)]
0x42082716 in strcasecmp () from /lib/i686/libc.so.6
这个时候翻翻了几下,动不了了,再按c ,这个时候马上bbs掉线了
(gdb) c
Continuing.
Cannot find user-level thread for LWP 18726: generic error
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Cannot find thread 1024: generic error
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Cannot find thread 1024: generic error
另外gdb quit不出来了?
【 在 yuhuan (就好像过滤了就不存在一样) 的大作中提到: 】
: ft, attach以后,c
--
FROM 202.197.75.*
这里eip是说缓冲溢出吗
(gdb) c
Continuing.
Cannot find user-level thread for LWP 18734: generic error
[Switching to Thread 1024 (LWP 18821)]
0x42082716 in strcasecmp () from /lib/i686/libc.so.6
(gdb) info all-registers
eax 0x78 120
ecx 0x813fdd6 135527894
edx 0x78 120
ebx 0x4213030c 1108542220
esp 0xbfffe69c 0xbfffe69c
ebp 0xbfffe6a8 0xbfffe6a8
esi 0xa065036c -1603992724
edi 0x42121640 1108481600
eip 0x42082716 0x42082716
eflags 0x10217 66071
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x7 7
st0 -0e+4922 (raw 0xffff0000000000000000)
st1 -0e+4922 (raw 0xffff0000000000000000)
st2 -0e+4922 (raw 0xffff0000000000000000)
st3 -0e+4922 (raw 0xffff0000000000000000)
st4 -0e+4922 (raw 0xffff0000000000000000)
st5 -0e+4922 (raw 0xffff0000000000000000)
st6 2120 (raw 0x400a8480000000000000)
【 在 cnbird (阿七) 的大作中提到: 】
: 啊哦,对不起!我比较菜,还没怎么看gdb就来打搅大家了
: (gdb) c
: Continuing.
: ...................
--
FROM 202.197.75.*
c完挂了再bt
你还是继续看看gdb吧
【 在 cnbird (阿七) 的大作中提到: 】
: 啊哦,对不起!我比较菜,还没怎么看gdb就来打搅大家了
: (gdb) c
: Continuing.
: ...................
--
FROM 220.249.10.36
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 19088)]
0x42082716 in strcasecmp () from /lib/i686/libc.so.6
(gdb) bt
#0 0x42082716 in strcasecmp () from /lib/i686/libc.so.6
#1 0x080c0fad in searchuser ()
#2 0x080c0ffd in getuser ()
#3 0x08058be3 in isonline ()
#4 0x08058f71 in readdoent ()
#5 0x080e71f9 in read_show ()
#6 0x080b305f in show_item ()
#7 0x080b314c in refresh_select ()
#8 0x080b3f6b in list_select ()
#9 0x080b4250 in list_select_loop ()
#10 0x080e7662 in new_i_read ()
#11 0x0806544a in Read ()
#12 0x080ab3c9 in fav_onselect ()
#13 0x080b3995 in do_select_internal ()
#14 0x080b4024 in list_select ()
#15 0x080b4250 in list_select_loop ()
#16 0x080acbbd in choose_board ()
#17 0x080aa034 in EGroup ()
#18 0x0807fe1f in domenu ()
#19 0x0807fe1f in domenu ()
#20 0x080b95dd in main_bbs ()
#21 0x080b2a5f in bbs_main ()
#22 0x080b2bdf in bbs_standalone_main ()
---Type <return> to continue, or q <return> to quit---
#23 0x080b2d3a in main ()
#24 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
【 在 yuhuan (就好像过滤了就不存在一样) 的大作中提到: 】
: c完挂了再bt
: 你还是继续看看gdb吧
--
FROM 218.196.69.*