[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Friedrich Graeter
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 
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=)
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=, 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 "\n\nhttp://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  to continue, or q  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 = 
n_read = -512
buffer = "\n\nhttp://purl.org/dc/elements/1.1/\"\n   
xmlns:cc=\"http://creativeco";...
res = 
#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 = 
pixbuf = 
info = {width = 48, height = 48, preserve_aspect_ratio = 1}
#8  0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf (
icon_info=0x34b39e0, scale_only=)
at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925
stream = 
image_width = 
image_height = 
source_pixbuf = 
#9  0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, 
---Type  to continue, or q  to quit---
error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066
__PRETTY_FUNCTION__ = "IA__gtk_icon_info_load_icon"
#10 0x004ebabe in nautilus_icon_info_lookup (
icon=, size=48) at nautilus-icon-info.c:144
lookup_key = {
  filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg", size = 48}
gtkicon_info = (GtkIconInfo *) 0x34b39e0
names = 
icon_theme = 
filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg"
icon_info = (Naut

[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Sebastien Bacher
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-07-10 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-07-10 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Friedrich Graeter
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 
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=)
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=, 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 "\n\nhttp://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  to continue, or q  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 = 
n_read = -512
buffer = "\n\nhttp://purl.org/dc/elements/1.1/\"\n   
xmlns:cc=\"http://creativeco";...
res = 
#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 = 
pixbuf = 
info = {width = 48, height = 48, preserve_aspect_ratio = 1}
#8  0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf (
icon_info=0x34b39e0, scale_only=)
at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925
stream = 
image_width = 
image_height = 
source_pixbuf = 
#9  0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, 
---Type  to continue, or q  to quit---
error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066
__PRETTY_FUNCTION__ = "IA__gtk_icon_info_load_icon"
#10 0x004ebabe in nautilus_icon_info_lookup (
icon=, size=48) at nautilus-icon-info.c:144
lookup_key = {
  filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg", size = 48}
gtkicon_info = (GtkIconInfo *) 0x34b39e0
names = 
icon_theme = 
filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg"
icon_info = (Naut

[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Sebastien Bacher
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-07-10 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Friedrich Graeter
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 
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=)
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=, 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 "\n\nhttp://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  to continue, or q  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 = 
n_read = -512
buffer = "\n\nhttp://purl.org/dc/elements/1.1/\"\n   
xmlns:cc=\"http://creativeco";...
res = 
#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 = 
pixbuf = 
info = {width = 48, height = 48, preserve_aspect_ratio = 1}
#8  0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf (
icon_info=0x34b39e0, scale_only=)
at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925
stream = 
image_width = 
image_height = 
source_pixbuf = 
#9  0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, 
---Type  to continue, or q  to quit---
error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066
__PRETTY_FUNCTION__ = "IA__gtk_icon_info_load_icon"
#10 0x004ebabe in nautilus_icon_info_lookup (
icon=, size=48) at nautilus-icon-info.c:144
lookup_key = {
  filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg", size = 48}
gtkicon_info = (GtkIconInfo *) 0x34b39e0
names = 
icon_theme = 
filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg"
icon_info = (Naut

[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Sebastien Bacher
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-07-10 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Friedrich Graeter
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 
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=)
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=, 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 "\n\nhttp://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  to continue, or q  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 = 
n_read = -512
buffer = "\n\nhttp://purl.org/dc/elements/1.1/\"\n   
xmlns:cc=\"http://creativeco";...
res = 
#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 = 
pixbuf = 
info = {width = 48, height = 48, preserve_aspect_ratio = 1}
#8  0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf (
icon_info=0x34b39e0, scale_only=)
at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925
stream = 
image_width = 
image_height = 
source_pixbuf = 
#9  0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, 
---Type  to continue, or q  to quit---
error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066
__PRETTY_FUNCTION__ = "IA__gtk_icon_info_load_icon"
#10 0x004ebabe in nautilus_icon_info_lookup (
icon=, size=48) at nautilus-icon-info.c:144
lookup_key = {
  filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg", size = 48}
gtkicon_info = (GtkIconInfo *) 0x34b39e0
names = 
icon_theme = 
filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg"
icon_info = (Naut

[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Sebastien Bacher
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-07-10 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Friedrich Graeter
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 
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=)
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=, 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 "\n\nhttp://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  to continue, or q  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 = 
n_read = -512
buffer = "\n\nhttp://purl.org/dc/elements/1.1/\"\n   
xmlns:cc=\"http://creativeco";...
res = 
#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 = 
pixbuf = 
info = {width = 48, height = 48, preserve_aspect_ratio = 1}
#8  0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf (
icon_info=0x34b39e0, scale_only=)
at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925
stream = 
image_width = 
image_height = 
source_pixbuf = 
#9  0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, 
---Type  to continue, or q  to quit---
error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066
__PRETTY_FUNCTION__ = "IA__gtk_icon_info_load_icon"
#10 0x004ebabe in nautilus_icon_info_lookup (
icon=, size=48) at nautilus-icon-info.c:144
lookup_key = {
  filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg", size = 48}
gtkicon_info = (GtkIconInfo *) 0x34b39e0
names = 
icon_theme = 
filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg"
icon_info = (Naut

[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Sebastien Bacher
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-24 Thread Friedrich Graeter
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 
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=)
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=, 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 "\n\nhttp://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  to continue, or q  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 = 
n_read = -512
buffer = "\n\nhttp://purl.org/dc/elements/1.1/\"\n   
xmlns:cc=\"http://creativeco";...
res = 
#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 = 
pixbuf = 
info = {width = 48, height = 48, preserve_aspect_ratio = 1}
#8  0x7f427fdbab4f in icon_info_ensure_scale_and_pixbuf (
icon_info=0x34b39e0, scale_only=)
at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:2925
stream = 
image_width = 
image_height = 
source_pixbuf = 
#9  0x7f427fdbb222 in IA__gtk_icon_info_load_icon (icon_info=0x34b39e0, 
---Type  to continue, or q  to quit---
error=0x0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkicontheme.c:3066
__PRETTY_FUNCTION__ = "IA__gtk_icon_info_load_icon"
#10 0x004ebabe in nautilus_icon_info_lookup (
icon=, size=48) at nautilus-icon-info.c:144
lookup_key = {
  filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg", size = 48}
gtkicon_info = (GtkIconInfo *) 0x34b39e0
names = 
icon_theme = 
filename = 0x37125e0 
"/usr/share/icons/Tango/scalable/mimetypes/image-x-generic.svg"
icon_info = (Naut

[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Chris Coulson
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Sebastien Bacher
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-06-25 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 391757] Re: Nautilus hangs when clicking on preview images

2009-07-10 Thread Friedrich Graeter
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs