Author Topic: Need some testers to confirm a CodeCompletion bug...  (Read 7878 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Need some testers to confirm a CodeCompletion bug...
« on: June 28, 2007, 04:06:21 pm »
Bug in question is [Bug #11460], "Switching project and class browser slowdown".

Steps to reproduce:
1. Have C::B as the active project, and the help-plugin as the other project in your workspace. The class browser tab should be in "active project's symbols" (switch to the "Symbols" tab and verify, then switch back to the projects tab). Under settings, editor, code completion, C++ parser, the parsing should include global includes. Wait... the parsing should *NOT* include global includes.

Now let's start the experiment.

2. Start the C::B app, and *wait* till parsing finishes (the debug messages should say "class browser updated").

3. Double-click on the Help-Plugin project, and then switch to the symbols tab.

You should see a 4-sec delay in the class browser appearing.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Need some testers to confirm a CodeCompletion bug...
« Reply #1 on: June 28, 2007, 04:17:37 pm »
Update:

Got a screenshot. Don't know how long the picture will remain online... it's a guest account.
http://www.picturebay.net/img/guests/classbrowserbug.png

If the bug can be reproduced, try hovering over the blank area, SOMETIMES you get a crash.

Tested with revision 4187 (with the todolist patch applied).

Code
G:\cb07\codeblocks.exe caused an Access Violation at location 773d747c in module C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL Reading from location 00720074.

Registers:
eax=00720050 ebx=0023f28c ecx=002b7060 edx=00000000 esi=00279d28 edi=00720050
eip=773d747c esp=0023f21c ebp=0023f254 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
773D747C  C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL:773D747C  Ordinal384
773D8040  C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL:773D8040  Ordinal384
773DA802  C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.DLL:773DA802  Ordinal384
7E398734  C:\WINDOWS\system32\USER32.dll:7E398734  GetDC
7E398816  C:\WINDOWS\system32\USER32.dll:7E398816  GetDC
7E39C63F  C:\WINDOWS\system32\USER32.dll:7E39C63F  IsWindowUnicode
7E39C665  C:\WINDOWS\system32\USER32.dll:7E39C665  CallWindowProcW
641F1910  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:641F1910  _ZN8wxWindow16MSWDefWindowProcEjjl
641F9AFC  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:641F9AFC  _ZN8wxWindow13MSWWindowProcEjjl
642677D4  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:642677D4  _ZN10wxTreeCtrl13MSWWindowProcEjjl
641F2220  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:641F2220  _Z9wxWndProcP6HWND__jjl@16
7E398734  C:\WINDOWS\system32\USER32.dll:7E398734  GetDC
7E398816  C:\WINDOWS\system32\USER32.dll:7E398816  GetDC
7E39B4C0  C:\WINDOWS\system32\USER32.dll:7E39B4C0  DefWindowProcW
7E39B50C  C:\WINDOWS\system32\USER32.dll:7E39B50C  DefWindowProcW
7C91EAE3  C:\WINDOWS\system32\ntdll.dll:7C91EAE3  KiUserCallbackDispatcher
641CD5F4  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:641CD5F4  _ZN11wxEventLoop8DispatchEv
642A2956  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:642A2956  _ZN17wxEventLoopManual3RunEv
6427161E  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:6427161E  _ZN9wxAppBase8MainLoopEv
00405605  G:\cb07\codeblocks.exe:00405605  CodeBlocksApp::OnRun()  G:/projects/codeblocks/src/src/app.cpp:608
6410E477  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:6410E477  _Z14wxUninitializev
64190ACC  C:\WINDOWS\system32\wxmsw28u_gcc_CB.dll:64190ACC  _Z7wxEntryP11HINSTANCE__S0_Pci
00401971  G:\cb07\codeblocks.exe:00401971  WinMain  G:/projects/codeblocks/src/src/app.cpp:199
004760AA  G:\cb07\codeblocks.exe:004760AA
004011E7  G:\cb07\codeblocks.exe:004011E7
00401258  G:\cb07\codeblocks.exe:00401258
7C816FD7  C:\WINDOWS\system32\kernel32.dll:7C816FD7  RegisterWaitForInputIdle