- 主题:Solaris 9 x86安装kbsbbs-2.0dev登录时掉线gdb
系统: Solaris 9 x86
KBS: kbsbbs-snapshot[2006.01.19]
问题:
1、Telnet方式登录,输入代号,密码后,回车立刻掉线,但这时用WEB方式登录,显示“您登录的窗口过多的,是否踢出多余的窗口!”提示,确定后,成功登录。
2、 Telnet方式新用户注册时,输入完确认口令,回车后,到"BBS欢迎您,按任意键继续",立刻掉线。然后用该帐号登录,出现“你同时上线的窗口数过多,是否踢出本ID其它窗口(Y/N)? [N] ”,无论是按“Y或N”,回车后都掉线。但是WEB可以登录,并显示“您登录的窗口过多的,是否踢出多余的窗口!”提示,确定后,成功登录。
------------------------
./configure --prefix=/export/home0/bbs --enable-site=fb2k-v2 \
--with-www=/usr/local/apache --with-php=/usr/local/include/php \
--without-mysql --enable-ssl CFLAGS=-g
---------------------------------------
GDB:
#cd /export/home/kbsbbs-2.0dev/src
# gdb bbsd
GNU gdb 6.0
Copyright 2003 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-pc-solaris2.9"...
(gdb) run -d -p 4444
Starting program: /export/home/kbsbbs-2.0dev/src/bbsd -d -p 4444
Program exited normally.
登录到 4444 端口后 ,输入用户名后断线。
(gdb) bt
No stack.
--
FROM 220.173.136.*
跟一下看看输完密码之后的情况?
【 在 linton (难得糊涂) 的大作中提到: 】
: 系统: Solaris 9 x86
: KBS: kbsbbs-snapshot[2006.01.19]
: 问题:
: ...................
--
FROM 166.111.207.*
这个-d参数貌似不太对头。。。
你输入用户名按回车之前,找到进程号,然后gdb -p <进程号>挂上去,gdb>提示符下
按c,然后用户名那里按回车,看看。。
【 在 linton (难得糊涂) 的大作中提到: 】
: 系统: Solaris 9 x86
: KBS: kbsbbs-snapshot[2006.01.19]
: 问题:
: ...................
--
FROM 128.12.150.*
# gdb -p 402
GNU gdb 6.0
Copyright 2003 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-pc-solaris2.9".
Attaching to process 402
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
0xd11bd26d in ?? ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xd11db2cc in ?? ()
(gdb) bt
#0 0xd11db2cc in ?? ()
#1 0x0806fb0c in ?? ()
【 在 atppp (Big Mouse) 的大作中提到: 】
: 这个-d参数貌似不太对头。。。
: 你输入用户名按回车之前,找到进程号,然后gdb -p <进程号>挂上去,gdb>提示符下
: 按c,然后用户名那里按回车,看看。。
--
FROM 220.173.136.*
gdb信息:
# gdb -p 402
GNU gdb 6.0
Copyright 2003 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-pc-solaris2.9".
Attaching to process 402
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
0xd11bd26d in ?? ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xd11db2cc in ?? ()
(gdb) bt
#0 0xd11db2cc in ?? ()
#1 0x0806fb0c in ?? ()
什么原因造成掉线呢?
【 在 atppp (Big Mouse) 的大作中提到: 】
: 这个-d参数貌似不太对头。。。
: 你输入用户名按回车之前,找到进程号,然后gdb -p <进程号>挂上去,gdb>提示符下
: 按c,然后用户名那里按回车,看看。。
--
FROM 202.193.15.*
没有-g参数编译啊?
【 在 linton (难得糊涂) 的大作中提到: 】
: gdb信息:
: # gdb -p 402
: GNU gdb 6.0
: ...................
--
FROM 219.154.45.*
configure时加了CFLAGS=-g
./configure --prefix=/export/home0/bbs --enable-site=fb2k-v2 \
--with-www=/usr/local/apache --with-php=/usr/local/include/php \
--without-mysql CFLAGS=-g
【 在 JulyClyde (七月) 的大作中提到: 】
: 没有-g参数编译啊?
--
修改:linton FROM 202.193.15.*
FROM 202.193.15.*
今天又试了一下,一样的信息,gdb步骤问题??
# gdb -p 7835
GNU gdb 6.0
Copyright 2003 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-pc-solaris2.9".
Attaching to process 7835
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
0xd11bd26d in ?? ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xd11db2cc in ?? ()
(gdb) bt
#0 0xd11db2cc in ?? ()
#1 0x0806fb0c in ?? ()
(gdb) c
Continuing.
procfs: couldn't stop process 7835: wait returned -1
(gdb)
【 在 JulyClyde (七月) 的大作中提到: 】
: 没有-g参数编译啊?
--
FROM 220.173.136.*
CFLAGS=-g好像应该加到./configure前面
【 在 linton (难得糊涂) 的大作中提到: 】
: configure时加了CFLAGS=-g
: ./configure --prefix=/export/home0/bbs --enable-site=fb2k-v2 \
: --with-www=/usr/local/apache --with-php=/usr/local/include/php \
: ...................
--
FROM 219.154.45.*
加到前面,gdb时出现的提示也是一样的。
【 在 JulyClyde (七月) 的大作中提到: 】
: CFLAGS=-g好像应该加到./configure前面
--
FROM 220.173.136.*