[Bug 20556] New: Panel crashes whenever .recently_used file contains filenames with special characters

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Dec 6 22:14:56 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=20556
Ubuntu | gnome-panel

           Summary: Panel crashes whenever .recently_used file contains
                    filenames with special characters
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gnome-panel
        AssignedTo: seb128 at ubuntu.com
        ReportedBy: joacelio.lucena at gmail.com
         QAContact: desktop-bugs at lists.ubuntu.com


Description of the crash:

Panel crashes whenever .recently_used file contains filenames with
special characters. Even after a application restart, it persits to
crash. But if the .recently_used file is removed the application goes
back to normal operation.

Steps to reproduce the crash:
1.  Create file with a special character (e.g. The test.txt)
2. Open it
3. 

Expected Results:

gnome-panel crashes even after a restart and persists on that state.

How often does this happen?

Whenever .recently_used file contains filenames with special characters.
The workaround is to remove .recently_used file present in the home
directory and kill the gnome-panel.

Additional Information:

Output of last 100 lines of strace gnome-panel

open("/usr/local/share/applications/gnome/search-tool.desktop",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/applications/gnome/search/tool.desktop",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/applications/gnome-search-tool.desktop",
O_RDONLY|O_LARGEFILE) = 28
fstat64(28, {st_mode=S_IFREG|0644, st_size=6691, ...}) = 0
read(28, "[Desktop Entry]\nEncoding=UTF-8\nN"..., 4096) = 4096
read(28, "\320\274\320\265\320\275\321\202\320\270 \320\275\320\260"...,
4096) = 2595
read(28, "", 4096)                      = 0
close(28)                               = 0
access("/home/joacelio/.gnome2", F_OK)  = 0
stat64("/home/joacelio/.gnome2", {st_mode=S_IFDIR|0700, st_size=4096,
...}) = 0
writev(10, [{"GIOP\1\2\1\0\234\0\0\0", 12},
{"\320y\315\277\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\317\344"..., 44},
{"\35\0\0\0all_entries_with_schema_name"..., 36},
{"\1\0\0\0\1\0\0\0\f\0\0\0\1\1\1\1\1\0\1\5\t\1\1\0\0\0\0"..., 76}], 4) =
168
futex(0x80ee378, FUTEX_WAKE, 1)         = 1
write(9, "A", 1)                        = 1
writev(10, [{"GIOP\1\2\1\0\235\0\0\0", 12},
{"`y\315\277\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\317\344\260"..., 157}], 2)
= 169
futex(0x80ee378, FUTEX_WAKE, 1)         = 1
write(9, "A", 1)                        = 1
select(16, [15], NULL, NULL, {0, 0})    = 1 (in [15], left {0, 0})
getuid32()                              = 1000
recvmsg(15, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=0,
msg_flags=0}, 0) = 1
getsockopt(15, SOL_SOCKET, SO_PEERCRED, "h4\0\0\350\3\0\0\350\3\0\0",
[12]) = 0
select(16, [15], NULL, NULL, {0, 0})    = 1 (in [15], left {0, 0})
read(15, "\'\0\1\0\1\0\2\0\35\0/home/joacelio/.gtk-bo"..., 4106) = 78
time([1133108354])                      = 1133108354
select(16, [15], NULL, NULL, {0, 0})    = 0 (Timeout)
write(15, "\'\0\1\0\2\0\1\0\35\0/home/joacelio/.recent"..., 39) = 39
uname({sys="Linux", node="darkstar", ...}) = 0
time([1133108354])                      = 1133108354
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 28
fstat64(28, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
ioctl(28, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcd7768) = -1 EINVAL
(Invalid argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fc0000
read(28, "\213\337\fp1\207\1\333;\7We\327U\252#\262\270\226\246\266"...,
4096) = 4096
close(28)                               = 0
munmap(0xb7fc0000, 4096)                = 0
open("/home/joacelio/.recently-used", O_RDWR) = 28
fstat64(28, {st_mode=S_IFREG|0600, st_size=19999, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fc0000
_llseek(28, 0, [0], SEEK_SET)           = 0
fcntl64(28, F_SETLK, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0}) =
0
_llseek(28, 0, [0], SEEK_SET)           = 0
read(28, "<?xml version=\"1.0\"?>\n<RecentFil"..., 4096) = 4096
read(28, "132446442</Timestamp>\n</RecentIt"..., 4096) = 4096
read(28, "tItem>\n<URI>file:///media/cdrom0"..., 4096) = 4096
read(28, "Timestamp>\n<Groups>\n<Group>Totem"..., 4096) = 4096
read(28, "p>\n</RecentItem>\n<RecentItem>\n<U"..., 4096) = 3615
read(28, "", 4096)                      = 0
read(28, "", 4096)                      = 0
_llseek(28, 0, [0], SEEK_SET)           = 0
write(2, "\n** (gnome-panel:13412): WARNING"..., 131) = 131
write(2, "\n** (gnome-panel:13412): WARNING"..., 111) = 111
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(3, "\33\0\2\0\0\0\0\0", 8)        = 8
write(3, " \0\2\0\0\0\0\0", 8)          = 8
write(3, "+\0\1\0", 4)                  = 4
read(3, "\34\346\356\1\3\0\340\0\374\0\0\0\252\221j\0\0*\f\10\330"...,
32) = 32
read(3, "\34\273\356\1\3\0\340\0\372\0\0\0\252\221j\0\0\221j\0\330"...,
32) = 32
read(3, "\34\346\356\1\3\0\340\0\306\1\0\0\252\221j\0\0*\f\10\330"...,
32) = 32
read(3, "\241 \356\1\3\0\240\0\1\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
32) = 32
read(3, "\241 \356\1)\0\240\0\1\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32)
= 32
read(3, "\241 \356\1\1\0\240\0\1\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
32) = 32
read(3, "\34\346\356\1\3\0\340\0(\0\0\0\313\221j\0\0*\f\10\330\346"...,
32) = 32
read(3, "\27\0\356\1;\0\240\0\3\0\340\0\0\0\0\0\0\0\0\0002\0002"..., 32)
= 32
read(3, "\1\1\361\1\0\0\0\0 \0\200\0\4\0\0\0\0\0\0\0008\245\35\0"...,
32) = 32
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7144708) = 13432
waitpid(13432, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 13432
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(1)                           = ?

** (gnome-panel:13412): WARNING **: Error in parse: Erro na linha 22:
Caractere '%' não é válido dentro de um nome de entidade

** (gnome-panel:13412): WARNING **: Erro na linha 22: Caractere 'ão é
válido dentro de um nome de entidade

Debugging Information:

Backtrace was generated from '/usr/bin/gnome-panel'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223772480 (LWP 8833)]
[New Thread -1226310736 (LWP 8871)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77324ab in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7f10508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#3  <signal handler called>
#4  0xb774fdcd in g_error_free () from /usr/lib/libglib-2.0.so.0
#5  0x080a6965 in panel_addto_event_box_get_type ()
#6  0x080a7377 in egg_recent_model_get_list ()
#7  0x080a787c in egg_recent_model_changed ()
#8  0x080a78f2 in egg_recent_model_changed ()
#9  0xb7760006 in g_main_context_wakeup () from
/usr/lib/libglib-2.0.so.0
#10 0xb775e4ee in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#11 0xb77614f6 in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#12 0xb77617e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0xb7ad5e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x080655f7 in main ()

Thread 2 (Thread -1226310736 (LWP 8871)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb76b80f4 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7761348 in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb77617e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb7cc637e in link_thread_io_context () from
/usr/lib/libORBit-2.so.0
No symbol table info available.
#5  0xb777a8c4 in g_static_private_free () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0xb772c361 in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0xb76c1bde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread -1223772480 (LWP 8833)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb77324ab in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb7f10508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3  <signal handler called>
No symbol table info available.
#4  0xb774fdcd in g_error_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x080a6965 in panel_addto_event_box_get_type ()
No symbol table info available.
#6  0x080a7377 in egg_recent_model_get_list ()
No symbol table info available.
#7  0x080a787c in egg_recent_model_changed ()
No symbol table info available.
#8  0x080a78f2 in egg_recent_model_changed ()
No symbol table info available.
#9  0xb7760006 in g_main_context_wakeup () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0xb775e4ee in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0xb77614f6 in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0xb77617e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0xb7ad5e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x080655f7 in main ()
No symbol table info available.
#0  0xffffe410 in __kernel_vsyscall ()

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list