Re: [OpenSIPStack] about oss: why core dump? Who can help me?
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2007-11-24 23:32:53
|
Zhang GuoQi wrote: > About OSS(1.1.7) OpenSBC(1.1.4) and the new version from CVS. There is a > strange Probolem. > File: B2BUAConnection.h > > I add a variable: ( int m_OutboundAttempts) above > (B2BRoutingInterface::B2BRouteList > m_Routes). > Code List Here: > --------------------------------------------- > BOOL m_EnableUpstreamProxyRoute; > > int m_OutboundAttempts; > > B2BRoutingInterface::B2BRouteList m_Routes; > B2BRoutingInterface::B2BRouteList m_UpstreamProxyRoutes; > OString m_UpstreamBackdoorURI; > ----------------------------------------------------------------------- > > Then it can compile successful.then i run opensbc, UserA and UserB register > to opensbc, UserA invite UserB, it will core dump.Why? > > Thanks! I don't find anything in the code you pasted that would trigger an access violation. I am suspecting that your build is corrupted. Since the change you made is in a header file, it is always a good idea to "make clean" after applying such change. After a clean build and your problem still lingers, do a back trace on the core file using GDB and post the stack here. Joegen |