Version: Kate: 3.2.2, Qt: 4.5.0 (using KDE 4.2.2) OS: Linux Installed from: Slackware Packages kate crashes on exit whether the application is used or not. A crash report could not be generated by kde since debug symbols were not available, so strace was used. The large report was reduced to hopefully mostly cogent information. The steps used to create the trimmed file are as follows: strace kate 2> strace_kate_`date +%Y%m%d_%H%M` tail -n 1326 strace_kate_20090411_1927 > tail_strace csplit tail_strace 92 140 148 176 195 1200 cat xx00 redun.txt xx02 redun.txt xx04 redun.txt xx06 > strace_kate_3.2.2 Note that if stat64 implies this version of kate was compiled for a 64 bit platform then this is probably a distribution problem since the app is being run on a 32 bit platform. Here is the resulting information generated by strace: stat64("/home/dad/.kde/share", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 stat64("/home/dad/.kde/share/apps", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 stat64("/home/dad/.kde/share/apps/kate", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 lstat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock", 0xbfd58328) = -1 ENOENT (No such file or directory) stat64("/tmp/kde-dad/", {st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 open("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock.Q19110", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 13 fchmod(13, 0644) = 0 uname({sys="Linux", node="dad", ...}) = 0 write(13, "19110\n", 6) = 6 write(13, "kate\n", 5) = 5 write(13, "dad\n", 4) = 4 link("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock.Q19110", "/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock") = 0 lstat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock.Q19110", {st_mode=S_IFREG|0644, st_size=15, ...}) = 0 lstat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock", {st_mode=S_IFREG|0644, st_size=15, ...}) = 0 _llseek(13, 0, [0], SEEK_SET) = 0 close(13) = 0 unlink("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock.Q19110") = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 open("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", O_RDONLY|O_LARGEFILE) = 13 fcntl64(13, F_SETFD, FD_CLOEXEC) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 brk(0x9566000) = 0x9566000 fstat64(13, {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb34b3000 read(13, "[Document 0]\nBookmarks=\nEncoding"..., 4096) = 4096 read(13, "ter=\nKate-MDI-Sidebar-2-Splitter"..., 4096) = 4096 read(13, "_base-12.0.0-noarch-1.txt]\nCurso"..., 4096) = 4096 read(13, "lumn=0\nCursorLine=2910\n\n[MainWin"..., 4096) = 4096 read(13, "//home/dad/dnlds/ARC/data/200803"..., 4096) = 4096 read(13, "rColumn=13\nCursorLine=7\n\n[MainWi"..., 4096) = 4096 read(13, "a/20080315231002/yampp_systemati"..., 2048) = 1826 close(13) = 0 munmap(0xb34b3000, 4096) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 getuid32() = 1000 lstat64("/home", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0 lstat64("/home/dad", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/home/dad/.kde", {st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0 lstat64("/home/dad/.kde/share", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 lstat64("/home/dad/.kde/share/apps", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 lstat64("/home/dad/.kde/share/apps/kate", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 lstat64("/home/dad/.kde/share/apps/kate/sessions", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 lstat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 access("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", W_OK) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions", {st_mode=S_IFDIR|0751, st_size=2048, ...}) = 0 open("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 13 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 fchown32(13, 1000, 100) = 0 fchmod(13, 0651) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", {st_mode=S_IFREG|0651, st_size=0, ...}) = 0 open("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", O_RDWR|O_LARGEFILE) = 14 fcntl64(14, F_SETFD, FD_CLOEXEC) = 0 _llseek(13, 0, [0], SEEK_SET) = 0 close(13) = 0 chmod("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", 0651) = 0 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", {st_mode=S_IFREG|0651, st_size=0, ...}) = 0 fstat64(14, {st_mode=S_IFREG|0651, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb34b3000 write(14, "[Document 0]\nBookmarks=\nEncoding"..., 4096) = 4096 write(14, "ter=\nKate-MDI-Sidebar-2-Splitter"..., 2048) = 2048 write(14, "Line=0\n\n[MainWindow0:ViewSpaceCo"..., 2048) = 2048 write(14, "_base-12.0.0-noarch-1.txt]\nCurso"..., 2048) = 2048 write(14, "paceContainer-0:-ViewSpace 0 fil"..., 2048) = 2048 write(14, "lumn=0\nCursorLine=2910\n\n[MainWin"..., 2048) = 2048 write(14, "ontainer-0:-ViewSpace 0 file:///"..., 1996) = 1996 write(14, "MainWindow0:ViewSpaceContainer-0"..., 2048) = 2048 write(14, "ndow0:ViewSpaceContainer-0:-View"..., 2048) = 2048 write(14, "iner-0:-ViewSpace 0 file:///tmp/"..., 2048) = 2048 write(14, "orLine=23\n\n[MainWindow0:ViewSpac"..., 2048) = 2048 write(14, "Container-0:-ViewSpace 0 zip:/ho"..., 1878) = 1878 stat64("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", {st_mode=S_IFREG|0651, st_size=26402, ...}) = 0 close(14) = 0 munmap(0xb34b3000, 4096) = 0 rename("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesessionn19110.new", "/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession") = 0 unlink("/home/dad/.kde/share/apps/kate/sessions/Default%20Session.katesession.lock") = 0 select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"\24\0\6\0{\0\0\4u\0\0\0u\0\0\0\0\0\0\0\1\0\0\0", 24}], 1) = 24 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1 \1\\\1\0\0\0u\0\0\0\4\0\0\0\1\0\0\0\273_\24\10<\230"..., 4096) = 36 read(7, 0x8081bbc, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"\24\0\6\0{\0\0\4/\1\0\0\4\0\0\0\0\0\0\0\0\10\0\0", 24}], 1) = 24 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1 \2\\\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\273_\24\10<\230"..., 4096) = 32 read(7, 0x8081bbc, 4096) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_MONOTONIC, {61797, 714920383}) = 0 clock_gettime(CLOCK_MONOTONIC, {61797, 716134161}) = 0 ... redundant information removed ... clock_gettime(CLOCK_MONOTONIC, {61797, 734708824}) = 0 clock_gettime(CLOCK_MONOTONIC, {61797, 734800207}) = 0 clock_gettime(CLOCK_MONOTONIC, {61797, 734872995}) = 0 select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"\231\7\2\0\324\0\0\0046\7\2\0\323\0\0\4\231\7\2\0\316\0"..., 100}], 1) = 100 read(7, "\22\0\t\\{\0\0\4{\0\0\4\0\270<\t\370\234\272\277\252\264"..., 4096) = 608 read(7, 0x8081bbc, 4096) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_MONOTONIC, {61797, 791261402}) = 0 ... redundant information removed ... clock_gettime(CLOCK_MONOTONIC, {61797, 795925612}) = 0 clock_gettime(CLOCK_MONOTONIC, {61797, 796619211}) = 0 clock_gettime(CLOCK_MONOTONIC, {61797, 796695380}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- rt_sigaction(SIGALRM, {SIG_DFL}, {SIG_DFL}, 8) = 0 alarm(3) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(9) = 0 close(10) = 0 close(11) = 0 close(12) = 0 close(13) = -1 EBADF (Bad file descriptor) close(14) = -1 EBADF (Bad file descriptor) ... redundant information removed ... close(1020) = -1 EBADF (Bad file descriptor) close(1021) = -1 EBADF (Bad file descriptor) close(1022) = -1 EBADF (Bad file descriptor) close(1023) = -1 EBADF (Bad file descriptor) write(2, "KCrash: Application \'kate\' crash"..., 39KCrash: Application 'kate' crashing... ) = 39 uname({sys="Linux", node="dad", ...}) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb34b3000 write(1, "sock_file=/home/dad/.kde/socket-"..., 48) = 48 connect(3, {sa_family=AF_FILE, path="/home/dad/.kde/socket-dad/kdeinit4__0"}, 110) = 0 write(3, "\f\0\0\0\264\0\0\0", 8) = 8 write(3, "\21\0\0\0/usr/lib/kde4/libexec/drkonq"..., 180) = 180 read(3, "\4\0\0\0\4\0\0\0", 8) = 8 read(3, "\252J\0\0", 4) = 4 alarm(0) = 3 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, 0xbfd55f94) = ? ERESTART_RESTARTBLOCK (To be restarted) --- SIGCONT (Continued) @ 0 (0) --- restart_syscall(<... resuming interrupted call ...>) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0 rt_sigaction(SIGCHLD, NULL, {0xb69b0500, [], SA_NOCLDSTOP}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 kill(19114, SIG_0) = -1 ESRCH (No such process) exit_group(253) = ? Process 19110 detached
*** This bug has been marked as a duplicate of bug 189127 ***