[Bug 83352] New: KDevelop hangs at close
Gareth Clay
gareth at caffeinefuelled.com
Wed Jun 16 14:16:23 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=83352
Summary: KDevelop hangs at close
Product: kdevelop
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel kdevelop org
ReportedBy: gareth caffeinefuelled com
Version: 3.0.4 (using KDE 3.2.3, compiled sources)
Compiler: gcc version 3.3.3
OS: Linux (i686) release 2.6.6
I'm having a problem with KDevelop hanging when I close a project or close the application itself. This happens without fail every time I do this.
Using strace I noticed that KDevelop is being forced to wait on a futex - it seems like it's not being scheduled to run again. Here's the strace output:
open("/home/gareth/code/rollercoaster/rollercoaster.kdevelop.pcs", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 12
fstat64(12, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/home/gareth/code/rollercoaster/rollercoaster.kdevelop.ignore_pcs", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x43944000
write(13, "ignore me\n\0", 11) = 11
close(13) = 0
munmap(0x43944000, 4096) = 0
fstat64(12, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x43944000
write(12, "\0\0\0\6\0P\0C\0S\0\0\0\5\0\0\0\2\0\0\0j\0/\0h\0o\0m\0"..., 1690) = 1690
_llseek(12, 132, [132], SEEK_SET) = 0
write(12, "\0\0\0\372", 4) = 4
_llseek(12, 1690, [1690], SEEK_SET) = 0
write(12, "\0\0\0\1\0\0\0f\0/\0h\0o\0m\0e\0/\0g\0a\0r\0e\0t\0h"..., 576) = 576
_llseek(12, 246, [246], SEEK_SET) = 0
write(12, "\0\0\6\232", 4) = 4
_llseek(12, 2266, [2266], SEEK_SET) = 0
unlink("/home/gareth/code/rollercoaster/rollercoaster.kdevelop.ignore_pcs") = 0
close(12) = 0
munmap(0x43944000, 4096) = 0
futex(0x841ba68, FUTEX_REQUEUE, 1, 2147483647, 0x416a62a8) = 1
futex(0x8ab620c, FUTEX_WAIT, 0, NULL) = -1 EINTR (Interrupted system call)
+++ killed by SIGKILL +++
As you can see that I had to kill Kdevelop, using the KDE "This application has stopped responding..." dialogue.
I hope this report is helpful - if there's any more information I can give you I'll be happy to help.
More information about the KDevelop-devel
mailing list