** Description changed:

+ [Impact]
+ 
+  * indicator-session-service crashes, so session menu clicks won't be
+ processed.
+ 
+  * The crash is being caused by a race condition where the upower proxy is 
used
+    before it's been created. The fix is to wrap the upower proxy use inside a
+    "if (upower_proxy != NULL) {...}" block. Only the code directly querying
+    the upower proxy is moved into the block.
+ 
+ [Test Case]
+ 
+  * There's no straightforward way to replicate the race condition needed
+    to trigger this crash. indicator-session-service asynchronously creates
+    a upower proxy on the system bus. The crash occurs iff the menuitems need
+    to get refreshed before the bus returns the upower proxy.
+ 
+ [Regression Potential]
+ 
+  * IMO the regression risk is low because of the narrow scope of the
+ change.
+ 
+ [Other info]
+ 
+  * This bug was introduced in indicator-session 12.10.4, released on Oct 3.
+    P and earlier releases of Q aren't affected.
+ 
+ ----
+ 
  no status bar
  
  ProblemType: Crash
  DistroRelease: Ubuntu 12.10
  Package: indicator-session 12.10.4-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
  Uname: Linux 3.5.0-16-generic x86_64
  ApportVersion: 2.6.1-0ubuntu1
  Architecture: amd64
  Date: Thu Oct  4 21:41:56 2012
  ExecutablePath: /usr/lib/indicator-session/indicator-session-service
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
  ProcCmdline: /usr/lib/indicator-session/indicator-session-service
  SegvAnalysis:
-  Segfault happened at: 0x417249:      mov    (%rbx),%rdi
-  PC (0x00417249) ok
-  source "(%rbx)" (0x00000000) not located in a known VMA region (needed 
readable region)!
-  destination "%rdi" ok
+  Segfault happened at: 0x417249:      mov    (%rbx),%rdi
+  PC (0x00417249) ok
+  source "(%rbx)" (0x00000000) not located in a known VMA region (needed 
readable region)!
+  destination "%rdi" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: indicator-session
  StacktraceTop:
-  ?? ()
-  ?? ()
-  ?? ()
-  ?? ()
-  __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
+  ?? ()
+  ?? ()
+  ?? ()
+  ?? ()
+  __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
  Title: indicator-session-service crashed with SIGSEGV in __libc_start_main()
  UpgradeStatus: Upgraded to quantal on 2012-10-02 (1 days ago)
  UserGroups:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1061844

Title:
  indicator-session-service crashed with SIGSEGV in
  dbus_upower_get_can_suspend()

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1061844/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to