[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-12-25 Thread Tim
** Changed in: ubuntu-gnome
   Status: New = Fix Released

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-11-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/overlay-scrollbar

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-11-26 Thread Launchpad Bug Tracker
This bug was fixed in the package overlay-scrollbar -
0.2.16+r359+15.04.20141126-0ubuntu1

---
overlay-scrollbar (0.2.16+r359+15.04.20141126-0ubuntu1) vivid; urgency=low

  [ Tim Lunn ]
  * Check for null grab_notify handler before hijacking it. This fixes a
crash in GTK+3.14 where grab_notify is no longer used, Thanks Marius
Gedminas for the fix! (LP: #1386255)
 -- Ubuntu daily release ps-jenk...@lists.canonical.com   Wed, 26 Nov 2014 
15:18:56 +

** Changed in: overlay-scrollbar (Ubuntu)
   Status: In Progress = Fix Released

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-11-21 Thread Sebastien Bacher
** Changed in: overlay-scrollbar (Ubuntu)
 Assignee: Sebastien Bacher (seb128) = (unassigned)

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-11-18 Thread gsmetal
** Also affects: file-roller (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: file-roller (Ubuntu)

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-11-14 Thread Lars Uebernickel
** Changed in: overlay-scrollbar (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: overlay-scrollbar (Ubuntu)
 Assignee: Lars Uebernickel (larsu) = Sebastien Bacher (seb128)

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-11-05 Thread Alberto Salvia Novella
** Changed in: overlay-scrollbar (Ubuntu)
   Importance: Undecided = Critical

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-29 Thread Iain Lane
** Changed in: overlay-scrollbar (Ubuntu)
 Assignee: (unassigned) = Lars Uebernickel (larsu)

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-29 Thread Iain Lane
Looks like this is only to call the pre hijacked one if not on os, so
probably OK and similar probably should be done for all of these
hijacked functions. Lars, could you look?

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-29 Thread Jochen Martin Eppler
Fixed for me by the following package upgrades fixed the problem for me:
   overlay-scrollbar (0.2.16+r359+14.10.20140625-0ubuntu1 = 
0.2.16+r359+14.10.20140625-0ubuntu2~utopic1)
   overlay-scrollbar-gtk2 (0.2.16+r359+14.10.20140625-0ubuntu1 = 
0.2.16+r359+14.10.20140625-0ubuntu2~utopic1)
   overlay-scrollbar-gtk3 (0.2.16+r359+14.10.20140625-0ubuntu1 = 
0.2.16+r359+14.10.20140625-0ubuntu2~utopic1)

Before that, the problem actually went away by *enabling* rather than
disabling the overlay-scrollbars (overlay-auto instead of normal)

Also see https://bugzilla.gnome.org/show_bug.cgi?id=738073

** Bug watch added: GNOME Bug Tracker #738073
   https://bugzilla.gnome.org/show_bug.cgi?id=738073

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Tim
This will need to be fixed for gtk+3.14 to land in vivid

** Also affects: overlay-scrollbar (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: ubuntu-gnome
Milestone: None = vivid

** Tags added: ubuntugnome-blocker

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Marius Gedminas
For the record, I had overlay scrollbars disabled ('gsettings set
com.canonical.desktop.interface scrollbar-mode normal') when I saw these
segfaults.

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Marius Gedminas
Details about my GDB session:

- gdb gnome-calculator (easy to trigger the bug: click on the titlebar 
dropdown; bonus: doesn't hold a keyboard/mouse grab when it gets frozen by gdb)
- 'run'
- click on the titlebar dropdown, see the window freeze
- gdb shows a segfault at 0x0
- 'bt' shows the stack trace; frame #1 is g_closure_invoke; the closure pointer 
is the same for every crash
- higher up in the stack you see it was called by gtk_grab_notify()
- set a conditional breakpoint 'b g_closure_invoke if closure == 0x'
- 'run' to restart
- click on the titlebar dropdown again
- the breakpoint trips three times; first two are benign so hit 'cont' twice; 
the third one causes the crash
- single-stepping with 'n' and 's' shows that you end up in 
g_type_class_meta_marshal() for GtkScrollbar, with a callback at some address 
(0x7fffeeb3abe0)
- gdb was unable to resolve that address to a symbol, but /proc/$(pidof 
gnome-calculator)/maps shows it was in the range mapped to  
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/liboverlay-scrollbar.so

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Marius Gedminas
This patch fixes the crash: https://gist.github.com/84d1545df63a4e0ad981

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Marius Gedminas
Here's what causes the crash:

- overlay-scrollbar's gtk_module_init() does this:

widget_class = g_type_class_ref (GTK_TYPE_SCROLLBAR)
pre_hijacked_scrollbar_grab_notify  = widget_class-grab_notify;

  In GTK+ 3.14 widget_class-grab_notify for GTK_TYPE_SCROLLBAR is NULL.

- overlay-scrollbar's patch_scrollbar_class_vtable() does this:

if (widget_class-grab_notify == pre_hijacked_scrollbar_grab_notify)
  widget_class-grab_notify = hijacked_scrollbar_grab_notify;

  Since widget_class-grab_notify is still NULL and it is equal to
pre_hijacked_scrollbar_grab_notify, we install our own signal handler.

- overlay-scrollbar's hijacked_scrollbar_grab_notify() does this:

if (use_overlay_scrollbar ())
  return;

(* pre_hijacked_scrollbar_grab_notify) (widget, was_grabbed);

  Since in Ubuntu GNOME use_overlay_scrollbar() returns a false value
due, this code calls a NULL pointer and segfaults.

A more future-proof fix would be to check all pre_hijacked_ handlers
before calling them.

** Also affects: overlay-scrollbar
   Importance: Undecided
   Status: New

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Marius Gedminas
GtkScrollbar stopped paying attention to grab_notify signals in upstream
commit 26dff0d7830b45b61fb424e4a5c1f98c4091 somewhere in 3.13.x.

You can see it online at
https://github.com/GNOME/gtk/commit/26dff0d7830b45b61fb424e4a5c1f98c4091

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Tim
** Branch linked: lp:~darkxst/overlay-scrollbar/lp1386255

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1386255] Re: devhelp and many other apps crash with SIGSEGV in g_closure_invoke() due to overlay-scrollbars

2014-10-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: overlay-scrollbar (Ubuntu)
   Status: New = Confirmed

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

Title:
  devhelp and many other apps crash with SIGSEGV in g_closure_invoke()
  due to overlay-scrollbars

To manage notifications about this bug go to:
https://bugs.launchpad.net/overlay-scrollbar/+bug/1386255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs