← Back to team overview

touch-packages team mailing list archive

[Bug 1374481] Re: Nearby and News scope do not load on reboot

 

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]:
runtime.panic(0x20b568, 0x43efe0)
	/usr/lib/go/src/pkg/runtime/panic.c:266 +0x134
launchpad.net/go-unityscopes/v1.(*ScopeBase).ScopeDirectory(0x0, 0x0, 0x0)
	/home/cwayne/go/src/launchpad.net/go-unityscopes/v1/unityscope.go:98 +0x30
main.(*EJScope).SetScopeBase(0x9464d2c0, 0x0)
	/home/cwayne/Projects/scopes/el-jueves/eljueves.go:118 +0x2c
launchpad.net/go-unityscopes/v1.setScopeBase(0xb46286e8, 0x9464d2c0, 0x0)
	/home/cwayne/go/src/launchpad.net/go-unityscopes/v1/unityscope.go:90 +0x4c
launchpad.net/go-unityscopes/v1._Cfunc_run_scope(0x947cb980, 0x94616100, 0x94616110, 0x947cb978, 0x947cb988)
	launchpad.net/go-unityscopes/v1/_obj/_cgo_defun.c:332 +0x34
launchpad.net/go-unityscopes/v1.Run(0xb46286e8, 0x9464d2c0, 0x4523cc, 0xb46286e8)
	/home/cwayne/go/src/launchpad.net/go-unityscopes/v1/unityscope.go:145 +0x318
main.main()
	/home/cwayne/Projects/scopes/el-jueves/eljueves.go:237 +0x1a8

goroutine 4 [syscall]:
runtime.cgocallbackg()
	/usr/lib/go/src/pkg/runtime/cgocall.c:267 +0x68
runtime.cgocallback_gofunc(0x0, 0x0, 0x0)
	/usr/lib/go/src/pkg/runtime/asm_arm.s:495 +0x60
runtime.goexit()
	/usr/lib/go/src/pkg/runtime/proc.c:1394

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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1374481

Title:
  Nearby and News scope do not load on reboot

Status in The Savilerow project:
  Confirmed
Status in QML plugin for Scopes:
  New
Status in “unity-scopes-api” package in Ubuntu:
  Confirmed

Bug description:
  reporduce:
  1- favourite nearby and/or news
  2- reboot the phone
  3 - unlock and swipe to nearby/news

  result:
  Scope is blank, not even departments are loaded in nearby

  expected result:
  scope load, to see what they look like, search for something and then cancel search. This triggers a refresh and the scopes then load ok.

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1374481/+subscriptions


References