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 158253 - Crash when parsing dir with UTF8(?) filenames
Crash when parsing dir with UTF8(?) filenames
Status: RESOLVED DUPLICATE of bug 352747
Product: gthumb
Classification: Other
Component: general
2.6.x
Other Linux
: High critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2004-11-14 11:11 UTC by wwp
Modified: 2006-09-20 18:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description wwp 2004-11-14 11:11:27 UTC
Open gthumb, enter a directory that contains a file containing ä or ö char,
bang. Backtrace follows:

Backtrace was generated from '/opt/gnome2/bin/gthumb'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1024 (LWP 5126)]
[New Thread 2049 (LWP 5127)]
[New Thread 1026 (LWP 5128)]
[New Thread 2051 (LWP 5129)]
[New Thread 3076 (LWP 5130)]
[New Thread 4101 (LWP 5131)]
[New Thread 5126 (LWP 5132)]
[New Thread 6151 (LWP 5133)]
[New Thread 7176 (LWP 5137)]
0x4121f449 in wait4 () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 5126))

  • #0 wait4
    from /lib/libc.so.6
  • #1 waitpid
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 g_utf8_strup
    from /usr/lib/libglib-2.0.so.0
  • #7 g_utf8_strdown
    from /usr/lib/libglib-2.0.so.0
  • #8 file_is_image
    at file-utils.c line 1020
  • #9 gth_file_list_set_list
    at gth-file-list.c line 538
  • #10 window_set_file_list
    at gthumb-window.c line 932
  • #11 go_to_directory_continue
    at gthumb-window.c line 6440
  • #12 dir_list_refresh_continue
    at dir-list.c line 403
  • #13 directory_load_cb
    at file-utils.c line 168
  • #14 _gnome_vfs_job_complete
    from /opt/gnome2/lib/libgnomevfs-2.so.0
  • #15 _gnome_vfs_job_complete
    from /opt/gnome2/lib/libgnomevfs-2.so.0
  • #16 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #18 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #21 gtk_main
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #22 main
    at main.c line 161
  • #0 wait4
    from /lib/libc.so.6

Comment 1 Elijah Newren 2004-11-14 20:41:15 UTC
Appears to be a unique stack trace, according to the simple-dup-finder.
Comment 2 Denis Jacquerye 2005-01-30 02:38:12 UTC
gthumb is behaving properly on a test directory containing the following files:
uaä.png  ue&#601;.png  uoö.png  uz&#64577;.png

I cannot reproduce the bug.
Comment 3 wwp 2005-02-08 14:55:08 UTC
To me, w/ LANG=en_US, there are 2 cases:
1/ I enter test1/, which contains "uüoö.jpg". The .jpg won't appear in the filelist.
2/ I enter test2/, which contains a subdir "ü", the subdir will appear as
"(Invalid Name)" in the directory list.

I tried w/ LANG=en_US.UTF-8 or fr_FR, but this did not solve my problem. Any
idea how I can fix this since you say it's not a gthumb issue? This problem
prevent me from seeing files or directories that contain any accent :-\.

I tried w/ some other gnome2 apps, some (gnome-search-tool) see the "ü" dir as
"\374" (funny but at least it works), some see it as "ü".

Update: now w/ gthumb 2.6.3, it sees the file properly but crash when clicking
on it, and still see "(Invalid dir)" (and crash when clicking on it too).
Comment 4 Michael Chudobiak 2006-09-20 18:04:47 UTC
Marking as duplicate of resolved bug 352747. Fixed in CVS.

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