This looks to me to be an issue of buggy scope implementations.
If you search for the phrase "closed unexpectedly" in the log files Pete posted above, you'll see a number of scopes are crashing. Namely: "com.canonical.scopes.fbphotos_fbphotos", "unity-scope-nearby", and "com.canonical.scopes.eljueves_eljueves". That would explain the scopes being empty.
The fact that there are no complains in these logs about scopes not starting properly, means that these scopes are making it through their start() methods just fine. So looks like these crashes are occurring in run().
The log just before these "closed unexpectedly" entries should give an indication of where in the code each of these scopes are when the crash occurs.
E.g. A pretty scary looking one in scope-registry.log.3.gz:
goroutine 7 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
RegistryObject::ScopeProcess::on_process_death(): Process for scope: "com.canonical.scopes.eljueves_eljueves" exited
RegistryObject::ScopeProcess: Scope: "com.canonical.scopes.eljueves_eljueves" closed unexpectedly. Either the process crashed or was killed forcefully.
This looks to me to be an issue of buggy scope implementations.
If you search for the phrase "closed unexpectedly" in the log files Pete posted above, you'll see a number of scopes are crashing. Namely: "com.canonical. scopes. fbphotos_ fbphotos" , "unity- scope-nearby" , and "com.canonical. scopes. eljueves_ eljueves" . That would explain the scopes being empty.
The fact that there are no complains in these logs about scopes not starting properly, means that these scopes are making it through their start() methods just fine. So looks like these crashes are occurring in run().
The log just before these "closed unexpectedly" entries should give an indication of where in the code each of these scopes are when the crash occurs.
E.g. A pretty scary looking one in scope-registry. log.3.gz:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0xbdbb8]
goroutine 1 [running]: panic(0x20b568, 0x43efe0) go/src/ pkg/runtime/ panic.c: 266 +0x134 net/go- unityscopes/ v1.(*ScopeBase) .ScopeDirectory (0x0, 0x0, 0x0) cwayne/ go/src/ launchpad. net/go- unityscopes/ v1/unityscope. go:98 +0x30 EJScope) .SetScopeBase( 0x9464d2c0, 0x0) cwayne/ Projects/ scopes/ el-jueves/ eljueves. go:118 +0x2c net/go- unityscopes/ v1.setScopeBase (0xb46286e8, 0x9464d2c0, 0x0) cwayne/ go/src/ launchpad. net/go- unityscopes/ v1/unityscope. go:90 +0x4c net/go- unityscopes/ v1._Cfunc_ run_scope( 0x947cb980, 0x94616100, 0x94616110, 0x947cb978, 0x947cb988) net/go- unityscopes/ v1/_obj/ _cgo_defun. c:332 +0x34 net/go- unityscopes/ v1.Run( 0xb46286e8, 0x9464d2c0, 0x4523cc, 0xb46286e8) cwayne/ go/src/ launchpad. net/go- unityscopes/ v1/unityscope. go:145 +0x318 cwayne/ Projects/ scopes/ el-jueves/ eljueves. go:237 +0x1a8
runtime.
/usr/lib/
launchpad.
/home/
main.(*
/home/
launchpad.
/home/
launchpad.
launchpad.
launchpad.
/home/
main.main()
/home/
goroutine 4 [syscall]: cgocallbackg( ) go/src/ pkg/runtime/ cgocall. c:267 +0x68 cgocallback_ gofunc( 0x0, 0x0, 0x0) go/src/ pkg/runtime/ asm_arm. s:495 +0x60 go/src/ pkg/runtime/ proc.c: 1394
runtime.
/usr/lib/
runtime.
/usr/lib/
runtime.goexit()
/usr/lib/
goroutine 7 [syscall]: go/src/ pkg/runtime/ proc.c: 1394 :ScopeProcess: :on_process_ death() : Process for scope: "com.canonical. scopes. eljueves_ eljueves" exited :ScopeProcess: Scope: "com.canonical. scopes. eljueves_ eljueves" closed unexpectedly. Either the process crashed or was killed forcefully.
runtime.goexit()
/usr/lib/
RegistryObject:
RegistryObject: