Author Topic: The 17 october 2006 build is out.  (Read 25834 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 17 october 2006 build is out.
« on: October 17, 2006, 08:08:01 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 17 October 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061017_rev3099_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061017_rev3099_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20061017_rev3099_suse100+101.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20061017_rev3099_fc4+5.rpm (not yet)


Resolved Fixed:

  • Fixed broken single-file compilation (without project)
  • DragScroll 1.0.30 2006/10/17 : Added focus follow mouse option for MSW (default off)
  • Warning and error log messages are now printed in both the main app log and the debug log (if enabled), using blue and red colour respectively
  • If errors or warnings are logged during startup, an InfoWindow pops up informing the user about the fact

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)
  • menu items with icon not correctly aligned (since wx263)

« Last Edit: October 17, 2006, 09:42:39 pm by killerbot »

sethjackson

  • Guest
Re: The 17 october 2006 build is out.
« Reply #1 on: October 17, 2006, 09:27:14 pm »
Windows ANSI build is here.

Offline SharkCZ

  • Almost regular
  • **
  • Posts: 131
Re: The 17 october 2006 build is out.
« Reply #2 on: October 17, 2006, 10:36:46 pm »
running this build on Fedora required the following patch for the profiler plugin:
Code
--- src/plugins/contrib/profiler/resources/Makefile.am.orig	2006-10-17 21:38:53.000000000 +0200
+++ src/plugins/contrib/profiler/resources/Makefile.am 2006-10-17 21:40:34.000000000 +0200
@@ -1,7 +1,7 @@
 EXTRA_DIST = configuration.xrc main_dialog.xrc manifest.xml
 
-pkgdata_DATA = CBProfiler.zip
+pkgdata_DATA = profiler.zip
 CLEANFILES = $(pkgdata_DATA)
 
-CBProfiler.zip:
- PWD=`pwd` cd $(srcdir) && zip $(PWD)/CBProfiler.zip manifest.xml *.xrc > /dev/null
+profiler.zip:
+ PWD=`pwd` cd $(srcdir) && zip $(PWD)/profiler.zip manifest.xml *.xrc > /dev/null

and the lib_finder plugin requires this to build and install (create and install the manifest and the config files):
Code
--- /tmp/codeblocks/configure.in	2006-10-10 14:13:47.000000000 +0200
+++ configure.in 2006-10-15 14:02:01.000000000 +0200
@@ -195,6 +195,7 @@
  src/plugins/contrib/help_plugin/Makefile
  src/plugins/contrib/keybinder/Makefile
  src/plugins/contrib/lib_finder/Makefile
+ src/plugins/contrib/lib_finder/lib_finder/Makefile
  src/plugins/contrib/profiler/Makefile
  src/plugins/contrib/profiler/resources/Makefile
  src/plugins/contrib/source_exporter/Makefile
