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 317736 - Nautilus crashes when copying files with invalid encoding or special characters like umlauts in their filenames
Nautilus crashes when copying files with invalid encoding or special characte...
Status: RESOLVED DUPLICATE of bug 168695
Product: nautilus-python
Classification: Other
Component: general
0.3.2
Other other
: Urgent critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-02 12:03 UTC by Bastian Doetsch
Modified: 2005-10-02 18:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Proposed patch (1.62 KB, patch)
2005-10-02 14:31 UTC, Christian Neumair
none Details | Review

Description Bastian Doetsch 2005-10-02 12:03:56 UTC
Distribution: Ubuntu 5.10 (breezy)
Package: nautilus
Severity: Normal
Version: GNOME2.12.0 2.12.0
Gnome-Distributor: Ubuntu
Synopsis: Nautilus crashes when copying files with invalid encoding or special characters like umlauts in their filenames
Bugzilla-Product: nautilus
Bugzilla-Component: general
Bugzilla-Version: 2.12.0
BugBuddy-GnomeVersion: 2.0 (2.12.0)
Description:
Description of the crash:
I copied some files from one folder to another. Nautilus crashed,
because of a filename containing '&'. This also happens with filenames 
that show '(invalid encoding)' which might mean that it's an utf8 <-> iso-8859-1
issue.

Steps to reproduce the crash:
1. Choose a file with (invalid encoding) in the filename.
2. Copy it to another folder.
3. Enjoy the sight of nautilus crashing.

Expected Results:
A clean copy :-).

How often does this happen?
Every time.

Additional Information:

I use Ubuntu Breezy with the latest updates from Oct 2 2005 with the
following locale(s):

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=



Debugging Information:

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1226451264 (LWP 12874)]
[New Thread -1244488784 (LWP 12939)]
[New Thread -1244222544 (LWP 12935)]
[New Thread -1241310288 (LWP 12882)]
[New Thread -1241044048 (LWP 12881)]
[New Thread -1240769616 (LWP 12880)]
[New Thread -1240020048 (LWP 12879)]
[New Thread -1228833872 (LWP 12875)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1226451264 (LWP 12874))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 PyErr_Fetch
    from /usr/lib/libpython2.4.so.1.0
  • #5 PyModule_GetWarningsModule
    from /usr/lib/libpython2.4.so.1.0
  • #6 PyErr_Warn
    from /usr/lib/libpython2.4.so.1.0
  • #7 ??
    from /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
  • #8 ??
  • #9 ??
  • #10 g_allocator_free
    from /usr/lib/libglib-2.0.so.0
  • #11 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #12 g_log
    from /usr/lib/libglib-2.0.so.0
  • #13 gtk_label_set_attributes
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 nautilus_file_operations_progress_new_file
    at nautilus-file-operations-progress.c line 585
  • #15 progress_dialog_set_to_from_item_text
    at nautilus-file-operations.c line 397




--
"Every thing possible to be believ'd is an image of truth."
- William Blake




------- Bug moved to this database by unknown@gnome.bugs 2005-10-02 12:03 UTC -------


Unknown version 2.12.0 in product nautilus.  Setting version to "2.12.x".

Comment 1 Sebastien Bacher 2005-10-02 12:21:25 UTC
This is due to nautilus-python
Comment 2 Christian Neumair 2005-10-02 13:53:03 UTC
Sebastien: No, it has nothing to do with python.
Comment 3 Bastian Doetsch 2005-10-02 13:58:08 UTC
Christian: But it seems like. I just de-installed the ubuntu python-nautilus
package. The bug is not reproducable anymore.
Comment 4 Christian Neumair 2005-10-02 14:30:35 UTC
Bastian: There is a patch available under:
http://mail.gnome.org/archives/nautilus-list/2005-October/msg00008.html

Please check whether it helps.
Comment 5 Christian Neumair 2005-10-02 14:31:44 UTC
Created attachment 52938 [details] [review]
Proposed patch
Comment 6 Christian Neumair 2005-10-02 14:37:31 UTC
Thanks for the extremely verbose stack trace btw. :)
Comment 7 Bastian Doetsch 2005-10-02 14:42:52 UTC
That's a nice thing about ubuntu :-), I just installed the nautilus-dbg package
and let nautilus crash again...

Btw., Since I don't have any build stuff installed I gotta see whether I can
manage to apply the patch. Haven't compiled anything for ages...

Schönen Sonntag noch ;-),
Bastian
Comment 8 Christian Neumair 2005-10-02 14:49:27 UTC
It's as simple as

sudo apt-get install fakeroot &&
apt-get source nautilus &&
cd nautilus* &&
gnomevfs-cat "http://bugzilla.gnome.org/attachment.cgi?id=52938&action=view" |
patch -p0 &&
fakeroot dpkg-buildpackage -us -uc &&
cd ..
dpkg -i *nautilus*.deb
Comment 9 Bastian Doetsch 2005-10-02 16:06:51 UTC
Okay, I built the packages, installed a few more dependencies, reinstalled
python-nautilus, did a killall nautilus and tried to copy a file affected. As
expected, Nautilus crashed.

Then I executed sudo dpkg -i *nautilus*.deb and did a killall nautilus.
Afterwards I tried to copy, again. Unfortunately, Nautilus crashed with the
below pasted stacktrace. Afterwards I de-installed python-nautilus again and
tried another copy, which worked.

Bastian

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1225578816 (LWP 3998)]
[New Thread -1240753232 (LWP 4005)]
[New Thread -1240486992 (LWP 4004)]
[New Thread -1239274576 (LWP 4000)]
[New Thread -1228059728 (LWP 3999)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1225578816 (LWP 3998))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 PyErr_Fetch
    from /usr/lib/libpython2.4.so.1.0
  • #5 PyModule_GetWarningsModule
    from /usr/lib/libpython2.4.so.1.0
  • #6 PyErr_Warn
    from /usr/lib/libpython2.4.so.1.0
  • #7 ??
    from /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
  • #8 ??
  • #9 ??
  • #10 g_allocator_free
    from /usr/lib/libglib-2.0.so.0
  • #11 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #12 g_log
    from /usr/lib/libglib-2.0.so.0
  • #13 gtk_label_set_attributes
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 nautilus_file_operations_progress_new_file
    at nautilus-file-operations-progress.c line 584

Comment 10 Johan (not receiving bugmail) Dahlin 2005-10-02 18:05:51 UTC

*** This bug has been marked as a duplicate of 168695 ***