Bug #8112 2006-07-14 12:39

stephanecouget

Appli doesn't stop, i kill it

When I close CodeBlocks, top command indicate that C::B is always

present in memory with a load CPU which touches the maximum

C::B version 2750

Debian etch

gcc 4.0.4

amd 3200+

ram : 1024 mo

lang : fr_FR

Good courage and very good continuation,

Category
 
Group
 
Status
Closed
Close date
2006-09-08 11:07
Assigned to
 
dermeister 2006-07-15 09:27

I can confirm this with revision 2750 on gentoo (wxGTK 2.6.2 unicode, gcc 3.4.6).

gdb prints the following backtrace after killing codeblocks:

Program received signal SIGINT, Interrupt.

[Switching to Thread -1232419152 (LWP 10737)]

0xb7484361 in wxClassInfo::~wxClassInfo () from /usr/lib/libwx_baseu-2.6.so.0

(gdb) bt

#0 0xb7484361 in wxClassInfo::~wxClassInfo ()

from /usr/lib/libwx_baseu-2.6.so.0

#1 0xb7eca1a0 in __tcf_2 () at wxFlatNotebook.cpp:461

#2 0xb727988e in __cxa_finalize () from /lib/libc.so.6

#3 0xb7c48633 in __do_global_dtors_aux ()

from /opt/codeblocks-cvs/lib/libcodeblocks.so.0

#4 0xb7f084e6 in _fini () from /opt/codeblocks-cvs/lib/libcodeblocks.so.0

#5 0xb7fecf97 in _dl_fini () from /lib/ld-linux.so.2

#6 0xb72795c7 in exit () from /lib/libc.so.6

#7 0xb7263ef6 in __libc_start_main () from /lib/libc.so.6

#8 0x08063bb1 in _start ()

stephanecouget 2006-07-18 21:07
On revision 2764 :
a "strace codeblocks" displays like all last lines and wait somethings. If I make a CTRL+C, C::B stops at once.
--------------------------------------------------------------------------
read(5, "\1\2\215\257\0\0\0\0\36\0\0\2\4\0\0\0\0\0\0\0\4\0\0\0\\"..., 32) = 32
unlink("/tmp/Code::Blocks-gamma")       = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfe274d8) = 0
close(6)                                = 0
munmap(0xb6700000, 227084)              = 0
munmap(0xb6867000, 413024)              = 0
munmap(0xb66d5000, 175392)              = 0
munmap(0xb6851000, 89208)               = 0
munmap(0xb6738000, 1150548)             = 0
munmap(0xb666f000, 208896)              = 0
time([1153255778])                      = 1153255778
gettimeofday({1153255778, 179021}, NULL) = 0
gettimeofday({1153255778, 181410}, NULL) = 0
open("/home/gamma/.codeblocks/defaultWzyYQX", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 6
stat64("/home/gamma/.codeblocks/default.conf", {st_mode=S_IFREG|0640, st_size=22825, ...}) = 0
chmod("/home/gamma/.codeblocks/defaultWzyYQX", 0100640) = 0
write(6, "<?xml version=\"1.0\" encoding=\"UT"..., 22825) = 22825
close(6)                                = 0
stat64("/home/gamma/.codeblocks/default.conf", {st_mode=S_IFREG|0640, st_size=22825, ...}) = 0
unlink("/home/gamma/.codeblocks/default.conf") = 0
rename("/home/gamma/.codeblocks/defaultWzyYQX", "/home/gamma/.codeblocks/default.conf") = 0
--------------------------------------------------------------------------
It seems that the instructions which follow the remove of default.conf and the rename of default.abcdef in default.conf make a bug
dermeister 2006-07-29 10:39

I have no idea what caused this bug but removing all binaries and doing a fresh checkout solved this for me.

stephanecouget 2006-09-06 22:48

Ok on r2957 problem is over. You can close this incident if you want. THX