badrecover 发表于 2013-3-31 17:12:04

请问PurenessScopeServer加载模块时coredump,什么原因?

PurenessScopeServer 0.87版,ace 6.0.5,ubuntu 12.04,出错信息如下:
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下编译运行均正常,请支个招吧,东西先跑起来,然后再好慢慢学习研究!

hu__yong 发表于 2013-4-9 13:10:56

应该可以跑起来的
我用了正常

freeeyes 发表于 2013-4-9 14:52:15

读 先读我.txt 就知道原因了。
页: [1]
查看完整版本: 请问PurenessScopeServer加载模块时coredump,什么原因?