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 757549 - Crash when searching if renaming popover is active
Crash when searching if renaming popover is active
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Crashers
3.18.x
Other Linux
: Normal major
: 3.18
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 760448 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-11-03 23:24 UTC by Eddy Castillo
Modified: 2016-02-22 15:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Showing nautilus crash (401.41 KB, video/webm)
2015-12-15 14:32 UTC, Eddy Castillo
Details

Description Eddy Castillo 2015-11-03 23:24:02 UTC
Self explanatory, the search function causes a crash in nautilus when the popover for renaming items is active.

To reproduce:
1- Select a file or folder.
2- Press Alt-F2 to rename it.
3- Press Tab to move the focus.
4- Press any key that can trigger the search function.
5- Crash occurs.

Additional information:
- Fedora 23, GNOME 3.18.1, Nautilus 3.18.1

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6fabef3 in gtk_widget_unparent (
    widget=widget@entry=0x555555bd66c0 [GtkPopover]) at gtkwidget.c:4572
4572	  if (priv->parent->priv->anchored)
Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-17.fc23.x86_64 cairo-999.1.14.2-2.fc23.x86_64 cairo-gobject-999.1.14.2-2.fc23.x86_64 dconf-0.24.0-2.fc23.x86_64 evince-libs-3.18.0-1.fc23.x86_64 evince-nautilus-3.18.0-1.fc23.x86_64 file-roller-nautilus-3.16.4-1.fc23.x86_64 fontconfig-999.2.11.94-2.fc23.x86_64 freetype-999.2.6.1-1.fc23.x86_64 GConf2-3.2.6-15.fc23.x86_64 gnome-user-share-3.18.0-1.fc23.x86_64 gvfs-client-1.26.1.1-2.fc23.x86_64 libcanberra-0.30-10.fc23.x86_64 libcanberra-gtk3-0.30-10.fc23.x86_64 libcroco-0.6.8-7.fc23.x86_64 libgcc-5.1.1-4.fc23.x86_64 librsvg2-2.40.11-1.fc23.x86_64 libstdc++-5.1.1-4.fc23.x86_64 libtdb-1.3.7-1.fc23.x86_64 libtool-ltdl-2.4.6-5.fc23.x86_64 PackageKit-gtk3-module-1.0.10-2.fc23.x86_64 pixman-0.33.4-1.fc23.x86_64 totem-nautilus-3.18.1-1.fc23.x86_64
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7f21a80 (LWP 646))

  • #0 gtk_widget_unparent
    at gtkwidget.c line 4572
  • #1 _gtk_window_remove_popover
    at gtkwindow.c line 11890
  • #2 _gtk_popover_parent_hierarchy_changed
    at gtkpopover.c line 1673
  • #3 g_cclosure_marshal_VOID__OBJECTv
    at gmarshal.c line 2102
  • #4 _g_closure_invoke_va
    at gclosure.c line 864
  • #5 g_signal_emit_valist
    at gsignal.c line 3292
  • #6 g_signal_emit
    at gsignal.c line 3439
  • #7 gtk_widget_propagate_hierarchy_changed_recurse
    at gtkwidget.c line 9793
  • #8 _gtk_widget_propagate_hierarchy_changed
    at gtkwidget.c line 9835
  • #9 gtk_widget_unparent
    at gtkwidget.c line 4609
  • #10 gtk_box_remove
    at gtkbox.c line 2543
  • #11 g_cclosure_marshal_VOID__OBJECTv
    at gmarshal.c line 2102
  • #12 _g_closure_invoke_va
    at gclosure.c line 864
  • #13 g_signal_emit_valist
    at gsignal.c line 3292
  • #14 g_signal_emit
    at gsignal.c line 3439
  • #15 gtk_container_remove
    at gtkcontainer.c line 1896
  • #16 gtk_widget_dispose
    at gtkwidget.c line 11999
  • #17 g_object_run_dispose
    at gobject.c line 1081
  • #18 gtk_widget_destroy
    at gtkwidget.c line 4656
  • #19 setup_view
    at nautilus-window-slot.c line 2213
  • #20 setup_view
    at nautilus-window-slot.c line 2248
  • #21 setup_view
    at nautilus-window-slot.c line 1454
  • #22 got_file_info_for_view_selection_callback
    at nautilus-window-slot.c line 1328
  • #23 begin_location_change
    at nautilus-window-slot.c line 947
  • #24 nautilus_window_slot_open_location_full
    at nautilus-window-slot.c line 800
  • #25 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #26 ffi_call
    at ../src/x86/ffi64.c line 525
  • #31 <emit signal ??? on instance 0x555555cf9920 [NautilusQueryEditor]>
    at gsignal.c line 3439
  • #32 nautilus_query_editor_changed_force
    at nautilus-query-editor.c line 995
  • #33 _g_closure_invoke_va
    at gclosure.c line 864
  • #34 g_signal_emit_valist
    at gsignal.c line 3292
  • #35 g_signal_emit
    at gsignal.c line 3439
  • #36 gtk_search_entry_changed_timeout_cb
    at gtksearchentry.c line 293
  • #37 g_timeout_dispatch
    at gmain.c line 4577
  • #38 g_main_context_dispatch
    at gmain.c line 3154
  • #39 g_main_context_dispatch
    at gmain.c line 3769
  • #40 g_main_context_iterate
    at gmain.c line 3840
  • #41 g_main_context_iteration
    at gmain.c line 3901
  • #42 g_application_run
    at gapplication.c line 2311
  • #43 main
    at nautilus-main.c line 103

Comment 1 Eddy Castillo 2015-12-13 14:34:57 UTC
(In reply to Dylan Smith from comment #0)
> 2- Press Alt-F2 to rename it.

Sorry, it is F2 key only to rename files. :D
Comment 2 Carlos Soriano 2015-12-14 10:00:57 UTC
Hi,

This should not happen since the popover takes grab, and therefore any key stroke goes to the keyboard and any mouse click dismisses the popover.

How did you trigger search while having the renaming popover active?
Comment 3 Eddy Castillo 2015-12-15 14:32:32 UTC
Created attachment 317428 [details]
Showing nautilus crash

Step 3 in the first comment. I use the tab key to move the focus on the blue button of the renaming popover. There I press any alphanumerical key and crash happens.

See video attached.
Comment 4 Carlos Soriano 2015-12-15 14:33:53 UTC
ah ugh, didn't think about this case...
Comment 5 Carlos Soriano 2015-12-15 15:02:54 UTC
-> track it 3.18
Comment 6 Carlos Soriano 2016-01-11 10:42:12 UTC
*** Bug 760448 has been marked as a duplicate of this bug. ***
Comment 7 Carlos Soriano 2016-02-22 15:02:25 UTC
fixed in 3.18.5 probably with the search and views improvement.