Bug: Kdevelop crashes with SIGFPE when a member variable is added to a class via dialog box

Evgeniy Shapiro shel at math.ucl.ac.uk
Wed May 15 18:48:53 BST 2002


Hi,

Kdevelop crashes with SIGFPE when a member variable is added to a class 
via dialog box, the actual member variable is added before the crash.
Sequence of actions that caused the crash:

1) Open add member  dialog box for a class.
2) Try to add protected member

kdevelop output:

kdevelop: got class: CGrid2D
kdevelop: CClassView::createCTDlg() : creating CClassToolDlg as child of 
CClassPropertiesDlgImpl::*tpgClassView:
kdevelop: no slot members ....
kdevelop: WARNING: Precondition violation [ParsedContainer.cc:216]
kdevelop: WARNING:   Valid methodname: aName != NULL
kdevelop: implMethod set to NULL
kdevelop: implMethod set to CGrid2D
kdevelop: CClassToolDlg: new size: W:480 H:340
kdevelop: Applying new Attribute...
  Switching to file 
/home/shel/Research/FreeSurface/Analytic/3DTripleDeck/numerical/numerical/cgrid2d.h 
@ line 25
kdevelop: before ui file removal: 0
kdevelop: after ui file removal: 0
kdevelop:   
parsing:[/home/shel/Research/FreeSurface/Analytic/3DTripleDeck/numerical/numerical/cgrid2d.h]
kdevelop: Storing class with path: CGrid2D
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = kdevelop path = <unknown> pid = 19859

Strace output of that stuff


open("/home/shel/Research/FreeSurface/Analytic/3DTripleDeck/numerical/numerical/cgrid2d.h", 
O_RDONLY|0x8000) = 11
brk(0x8682000)                          = 0x8682000
fstat64(0xb, 0xbfffe3dc)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x4037e000
read(11, "/*******************************"..., 4096) = 1266
write(2, "kdevelop: ", 10kdevelop: )              = 10
write(2, "Storing class with path: CGrid2D"..., 33Storing class with 
path: CGrid2D
) = 33
gettimeofday({1021484664, 524173}, NULL) = 0
writev(3, 
[{"\231\5\5\0!\v\300\1@\1\0\0\0\0\0\0\0\0\0\0\22\0\v\0\v\0"..., 2044}, 
{"\0\0\0\0\202\0\26\0", 8}], 2) = 2052
write(3, ";\3\5\0t\f\300\1\0\0\0\0\0\0\0\0\202\0\26\0008\0\4\0a\r"..., 
2048) = 2048
gettimeofday({1021484664, 555362}, NULL) = 0
write(3, "A\0\6\0\333\t\300\1\256\v\300\1\0\0\24\0\0\0\0\0\356\0"..., 
2040) = 2040
gettimeofday({1021484664, 560471}, NULL) = 0
write(3, "=\0\4\0003\v\300\1\0\0\0\0R\0\16\0\231\6\5\0004\v\300\1"..., 
1520) = 1520
read(3, "\26\0M\265R\25\300\1R\25\300\1\0\0\0\0\22\0\2\0\27\2\2"..., 32) 
= 32

....

ioctl(3, FIONREAD, [0])                 = 0
writev(3, 
[{"\231\6\r\0!\v\300\1\0\0\0\0\207\1\16\0\7\0\3\0\245\1\16"..., 2028}, 
{"\207\1\16\0\7\0\3\0\245\1\16\0\v\0\3\0\4\2\16\0\v\0\3\0"..., 40}], 2) 
= 2068
ioctl(3, FIONREAD, [0])                 = 0
write(3, ";\3\r\0\256\v\300\1\0\0\0\0\207\1\16\0\7\0\3\0\245\1\16"..., 
1296) = 1296
ioctl(3, FIONREAD, [0])                 = 0
--- SIGFPE (Floating point exception) ---
rt_sigaction(SIGALRM, {SIG_DFL}, {SIG_DFL}, 8) = 0
alarm(3)                                = 0
write(2, "KCrash: crashing.... crashRecurs"..., 47KCrash: crashing.... 
crashRecursionCounter = 2
) = 47
getpid()                                = 19865
write(2, "KCrash: Application Name = kdeve"..., 65KCrash: Application 
Name = kdevelop path = <unknown> pid = 19865
) = 65
fork()                                  = 19866
close(9)                                = 0
getrlimit(0x7, 0xbfffd4b8, 0xbfffd458, 0x41442668, 0x7) = 0

alarm(0)                                = 3
wait4(19866, NULL, 0, NULL)             = 19866
--- SIGCHLD (Child exited) ---
write(8, "\0\0\0\0", 4)                 = -1 EBADF (Bad file descriptor)
write(8, "\0\0\0\0", 4)                 = -1 EBADF (Bad file descriptor)
sigreturn()                             = ? (mask now [FPE])
_exit(253)                              = ?


Any ideas?

Regards

Evgeniy Shapiro


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list