--- /tmp/codeblocks/src/plugins/contrib/lib_finder/lib_finder/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ src/plugins/contrib/lib_finder/lib_finder/Makefile.am 2006-10-15 13:59:28.000000000 +0200
@@ -0,0 +1,3 @@
+pkgdatadir = $(datadir)/@PACKAGE@/lib_finder
+
+dist_pkgdata_DATA = $(srcdir)/*.xml
--- /tmp/codeblocks/src/plugins/contrib/lib_finder/Makefile.am 2006-10-07 17:39:42.000000000 +0200
+++ src/plugins/contrib/lib_finder/Makefile.am 2006-10-15 14:33:41.000000000 +0200
@@ -1,3 +1,5 @@
+SUBDIRS = lib_finder
+
 if PRECOMPILE_HEADERS
 BUILT_SOURCES = $(srcdir)/pch.h.gch
 else
@@ -38,8 +40,11 @@
  license.txt \
  manifest.xml
 
+pkgdata_DATA = lib_finder.zip
+CLEANFILES = $(pkgdata_DATA)
+
 lib_finder.zip:
- PWD=`pwd` cd $(srcdir) && zip $(PWD)/lib_finder.zip manifest.xml *.xrc > /dev/null
+ PWD=`pwd` cd $(srcdir) && zip $(PWD)/lib_finder.zip manifest.xml > /dev/null
 
 $(srcdir)/pch.h.gch: $(srcdir)/pch.h $(srcdir)/../../../sdk/sdk.h.gch
  -rm -rf $(srcdir)/pch.h.gch
Code::Blocks package maintainer for Fedora and EPEL

Offline cyplo

  • Single posting newcomer
  • *
  • Posts: 7
    • Cyryl Plotnicki-Chudyk
Re: The 17 october 2006 build is out.
« Reply #3 on: October 17, 2006, 11:59:06 pm »
Hi

I am having problems while trying to build this revision on my gentoo linux

revision 3099, i've got it from svn directly

make stops after:

Code
Making all in wxFlatNotebook
make[4]: Entering directory `/root/tmp_compilations/codeblocks/src/sdk/wxFlatNotebook'
make[4]: *** No rule to make target `wxFlatNotebook.cpp', needed by `wxFlatNotebook.lo'.  Stop.

it appears always, also after ./bootstrap => ./configure [with no parameters] => make clean => make

i was having no problems with compiling previous releases;
however i am still affected by 'libcairo on dualcore processor' bug but it got less annoying few revisions ago

ps
thanks for all of the work you've done for us :)
« Last Edit: October 18, 2006, 12:02:17 am by cyplo »
Cyryl Plotnicki-Chudyk

Offline SamT

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: The 17 october 2006 build is out.
« Reply #4 on: October 18, 2006, 01:22:54 am »
    • If errors or warnings are logged during startup, an InfoWindow pops up informing the user about the fact


    I got several error by checking the log during startup.

    [07:17:26.525]: ERROR: Plugin resource not found: compilergcc.zip
    [07:17:26.735]: ERROR: Plugin resource not found: debuggergdb.zip
    [07:17:27.065]: ERROR: Plugin resource not found: pluginwizard.zip

    Could you please tell me where could I get those? Thank you very much!

    Note: I found in my C:\Program Files\CodeBlocks\share\CodeBlocks folder, there are something similar as described above:
    - compiler_gcc.zip
    - debugger_gdb.zip
    - plugin_wizard.zip

    but the all the date are old.
    [/list]
    « Last Edit: October 18, 2006, 01:27:26 am by SamT »

    Offline kidmosey

    • Multiple posting newcomer
    • *
    • Posts: 95
      • MUSITU International
    Re: The 17 october 2006 build is out.
    « Reply #5 on: October 18, 2006, 06:30:29 am »
    I got several error by checking the log during startup.

    [07:17:26.525]: ERROR: Plugin resource not found: compilergcc.zip
    [07:17:26.735]: ERROR: Plugin resource not found: debuggergdb.zip
    [07:17:27.065]: ERROR: Plugin resource not found: pluginwizard.zip

    Could you please tell me where could I get those? Thank you very much!


    I had the same error.  I just deleted C::B and extracted it fresh (don't forget the required wx dll's)
    3 years until google knows more than god.

    Offline mandrav

    • Project Leader
    • Administrator
    • Lives here!
    • *****
    • Posts: 4315
      • Code::Blocks IDE
    Re: The 17 october 2006 build is out.
    « Reply #6 on: October 18, 2006, 08:57:00 am »
    Quote
    I got several error by checking the log during startup.

    [07:17:26.525]: ERROR: Plugin resource not found: compilergcc.zip
    [07:17:26.735]: ERROR: Plugin resource not found: debuggergdb.zip
    [07:17:27.065]: ERROR: Plugin resource not found: pluginwizard.zip

    Could you please tell me where could I get those? Thank you very much!

    Try a fresh nightly install. These are probably left-overs from upgrading nightlies. We have changed some filenames over time and older files are probably left in your directories.
    Be patient!
    This bug will be fixed soon...

    Offline Jan van den Borst

    • Multiple posting newcomer
    • *
    • Posts: 99
    Re: The 17 october 2006 build is out.
    « Reply #7 on: October 18, 2006, 09:41:42 am »
    Hello all
    I noticed some different behaviour when I use my TortoiseSVN plugin. When I lock a file codeblocks does not notice that the readonly flag is removed. I must close the file and reopen it. I believe this was different before as codeblocks detected readonly flag changes automatically.

    I do not know in what build this has changed...
    Jan

    Offline tiwag

    • Developer
    • Lives here!
    • *****
    • Posts: 1196
    • sailing away ...
      • tiwag.cb
    Re: The 17 october 2006 build is out.
    « Reply #8 on: October 18, 2006, 10:23:35 am »
    ... When I lock a file codeblocks does not notice that the readonly flag is removed. I must close the file and reopen it. I believe this was different before as codeblocks detected readonly flag changes automatically...

    btw. please bugfix also the icons displayed in the open-files-list.
    if a file is locked (i.e. marked as read only) the icon should show the lock-symbol.
    (same symbol, as it is used in the project-manager's files tree)

    this would enhance greatly the usability, when one is forced to work with file-locking file-versioning-system ...

    thanks and brgds, tiwag
    « Last Edit: October 18, 2006, 10:25:34 am by tiwag »

    Offline JPlaroche

    • Multiple posting newcomer
    • *
    • Posts: 29
      • OMBREBLEU
    Re: The 17 october 2006 build is out.
    « Reply #9 on: October 18, 2006, 11:14:53 am »
    please

    I very much would like u'il there is the possibility of edit the macro s abbreviation S. V. P.   thank you

    j'aimerais bien u'il y est la possibilité de d'éditer les macro s abréviation  S.V.P.  :P :P :P
    chef de projet MASTER (AS400  RPGILE  C   and SYTEM)

    student c++ and wxwidgets for validation acquis (Jean-Pierre) wxformbuilder

    Offline tiwag

    • Developer
    • Lives here!
    • *****
    • Posts: 1196
    • sailing away ...
      • tiwag.cb
    Re: The 17 october 2006 build is out.
    « Reply #10 on: October 18, 2006, 11:46:22 am »
    I very much would like u'il there is the possibility of edit the macro s abbreviation
    what do you mean ???
    can you give an example of what you want to do ?

    Offline JPlaroche

    • Multiple posting newcomer
    • *
    • Posts: 29
      • OMBREBLEU
    Re: The 17 october 2006 build is out.
    « Reply #11 on: October 18, 2006, 11:51:26 am »
    have on paper the abbreviations it is true I can note them sorry  :oops: :oops:

    avoir sur papier les abréviations c'est vrais je peut les noter sorry  :?
    chef de projet MASTER (AS400  RPGILE  C   and SYTEM)

    student c++ and wxwidgets for validation acquis (Jean-Pierre) wxformbuilder

    nzoltan

    • Guest
    Re: The 17 october 2006 build is out.
    « Reply #12 on: October 18, 2006, 12:01:35 pm »
    Code
    Making all in wxFlatNotebook
    make[4]: Entering directory `/root/tmp_compilations/codeblocks/src/sdk/wxFlatNotebook'
    make[4]: *** No rule to make target `wxFlatNotebook.cpp', needed by `wxFlatNotebook.lo'.  Stop.

    I have same issue on fc4.

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5491
    Re: The 17 october 2006 build is out.
    « Reply #13 on: October 18, 2006, 12:12:21 pm »
    try to do a make distclean, and then make ...

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7591
      • My Best Post
    Re: The 17 october 2006 build is out.
    « Reply #14 on: October 18, 2006, 03:52:24 pm »
    • Warning and error log messages are now printed in both the main app log and the debug log (if enabled), using blue and red colour respectively
    • If errors or warnings are logged during startup, an InfoWindow pops up informing the user about the fact

    I know about codeblocks.rpt which I believe is the debug log since --debug-log is what I think turns it on.
    But, what is the main app log filename? And, where is it?

    I am getting the InfoWindow popup warning and don't know where to look for the cause.
    Windows XP built from SVN 3102

    Thanks

    Tim S
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline mandrav

    • Project Leader
    • Administrator
    • Lives here!
    • *****
    • Posts: 4315
      • Code::Blocks IDE
    Re: The 17 october 2006 build is out.
    « Reply #15 on: October 18, 2006, 04:06:21 pm »
    No filename logging in Code::Blocks.
    The logs are tabs in the "Messages" pane:

    Main app log = "Code::Blocks" tab
    Debug log = "Code::Blocks debug" tab (if enabled)
    Be patient!
    This bug will be fixed soon...

    Offline Commodore64

    • Multiple posting newcomer
    • *
    • Posts: 35
    Re: The 17 october 2006 build is out.
    « Reply #16 on: October 18, 2006, 04:38:33 pm »
    try to do a make distclean, and then make ...
    Thank you. I was having the same problem on my Mandriva 2006 machine, and make distclean worked.
    BTW, I think it would be useful to place a hint in the wiki.

    I have a problem since some revisions ago: when I open Settings->Environment, C::B crashes. On the command line I get a lot of
    "addr2line: Warning: 'codeblocks' is not an ordinary file"
    This happens even if I disable all the plugins. Other elements of the settings menu work fine.

    Thank you!

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7591
      • My Best Post
    Re: The 17 october 2006 build is out.
    « Reply #17 on: October 18, 2006, 05:02:05 pm »
    No filename logging in Code::Blocks.
    The logs are tabs in the "Messages" pane:

    Main app log = "Code::Blocks" tab
    Debug log = "Code::Blocks debug" tab (if enabled)

    Thanks, found the errors.
    Missing files
    ERROR: Plugin resource not found: compilergcc.zip
    ERROR: Plugin resource not found: debuggergdb.zip

    Going to download the last night build and see if I get same error.

    Tim S
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline mandrav

    • Project Leader
    • Administrator
    • Lives here!
    • *****
    • Posts: 4315
      • Code::Blocks IDE
    Re: The 17 october 2006 build is out.
    « Reply #18 on: October 18, 2006, 05:10:34 pm »
    Quote
    Going to download the last night build and see if I get same error.

    Tim S,
    in this very same topic, just a few answers above, I have already given the answer to this. If you just read it...
    Be patient!
    This bug will be fixed soon...

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7591
      • My Best Post
    Re: The 17 october 2006 build is out.
    « Reply #19 on: October 18, 2006, 05:45:19 pm »
    Quote
    Going to download the last night build and see if I get same error.

    Tim S,
    in this very same topic, just a few answers above, I have already given the answer to this. If you just read it...


    I just read what you said and I don't see anything other than what I said I was going to do. It just stated that what I planned to do and that it should work. It did work for a little bit, but the next time I built from SVN the error came back. I have deleted all the files in the devel folder and I think that will fix the problem for me. I had to delete the folder output/share after deleting the devel folder to fix the problem for me.

    Edit: I do admit that if I had read your message earlier and remembered it, I would have tried deleting the folder share under devel and output folders much sooner.

    Tim S
    « Last Edit: October 18, 2006, 05:56:55 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2778
    Re: The 17 october 2006 build is out.
    « Reply #20 on: October 18, 2006, 06:19:47 pm »
    Version 1.0 revision 3103 (2006-10-18 07:54:00)   gcc 3.4.4 Windows/unicode

    Infinite loop.

    When a project is loaded, and a file is open in the editor, an infinite loop results trying to change syntax hilighting.

    EDIT:
    Woops, I just got it at the html page after closing codeblocks.cbp then attempting to change the active line highlite.
    It happens at the OK press to dismiss the config dialog.

    It does not happen when a project is *never* loaded.


    SVN 3094 is ok. (My last backup)

    Damn, caused by codecompletion plugin. Remove plugins one by one, then restored one by one.

    Also, disabling code completion via the plugin manager solve the problem.


    « Last Edit: October 18, 2006, 06:43:38 pm by Pecan »

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2778
    Re: The 17 october 2006 build is out.
    « Reply #21 on: October 18, 2006, 07:03:23 pm »
    Quote
    I got several error by checking the log during startup.

    [07:17:26.525]: ERROR: Plugin resource not found: compilergcc.zip
    [07:17:26.735]: ERROR: Plugin resource not found: debuggergdb.zip
    [07:17:27.065]: ERROR: Plugin resource not found: pluginwizard.zip

    Could you please tell me where could I get those? Thank you very much!

    Try a fresh nightly install. These are probably left-overs from upgrading nightlies. We have changed some filenames over time and older files are probably left in your directories.

    Code
    ERROR: Plugin resource not found: compilergcc.zip
    ERROR: Plugin resource not found: debuggergdb.zip

    I get the messages on SVN 3103, they do not exists on my system,
    and codeblocks.cbp isn't creating them for me.

    How did I miss getting 'em

    Edit:
    Ok, now I get it. It's caused by old .dll plugins looking for old .zip files.
    Delete the old compilergcc.dll and debuggergdb.dll and the msgs go away.


    « Last Edit: October 18, 2006, 07:12:15 pm by Pecan »

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7591
      • My Best Post
    Re: The 17 october 2006 build is out.
    « Reply #22 on: October 18, 2006, 07:14:03 pm »
    Quote
    I got several error by checking the log during startup.

    [07:17:26.525]: ERROR: Plugin resource not found: compilergcc.zip
    [07:17:26.735]: ERROR: Plugin resource not found: debuggergdb.zip
    [07:17:27.065]: ERROR: Plugin resource not found: pluginwizard.zip

    Could you please tell me where could I get those? Thank you very much!

    Try a fresh nightly install. These are probably left-overs from upgrading nightlies. We have changed some filenames over time and older files are probably left in your directories.

    Code
    ERROR: Plugin resource not found: compilergcc.zip
    ERROR: Plugin resource not found: debuggergdb.zip

    I get the messages on SVN 3103, they do not exists on my system,
    and codeblocks.cbp isn't creating them for me.

    How did I miss getting 'em



    Rename the folder share under devel and output folders to share.old
    Suggested steps doing is
    1. Rename share to share-old under devel
    2. Rebuild codeblocks project
    3. Rename share to share-old under output
    4. run the update.bat or update

    Note: I did lots of things to get rid of error message, but I think the above is what I should have done.

    Edit: looks like you found a simpler answer.
    Ok, now I get it. It's caused by old .dll plugins looking for old .zip files.
    Delete the old compilergcc.dll and debuggergdb.dll and the msgs go away.

    Tim S
    « Last Edit: October 18, 2006, 07:16:06 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5491
    Re: The 17 october 2006 build is out.
    « Reply #23 on: October 18, 2006, 07:50:32 pm »
    Version 1.0 revision 3103 (2006-10-18 07:54:00)   gcc 3.4.4 Windows/unicode

    Infinite loop.

    When a project is loaded, and a file is open in the editor, an infinite loop results trying to change syntax hilighting.

    EDIT:
    Woops, I just got it at the html page after closing codeblocks.cbp then attempting to change the active line highlite.
    It happens at the OK press to dismiss the config dialog.

    It does not happen when a project is *never* loaded.


    SVN 3094 is ok. (My last backup)

    Damn, caused by codecompletion plugin. Remove plugins one by one, then restored one by one.

    Also, disabling code completion via the plugin manager solve the problem.




    Could you do some further tests to narrow it down ??
    Possible candidates could be :
    rev 3098 : dragscroll update ( I don't think this has something to do with it, but today after this update it turned on the auto focus while I didn't hav that in the past)
    rev 3099 : contains a changed for the native parser (but ifdef-ed and just fo logging purposes)
    rev 3100 : specific change for codecompletion !!!!!!!

    I think rev 3100 is the most likely one ?

    I also had some crashes today, but hard to reproduce.

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 17 october 2006 build is out.
    « Reply #24 on: October 18, 2006, 07:52:46 pm »
    Code
    ERROR: Plugin resource not found: compilergcc.zip
    ERROR: Plugin resource not found: debuggergdb.zip
    I think I know, why this happens: The ZIP files are being created by the update batch file, not within the project (as post-compilation steps). I think this should be changed for the plugins in CodeBlock's main project file and removed from update.bat. Also the option "always execute even if target is up-to-date" should be enabled then... Any objections?
    With regards, Morten.
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 17 october 2006 build is out.
    « Reply #25 on: October 18, 2006, 08:06:46 pm »
    When a project is loaded, and a file is open in the editor, an infinite loop results trying to change syntax hilighting.
    Cannot reproduce?! You just change the syntax hightlight? To what? (I tried several but they all wored ok.) What's the base language of the syntax highlight of your file before the change?
    With regards, Morten (r3004).
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

    Offline mandrav

    • Project Leader
    • Administrator
    • Lives here!
    • *****
    • Posts: 4315
      • Code::Blocks IDE
    Re: The 17 october 2006 build is out.
    « Reply #26 on: October 18, 2006, 08:12:08 pm »
    Code
    ERROR: Plugin resource not found: compilergcc.zip
    ERROR: Plugin resource not found: debuggergdb.zip
    I think I know, why this happens: The ZIP files are being created by the update batch file, not within the project (as post-compilation steps). I think this should be changed for the plugins in CodeBlock's main project file and removed from update.bat. Also the option "always execute even if target is up-to-date" should be enabled then... Any objections?
    With regards, Morten.

    People, don't search in the bushes ;)
    When a plugins folder is scanned for plugins, for each plugin found a same-named resource (.zip) is searched for. If it's not found, you see that message.
    In short, Pecan got it right: there are older dlls in the plugins folder. Just delete them and move on.
    These dlls are the ones we renamed at some point: compilergcc.dll->compiler.dll, debuggergdb.dll->debugger.dll, pluginwizard.dll->[removed] and wizard.dll->scriptedwizard.dll.
    Be patient!
    This bug will be fixed soon...

    Offline mandrav

    • Project Leader
    • Administrator
    • Lives here!
    • *****
    • Posts: 4315
      • Code::Blocks IDE
    Re: The 17 october 2006 build is out.
    « Reply #27 on: October 18, 2006, 08:15:11 pm »
    Version 1.0 revision 3103 (2006-10-18 07:54:00)   gcc 3.4.4 Windows/unicode

    Infinite loop.

    When a project is loaded, and a file is open in the editor, an infinite loop results trying to change syntax hilighting.

    EDIT:
    Woops, I just got it at the html page after closing codeblocks.cbp then attempting to change the active line highlite.
    It happens at the OK press to dismiss the config dialog.

    It does not happen when a project is *never* loaded.


    SVN 3094 is ok. (My last backup)

    Damn, caused by codecompletion plugin. Remove plugins one by one, then restored one by one.

    Also, disabling code completion via the plugin manager solve the problem.




    Could you do some further tests to narrow it down ??
    Possible candidates could be :
    rev 3098 : dragscroll update ( I don't think this has something to do with it, but today after this update it turned on the auto focus while I didn't hav that in the past)
    rev 3099 : contains a changed for the native parser (but ifdef-ed and just fo logging purposes)
    rev 3100 : specific change for codecompletion !!!!!!!

    I think rev 3100 is the most likely one ?

    I also had some crashes today, but hard to reproduce.

    I have noticed another lock-up: open a couple of files and try Ctrl-Tabbing between them...

    Indeed it is code-completion related. And, to narrow it down, it is related to the symbols browser updating.
    Isn't 3100 the revision with that fix for the linux crashes (regarding cairo_font_something)?
    If yes, maybe this patch doesn't work too well on windows?
    Be patient!
    This bug will be fixed soon...

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2778
    Re: The 17 october 2006 build is out.
    « Reply #28 on: October 18, 2006, 08:25:57 pm »
    While editing an .xrc file, I hit the taskbar save icon and got the following crash. Looks like a codecompletion crash.

    XP svn3103
     

    Code
    Program received signal SIGSEGV, Segmentation fault.
    0x6068bbde in cbThreadedTask::Abort (this=0xfeeefeee)
        at sdk//cbthreadedtask.h:62
    62        m_abort = true;
    Current language:  auto; currently c++
    (gdb) bt
    #0  0x6068bbde in cbThreadedTask::Abort (this=0xfeeefeee)
        at sdk//cbthreadedtask.h:62
    #1  0x604e824e in cbThreadPool::cbWorkerThread::AbortTask (this=0x4061970)
        at sdk/cbthreadpool.cpp:257
    #2  0x604e820e in cbThreadPool::cbWorkerThread::Abort (this=0x4061970)
        at sdk/cbthreadpool.cpp:243
    #3  0x606dfe1d in std::mem_fun_t<void, cbThreadPool::cbWorkerThread>::operator()
     (this=0x22e758, __p=0x4061970)
        at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
    4.4/bits/stl_function.h:728
    #4  0x6070edbc in std::for_each<__gnu_cxx::__normal_iterator<cbThreadPool::cbWor
    kerThread**, std::vector<cbThreadPool::cbWorkerThread*, std::allocator<cbThreadP
    ool::cbWorkerThread*> > >, std::mem_fun_t<void, cbThreadPool::cbWorkerThread> >
        (__first={_M_current = 0x55127b8}, __last={_M_current = 0x55127bc}, __f=
            {<unary_function<cbThreadPool::cbWorkerThread*,void>> = {<No data fields
    >}, _M_f = {__pfn = &cbThreadPool::cbWorkerThread::Abort(), __delta = 0}})
        at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
    4.4/bits/stl_algo.h:158
    #5  0x604e6f45 in cbThreadPool::~cbThreadPool (this=0x22e9bc)
        at sdk/cbthreadpool.cpp:18
    #6  0x64bb8272 in Parser::~Parser (this=0x22e930)
        at plugins/codecompletion/parser/parser.cpp:167
    #7  0x64ba3e00 in CodeCompletion::ParseFunctionsAndFillToolbar (this=0x1ec79f0)
    ---Type <return> to continue, or q <return> to quit---
        at plugins/codecompletion/codecompletion.cpp:1117
    #8  0x64ba32ed in CodeCompletion::OnReparseActiveEditor (this=0x1ec79f0,
        event=@0x22ece0) at plugins/codecompletion/codecompletion.cpp:982
    #9  0x100aa808 in wxEvtHandler::ProcessEventIfMatches ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #10 0x100aabcc in wxEventHashTable::HandleEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #11 0x100abba9 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #12 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #13 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #14 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #15 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #16 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #17 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
    #18 0x100abb49 in wxEvtHandler::ProcessEvent ()
       from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll

       (gdb) bt full
    #0  0x6068bbde in cbThreadedTask::Abort (this=0xfeeefeee)
        at sdk//cbthreadedtask.h:62
    No locals.
    #1  0x604e824e in cbThreadPool::cbWorkerThread::AbortTask (this=0x4061970)
        at sdk/cbthreadpool.cpp:257
            lock = {m_isOk = true, m_mutex = @0x40619a4}
    #2  0x604e820e in cbThreadPool::cbWorkerThread::Abort (this=0x4061970)
        at sdk/cbthreadpool.cpp:243
    No locals.
    #3  0x606dfe1d in std::mem_fun_t<void, cbThreadPool::cbWorkerThread>::operator()
     (this=0x22e758, __p=0x4061970)
        at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
    4.4/bits/stl_function.h:728
    No locals.
    #4  0x6070edbc in std::for_each<__gnu_cxx::__normal_iterator<cbThreadPool::cbWor
    kerThread**, std::vector<cbThreadPool::cbWorkerThread*, std::allocator<cbThreadP
    ool::cbWorkerThread*> > >, std::mem_fun_t<void, cbThreadPool::cbWorkerThread> >
        (__first={_M_current = 0x55127b8}, __last={_M_current = 0x55127bc}, __f=
            {<unary_function<cbThreadPool::cbWorkerThread*,void>> = {<No data fields
    >}, _M_f = {__pfn = &cbThreadPool::cbWorkerThread::Abort(), __delta = 0}})
        at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
    4.4/bits/stl_algo.h:158
    No locals.
    ---Type <return> to continue, or q <return> to quit---
    #5  0x604e6f45 in cbThreadPool::~cbThreadPool (this=0x22e9bc)
        at sdk/cbthreadpool.cpp:18
            lock = {m_isOk = true, m_mutex = @0x22e9e8}
    #6  0x64bb8272 in Parser::~Parser (this=0x22e930)
        at plugins/codecompletion/parser/parser.cpp:167
    No locals.
    #7  0x64ba3e00 in CodeCompletion::ParseFunctionsAndFillToolbar (this=0x1ec79f0)
        at plugins/codecompletion/codecompletion.cpp:1117
            edMan = (class EditorManager *) 0x1da10b8
            ed = (class cbEditor *) 0x3bf42a8
            parser = {<> = {<No data fields>}, m_Options = {
        followLocalIncludes = true, followGlobalIncludes = false,
        caseSensitive = false, wantPreprocessor = false, useSmartSense = true},
      m_BrowserOptions = {showInheritance = false, displayFilter = bdfWorkspace},
      m_GlobalIncludes = {<BasicSearchTree> = {_vptr$BasicSearchTree = 0x64c456c4,
          m_Labels = {<_Vector_base<wxString,std::allocator<wxString> >> = {
              _M_impl = {<allocator<wxString>> = {<new_allocator<wxString>> = {<No d
    ata fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
                _M_end_of_storage = 0x0}}, <No data fields>},
          m_pNodes = {<_Vector_base<SearchTreeNode*,std::allocator<SearchTreeNode*>
    >> = {
              _M_impl = {<allocator<SearchTreeNode*>> = {<new_allocator<SearchTreeNo
    de*>> = {<No data fields>}, <No data fields>}, _M_start = 0x5510a58,
    ---Type <return> to continue, or q <return> to quit---
                _M_finish = 0x5510a5c,
                _M_end_of_storage = 0x5510a5c}}, <No data fields>},
          m_Points = {<_Vector_base<SearchTreePoint,std::allocator<SearchTreePoint>
    >> = {
              _M_impl = {<allocator<SearchTreePoint>> = {<new_allocator<SearchTreePo
    int>> = {<No data fields>}, <No data fields>}, _M_start = 0x40b9ab0,
                _M_finish = 0x40b9ab8,
                _M_end_of_storage = 0x40b9ab8}}, <No data fields>}},
        m_Items = {<_Vector_base<wxString,std::allocator<wxString> >> = {
            _M_impl = {<allocator<wxString>> = {<new_allocator<wxString>> = {<No dat
    a fields>}, <No data fields>}, _M_start = 0x3d1a5b0, _M_finish = 0x3d1a5b4,
              _M_end_of_storage = 0x3d1a5b4}}, <No data fields>}},
      m_IncludeDirs = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0,
        m_autoSort = false}, m_pParent = 0x1ec79f0, m_RootNode = {m_pItem = 0x0},
      m_pImageList = 0x0, m_UsingCache = false, m_Pool = {m_pOwner = 0x22e930,
        m_ID = 900, m_batching = false, m_concurrentThreads = 1,
        m_concurrentThreadsSchedule = 0,
        m_threads = {<_Vector_base<cbThreadPool::cbWorkerThread*,std::allocator<cbTh
    readPool::cbWorkerThread*> >> = {
            _M_impl = {<allocator<cbThreadPool::cbWorkerThread*>> = {<new_allocator<
    cbThreadPool::cbWorkerThread*>> = {<No data fields>}, <No data fields>},
              _M_start = 0x55127b8, _M_finish = 0x55127bc,
              _M_end_of_storage = 0x55127bc}}, <No data fields>},
    ---Type <return> to continue, or q <return> to quit---
        m_tasksQueue = {<_List_base<cbThreadPool::cbThreadedTaskElement,std::allocat
    or<cbThreadPool::cbThreadedTaskElement> >> = {
            _M_impl = {<allocator<std::_List_node<cbThreadPool::cbThreadedTaskElemen
    t> >> = {<new_allocator<std::_List_node<cbThreadPool::cbThreadedTaskElement> >>
    = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x22e9dc,
                _M_prev = 0x22e9dc}}}, <No data fields>}, m_workingThreads = 0,
        m_Mutex = {m_internal = 0x54d4360}, m_semaphore = {ptr = 0x5511a88,
          count = 0x5512980}}, m_pTokens = 0x0, m_pTempTokens = 0x0,
      m_LocalFiles = {_M_t = {
          _M_impl = {<allocator<std::_Rb_tree_node<wxString> >> = {<new_allocator<st
    d::_Rb_tree_node<wxString> >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<binary_function<wxString,wxString,bool>> = {<No data
    fields>}, <No data fields>}, _M_header = {_M_color = _S_red, _M_parent = 0x0,
              _M_left = 0x22ea00, _M_right = 0x22ea00}, _M_node_count = 0}}},
      m_NeedsReparse = false, m_IsBatch = false, m_pClassBrowser = 0x0,
      m_TreeBuildingStatus = 0, m_TreeBuildingTokenIdx = 0,
      m_timer = <incomplete type>, m_batchtimer = <incomplete type>,
      m_StopWatch = {m_t0 = {m_ll = 1161194714453}, m_pause = 0,
        m_pauseCount = 0}, m_StopWatchRunning = false, m_LastStopWatchTime = 0,
      m_IgnoreThreadEvents = true, m_ShuttingDown = true,
      m_pClassBrowserBuilderThread = 0x0, static sm_eventTableEntries = {
        {<wxEventTableEntryBase> = {m_id = 0, m_lastId = 0, m_fn = {__pfn = invalid
    pointer to member function
    (gdb)


    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2778
    Re: The 17 october 2006 build is out.
    « Reply #29 on: October 18, 2006, 08:32:03 pm »
    rev 3098 : dragscroll update ( I don't think this has something to do with it, but today after this update it turned on the auto focus while I didn't hav that in the past)

    The loop is definitely codecompletion related.

    However, I apologize for the dragscroll bug. I thought I had carefully set focus follows mouse to default=off. I'll check it again.

    thanks
    pecan

    Edit:
    Fixed svn 3105. I had mistakenly set AutoFocusEditor to default true when I set FocusFollowsMouse to default off.
    Bad bad robot.
    « Last Edit: October 18, 2006, 09:23:57 pm by Pecan »