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 711480 - nautilus unable to set image from Internet as icon
nautilus unable to set image from Internet as icon
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Properties Dialog
3.8.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-05 12:03 UTC by Shubham Rao
Modified: 2014-02-17 21:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix crash when entering unsupported uris in the file chooser (870 bytes, patch)
2013-11-10 15:44 UTC, Nelson Benitez
committed Details | Review

Description Shubham Rao 2013-11-05 12:03:47 UTC
[Impact]
Unable to set as icons, image files directly from the Internet
Nautilus Crashes and the desktop icons disappear for ~4-5 sec

[Test Case]
- Create a .desktop file (Application Shortcut in my case) in gedit .
- Set it as executable
- Go to the file's properties by right clicking on it -> Properties
- Click on its icon on top right corner.
- A dialog box appears to choose an icon for the file.
- Click the pencil icon at the top right corner and enter link to any image from the internet (like: http://design.ubuntu.com/wp-content/uploads/ubuntu-logo32.png)

[Expected]
- The file is downloaded and set as an icon for the file

[What Happens]
The window disappears and all icons from the desktop vanish for few seconds and then reappear
Expected icon is not set

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: nautilus 1:3.8.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Sat Oct 26 22:18:46 2013
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'geometry' b"'840x550+65+24'"
 b'org.gnome.nautilus.window-state' b'maximized' b'true'
InstallationDate: Installed on 2013-10-19 (7 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 António Fernandes 2013-11-05 12:33:05 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 42277 ***
Comment 2 António Fernandes 2013-11-05 12:43:38 UTC
Sorry, I pulled the trigger too earlier. This is actually a different bug, because the image is not from a remote mount but from the web, and results in a crash.

Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 3 Shubham Rao 2013-11-06 11:40:10 UTC
Here's the stack trace

--- stack trace ---
  • #0 __GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 56
  • #1 __GI_abort
    at abort.c line 90
  • #2 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 g_assertion_message
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #4 g_assertion_message_expr
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #5 ??
  • #6 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #7 g_main_context_dispatch
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #8 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #9 g_main_context_iteration
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #10 g_application_run
    from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  • #11 ??
  • #12 __libc_start_main
    at libc-start.c line 260
  • #13 ??
  • #0 __GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 56
  • #1 __GI_abort
    at abort.c line 90
  • #2 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 g_assertion_message
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #4 g_assertion_message_expr
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #5 ??
  • #6 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #7 g_main_context_dispatch
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #8 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #9 g_main_context_iteration
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #10 g_application_run
    from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  • #11 ??
  • #12 __libc_start_main
    at libc-start.c line 260
  • #13 ??

Comment 4 António Fernandes 2013-11-06 12:48:32 UTC
Thanks for the stack trace.

Unfortunately, this stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? To do so, install these 3 packages:

libglib2.0-0-dbg
libgtk-3-0-dbg
nautilus-dbg

Then repeat the procedures to get a new stacktrace. Thanks in advance!
Comment 5 Shubham Rao 2013-11-06 13:29:44 UTC
New file with all info needed:

--- stack trace ---
  • #0 __GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 56
  • #1 __GI_abort
    at abort.c line 90
  • #2 _g_log_abort
    at /build/buildd/glib2.0-2.38.1/./glib/gmessages.c line 255
  • #3 g_assertion_message
  • #4 g_assertion_message_expr
    at /build/buildd/glib2.0-2.38.1/./glib/gtestutils.c line 2293
  • #5 set_icon
    at nautilus-properties-window.c line 5358
  • #6 custom_icon_file_chooser_response_cb
    at nautilus-properties-window.c line 5454
  • #7 g_closure_invoke
    at /build/buildd/glib2.0-2.38.1/./gobject/gclosure.c line 777
  • #8 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3586
  • #9 g_signal_emit_valist
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3330
  • #10 g_signal_emit
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3386
  • #11 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.38.1/./gobject/gclosure.c line 840
  • #12 g_signal_emit_valist
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3238
  • #13 g_signal_emit
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3386
  • #14 button_activate_timeout
    at /build/buildd/gtk+3.0-3.8.4/./gtk/gtkbutton.c line 1994
  • #15 gdk_threads_dispatch
    at /build/buildd/gtk+3.0-3.8.4/./gdk/gdk.c line 788
  • #16 g_timeout_dispatch
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 4450
  • #17 g_main_dispatch
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3065
  • #18 g_main_context_dispatch
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3641
  • #19 g_main_context_iterate
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3712
  • #20 g_main_context_iteration
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3773
  • #21 g_application_run
    at /build/buildd/glib2.0-2.38.1/./gio/gapplication.c line 1635
  • #22 main
    at nautilus-main.c line 104
  • #0 __GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 56
  • #1 __GI_abort
    at abort.c line 90
  • #2 _g_log_abort
    at /build/buildd/glib2.0-2.38.1/./glib/gmessages.c line 255
  • #3 g_assertion_message
  • #4 g_assertion_message_expr
    at /build/buildd/glib2.0-2.38.1/./glib/gtestutils.c line 2293
  • #5 set_icon
    at nautilus-properties-window.c line 5358
  • #6 custom_icon_file_chooser_response_cb
    at nautilus-properties-window.c line 5454
  • #7 g_closure_invoke
    at /build/buildd/glib2.0-2.38.1/./gobject/gclosure.c line 777
  • #8 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3586
  • #9 g_signal_emit_valist
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3330
  • #10 g_signal_emit
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3386
  • #11 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.38.1/./gobject/gclosure.c line 840
  • #12 g_signal_emit_valist
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3238
  • #13 g_signal_emit
    at /build/buildd/glib2.0-2.38.1/./gobject/gsignal.c line 3386
  • #14 button_activate_timeout
    at /build/buildd/gtk+3.0-3.8.4/./gtk/gtkbutton.c line 1994
  • #15 gdk_threads_dispatch
    at /build/buildd/gtk+3.0-3.8.4/./gdk/gdk.c line 788
  • #16 g_timeout_dispatch
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 4450
  • #17 g_main_dispatch
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3065
  • #18 g_main_context_dispatch
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3641
  • #19 g_main_context_iterate
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3712
  • #20 g_main_context_iteration
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c line 3773
  • #21 g_application_run
    at /build/buildd/glib2.0-2.38.1/./gio/gapplication.c line 1635
  • #22 main
    at nautilus-main.c line 104

Comment 6 Shubham Rao 2013-11-06 13:30:12 UTC
Hope the latest one helps...
Comment 7 António Fernandes 2013-11-06 14:15:36 UTC
Yes, the latest one has complete debug information!
Comment 8 Nelson Benitez 2013-11-10 15:44:01 UTC
Created attachment 259448 [details] [review]
Fix crash when entering unsupported uris in the file chooser

This patch fixes the crash
Comment 9 Cosimo Cecchi 2014-02-17 21:20:48 UTC
Pushed this one to master.