Skip to content

Instantly share code, notes, and snippets.

init 1 root cwd unknown /proc/1/cwd (readlink: Permission denied)
init 1 root rtd unknown /proc/1/root (readlink: Permission denied)
init 1 root txt unknown /proc/1/exe (readlink: Permission denied)
init 1 root NOFD /proc/1/fd (opendir: Permission denied)
kthreadd 2 root cwd unknown /proc/2/cwd (readlink: Permission denied)
kthreadd 2 root rtd unknown /proc/2/root (readlink: Permission denied)
kthreadd 2 root txt unknown /proc/2/exe (readlink: Permission denied)
kthreadd 2 root NOFD /proc/2/fd (opendir: Permission denied)
ksoftirqd 3 root cwd unknown /proc/3/cwd (re
2015-03-14 14:40:55.092 Admin[65388:49138417] *** ASSERTION FAILED: Unexpected value for n.object: CBL_Puller[http://cfecbe55-8d60-47f1-b721-e50e32331410:*****@********:4984/sync_gateway] (expected (null))
2015-03-14 14:40:55.093 Admin[65388:49138417] *** Assertion failure in -[CBLReplication bg_replicationProgressChanged:](), /Volumes/Code/Sync/couchbase-lite-ios/Source/API/CBLReplication.m:500
2015-03-14 14:40:55.107 Admin[65388:49138417] An uncaught exception was raised
2015-03-14 14:40:55.107 Admin[65388:49138417] Assertion failed: Unexpected value for n.object: CBL_Puller[http://cfecbe55-8d60-47f1-b721-e50e32331410:*****@********:4984/sync_gateway] (expected (null))
2015-03-14 14:40:55.108 Admin[65388:49138417] (
0 CoreFoundation 0x00007fff8586850c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff868bf76e objc_exception_throw + 43
2 CoreFoundation 0x00007fff858682ea +[NSException raise:format:arguments:] + 106
3 Foundation
thread #1: tid = 0x2d3177a, 0x00007fff8574cefd CoreFoundation`-[NSArray containsObject:] + 253, queue = 'com.apple.main-thread'
frame #0: 0x00007fff8574cefd CoreFoundation`-[NSArray containsObject:] + 253
frame #1: 0x00007fff84218bbb Foundation`performQueueDequeue + 299
frame #2: 0x00007fff84218881 Foundation`__NSThreadPerformPerform + 134
frame #3: 0x00007fff857863c1 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
frame #4: 0x00007fff8577854d CoreFoundation`__CFRunLoopDoSources0 + 269
frame #5: 0x00007fff85777b7f CoreFoundation`__CFRunLoopRun + 927
frame #6: 0x00007fff85777598 CoreFoundation`CFRunLoopRunSpecific + 296
frame #7: 0x00007fff8926ec4f HIToolbox`RunCurrentEventLoopInMode + 235
frame #8: 0x00007fff8926e9ca HIToolbox`ReceiveNextEventCommon + 431
Date/Time: 2015-03-12 11:53:44.282 +0100
OS Version: Mac OS X 10.10.3 (14D72i)
Report Version: 11
Anonymous UUID: 6F63438C-8937-841C-03CE-288F1A5CE740
Sleep/Wake UUID: B7F4BFA5-9240-46A6-9951-081783483AD4
Time Awake Since Boot: 970000 seconds
Time Since Wake: 18000 seconds
Process: Admin [36971]
Path: /Users/USER/Desktop/Admin.app/Contents/MacOS/Admin
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Admin [36971]
User ID: 502
Date/Time: 2015-03-01 13:15:18.906 +0100
OS Version: Mac OS X 10.10.2 (14C109)
(lldb) bt all
thread #1: tid = 0x23fd5d, 0x00007fff858cd246 CoreFoundation`memcmp, queue = 'com.apple.main-thread'
frame #0: 0x00007fff858cd246 CoreFoundation`memcmp
frame #1: 0x00007fff85727b2a CoreFoundation`CFStringCompareWithOptionsAndLocale + 1770
frame #2: 0x00007fff8926ec22 HIToolbox`RunCurrentEventLoopInMode + 190
frame #3: 0x00007fff8926e9ca HIToolbox`ReceiveNextEventCommon + 431
frame #4: 0x00007fff8926e80b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
frame #5: 0x00007fff8ba6fa91 AppKit`_DPSNextEvent + 964
frame #6: 0x00007fff8ba6f090 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
frame #7: 0x00007fff8ba64d93 AppKit`-[NSApplication run] + 594
2015-01-02 06:43:03.180 Torrents[22760:1949058] Invalid parameter not satisfying: _document
2015-01-02 06:43:03.183 Torrents[22760:1949058] (
0 CoreFoundation 0x00007fff8616564c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff892de6de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8616542a +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff887cc5b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 CouchbaseLite 0x00000001002a8898 -[CBLModel setValue:ofProperty:] + 199
5 CouchbaseLite 0x00000001002b6288 __54+[CBL_MYDynamicObject impForSetterOfProperty:ofClass:]_block_invoke + 43
@nl
nl / sync-gateway.conf
Created January 21, 2014 15:22
Sync Gateway Upstart Script
description "Sync Gateway Upstart Script”
version "0.1.0"
author "Nicolas Lapomarda"
# Upstart has nothing in $PATH by default
env RUNAS=db
env HOME=/home/$RUNAS
env PATH=$HOME/sync_gateway/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
env PATH_TO_GATEWAY=$HOME/sync_gateway/bin/sync_gateway
@nl
nl / sync-gateway.conf
Created January 21, 2014 15:20
Sync Gateway Upstart Script This should be placed in /etc/init/sync-gateway.conf. You should set: - RUNAS to the username the gateway should be run as, - PATH_TO_GATEWAY to the path to the gateway binary (output of ./build.sh if you build from source), - PATH_TO_JSON to the path of the config JSON file, - LOGSDIR to the path of the logs director…
description "Sync Gateway"
version "0.1.0"
author "Nicolas Lapomarda"
# Upstart has nothing in $PATH by default
env PATH=/home/db/sync_gateway/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
env PATH_TO_GATEWAY=/home/db/sync_gateway/bin/sync_gateway
env PATH_TO_JSON=/home/db/sync_gateway.json
env LOGSDIR=/home/db/logs
iMac-SSD: hsoft-pluginbuilder-75a9222f4ea6> python setup.py install
running install
running bdist_egg
running egg_info
writing top-level names to pluginbuilder.egg-info/top_level.txt
writing requirements to pluginbuilder.egg-info/requires.txt
writing pluginbuilder.egg-info/PKG-INFO
writing dependency_links to pluginbuilder.egg-info/dependency_links.txt
Pre-building plugin executable file
Traceback (most recent call last):