Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
HUGE MEMORY LEAK pinpointed!
dmoore:
--- Quote from: rickg22 on June 25, 2007, 10:49:41 pm ---dmoore, if you turn off codecompletion, the crash goes away? Because i hadn't modified that code yet after those changes in LoaderBase were introduced, and there's a part in Code completion that does a Delete( ... ). But then again, what about that crash reported by darthdespotism?
--- End quote ---
i can't get it to crash consistently even with the CC plugin switched on. I haven't had any crashes with the CC plugin turned off.
I reverted the backgroundthread changes and testing...
rickg22:
dmoore, any news?
rickg22:
I've tried to analyze the Abstractjob code, but it's too complicated for me to understand the program flow. I don't even know if the ORIGINAL code is correct! :?
I vote for a revert. I'm compiling the reverted code and see if there are any problems. If I don't find any crashes, I'll commit.
Edit: Everything seems fine. I'll commit after dinner :)
Edit: Done.
thomas:
Reverting the code because you don't understand it sounds like the way to go :)
I think DerMeister is right, but we will now never find out.
thomas:
And this is what r4182 has to say about opening a project with CC enabled:
Error occured on Tuesday, June 26, 2007 at 10:52:40.
C:\CodeBlocks\codeblocks.exe caused an Access Violation at location 6199d7cb in module C:\CodeBlocks\codeblocks.dll Writing to location 77d5624f.
Registers:
eax=77d5624f ebx=06545a00 ecx=00000000 edx=0022f2a8 esi=05059ef0 edi=ffffffff
eip=6199d7cb esp=0831fd40 ebp=0831fd40 iopl=0 nv up ei pl nz ac po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010216
Call stack:
6199D7CB C:\CodeBlocks\codeblocks.dll:6199D7CB _ZN7SQLexer6ReadIDEv
61A4CA9D C:\CodeBlocks\codeblocks.dll:61A4CA9D _ZNSt4listIN12cbThreadPool21cbThreadedTaskElementESaIS1_EE8_M_eraseESt14_List_iteratorIS1_E
61A4CB1E C:\CodeBlocks\codeblocks.dll:61A4CB1E _ZNSt4listIN12cbThreadPool21cbThreadedTaskElementESaIS1_EE9pop_frontEv
617EDEF9 C:\CodeBlocks\codeblocks.dll:617EDEF9 _ZN12cbThreadPool11GetNextTaskEv
617EE63F C:\CodeBlocks\codeblocks.dll:617EE63F _ZN12cbThreadPool14cbWorkerThread5EntryEv
627BF82B C:\CodeBlocks\wxmsw28u_gcc_custom.dll:627BF82B _ZN11wxSemaphore7TryWaitEv
627BF93D C:\CodeBlocks\wxmsw28u_gcc_custom.dll:627BF93D _ZN11wxSemaphore7TryWaitEv
77C0A3B0 C:\WINDOWS\system32\msvcrt.dll:77C0A3B0 _endthreadex
7C80B683 C:\WINDOWS\system32\kernel32.dll:7C80B683 GetModuleFileNameA
I can't reproduce it reliably, seems to happen randomly opening the same project... no idea what it is now. But no crashes with CC disabled, again.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version