[Bug 391757] Re: Nautilus hangs when clicking on preview images
please enable apport and provide a crash for that one you're facing, lets close this bug for now, thanks. ** Changed in: nautilus (Ubuntu) Status: Incomplete = Invalid ** Changed in: nautilus (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/391757 Title: Nautilus hangs when clicking on preview images -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
could you try if that's still an issue in lucid? could you add the example to the bug? -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
There are other bug reports somehow connected to this issue, but I'll post here since this is still open. I have 9.10 in two machines and in one of them this issue shows up. The one that works fine is a MacBook2,1 with 2GB of RAM and 9.10 64bits. The other is a desktop with 6GB of RAM, also running 9.10 64 bits. Both have the same related libs versions (I'll confirm that later). The backtrace from nautilus when it hangs is the following: #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 #1 0x76933295 in _L_lock_949 () from /lib/libpthread.so.0 #2 0x769330b8 in __pthread_mutex_lock (mutex=0x75c4a488) at pthread_mutex_lock.c:61 #3 0x75a36555 in _gdk_pixbuf_lock (image_module=value optimized out) at /build/buildd/gtk+2.0-2.18.3/gdk-pixbuf/gdk-pixbuf-io.c:119 #4 0x75a39df5 in gdk_pixbuf_loader_load_module (loader=0x10a5220, image_type=value optimized out, error=0x0) at /build/buildd/gtk+2.0-2.18.3/gdk-pixbuf/gdk-pixbuf-loader.c:379 #5 0x75a3a8c3 in gdk_pixbuf_loader_eat_header_write (loader=0x10a5220, buf=0x7fffd83c9010 ?xml version=\1.0\ encoding=\UTF-8\ standalone=\no\?\n!-- Created with Inkscape (http://www.inkscape.org/) --\n\nsvg\n xmlns:i=\http://ns.adobe.com/AdobeIllustrator/10.0/\\n xmlns:dc=\http://purl.;..., count=579848, error=0x0) at /build/buildd/gtk+2.0-2.18.3/gdk-pixbuf/gdk-pixbuf-loader.c:417 #6 IA__gdk_pixbuf_loader_write (loader=0x10a5220, buf=0x7fffd83c9010 ?xml version=\1.0\ encoding=\UTF-8\ standalone=\no\?\n!-- Created with Inkscape (http://www.inkscape.org/) --\n\nsvg\n xmlns:i=\http://ns.adobe.com/AdobeIllustrator/10.0/\\n xmlns:dc=\http://purl.;..., count=579848, error=0x0) at /build/buildd/gtk+2.0-2.18.3/gdk-pixbuf/gdk-pixbuf-loader.c:463 #7 0x004b3c29 in get_pixbuf_for_content (source_object=value optimized out, res=value optimized out, user_data=value optimized out) at nautilus-directory-async.c:3886 #8 thumbnail_read_callback (source_object=value optimized out, res=value optimized out, user_data=value optimized out) at nautilus-directory-async.c:3937 #9 0x757ae89f in load_contents_close_callback (obj=value optimized out, close_res=value optimized out, user_data=0x1243f70) at /build/buildd/glib2.0-2.22.3/gio/gfile.c:6142 #10 0x757c6be0 in async_ready_close_callback_wrapper (source_object=0xe71860, res=0xe718c0, user_data=0x1243f70) at /build/buildd/glib2.0-2.22.3/gio/ginputstream.c:485 #11 0x757d4b28 in complete_in_idle_cb_for_thread (_data=value optimized out) at /build/buildd/glib2.0-2.22.3/gio/gsimpleasyncresult.c:650 #12 0x749a5bce in g_main_dispatch (context=0x7fee80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960 #13 IA__g_main_context_dispatch (context=0x7fee80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513 #14 0x749a9598 in g_main_context_iterate (context=0x7fee80, block=value optimized out, dispatch=value optimized out, self=value optimized out) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591 #15 0x749a99f5 in IA__g_main_loop_run (loop=0xdc32b0) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2799 #16 0x76252177 in IA__gtk_main () at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1218 #17 0x00443947 in main (argc=1, argv=0x7fffe3c8) at nautilus-main.c:588 It hangs sometimes when scrolling the file list, changing zoom, opening preferences for the file that causes the hang, etc. I tried to clean up the thumbnails first and it would hang in that file again. I then created a new home folder to have the configuration files clean, and still get the freeze. The svg file in question has various linked bitmaps inside. -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
** Attachment added: Full backtrace http://launchpadlibrarian.net/36596780/nautilus.txt -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
Aha! Well, the file in question is shared through Dropbox. One of the files in the SVG was a local TIF in the desktop that wasn't available in the laptop. I took the file out of the xml and the thumbnail got generated without issues in the desktop! So this has got something to do with TIFs inside the SVG... -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
The problem is, that this bug does look like a crash of Nautilus, since nautilus hangs completely, unless the thread completely rendered the SVG. Since SVG and Inkscape gains on popularity it is a real issue for everyone, who wants to make image processing on Ubuntu. It's also a little bit strange, why Nautilus crashes, only when opening another file (using double-click or right-click and Open). Why doesn't it hang already when creating the thumbnail of other files? For me it looks like that there is some small locking issue inside Nautilus when opening files during a thumbnail is generated... -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
Could you provide an example image that causes this issue? Thanks -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
seems to not be a bug but just a slow loading due to a complex image ** Changed in: nautilus (Ubuntu) Importance: Undecided = Low ** Changed in: nautilus (Ubuntu) Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
I analyzed the problem and found out, that it does not seem to be a problem with the images I try to open. The problem seems to be a complex SVG file that got visited when I browse to the destination directory of the image. I checked the debugger output of gdb and I saw, that nautilus start a new thread whenever I visit the directory with this SVG file. But because this SVG file is really complex, this thread doesn't terminate in an apropriate time. When I open another image without this thread to be terminated, nautilus hangs... (Perhaps, because it waits for a lock to be released by the thread that creates the SVG preview) Unfortunately I can't disclose this SVG file by now. But it is apparently very complex - Inkscape needs a lot of memory and time to render it. So perhaps the SVG thumbnailing mechanism of nautilus has to be prevented to thumbnail complex images... -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
Your backtrace is incomplete, as it's missing some debug symbols - you need to install at least libglib2.0-0-dbg, libgtk2.0-0-dbg and nautilus- dbg. Also, is that the full output of backtrace full from GDB? Are there any other threads running too? (you should see these in GDB also) ** Changed in: nautilus (Ubuntu) Status: New = Incomplete -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
Also, which version of Ubuntu are you using? -- Nautilus hangs when clicking on preview images https://bugs.launchpad.net/bugs/391757 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 391757] Re: Nautilus hangs when clicking on preview images
Sorry, for not providing all required informations. I'm using Jaunty (with latest updates). Before crashing I've got the following gdb output: ~ $ gdb nautilus GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu... (gdb) run Starting program: /usr/bin/nautilus [Thread debugging using libthread_db enabled] [New Thread 0x7f428192d7e0 (LWP 2012)] [New Thread 0x7f42765f2950 (LWP 2026)] [Thread 0x7f42765f2950 (LWP 2026) exited] Initializing nautilus-open-terminal extension [New Thread 0x7f42765f2950 (LWP 2068)] [New Thread 0x7f4263133950 (LWP 2069)] ** (nautilus:2012): WARNING **: Unable to add monitor: Nicht unterstützt [Thread 0x7f42765f2950 (LWP 2068) exited] [New Thread 0x7f42765f2950 (LWP 2070)] [New Thread 0x7f426194f950 (LWP 2071)] [Thread 0x7f4263133950 (LWP 2069) exited] [Thread 0x7f42765f2950 (LWP 2070) exited] ** (nautilus:2012): WARNING **: Cannot extract frame (252, 0) from the grid [New Thread 0x7f42765f2950 (LWP 2076)] [New Thread 0x7f4263133950 (LWP 2077)] [Thread 0x7f426194f950 (LWP 2071) exited] [New Thread 0x7f426194f950 (LWP 2079)] [Thread 0x7f426194f950 (LWP 2079) exited] [Thread 0x7f42765f2950 (LWP 2076) exited] [New Thread 0x7f42765f2950 (LWP 2081)] [Thread 0x7f42765f2950 (LWP 2081) exited] [New Thread 0x7f42765f2950 (LWP 2087)] [New Thread 0x7f426194f950 (LWP 2088)] [Thread 0x7f426194f950 (LWP 2088) exited] [New Thread 0x7f4262498950 (LWP 2089)] [Thread 0x7f42765f2950 (LWP 2087) exited] [New Thread 0x7f42765f2950 (LWP 2090)] [New Thread 0x7f426194f950 (LWP 2091)] [New Thread 0x7f42603da950 (LWP 2092)] [Thread 0x7f426194f950 (LWP 2091) exited] [Thread 0x7f42765f2950 (LWP 2090) exited] [Thread 0x7f42603da950 (LWP 2092) exited] After pressing CTRL+C, because nautilus hangs: ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x7f428192d7e0 (LWP 2012)] 0x7f427d34aa94 in __lll_lock_wait () from /lib/libpthread.so.0 Doing the backtrace leads to: (gdb) backtrace full #0 0x7f427d34aa94 in __lll_lock_wait () from /lib/libpthread.so.0 No symbol table info available. #1 0x7f427d346190 in _L_lock_102 () from /lib/libpthread.so.0 No symbol table info available. #2 0x7f427d345a7e in pthread_mutex_lock () from /lib/libpthread.so.0 No symbol table info available. #3 0x7f427f5da3d5 in _gdk_pixbuf_lock (image_module=value optimized out) at /build/buildd/gtk+2.0-2.16.1/gdk-pixbuf/gdk-pixbuf-io.c:119 No locals. #4 0x7f427f5ddb55 in gdk_pixbuf_loader_load_module (loader=0x3595580, image_type=value optimized out, error=0x34b3a28) at /build/buildd/gtk+2.0-2.16.1/gdk-pixbuf/gdk-pixbuf-loader.c:379 priv = (GdkPixbufLoaderPrivate *) 0x3711550 #5 0x7f427f5de6a5 in IA__gdk_pixbuf_loader_write (loader=0x3595580, buf=0x7fff8995c530 ?xml version=\1.0\ encoding=\UTF-8\ standalone=\no\?\n!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --\nsvg\n xmlns:dc=\http://purl.org/dc/elements/1.1/\\n xmlns:cc=\http://creativeco;..., count=19750, error=0x34b3a28) at /build/buildd/gtk+2.0-2.16.1/gdk-pixbuf/gdk-pixbuf-loader.c:417 eaten = 1024 priv = (GdkPixbufLoaderPrivate *) 0x3711550 __PRETTY_FUNCTION__ = IA__gdk_pixbuf_loader_write #6 0x7f427f5db583 in load_from_stream (loader=0x3595580, ---Type return to continue, or q return to quit--- stream=0x3514460, cancellable=0x0, error=0x34b3a28) at /build/buildd/gtk+2.0-2.16.1/gdk-pixbuf/gdk-pixbuf-io.c:1519 pixbuf = value optimized out n_read = -512 buffer = ?xml version=\1.0\ encoding=\UTF-8\ standalone=\no\?\n!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --\nsvg\n xmlns:dc=\http://purl.org/dc/elements/1.1/\\n xmlns:cc=\http://creativeco;... res = value optimized out #7 0x7f427f5db6ef in IA__gdk_pixbuf_new_from_stream_at_scale ( stream=0x3514460, width=48, height=48, preserve_aspect_ratio=1, cancellable=0x0, error=0x34b3a28) at /build/buildd/gtk+2.0-2.16.1/gdk-pixbuf/gdk-pixbuf-io.c:1599 loader = value optimized out pixbuf = value optimized out info = {width = 48, height = 48, preserve_aspect_ratio = 1} #8 0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf ( icon_info=0x34b39e0, scale_only=value optimized out) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925 stream = value optimized out image_width = value optimized out image_height = value optimized out source_pixbuf = value optimized out #9 0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, ---Type return to continue, or q return to quit--- error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066