views:

13

answers:

1

I have added the message ui framework to my application and it is working fine on 2 devices (ipod 2G with ios 3.0 and iphone 4.0 with os 4.1). But when I gave the code to the customer (iphone 3gs or 3g with ios 3.0) he sent me this log that was shown him after building and running application.

2010-10-11 14:29:33.849 GhostCamera[31099:207] * _NSAutoreleaseNoPool(): Object 0x10ccd0 of class NSPathStore2 autoreleased with no pool in place - just leaking Stack: (0x3057251f 0x3054601b 0x30547ad1 0x30548a8d 0x3054871d 0x305485a3 0x30549fbd 0x328ba8d0 0x30012094 0x30011dc8 0x300119a8 0x30012f2c 0xca0f8 0xcaa94 0xc5c14 0x2fe0eac4 0x2fe0eafc 0x2fe0c318 0x2fe0c69c 0x2fe02260 0x2fe0a3f4 0x31d4a9cc 0x8c038 0x2fe0e9e8 0x2fe0c318 0x2fe0c69c 0x2fe02800 0x2fe0823c 0x2fe01904 0x2fe01050) 2010-10-11 14:29:33.864 GhostCamera[31099:207] * _NSAutoreleaseNoPool(): Object 0x10d450 of class NSPathStore2 autoreleased with no pool in place - just leaking Stack: (0x3057251f 0x3054601b 0x30547ad1 0x3054708f 0x30549c19 0x30548653 0x30549fbd 0x328ba8d0 0x30012094 0x30011dc8 0x300119a8 0x30012f2c 0xca0f8 0xcaa94 0xc5c14 0x2fe0eac4 0x2fe0eafc 0x2fe0c318 0x2fe0c69c 0x2fe02260 0x2fe0a3f4 0x31d4a9cc 0x8c038 0x2fe0e9e8 0x2fe0c318 0x2fe0c69c 0x2fe02800 0x2fe0823c 0x2fe01904 0x2fe01050) MS:Warning: message not found [MailComposeController _setupForMessageWithURL:]

And message functionality is not working for him. What is trouble? P.S sorry for my bad english

A: 

Is the message being compiled in a different thread? NSAutoReleaseNoPool is a method being executed on a secondary thread with no release pool.

Jasconius
Thank you. It is a good idea, but i checked this. I have placed [[NSThread currentThread] isMainThread] into method where MFMailComposeController was created and it return me YES.
Андрей Кузнецов