r2709 - trunk/libmsip/source

Lorenzo Miniero rainmaker at libero.it
Fri Aug 18 17:12:49 CEST 2006


erik at minisip.org wrote:

>Author: erik
>Date: 2006-08-18 12:52:56 +0200 (Fri, 18 Aug 2006)
>New Revision: 2709
>
>Modified:
>   trunk/libmsip/source/SipStack.cxx
>Log:
>
> * Undo: Still claim to support 100rel extension (thanks to bug fixes by
>   mikma) 
>
>
>
>Modified: trunk/libmsip/source/SipStack.cxx
>===================================================================
>--- trunk/libmsip/source/SipStack.cxx	2006-08-18 10:38:35 UTC (rev 2708)
>+++ trunk/libmsip/source/SipStack.cxx	2006-08-18 10:52:56 UTC (rev 2709)
>@@ -116,7 +116,7 @@
> 	SipHeader::headerFactories.addFactory("Warning", sipHeaderWarningFactory);
> 	SipHeader::headerFactories.addFactory("WWW-Authenticate", sipHeaderWWWAuthenticateFactory);
> 
>-	//addSupportedExtension("100rel");
>+	addSupportedExtension("100rel");
> 
> 	MRef<SipLayerTransport*> transp = MRef<SipLayerTransport*>(new
> 			SipLayerTransport(
>
>_______________________________________________
>Minisip-devel mailing list
>Minisip-devel at minisip.org
>http://lists.minisip.org/mailman/listinfo/minisip-devel
>
>  
>

The latest trunk segfaults on startup to me, this is the log from Valgrind:

    ==5942== Use of uninitialised value of size 4
    ==5942==    at 0x43FF4DA: MObject::incRefCount() (MemObject.cxx:120)
    ==5942==    by 0x4166BA9: MRef<SoundDevice*>::increase()
    (MemObject.h:318)
    ==5942==    by 0x4166E9A:
    MRef<SoundDevice*>::operator=(MRef<SoundDevice*> const&)
    (MemObject.h:375)
    ==5942==    by 0x4165DDB:
    AudioPlugin::createMedia(MRef<SipSoftPhoneConfiguration*>)
    (AudioPlugin.cxx:72)
    ==5942==    by 0x413DC57: MediaHandler::init() (MediaHandler.cxx:81)
    ==5942==    by 0x413E778:
    MediaHandler::MediaHandler(MRef<SipSoftPhoneConfiguration*>,
    MRef<IpProvider*>) (MediaHandler.cxx:62)
    ==5942==    by 0x4090285: Minisip::startSip() (Minisip.cxx:316)
    ==5942==    by 0x8108CD4: main (GtkMain.cxx:67)
    ==5942==
    ==5942== Invalid read of size 4
    ==5942==    at 0x8D9B7A: pthread_mutex_lock (in
    /lib/libpthread-2.3.6.so)
    ==5942==    by 0x441BA58: Mutex::lock() (MutexPosix.cxx:87)
    ==5942==    by 0x43FF4E5: MObject::incRefCount() (MemObject.cxx:120)
    ==5942==    by 0x4166BA9: MRef<SoundDevice*>::increase()
    (MemObject.h:318)
    ==5942==    by 0x4166E9A:
    MRef<SoundDevice*>::operator=(MRef<SoundDevice*> const&)
    (MemObject.h:375)
    ==5942==    by 0x4165DDB:
    AudioPlugin::createMedia(MRef<SipSoftPhoneConfiguration*>)
    (AudioPlugin.cxx:72)
    ==5942==    by 0x413DC57: MediaHandler::init() (MediaHandler.cxx:81)
    ==5942==    by 0x413E778:
    MediaHandler::MediaHandler(MRef<SipSoftPhoneConfiguration*>,
    MRef<IpProvider*>) (MediaHandler.cxx:62)
    ==5942==    by 0x4090285: Minisip::startSip() (Minisip.cxx:316)
    ==5942==    by 0x8108CD4: main (GtkMain.cxx:67)
    ==5942==  Address 0xD is not stack'd, malloc'd or (recently) free'd
    ==5942==
    ==5942== Process terminating with default action of signal 11 (SIGSEGV)
    ==5942==  Access not within mapped region at address 0xD
    ==5942==    at 0x8D9B7A: pthread_mutex_lock (in
    /lib/libpthread-2.3.6.so)
    ==5942==    by 0x441BA58: Mutex::lock() (MutexPosix.cxx:87)
    ==5942==    by 0x43FF4E5: MObject::incRefCount() (MemObject.cxx:120)
    ==5942==    by 0x4166BA9: MRef<SoundDevice*>::increase()
    (MemObject.h:318)
    ==5942==    by 0x4166E9A:
    MRef<SoundDevice*>::operator=(MRef<SoundDevice*> const&)
    (MemObject.h:375)
    ==5942==    by 0x4165DDB:
    AudioPlugin::createMedia(MRef<SipSoftPhoneConfiguration*>)
    (AudioPlugin.cxx:72)
    ==5942==    by 0x413DC57: MediaHandler::init() (MediaHandler.cxx:81)
    ==5942==    by 0x413E778:
    MediaHandler::MediaHandler(MRef<SipSoftPhoneConfiguration*>,
    MRef<IpProvider*>) (MediaHandler.cxx:62)
    ==5942==    by 0x4090285: Minisip::startSip() (Minisip.cxx:316)
    ==5942==    by 0x8108CD4: main (GtkMain.cxx:67)
    ==5942==


I guess it's because of the 2707/2708 revisions...
Regards,
Lorenzo

--
http://confiance.sourceforge.net/


More information about the Minisip-devel mailing list