iOS 5.1 couchbaseMobile failure
Hi,
When using an iOS 5.1 iPad, Couchbase fails to start.
In order to confirm this issue was not caused by my app's custom code, I checked-out the latest CouchbaseMobile demo on github:
https://github.com/couchbaselabs/iOS-Couchbase-Demo
and managed to reproduce the same error.
Important
In order to reproduce this error, the device must not have been enabled for development through Xcode.
The moment you press "Use for Development" in Xcode, and then run the app, Couchbase successfully starts.
The log messages seen when running the application are:
Mar 13 16:59:00 unknown GrocerySync[428] : ------ application:didFinishLaunchingWithOptions:
Mar 13 16:59:00 unknown kernel[0] : launchd[428] Builtin profile: container (sandbox)
Mar 13 16:59:00 unknown kernel[0] : launchd[428] Container: /private/var/mobile/Applications/F8D6B51E-8CED-42B0-907B-F94378E2403A [69] (sandbox)
Mar 13 16:59:30 unknown GrocerySync[428] : Couchbase: Error: No startup notification from server engine
Even if I turn on debug logging in the default_ios.ini file, still no more detailed couch logs are shown.
Any help is greatly appreciated, thanks.
Thanks Jens, I'll do that now.
Appreciated.
I have similar problem with an app that uses CouchBase on iOS 5.1. My app works when the device is connected to my development machine. All of the custom code was inspected and there are no memory leaks.
The app crashes at start up only after I reboot the ios5.1 device and when the device is not connected to development machine.
The app works just fine on ios5.0.0.1 and 4.3.
-----------------------------------
Some details from the crash log:
-----------------------------------
Incident Identifier: 0E3400D5-802F-4508-AD73-414E3CA608AB
CrashReporter Key: c35154e21347780a3a93befed1dbd11b41b5a150
Hardware Model: iPad2,1
Process: halfteam [78]
Path: /var/mobile/Applications/0F8E0ACA-D374-4673-AC46-B0811B6974D8/halfteam.app/halfteam
Identifier: halfteam
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-03-13 11:24:39.012 -0400
OS Version: iPhone OS 5.1 (9B176)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x33eb388f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x329a5259 objc_exception_throw + 33
2 CoreFoundation 0x33eb3789 +[NSException raise:format:] + 1
3 Foundation 0x32df93a3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 91
4 halfteam 0x000a4425 -[AppDelegate couchbaseMobile:failedToStart:] (AppDelegate.m:62)
5 halfteam 0x000cf2f9 -[CouchbaseMobile startupTimeout] + 89
6 Foundation 0x32e2b933 __NSFireDelayedPerform + 415
7 CoreFoundation 0x33e87a33 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 15
8 CoreFoundation 0x33e87699 __CFRunLoopDoTimer + 365
9 CoreFoundation 0x33e8626f __CFRunLoopRun + 1207
10 CoreFoundation 0x33e094a5 CFRunLoopRunSpecific + 301
11 CoreFoundation 0x33e0936d CFRunLoopRunInMode + 105
12 GraphicsServices 0x33387439 GSEventRunModal + 137
13 UIKit 0x35afee7d UIApplicationMain + 1081
14 halfteam 0x000a405f main (main.m:14)
15 halfteam 0x000a4018 start + 40
.....
Thanks for reporting the backtrace, but please add it to the bug report, http://www.couchbase.com/issues/browse/CBMI-72 .
And for general discussion, the Google group is more convenient than this forum (speaking personally.)
It has been posted to the bugs report. Apologies for the inconvenience posting here may have caused.
Hi — Please file bug reports using the issue tracker:
http://www.couchbase.com/issues/secure/IssueNavigator.jspa?mode=hide&req...
Thanks.