badrecover 发表于 2013-4-5 11:20:04

PurenessScopeServer 0.87 coredump

PurenessScopeServer 0.87版,ace 6.0.5,ubuntu 12.04,出错信息如下:
http://www.acejoy.com/static/image/smiley/default/sweat.gifoadMoudle] Begin Load ModuleName OK!
pReactor=0x02177770.
段错误 (核心已转储)

(gdb) where
#00x00007f3a5338b1c5 in ACE_Dev_Poll_Reactor::register_handler (this=0x8236f0, sigset=..., new_sh=0x332dec8, new_disp=0x0) at Dev_Poll_Reactor.cpp:1587
#10x00000000004530ec in register_handler (new_disp=<optimized out>, new_sh=<optimized out>, sigset=..., this=<optimized out>)
    at /usr/src/ACE_wrappers/ace/Reactor.inl:230
#2CSigHandle::RegisterSignal (this=0x332dec8, pReactor=0x814770) at ../Reactor/SigHandle.cpp:33
#30x0000000000451b47 in CServerManager::Start (this=0x816a18) at ../Reactor/ServerManager.cpp:146
#40x000000000040ae95 in main (argc=<optimized out>, argv=0x7ffff897fee8) at ../PurenessScopeServer.cpp:43
(gdb)

同样的代码,在win7+vs2010下编译运行均正常,请支个招吧,东西先跑起来,然后再好慢慢学习研究!

昨天在centos 6.3下,ACE 6.18,6.05两个版本,均可以重现这个故障,请问这是什么原因,有在linux下成功跑起来的吗?

freeeyes 发表于 2013-4-7 14:18:14

明显是没有读我的文件夹下的 先读我.txt
你看你的ulimit -a 文件句柄并发数达到了5000没有。
没有的话,去看,先读我.txt 里面教了如何设置。

badrecover 发表于 2013-4-8 08:15:37

谢谢,看得不够认真,起来了{:soso_e179:}
页: [1]
查看完整版本: PurenessScopeServer 0.87 coredump