← Back to team overview

desktop-packages team mailing list archive

[Bug 811339] Re: gnome-control-center crashed with SIGSEGV in gnome_rr_config_load_current()

 

Looks like in the recent refactoring work they forgot to check the
rr_outputs pointer before dereferencing it.

Easy enough to check for this situation and bail, but not 100% this is
the right way to solve this bug.

The real question is why screens was undefined to begin with.

** Patch added: "bail_if_no_screens.patch"
   https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/811339/+attachment/2601248/+files/bail_if_no_screens.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/811339

Title:
  gnome-control-center crashed with SIGSEGV in
  gnome_rr_config_load_current()

Status in GNOME Control Center:
  New
Status in “gnome-control-center” package in Ubuntu:
  Triaged

Bug description:
  I just input a HDMI monitor

  [Next Action]
  * Determine reproducibility of the bug (and test case)
  * [Engineering] Investigate why screens was 0x0 in this case
  * [Engineering] Determine if bailing early is the proper way to handle this error condition

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: gnome-control-center 1:3.1.3-0ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
  Uname: Linux 3.0.0-5-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  Date: Fri Jul 15 21:55:10 2011
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110705.1)
  ProcCmdline: gnome-control-center --overview
  ProcEnviron:
   SHELL=/bin/bash
   LANGUAGE=pt_BR:pt:en
   LANG=pt_BR.UTF-8
  SegvAnalysis:
   Segfault happened at: 0xb40b112 <gnome_rr_config_load_current+146>:	mov    (%eax),%edi
   PC (0x0b40b112) ok
   source "(%eax)" (0x00000000) not located in a known VMA region (needed readable region)!
   destination "%edi" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: gnome-control-center
  StacktraceTop:
   gnome_rr_config_load_current () from /usr/lib/libgnome-desktop-3.so.2
   gnome_rr_config_new_current () from /usr/lib/libgnome-desktop-3.so.2
   ?? () from /usr/lib/control-center-1/panels/libdisplay.so
   g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
   g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  Title: gnome-control-center crashed with SIGSEGV in gnome_rr_config_load_current()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/811339/+subscriptions