After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738073 - Crash in g_closure_invoke when dragging any object
Crash in g_closure_invoke when dragging any object
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: .General
3.14.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-10-07 10:29 UTC by Jochen Eppler
Modified: 2014-10-29 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace of nautilus (1.84 KB, text/plain)
2014-10-07 11:54 UTC, Jochen Eppler
Details
Backtrace of nautilus (7.18 KB, text/plain)
2014-10-07 11:56 UTC, Jochen Eppler
Details
Backtrace of evince (7.46 KB, text/plain)
2014-10-07 11:57 UTC, Jochen Eppler
Details

Description Jochen Eppler 2014-10-07 10:29:26 UTC
In Ubuntu 14.10, I get segmentation faults in multiple applications (nautilus, evince, file-roller, apport), which all seem to be caused by the same bug in g_closure_invoke(). The crash is not caught by apport. This segfault might also be the cause for other drag-related bugs. 

I've attached a backtrace of nautilus crashing.
Comment 1 Jochen Eppler 2014-10-07 11:54:37 UTC
Created attachment 287948 [details]
Backtrace of nautilus
Comment 2 Jochen Eppler 2014-10-07 11:56:02 UTC
Created attachment 287949 [details]
Backtrace of nautilus
Comment 3 Jochen Eppler 2014-10-07 11:56:36 UTC
(In reply to comment #1)
> Created an attachment (id=287948) [details]
> Backtrace of nautilus

This was uploaded erroneously and can be deleted.
Comment 4 Jochen Eppler 2014-10-07 11:57:37 UTC
Created attachment 287950 [details]
Backtrace of evince
Comment 5 Jochen Eppler 2014-10-13 10:20:53 UTC
The same problem happens for charmap when dragging a character, eog when dragging a picture, and evince when clicking the "file options" button.

Could this be related to the fact that I did an upgrade from an older version of Ubuntu and some packages might be stuck at wrong versions still?
Comment 6 Carlos Garnacho 2014-10-13 10:43:00 UTC
(In reply to comment #5)
> Could this be related to the fact that I did an upgrade from an older version
> of Ubuntu and some packages might be stuck at wrong versions still?

Thanks for the bug report!

That is unlikely the source of the problem, GTK+ 3.14 is API and ABI compatible with the previous 3.x versions. But I definitely can't reproduce on vanilla GTK+, which makes me think of ubuntu specific patches/features to the GtkScrolledWindow widget. Do you happen to have overlay scrollbars enabled? could you try after disabling these? You can apparently disable these doing:

gsettings set com.canonical.desktop.interface scrollbar-mode normal
Comment 7 Jochen Eppler 2014-10-14 08:06:21 UTC
Unfortunately this did not help.

I am using the Gnome related packages from the GNOME3 Team's PPA for Ubuntu, so I'm not sure how many Ubuntu specific patches there are.

Anything else I can try?

Many thanks!
Comment 8 Vinay Jain 2014-10-28 02:58:38 UTC
Hi,

I had the same problem. I fixed the issue by removing the overlay-scrollbar*

Regards,
Vinay Jain.
Comment 9 darkxst 2014-10-29 00:51:03 UTC
This is a bug in Ubuntu's overlay scrollbars
https://bugs.launchpad.net/ubuntu-gnome/+bug/1386255
Comment 10 Jochen Eppler 2014-10-29 14:02:03 UTC
Just two short additions:

1. The problem actually went away by *enabling* rather than disabling the overlay-scrollbars (overlay-auto instead of normal)

2. 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)

Thanks again for the investigation and most of all for providing GNOME!