gedit crashed with SIGSEGV in _gtk_tree_selection_internal_select_node()

Bug #917071 reported by Jean-Baptiste Lallement
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Invalid
Medium
Unassigned
Precise
Invalid
Medium
Unassigned
gtk+3.0 (Ubuntu)
Fix Released
High
Canonical Desktop Team
Precise
Fix Released
High
Canonical Desktop Team

Bug Description

TEST CASE:
1. Launch gedit
2. Click on "open" to open the file dialog
3. Press CTRL and select 2 files

EXPECTED RESULT:
Either 1 or 2 files are selected

ACTUAL RESULT:
This crash

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gedit 3.3.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
ApportVersion: 1.90-0ubuntu2
Architecture: amd64
Date: Mon Jan 16 10:13:39 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcCmdline: gedit
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.utf8
SegvAnalysis:
 Segfault happened at: 0x7f146920e9d0: movzwl 0x0(%rbp),%r14d
 PC (0x7f146920e9d0) ok
 source "0x0(%rbp)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%r14d" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gedit
StacktraceTop:
 ?? () 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
 ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: gedit crashed with SIGSEGV in g_closure_invoke()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin libvirtd lpadmin sambashare

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: added: qa-manual-testing
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _gtk_tree_selection_internal_select_node (selection=0x16f0720, node=0x0, tree=0x0, path=0x1802480, mode=<optimized out>, override_browse_mode=<optimized out>) at /build/buildd/gtk+3.0-3.3.6/./gtk/gtktreeselection.c:1575
 gtk_tree_view_real_toggle_cursor_row (tree_view=0x13e8710) at /build/buildd/gtk+3.0-3.3.6/./gtk/gtktreeview.c:10775
 gtk_tree_view_button_press (widget=0x13e8710, event=0x7f144c0032c0) at /build/buildd/gtk+3.0-3.3.6/./gtk/gtktreeview.c:3103
 _gtk_marshal_BOOLEAN__BOXED (closure=0x10303f0, return_value=0x7fffb2ae1b00, n_param_values=<optimized out>, param_values=0x16826d0, invocation_hint=<optimized out>, marshal_data=<optimized out>) at /build/buildd/gtk+3.0-3.3.6/./gtk/gtkmarshalers.c:85
 g_closure_invoke (closure=0x10303f0, return_value=0x7fffb2ae1b00, n_param_values=2, param_values=0x16826d0, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.31.8/./gobject/gclosure.c:774

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gedit (Ubuntu):
importance: Undecided → Medium
summary: - gedit crashed with SIGSEGV in g_closure_invoke()
+ gedit crashed with SIGSEGV in _gtk_tree_selection_internal_select_node()
tags: removed: need-amd64-retrace
visibility: private → public
Revision history for this message
Jason Conti (jconti) wrote :

It isn't limited to gedit, but seems to affect any GtkTreeView. I believe it is fixed upstream though: http://git.gnome.org/browse/gtk+/commit/gtk/gtktreeview.c?id=022c576bd2764dc1fc48e46ad97aa95287c175cc

Rebuilt gtk with the patch and I can't reproduce the crash.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gedit (Ubuntu):
status: New → Confirmed
Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Changed in gedit (Ubuntu):
status: Confirmed → Invalid
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → High
Changed in gtk+3.0 (Ubuntu Precise):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
tags: added: testcase
Revision history for this message
Joost Van Durme (joostvandurme) wrote :

Yep, same here. Installed Precise Alpha 1, updated all packages and when I want to select 2 files to open with ctrl in gedit, it just closes on me. All the time.

Revision history for this message
Jason Conti (jconti) wrote :

This is fixed in 3.3.8-0ubuntu1.

Martin Pitt (pitti)
Changed in gtk+3.0 (Ubuntu Precise):
status: Confirmed → Fix Released
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.