Nux

nux::WindowCompositor::UpdateMouseOwner SIGSEGV segfault

Bug #1057809 reported by Brandon Schaefer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nux
Fix Released
Critical
Brandon Schaefer
3.0
Invalid
Critical
Brandon Schaefer
nux (Ubuntu)
Fix Released
Undecided
Brandon Schaefer
unity (Ubuntu)
Invalid
Undecided
Brandon Schaefer

Bug Description

When right clicking quicklist then left clicking any item in the quicklist causes a crash.

The crash came from rev: 669.

The problem is when you click EmitMouseUpSignal goes off, which in unity causes UnGrabedPointer to go off. When UnGrabbedPointer goes off it resets both mouse_owner_area_ and mouse_over_area_ to NULL. Right after the EmitMouseUpSignal is an if statement:

if (mouse_owner_area_ == mouse_over_area_) // which both are NULL so it is true

this causes:

EmitMouseClickSignal to segfault....

Stacktrace:
http://paste.ubuntu.com/1231196/

Related branches

Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

A simple fix would be to add this check in the if statement: mouse_owner_area_ != NULL but that would causes EmitMouseClickSignal to not emit...(though it is NULL anyone, possibly there could be a better fix...)

Changed in nux:
status: New → Confirmed
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in nux:
importance: Undecided → Critical
Changed in nux (Ubuntu):
status: New → In Progress
Changed in unity (Ubuntu):
status: New → In Progress
Changed in nux:
status: Confirmed → In Progress
milestone: none → 4.0
Changed in nux:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nux - 4.0.0daily12.12.05-0ubuntu1

---------------
nux (4.0.0daily12.12.05-0ubuntu1) raring; urgency=low

  [ Michael Terry ]
  * debian/control:
    - Update Vcs-Bzr
    - Build-Depend on dh-autoreconf and gnome-common
  * debian/rules:
    - Use dh_autoreconf
    - Enable headless tests during build
  * Switch to dh9 and multiarch
  * Automatic snapshot from revision 700 (bootstrap)
    - Fix crash when lift clicking after right clicking (LP: #1057809)
    - Fix crash on amd64 from an invalid cast (LP: #1052765)
    - Fix a couple crashes in example code (LP: #1064918)
    - Fix dash and launcher being all black (LP: #1067860)
    - Fix launcher dragging the wrong way (LP: #1057995)
    - Only load textures once they are needed (LP: #816692)
    - Add pointer checks for invalid cached textures (LP: #1066788)
    - Fix some FTBFS's on armhf (LP: #1065293, LP: #1067081)
    - Fix a bunch of compile warnings (LP: #1056633)
    - Removed some unused code (LP: #937583)

  [ Didier Roche ]
  * Transition packaging to Nux 4.0
  * Add split mode for daily build

  [ Ricardo Salveti de Araujo ]
  * Doesn't need to depend on gcc 4.6 anymore (LP: #1044836)
  * make check-headless should respect DEB_BUILD_OPTIONS=nocheck
  * Does not need to be built with gcc 4.6 anymore (LP: #1044836)

  [ Ying-Chun Liu (PaulLiu) ]
  * Unable to use H.I.M.E. input method in the Unity search bar( & HUD
    also) in Ubuntu 12.04LTS | 無法於Ubuntu 12.04LTS的Unity
    searchbar(以及HUD)使用H.I.M.E.輸入法 (LP: #973808)
  * Support input methods beside ibus (LP: #983254)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 727
 -- Automatic PS uploader <email address hidden> Wed, 05 Dec 2012 09:27:01 +0000

Changed in nux (Ubuntu):
status: In Progress → Fix Released
Changed in nux (Ubuntu):
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity (Ubuntu):
assignee: nobody → Brandon Schaefer (brandontschaefer)
status: In Progress → Invalid
Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Nux Nux 4.0.0.

Changed in nux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.