|
PurenessScopeServer 0.87版,ace 6.0.5,ubuntu 12.04,出错信息如下:
[140626226784064][CLoadModule::LoadMoudle] Begin Load ModuleName[libTcpTest.so] OK!
[140626226784064][CSigHandle::handle_signal] pReactor=0x02177770.
段错误 (核心已转储)
(gdb) where
#0 0x00007f3a5338b1c5 in ACE_Dev_Poll_Reactor::register_handler (this=0x8236f0, sigset=..., new_sh=0x332dec8, new_disp=0x0) at Dev_Poll_Reactor.cpp:1587
#1 0x00000000004530ec in register_handler (new_disp=<optimized out>, new_sh=<optimized out>, sigset=..., this=<optimized out>)
at /usr/src/ACE_wrappers/ace/Reactor.inl:230
#2 CSigHandle::RegisterSignal (this=0x332dec8, pReactor=0x814770) at ../Reactor/SigHandle.cpp:33
#3 0x0000000000451b47 in CServerManager::Start (this=0x816a18) at ../Reactor/ServerManager.cpp:146
#4 0x000000000040ae95 in main (argc=<optimized out>, argv=0x7ffff897fee8) at ../PurenessScopeServer.cpp:43
(gdb)
同样的代码,在win7+vs2010下编译运行均正常,请支个招吧,东西先跑起来,然后再好慢慢学习研究! |
|