File Chooser crashes GTK3 apps when unselecting multiple items / gedit crashed with SIGABRT in g_assertion_message()

Bug #1650879 reported by Amr Ibrahim
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

From the duplicate bug #1649011:

"When using the mouse to select multiple files in a GTK3 application via the file chooser, everything works as expected, but if you undrag the lasso, you just made to unselect them, once the last file is unselected, the entire application crashes. It doesn't matter what program it is, if it's GTK3 based, it'll crash. Either gedit, Firefox, etc. I made a video detailing the exact issue to help point you in the right direction: https://youtu.be/_Zl1p6hXNQ0"

I personally reproduced this bug and let apport report it here.

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: gedit 3.18.3-0ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Dec 18 12:16:22 2016
ExecutablePath: /usr/bin/gedit
ExecutableTimestamp: 1457048545
InstallationDate: Installed on 2016-04-26 (235 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcCmdline: gedit
ProcCwd: /home/amr
Signal: 6
SourcePackage: gedit
StacktraceTop:
 g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
Title: gedit crashed with SIGABRT in g_assertion_message()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
information type: Private → Public
affects: gedit (Ubuntu) → gtk+3.0 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message () from /tmp/apport_sandbox_nFZ9oq/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () from /tmp/apport_sandbox_nFZ9oq/lib/x86_64-linux-gnu/libglib-2.0.so.0
 _gtk_rbtree_node_find_offset (tree=<optimized out>, node=<optimized out>) at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/gtkrbtree.c:914
 gtk_tree_view_update_rubber_band_selection (tree_view=0x23b77e0) at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/gtktreeview.c:4485
 gtk_tree_view_update_rubber_band (tree_view=0x23b77e0) at /build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/gtktreeview.c:4612

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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