nux::WindowCompositor::UpdateMouseOwner SIGSEGV segfault
Bug #1057809 reported by
Brandon Schaefer
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:
EmitMouseClickS
Stacktrace:
http://
Related branches
lp:~brandontschaefer/nux/ungrab-mouse-up-click-crash-fix
- Marco Trevisan (Treviño): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedNux/WindowCompositor.cpp (+1/-1)
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 |
Changed in nux (Ubuntu): | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
status: | In Progress → Invalid |
To post a comment you must log in.
A simple fix would be to add this check in the if statement: mouse_owner_area_ != NULL but that would causes EmitMouseClickS ignal to not emit...(though it is NULL anyone, possibly there could be a better fix...)