Hi there
I'm Cristi, you can reach me at cristian.draghici@gmail.com.
I've used JackOSX to redirect sound through my application (softphone
based on iaxclient/portaudio).
When checking for leaks I find two occurances that seem to come from
Jack OS X.
It looks like JackClient is leaking a string containing the preference
path and the URL formed with this path.
Here's the full dump below:
Leak: 0x003a3280 size=48 instance of 'NSCFString'
0xa073a674 0x0001078c 0x212f5573 0x6572732f .s.t....!/
Users/
0x64696369 0x752f4c69 0x62726172 0x792f5072 diciu/
Library/Pr
0x65666572 0x656e6365 0x732f0000 0x00000014
eferences/......
Call stack: [thread 900034e3]: | 0x0 | start | _start |
NSApplicationMain | +[NSBundle(NSNibLoading) loadNibNamed:owner:]
| +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
| +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] | loadNib | -
[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] | -
[NSIBObjectData instantiateObject:] | -[NSCustomObject nibInstantiate]
| -[IAXState init] | iaxc_initialize | pa_initialize | _pa_initialize |
PaOSX_MaybeQueryDevices | AudioHardwareGetPropertyInfo |
HALSystem::CheckOutInstance() | HALSystem::InitializeDevices() |
HALPlugInManagement::Initialize() |
HALPlugInManagement::CreateHALPlugIn(CACFPlugIn const*) |
TJackClient::Initialize(AudioHardwarePlugInInterface) |
TJackClient::ReadPref() | CFURLCreateFromFSRef |
_CFCreateURLFromFSRef | CFURLCreateFromFileSystemRepresentation |
CFURLCreateWithFileSystemPath |
CFURLCreateWithFileSystemPathRelativeToBase |
CFStringCreateWithFormat |
_CFStringCreateWithFormatAndArgumentsAux | CFStringCreateCopy |
__CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance |
CFAllocatorAllocate
Leak: 0x003a31e0 size=32 instance of 'NSURL'
0x00302e90 0x00011380 0x00101000 0x003a3280 .
0...........:2.
0x00000000 0x00000000 0x08000100
0x00000000 ................
Call stack: [thread 9583]: | 0x0 | start | _start | NSApplicationMain
| +[NSBundle(NSNibLoading) loadNibNamed:owner:] | +[NSBundle
(NSNibLoading) loadNibFile:externalNameTable:withZone:] | +
[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] | loadNib | -
[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] | -
[NSIBObjectData instantiateObject:] | -[NSCustomObject nibInstantiate]
| -[IAXState init] | iaxc_initialize | pa_initialize | _pa_initialize |
PaOSX_MaybeQueryDevices | AudioHardwareGetPropertyInfo |
HALSystem::CheckOutInstance() | HALSystem::InitializeDevices() |
HALPlugInManagement::Initialize() |
HALPlugInManagement::CreateHALPlugIn(CACFPlugIn const*) |
TJackClient::Initialize(AudioHardwarePlugInInterface) |
TJackClient::ReadPref() | CFURLCreateFromFSRef |
_CFCreateURLFromFSRef | CFURLCreateFromFileSystemRepresentation |
CFURLCreateWithFileSystemPath |
CFURLCreateWithFileSystemPathRelativeToBase | _CFURLAlloc |
_CFRuntimeCreateInstance | CFAllocatorAllocate
Logged In: YES
user_id=25883
Fixes in JackRouter 0.8.0
Logged In: YES
user_id=25883
Fixed in JackRouter 0.8.0
Logged In: YES
user_id=1404130
Thank you for the fix.