I'm using beta4 sdk and try to debug an iPhone project. While running
the tests I get a message:
Tests[1334:4303] SBSetAccelerometerClientEventsEnabled failed: (ipc/
send) invalid destination port
After which the script seem to be frozen, until I kill it. Any hints?
--
You received this message because you are subscribed to the Google Groups "google-toolbox-for-mac" group.
To post to this group, send email to google-tool...@googlegroups.com.
To unsubscribe from this group, send email to google-toolbox-fo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-toolbox-for-mac?hl=en.
It's somewhat hard to set all the required environment variables to
run the app's binary directly from shell, so I can be sure only about
the following steps:
1. Shell script runs
"$TARGET_BUILD_DIR/$EXECUTABLE_PATH" -RegisterForSystemEvents
Starting the actual application binary.
2. Application makes some activity:
Tests(6354) malloc: protecting edges
Tests(6354) malloc: recording malloc stacks to disk using standard
recorder
Tests(6354) malloc: enabling scribbling to detect mods to free blocks
Tests(6354) malloc: stack logs being written into /tmp/stack-logs.
6354.Tests.msbKrs.index
objc[6354]: REPLACED: -[NSSet initWithCoder:] by category NSSet (IMP
was 0x1c4a950 (/Developer/Platforms/iPhoneSimulator.platform/Developer/
SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks/
CoreFoundation.framework/CoreFoundation), now 0x20e50 (/Developer/
Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator3.1.3.sdk/System/Library/Frameworks/
Foundation.framework/Foundation))
...
objc[6354]: REPLACED: -[NSString drawInRect:withFont:] by category
UIStringDrawing (IMP was 0x44baf4 (/Developer/Platforms/
iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/
System/Library/Frameworks/UIKit.framework/UIKit), now 0x2abbae (/
Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator3.1.3.sdk/System/Library/Frameworks/UIKit.framework/
UIKit))
2010-03-27 21:47:38.337 Tests[6354:4303]
SBSetAccelerometerClientEventsEnabled failed: (ipc/send) invalid
destination port
After that is sits in run loop forever.
I have an older iPhone project that uses GTM for its unit testing.
Tests run flawlessly there. They fail only on newly created projects.
--
On 6 avr, 20:16, Thomas Van Lenten <thoma...@gmail.com> wrote:
> Nothing is jumping out at me there, if you've got some that work and some
> that don't, I'd suggest comparing them for config difference and/or the
> differences in what of your own code your pulling in, bisection that might
> help you figure out what's triggering it. Otherwise, putting things under a
> debugger might also shed some light.
>
> TVL
>
> > google-toolbox-fo...@googlegroups.com<google-toolbox-for-mac% 2Bunsu...@googlegroups.com>
Cheers,
Dave
The relevant line is:
UnitTest[44140:903] SBSetAccelerometerClientEventsEnabled failed: (ipc/
send) invalid destination port
So the problem has something to do with how the plugin is handling the
Accelerometer, probably related to GTMObjC2Runtime.
To unsubscribe from this group, send email to google-toolbox-fo...@googlegroups.com.
No, it is not. I declared open war on all processes that could even remotely be associated with the simulator; including the simulator itself. I also made sure to reboot in order to clear any potential zombie processes that I could not find.Is it possible that the socket/ipc communication has changed in the new simulator?