Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on August 22, 2006, 11:37:18 pm

Title: The 22 august 2006 build is out.
Post by: killerbot on August 22, 2006, 11:37:18 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10.7z

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26_gcc_cb_wx2.6.3p2.7z

The 22 August 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20060822_rev2887_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20060822_rev2887_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20060822_rev2887_fc4+5.rpm


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 22 august 2006 build is out.
Post by: orel on August 23, 2006, 02:44:02 am
Hello guys, it's my first post on this forum... unfortunately it's for a bug i just had after lauching CB with the last nightly nuild (that is 22.08.06, file downloaded : CB_20060822_rev2887_win32) :

It's about the 'symbols browser',
1.  i open my workspace file, made of 3 projects
2. i wait until parser has finished its job ( message 'Class browser updated')
3. then i open the 'symbols browser', selected by default is the 'current's file symbols only' option
4. when i click on 'all workspace symbols', CB ends and i'm back to windows manager without any win32 error message or anything (no RPT file is created in CB dir)

When i try to reproduct this bug with other projects, there are no problems. But with the workspace, it always happens.

I also tried another way to product tis bug, i open a project, click on the 'symbols browser' option : 'all workspace symbols'. At this point it works well, then i try to reopen my workspace and CB shutdowns again exactly after the message 'Class browser updated' appears.


That's it. So i'm back with the 17.08.06 build (CB_20060817_rev2869_win32) with symbols browser as a tab in the manager window, no problem happens anymore.

I hope this helps... and sorry for my english, i'm a french CB user, and i must say that despite the fact that this soft is not finished, i just love it and use it every day.
Title: Re: The 22 august 2006 build is out.
Post by: Phoenix on August 23, 2006, 01:33:44 pm
Hello,

I have a big problem with class browser in this release. Below is a list of errors that I have found:

1. From time to time when I open my projects class browser list is empty. After a while (couple of seconds) C::B crashed. I have added crash report. It happened two times and on random projects.

2. For some strange reason I can’t get “go to implementation” in class browser. It jumps to declaration or to wx/image.h (included on screen shot 1). I have tried reparsing, re-saving CPP file, re-saving all files and nothing helps.

3. Sometimes when I reparse project strange “Config” entry appears on top of class browser list. Each reparse is duplicating those entries even if I don’t change anything. Effect is visible on both attached screen shots.
[EDIT]
Actually “Config” is my class, but why it is displayed on top of the list and not in classes?
[/EDIT]


[attachment deleted by admin]

[attachment deleted by admin]
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 02:40:15 pm
i get the same problems with the actual codecompletion plugin as posted already,
CB closes itself when finishing classbrowser update, when i attempt to load codeblocks.cbp


BUT - people please remind that the codecompletion plugin is WIP

Please - Be patient !  ( this bug will be fixed too ... )
Title: Re: The 22 august 2006 build is out.
Post by: mandrav on August 23, 2006, 02:46:30 pm
I just commited what 's supposed to fix this. I guess we 'll just have to wait and see... ;)
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 04:14:40 pm
just tested rev 2889

sorry, but no it doesn't fix it - CB closes itself after codecompletion finished parsing, when loading codeblocks.cbp

Last message in CBDebugLog: "Class Browser updated." the Symbol browser window stays empty until CB closes itself.

this does not happen with a smaller wxWidgets project, Symbol browser window is shown and has contents,
but all (used?) virtual wxWidgets functions are shown several times  :shock:

