Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang CC
ollydbg:
--- Quote from: oBFusCATed on February 19, 2017, 08:01:54 pm ---Another note: if you're using CC_LOCKER_TRACK_TT_MTX_LOCK I guess you'll have to fix its implementation ;)
--- End quote ---
We should totally remove those lockers. :)
oBFusCATed:
I've not said that. Just said that in some configurations they are broken (hint no locking is happening)!
BlueHazzard:
Hi, just i crash report i got lately very often:
--- Code: ---codeblocks.exe caused an Access Violation at location 4309DC03 Reading from location 4309DC03.
Registers:
eax=4309dc03 ebx=00000001 ecx=28c0e370 edx=28c0e370 esi=0028bad4 edi=00000000
eip=4309dc03 esp=0028ba50 ebp=0028baec iopl=0 nv up ei pl nz ac po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00210216
AddrPC Params
4309DC03 00000001 00000001 00000001
0A92A530 28C0E370 0028BA94 0028BB30 clanglib.dll!BeginHighlightOccurrences [cclang-plugin/src/ClangLib/src/clangrefactoring.cpp @ 227]
225: ClTokenPosition loc(line + 1, pos - stc->PositionFromLine(line) + 1);
226:
> 227: m_pClangPlugin->RequestOccurrencesOf( translId, ed->GetFilename(), loc );
228: }
229:
0A92A171 0028BC4C 02EFD728 0028BC7C clanglib.dll!OnTimer [cclang-plugin/src/ClangLib/src/clangrefactoring.cpp @ 181]
179:
180: if (evId == idHighlightTimer)
> 181: BeginHighlightOccurrences(ed);
182: else
183: event.Skip();
--- End code ---
i get the crashes randomly, don't know if you can do something with it...
greetings
yvesdm3000:
I fixed a memory corruption crash yesterday in TreeMap::Remove() that might be the cause. Been reworking the index database lately and also built a tool that can dump the indexdb and now fixing many issues found by the tool. The goal is to depend less on libclang for things like the toolbar (scope menus) and goto-implementation and documentation-lookup. The problem with libclang is that you often need a translation unit to find various info and that takes a long time to create (essentially parsing/compiling the needed cpp file).
Yves
yvesdm3000:
--- Quote from: oBFusCATed on February 19, 2017, 08:01:54 pm ---Another note: if you're using CC_LOCKER_TRACK_TT_MTX_LOCK I guess you'll have to fix its implementation ;)
--- End quote ---
That's a file that I grabbed as-is from the regular CC plugin? I guess it has been updated there too?
Yves
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version