< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Resip register now gets malloc problem


Alex and list members,

This is the call trace... I didn't include it in my earlier question. I'm sure
this is going to help you determine whats up.

#6 0x00112070 in resip::DnsUtil::getLocalHostName() at DnsUtil.cxx:53
#7 0x000cb024 in resip::Helper::computeCallId() at Helper.cxx:531
#8 0x000d6f90 in resip::BaseCreator::makeInitialRequest(resip::NameAddr const&, resip::NameAddr const&, resip::MethodTypes) at BaseCreator.cxx:56 #9 0x000ef2f4 in resip::RegistrationCreator::RegistrationCreator(resip::DialogUsageManager&, resip::NameAddr const&, resip::UserProfile&, int) at RegistrationCreator.cxx:12 #10 0x000ef278 in resip::RegistrationCreator::RegistrationCreator(resip::DialogUsageManager&, resip::NameAddr const&, resip::UserProfile&, int) at RegistrationCreator.cxx:10 #11 0x000632ac in resip::DialogUsageManager::makeRegistration(resip::NameAddr const&, resip::AppDialogSet*) at DialogUsageManager.cxx:526

This is the latest logs, after I took out some code I thought might break it.
At this point, the code had worked before, but now when I try and digress
back to what I thought was the last ver that worked, I'm still getting this.

[Session started at 2005-12-05 03:19:14 -0800.]
GNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 2004)
Loading program into debugger…
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
tty /dev/ttyp2
Program loaded.
(gdb) run
[Switching to process 3030 local thread 0xd03]
Running…
INFO | 1133781588 | SipPhone | RESIP | /Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/SipBridge.mm:63 | Logging started
2005-12-05 03:19:59.238 SipApplication[3030] Start REGISTER
INFO | 1133781599 | SipPhone | RESIP | /Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/SipBridge.mm:134 | Register button pressed INFO | 1133781599 | SipPhone | RESIP:TRANSPORT | /Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/UdpTransport.cxx:30 | Creating UDP transport host= port=5060 ipv4=1 DEBUG | 1133781599 | SipPhone | RESIP:TRANSPORT | /Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/InternalTransport.cxx:87 | Creating fd=23 V4/UDP DEBUG | 1133781599 | SipPhone | RESIP:TRANSPORT | /Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/InternalTransport.cxx:95 | Binding to 0.0.0.0 DEBUG | 1133781599 | SipPhone | RESIP:DUM | /Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/dum/UserProfile.cxx:91 | Adding credential: realm=213.167.79.25 user=u354
Current language: auto; currently objective-c++
*** malloc[3030]: Deallocation of a pointer not malloced: 0xa01c05f4; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug *** malloc[3030]: Deallocation of a pointer not malloced: 0x804200cc; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug *** malloc[3030]: Deallocation of a pointer not malloced: 0x813e0048; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug *** malloc[3030]: Deallocation of a pointer not malloced: 0x8002001c; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

Can someone give me advice on where to look to find out why resip is trying to deallocate a pointer
not malloced?

John