gnome-terminal always crashes when started with any parameter. It also fails with certain keys. I dumped an strace of it, and about the last thing it does before segfaulting, is search for a file of the name "gtkrc", which is nowhere. lstat64("/etc/gtk-2.0/gtkrc", 0xbffff130) = -1 ENOENT (No such file or directory) access("/etc/gtk-2.0/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/etc/gtk-2.0/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory) lstat64("/home/cer/.gtkrc-2.0", 0xbffff130) = -1 ENOENT (No such file or directory) access("/home/cer/.gtkrc-2.0.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.gtkrc-2.0.en", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.themes/Default/gtk-2.0/gtkrc", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/themes/Default/gtk-2.0/gtkrc", F_OK) = 0 lstat64("/usr/share/themes/Default/gtk-2.0/gtkrc", {st_mode=S_IFREG|0644, st_size=69, ...}) = 0 open("/usr/share/themes/Default/gtk-2.0/gtkrc", O_RDONLY) = 4 brk(0x8096000) = 0x8096000 brk(0x8097000) = 0x8097000 read(4, "#\n# This theme is the default th"..., 4000) = 69 read(4, "", 4000) = 0 close(4) = 0 access("/usr/share/themes/Default/gtk-2.0/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/themes/Default/gtk-2.0/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.themes/Default/gtk-2.0-key/gtkrc", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/themes/Default/gtk-2.0-key/gtkrc", F_OK) = 0 lstat64("/usr/share/themes/Default/gtk-2.0-key/gtkrc", {st_mode=S_IFREG|0644, st_size=82, ...}) = 0 open("/usr/share/themes/Default/gtk-2.0-key/gtkrc", O_RDONLY) = 4 read(4, "#\n# Default keybinding set. Empt"..., 4000) = 82 read(4, "", 4000) = 0 close(4) = 0 access("/usr/share/themes/Default/gtk-2.0-key/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/themes/Default/gtk-2.0-key/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory) geteuid32() = 500 getuid32() = 500 getegid32() = 100 getgid32() = 100 sched_get_priority_min(0) = 0 sched_get_priority_min(0) = 0 sched_get_priority_max(0) = 0 sched_get_priority_min(0) = 0 sched_get_priority_min(0) = 0 sched_get_priority_max(0) = 0 sched_get_priority_min(0) = 0 sched_get_priority_max(0) = 0 getpid() = 2788 setpriority(PRIO_PROCESS, 2788, 0) = 0 brk(0x8098000) = 0x8098000 getpid() = 2788 brk(0x809a000) = 0x809a000 getcwd("/home/cer", 4096) = 10 rt_sigaction(SIGSEGV, {0x409b8090, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGABRT, {0x409b8090, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGTRAP, {0x409b8090, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGFPE, {0x409b8090, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGBUS, {0x409b8090, [], 0x4000000}, NULL, 8) = 0 --- SIGSEGV (Segmentation fault) --- write(3, "\33\2\2\0\0\0\0\0 \1\2\0\0\0\0\0+\0\1\0", 20) = 20 read(3, "\1\2.\0\0\0\0\0\6\0\200\1\0\0\0\0\0\0\0\0\0\0\0\0 cs\10"..., 32) = 32 fork() = 2789 wait4(2789, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 2789 --- SIGCHLD (Child exited) --- _exit(1) = ? -- Cheers, Carlos Robinson
Op zondag 1 december 2002 19:44, schreef Carlos E. R.:
gnome-terminal always crashes when started with any parameter. It also fails with certain keys. I dumped an strace of it, and about the last thing it does before segfaulting, is search for a file of the name "gtkrc", which is nowhere.
lstat64("/etc/gtk-2.0/gtkrc", 0xbffff130) = -1 ENOENT (No such file or directory) access("/etc/gtk-2.0/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/etc/gtk-2.0/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory) lstat64("/home/cer/.gtkrc-2.0", 0xbffff130) = -1 ENOENT (No such file or directory) access("/home/cer/.gtkrc-2.0.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.gtkrc-2.0.en", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.themes/Default/gtk-2.0/gtkrc", F_OK) = -1
Do you have gtk2 installed? $ zgrep Default/gtk-2.0/gtkr Apt* AptContents.SuSE-8.1-i386.gz:usr/share/themes/Default/gtk-2.0/gtkrc Development_Libraries_X11/gtk2 -- Richard
The 02.12.01 at 20:26, Richard Bos wrote: (sorry I didn't notice your answer before)
Op zondag 1 december 2002 19:44, schreef Carlos E. R.:
gnome-terminal always crashes when started with any parameter. It also fails with certain keys. I dumped an strace of it, and about the last thing it does before segfaulting, is search for a file of the name "gtkrc", which is nowhere.
lstat64("/etc/gtk-2.0/gtkrc", 0xbffff130) = -1 ENOENT (No such file or directory) access("/etc/gtk-2.0/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/etc/gtk-2.0/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory) lstat64("/home/cer/.gtkrc-2.0", 0xbffff130) = -1 ENOENT (No such file or directory) access("/home/cer/.gtkrc-2.0.en_US", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.gtkrc-2.0.en", F_OK) = -1 ENOENT (No such file or directory) access("/home/cer/.themes/Default/gtk-2.0/gtkrc", F_OK) = -1
Do you have gtk2 installed? $ zgrep Default/gtk-2.0/gtkr Apt* AptContents.SuSE-8.1-i386.gz:usr/share/themes/Default/gtk-2.0/gtkrc Development_Libraries_X11/gtk2
It seems I have it, yes: cer@nimrodel:~> l /usr/share/themes/Default/gtk-2.0/gtkrc -rw-r--r-- 1 root root 69 2002-10-14 22:54 /usr/share/themes/Default/gtk-2.0/gtkrc but it has only this: # # This theme is the default theme if no other theme is selected. # That amounts to empty. I you run "gnome-terminal --title=TITLE", does it work? In my suse 8.1 it segfaults, with that or any parameter but --help. Even restoring my session fails to restore the terminal, with a crash dialog, every single time. -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Richard Bos