(http://img82.imageshack.us/img82/6021/cbcc1mw2.th.png) (http://img82.imageshack.us/my.php?image=cbcc1mw2.png)
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 04:55:02 pm
this is the callstack of the crash on exit

Code
#0 00000001	??() (??:??)
#1 64BA470D NativeParser::UpdateClassBrowser(this=0x20161c8) (plugins/codecompletion/nativeparser.cpp:114)
#2 64BA632C NativeParser::RemoveParser(this=0x20161c8, project=0x57b5880, useCache=true) (plugins/codecompletion/nativeparser.cpp:391)
#3 64B9EC27 CodeCompletion::OnProjectClosed(this=0x2016150, event=@0x22e764) (plugins/codecompletion/codecompletion.cpp:736)
#4 100AA808 wxEvtHandler::ProcessEventIfMatches() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#5 100AABCC wxEventHashTable::HandleEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#6 100ABBA9 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#7 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#8 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#9 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#10 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#11 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#12 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#13 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#14 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#15 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#16 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#17 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#18 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#19 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#20 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#21 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#22 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#23 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#24 100ABB49 wxEvtHandler::ProcessEvent() (D:\TOOLS\wxmsw26u_gcc_wx263.dll:??)
#25 605935DA PluginManager::NotifyPlugins(this=0x1eb6800, event=@0x22e764) (sdk/pluginmanager.cpp:566)
#26 605B4677 ProjectManager::CloseProject(this=0x1eb02f8, project=0x57b5880, dontsave=true, refresh=false) (sdk/projectmanager.cpp:860)
#27 605B43F1 ProjectManager::CloseAllProjects(this=0x1eb02f8, dontsave=false) (sdk/projectmanager.cpp:816)
#28 605B5D1A ProjectManager::CloseWorkspace(this=0x1eb02f8) (sdk/projectmanager.cpp:1089)
#29 0042A255 MainFrame::DoCloseCurrentWorkspace(this=0x18a7970) (src/main.cpp:1215)

RemoveParser calls UpdateClassBrowser and there it crashes
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 05:00:31 pm
more details:

if the symbol browser is set to "Current file's symbols only" then CB crashes on exit,
if the symbol browser is set to "All workspace symbols" then CB closes itself after parsing without crashing.
Title: Re: The 22 august 2006 build is out.
Post by: mandrav on August 23, 2006, 05:01:05 pm
just tested rev 2889

sorry, but no it doesn't fix it - CB closes itself after codecompletion finished parsing, when loading codeblocks.cbp

I was talking about the other bug with it.
Anyway, thanks for the backtrace. I 'm sure it 'll be helpful :)
Title: Re: The 22 august 2006 build is out.
Post by: mandrav on August 23, 2006, 05:24:24 pm
@tiwag
Ah!, this image you posted clears everything up now :). No wonder I couldn't reproduce this bug: it has to do with a major change in inheritance info and all you people who experienced these crashes have enabled inheritance for the symbols tree!

Pheew, I 'm glad I could find it. I thought that something's wrong with me and I couldn't reproduce it :lol:.
Expect a fix Real Soon Now (tm).
Title: Re: The 22 august 2006 build is out.
Post by: jayatk on August 23, 2006, 05:31:31 pm
I'm trying to rebuild this project, since I was gone almost two weeks.  I won't build anymore.  All it does is build and link the autorevision part of the project, but doesn't build anything else.  I also get a warning when I load the project file saying that it is newer than the version of C::B than what I have.  I'm currently using revision 2797 on Windows XP Professional SP2.
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 05:43:48 pm
I'm trying to rebuild this project, since I was gone almost two weeks...

TWO WEEKS AWAY  :shock:  :shock:  :shock:  :D

download a recent nightly build, and build the actual CB with that,
when you've built your own new CB you can use this further on ...
Title: Re: The 22 august 2006 build is out.
Post by: jayatk on August 23, 2006, 05:47:58 pm
Gracias, tiwag
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 06:18:05 pm
Expect a fix Real Soon Now (tm).
thx for the info !!!
got the fix already  :D  turned off inherited members   :P
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 06:33:37 pm
btw. another issue with the symbol browser window

it looses the focus of the actual selected item if you resize the symbol browser window,
which is quite uncomfortable if you have found after a long search the wanted item
and want then resize the window, so that it displays a little bit more information.

docking this window in a manager pane tab would also be very fine (as it was before)
Title: Re: The 22 august 2006 build is out.
Post by: Vampyre_Dark on August 23, 2006, 06:48:04 pm
docking this window in a manager pane tab would also be very fine (as it was before)
That works. Just drag it into that window and it will dock into it.
Title: Re: The 22 august 2006 build is out.
Post by: tiwag on August 23, 2006, 06:49:47 pm
docking this window in a manager pane tab would also be very fine (as it was before)
That works. Just drag it into that window and it will dock into it.
how do you drag it, that it docks as TAB ???
Title: Re: The 22 august 2006 build is out.
Post by: mandrav on August 23, 2006, 08:01:30 pm
Expect a fix Real Soon Now (tm).
thx for the info !!!
got the fix already  :D  turned off inherited members   :P

It's not as easy as I initially thought.
For the time being, inherited members are disabled in the symbols browser. Need to investigate more to find the root of the problem...
Title: Re: The 22 august 2006 build is out.
Post by: Vampyre_Dark on August 23, 2006, 08:11:46 pm
docking this window in a manager pane tab would also be very fine (as it was before)
That works. Just drag it into that window and it will dock into it.
how do you drag it, that it docks as TAB ???
  :oops: