Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
About the Class browser crash....
mandrav:
--- Quote from: Biplab on July 01, 2007, 08:18:55 pm ---Yiannis,
This bug can be reproduced very easily. Please follow the following steps.
1) Open a project with two or more cpp files and open each of the source files in editor.
2) Let the Code-Completion complete parsing and build the class-browser.
3) Switch to Symbols tab.
4) Select Current file's symbols.
5) Select an item from the tree.
6) Now click and activate another editor page. C::B will crash.
Please Note that Step 5 is vital. If you don't select anything, C::B will NOT crash.
Best Regards,
Biplab
--- End quote ---
As expected, it works fine here for me (Linux).
Biplab:
--- Quote from: mandrav on July 02, 2007, 09:34:50 am ---As expected, it works fine here for me (Linux).
--- End quote ---
Try the same on Windows. I've reproduced it on Windows. :)
Edit 1: AFAIR, I couldn't reproduce this on Linux. But I'll confirm it after some time.
Der Meister:
I could not reproduce it on Linux. Sounds like a Windows-only problem to me.
Biplab:
Could not reproduce it on Linux. :(
But I've tried several times on Windows and it crashes every time I try.
eckard_klotz:
Hello together.
I'm a user of C::B and I can confirm both statments about the class browser crash:
C::B works under linux (Suse 10.1)
C::B crashes under winXP (Service-Pack 2)
If you take a look to the file codeblocks.rpt you will find following (Where "%C::B_ROOT%" is a longer path with 75 windows-allowed ansi-characters and 7 sud-directory levels):
--- Quote ---Error occured on Wednesday, June 27, 2007 at 08:02:45.
%C::B_ROOT%\codeblocks.exe caused an Access Violation at location 6cde42ec in module %C::B_ROOT%\wxmsw28u_gcc_cb.dll Reading from location 00000028.
Registers:
eax=00000000 ebx=00000003 ecx=00000000 edx=ffff0000 esi=ffffffff edi=0307fb30
eip=6cde42ec esp=0307faf8 ebp=0307fb50 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
Call stack:
6CDE42EC %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CDE42EC _ZNK10wxTreeCtrl12GetItemParamERK12wxTreeItemId
6CDE44D8 %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CDE44D8 _ZNK10wxTreeCtrl11GetItemDataERK12wxTreeItemId
6CE8B18D %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CE8B18D _ZN11wxTreeEventC1EiP14wxTreeCtrlBaseRK12wxTreeItemId
6CDE62D6 %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CDE62D6 _ZN10wxTreeCtrl8DoExpandERK12wxTreeItemIdi
6CDE6601 %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CDE6601 _ZN10wxTreeCtrl16CollapseAndResetERK12wxTreeItemId
65EA0A61 %C::B_ROOT%\share\codeblocks\plugins\codecompletion.dll:65EA0A61
65E9E749 %C::B_ROOT%\share\codeblocks\plugins\codecompletion.dll:65E9E749
65E9E487 %C::B_ROOT%\share\codeblocks\plugins\codecompletion.dll:65E9E487
65E9DFBF %C::B_ROOT%\share\codeblocks\plugins\codecompletion.dll:65E9DFBF
6CCFF82B %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CCFF82B _ZN11wxSemaphore7TryWaitEv
6CCFF93D %C::B_ROOT%\wxmsw28u_gcc_cb.dll:6CCFF93D _ZN11wxSemaphore7TryWaitEv
77C3A3B0 C:\WINDOWS\system32\msvcrt.dll:77C3A3B0 _endthreadex
7C80B683 C:\WINDOWS\system32\kernel32.dll:7C80B683 GetModuleFileNameA
--- End quote ---
Perhaps you call a wx-functionality which is implemnted as call to the operation-system. Under linux it works and under winXP not.
It may be a solution to implement the "change the current-file operation" like the "reparse function" if you have chosen "active project" or "workspace" .
Regards,
Eckard Klotz
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version