[reSIProcate] VS2005 crashing with DUM
Nilay Tripathi
nilay.linux at gmail.com
Tue Oct 23 06:30:51 CDT 2007
Hi,
I tried changing these settings but to no effect. Eventually I made that
function "non-virtual" and I could go into it.
The problem is happening at the point we are assigning ClientAuthManager
into DUM object. The auto_ptr instance that we create has everything fine,
but as soon as we assign it to mClientAuthManager, vfptr goes for a toss.
Something creepy in operator=() of auto_ptr.
However, if we move ahead into ClientAuthManager::handle(...) function then
there are some std::length_error exception problems coming in for
mAttemptedAuths member variable of the same class (ClientAuthManager.cxx,
Line:53: AuthState& authState = mAttemptedAuths[id];). Its coming from xtree
header file (map/set<T> too long) Line:1089 iterator _Insert(...).
Actually I am trying to port resiprocate 1.1 on "Windows Mobile 6.0" and
running in all these kind of problems. I would really appreciate any input
on this.
Thanks & Regards,
Nilay
On 10/20/07, Matthias Moetje <moetje at terasens.com> wrote:
>
> Nilay,
>
>
>
> some time ago I had some strange crashes with VS 2005. I had modified some
> of the default compilations and linker options (like "Whole Program
> Optimization", "Link-Time Code Generation" and a few others, can't
> remember). I had made modifications to both the resip projects and our own
> solution's projects. I never really found out which setting caused these
> problems, but after reverting the resip projects and re-creating our own
> projects with the default settings all problems were gone!
>
>
>
> Best regards,
>
>
>
> Matthias Moetje
>
> [image: cid:809010616 at 21122006-3519]
>
> *TERASENS GmbH
> Augustenstraße 24
> 80333 Munich
> GERMANY*
>
>
>
> *Phone:
> Fax:
> e-mail:
> Web:*
>
> *+49.89.143370-0
> +49.89.143370-22
> **info at terasens.com**
> **www.terasens.com*
>
>
>
>
>
>
>
>
>
> *From:* resiprocate-devel-bounces at resiprocate.org [mailto:
> resiprocate-devel-bounces at resiprocate.org] *On Behalf Of *Nilay Tripathi
> *Sent:* Freitag, 19. Oktober 2007 09:35
> *To:* resiprocate-devel
> *Subject:* [reSIProcate] VS2005 crashing with DUM
>
>
>
> Hi,
>
> I am trying to make resiprocate run on Windows and it crashes on receiving
> first 401 response for the REGISTER sent out.
>
> On debugging I reached into handledByAuthOrRedirect( ) in
> ClientAuthManager.cxx.
> On mDum.mClientAuthManager->handle(...) call, it just skips it (which it
> should not). It doesn't even go inside handle function and then the VS pops
> up an Exception and then a CRASH.
>
> There seems to be some problem with auto_ptr thing. Has anybody
> encountered such problem?
> Would really appreciate any inputs on this!
>
> I am running VS2005 Prof. (SP1) on Win XP.
>
> Thanks & Regards,
> Nilay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071023/4ebe87ea/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2937 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071023/4ebe87ea/attachment.jpg>
More information about the resiprocate-devel
mailing list