Bug 42808

Summary: crash cvs server new project
Product: [Applications] kdevelop Reporter: svogl
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description svogl 2002-05-19 16:24:45 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           KDE 3.0.0 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

creating a new (plain C project) leads to a hanging kdevelop.
usage:
CVS on a repository server access method "ext";using "$CVSROOT" as VCS-root.
application hangs after pressing the create button at different stages.
manually checking (in and out) applications works fine.
a killall of kdevelop is successfull. sometimes the project is generated on the repository server but not locally.

kdevelop 2.0.x with kde 2.x worked fine with
the same setup (so there is no server failure
setup problem etc.)

when starting kdevelop with "strace kdevelop"
everything is working fine. 

Here is the output of strace where I assume the problem (look at the "ressource temporarily not available" messages):

open("/root/.kde/share/apps/kdevelop/kdeveloptemp/cvstst1/docs/en/Makefile.am"
O_WRONLY|O_CREAT|O_TRUNC 0666) = 13
fstat64(13 {st_mode=S_IFREG|0644 st_size=0 ...}) = 0
fstat64(13 {st_mode=S_IFREG|0644 st_size=0 ...}) = 0
old_mmap(NULL 4096 PROT_READ|PROT_WRITE MAP_PRIVATE|MAP_ANONYMOUS -1 0) = 0
x4037a000
write(13 "####### kdevelop will overwrite "... 232) = 232
close(13)                               = 0
munmap(0x4037a000 4096)                = 0
rt_sigprocmask(SIG_BLOCK [CHLD] [RTMIN] 8) = 0
rt_sigprocmask(SIG_SETMASK [RTMIN] NULL 8) = 0
stat64("/root/.kde/share/apps/kdevelop/" {st_mode=S_IFDIR|0700 st_size=360 ..
.}) = 0
chdir("/root/.kde/share/apps/kdevelop/kdeveloptemp") = 0
socketpair(PF_UNIX SOCK_STREAM 0 [13 15]) = 0
socketpair(PF_UNIX SOCK_STREAM 0 [16 17]) = 0
getuid32()                              = 0
getgid32()                              = 0
socket(PF_UNIX SOCK_STREAM 0)         = 18
connect(18 {sin_family=AF_UNIX path="/var/run/.nscd_socket"} 110) = 0
write(18 "\2\0\0\0\1\0\0\0\2\0\0\0" 12) = 12
write(18 "0\0" 2)                     = 2
read(18 "H3\27@\1\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0"... 36) = 36
read(18 "root\0x\0root\0/root\0/bin/bash\0" 28) = 28
close(18)                               = 0
fork()                                  = 16888
close(15)                               = 0
close(17)                               = 0
fcntl64(13 F_SETFL O_RDONLY|O_NONBLOCK) = 0
fcntl64(16 F_SETFL O_RDONLY|O_NONBLOCK) = 0
select(17 [13 16] NULL NULL NULL)   = 2 (in [13 16])
read(13 "N cvstst1/TODO\nN cvstst1/Makefil"... 1024) = 1024
read(13 "st1/.cvsignore\nN cvstst1/cvstst1"... 1024) = 84
read(13 0xbfffd88c 1024)              = -1 EAGAIN (Resource temporarily unavai
lable)
read(16 "cvs server: Importing /usr2/Proj"... 1024) = 223
read(16 0xbfffd88c 1024)              = -1 EAGAIN (Resource temporarily unavai
lable)
select(17 [13 16] NULL NULL NULL)   = 2 (in [13 16])
read(13 "N cvstst1/cvstst1/docs/en/index."... 1024) = 112
read(13 0xbfffd88c 1024)              = -1 EAGAIN (Resource temporarily unavai
lable)
read(16 "cvs server: Importing /usr2/Proj"... 1024) = 63
read(16 0xbfffd88c 1024)              = -1 EAGAIN (Resource temporarily unavai
lable)
select(17 [13 16] NULL NULL NULL)   = 2 (in [13 16])
--- SIGCHLD (Child exited) ---
wait4(16888 [WIFEXITED(s) && WEXITSTATUS(s) == 0] WNOHANG NULL) = 16888
write(8 "\370A\0\0" 4)                = 4
write(8 "\0\0\0\0" 4)                 = 4
write(8 "\0\0\0\0" 4)                 = 4
write(8 "\0\0\0\0" 4)                 = 4
sigreturn()                             = ? (mask now [RTMIN])
read(13 "N cvstst1/cvstst1/templates/cpp_"... 1024) = 162
read(13 "" 1024)                      = 0
read(16 "" 1024)                      = 0
read(7 "\0\0\0\0\0\0\0\0" 8)          = 8
gettimeofday({1021825235 639722} NULL) = 0
read(7 "\370A\0\0\0\0\0\0" 8)         = 8
chdir("/root")                          = 0
stat64("/root/.kde/share/apps/kdevelop/" {st_mode=S_IFDIR|0700 st_size=360 ..
.}) = 0
socketpair(PF_UNIX SOCK_STREAM 0 [15 17]) = 0
socketpair(PF_UNIX SOCK_STREAM 0 [18 19]) = 0
getuid32()                              = 0
getgid32()                              = 0
socket(PF_UNIX SOCK_STREAM 0)         = 20
connect(20 {sin_family=AF_UNIX path="/var/run/.nscd_socket"} 110) = 0
write(20 "\2\0\0\0\1\0\0\0\2\0\0\0" 12) = 12
write(20 "0\0" 2)                     = 2
read(20 "H3\27@\1\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0"... 36) = 36
read(20 "root\0x\0root\0/root\0/bin/bash\0" 28) = 28


(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version OS Compiler manually changed)
Comment 1 John Firebaugh 2002-09-22 09:58:50 UTC
Not a problem with Gideon