Author Topic: The 25 August 2012 build (8248) is out.  (Read 171897 times)

Offline OsminohejTygr

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: The 25 August 2012 build (8248) is out.
« Reply #15 on: August 27, 2012, 09:39:01 pm »
Hello. Thank you for next nightly. I have a little bug in Settings->Editor...->BrowseTracker (on the picture bellow). Please can someone verify it? Thanks :)

[attachment deleted by admin]

Offline janissl

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 25 August 2012 build (8248) is out.
« Reply #16 on: August 27, 2012, 11:28:48 pm »
I have a little bug in Settings->Editor...->BrowseTracker (on the picture bellow). Please can someone verify it?

I haven't such bug in my C::B installation.
In specialibus generalia quaerimus

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: The 25 August 2012 build (8248) is out.
« Reply #17 on: August 28, 2012, 02:01:55 pm »
Hello. Thank you for next nightly. I have a little bug in Settings->Editor...->BrowseTracker (on the picture bellow). Please can someone verify it? Thanks :)

Fixed: svn 8252
Thanks for the report.

stefanos_

  • Guest
Re: The 25 August 2012 build (8248) is out.
« Reply #18 on: August 29, 2012, 07:47:30 am »
greetings everyone.

I have built svn-8251, and when I right-click on a Headers / Sources sub-folder in Manager to remove files, it crashes.

Below you can find as an attachment the crash report.

System Specs:

OS = Windows XP SP3 [32-bit]
Compiler: TDM's GCC (the latest available)
wxWidgets = 2.8.10

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: The 25 August 2012 build (8248) is out.
« Reply #19 on: August 29, 2012, 05:27:56 pm »
@Agetian, I think it is a gdb bug or gcc bug, as you can see, print a value/expression does not work under the command line.

Yeah, it might as well be - I'll retry with some older revisions of MinGW (I have old binaries for 4.5 and 4.6 series) and see if that solves the issue, I'll keep you posted. Thanks!
EDIT: Yeah, definitely works after reverting to MinGW v4.6.1 - so, could be related to some gdb bug in the 4.7 series. Looks like this is not C::B-related.

Can you provide your project (maybe put it on some web space)?
I will look into the issue to see whether its related with gcc/gdb.

Sure thing, it's really a very simple test though, the entire test project that works as a test case consists of one file which is as follows:

Code
#include <iostream>

using namespace std;

int main()
{
    string s = "Test";
    cout << s << endl;
    return 0;
}

The breakpoint is set on the "cout << s << endl" line. I think it most surely is a gcc/gdb/mingw issue though, cause 4.6.1 works fine and 4.7.1 doesn't. I have, in addition to everything else, made double sure that I'm generating debugging symbols and that no optimizations are set, so it looks like a bug in gcc/gdb... Thanks for your desire to look into it!


I think it's a gdb issue, and I will test it on Linux or ask gdb mail list.
Regards,
xunxun

Offline p2rkw

  • Almost regular
  • **
  • Posts: 142
Re: The 25 August 2012 build (8248) is out.
« Reply #20 on: August 30, 2012, 12:17:39 am »
@Agetian: I debug your code on linux, and everything was fine (gdb 7.4, gcc 4.7). I see you have two compilers paths in your PATH variable, please make sure that you use correct one (did you disable all optimizations? ), and rebuild project.
-----
I have other problem with debugger. I changed terminal emulator from xterm to xfce-terminal, here's how c::b invoke it: "terminal -T $TITLE -x" (no quotes). I can run console project and it works fine, but when I start debugging gdb can't open terminal:
Quote
[debug]>>>>>>cb_gdb:

Can't launch console (terminal -T 'Program Console' -x sleep 80001818)

[debug]> run
[debug]Hello Test
"Hello Test" is output from my application.
How can I check how debugger invokes terminal?

Offline Agetian

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: The 25 August 2012 build (8248) is out.
« Reply #21 on: August 30, 2012, 05:42:37 am »
@Agetian: I debug your code on linux, and everything was fine (gdb 7.4, gcc 4.7). I see you have two compilers paths in your PATH variable, please make sure that you use correct one (did you disable all optimizations? ), and rebuild project.

I took the old compiler out of the path and made sure everything was correct as far as disabling optimizations go (and enabling debugging symbols), as well as cleaned and rebuilt the project afterwards, but it still doesn't work correctly with v4.7.1 - however, it looks like for some reason, that the mingw version I'm using doesn't produce enough debug information - I don't know why, I'm not that great with gcc/gdb yet, but the file size generated with the v4.7.1 build I'm using is only 90kb (in debug mode with -g and with no optimizations flags set), while switching back to v4.6.1 makes it bigger than a megabyte. :\ The options are exactly the same, -g is set and none of the -O or other optimization flags is set. Thanks for your desire to help!
« Last Edit: August 30, 2012, 05:48:55 am by Agetian »

stefanos_

  • Guest
Re: The 25 August 2012 build (8248) is out.
« Reply #22 on: August 30, 2012, 10:15:05 pm »
To whom it may concern, on my Linux Debian wheezy machine I had to modify two files, Makefile.am and configure.in to make it compile.

Makefile.am

Code
--- /svn_code/CodeBlocks/Makefile.am	(revision 8281)
+++ /svn_code/CodeBlocks/Makefile.am (working copy)
@@ -12,6 +12,8 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = codeblocks.pc
 
+ACLOCAL_AMFLAGS = -I m4
+
 EXTRA_DIST = $(top_srcdir)/bootstrap \
  codeblocks.spec \
  codeblocks.plist \

configure.in

Code
Index: /home/stefanos/svn_code/CodeBlocks/configure.in
===================================================================
--- /svn_code/CodeBlocks/configure.in (revision 8281)
+++ /svn_code/CodeBlocks/configure.in (working copy)
@@ -7,6 +7,9 @@
 AC_CANONICAL_TARGET
 
 AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
+
+AC_CONFIG_MACRO_DIR([m4])
+
 AC_CONFIG_HEADER([src/include/config.h])
 
 CODEBLOCKS_CHECK_DEBUG

Jens, I think was with you I had a conversation about it in a nightly version?

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Re: The 25 August 2012 build (8248) is out.
« Reply #23 on: August 31, 2012, 07:36:16 am »
Code
#include <iostream>

using namespace std;

int main()
{
    string s = "Test";
    cout << s << endl;
    return 0;
}

Regarding this, I'm also using MinGWBuilds 4.7.1 32-bit building with Code::Blocks 8248.  I entered the above code, set a breakpoint on "return 0"  Tried a watch on the variable "s" and I got the message: "Cannot evaluate function -- may be inlined"  No crashes, I can resume the debugger and program after attempting to check the s variable.  Other variables, like int x, I can get the proper values out of.  Tried putting a "#include <string>" at the beginning of the file, tried initializing the string like "string s("Test");", no dice.

stefanos_

  • Guest
Re: The 25 August 2012 build (8248) is out.
« Reply #24 on: August 31, 2012, 10:06:24 am »
Currently successfully compiled Code::Blocks 2.9.x, SVN-8299 on Windows XP SP3 with TDM's GCC latest version available.

Unfortunately though it crashes as soon as you call it. You can see from the attached photo the reason of crash.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 25 August 2012 build (8248) is out.
« Reply #25 on: August 31, 2012, 10:23:40 am »
Currently successfully compiled Code::Blocks 2.9.x, SVN-8299 on Windows XP SP3 with TDM's GCC latest version available.

Unfortunately though it crashes as soon as you call it. You can see from the attached photo the reason of crash.

Continue should work here without crashing.
wx2.9 spreads tons of debug-messages.

I know theses isssues and work on fixing them.

Btw:

please report issues in the new thread I started, not in the nightlies thread.
http://forums.codeblocks.org/index.php/topic,16793.msg114135.html#msg114135

The contrib-plugins are compilable with wx2.9, but do not (all) work without errors.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 25 August 2012 build (8248) is out.
« Reply #26 on: August 31, 2012, 10:58:33 am »
To whom it may concern, on my Linux Debian wheezy machine I had to modify two files, Makefile.am and configure.in to make it compile.
[...]
Jens, I think was with you I had a conversation about it in a nightly version?

I wonder why you can not compile.
I get warnings because of this, but it works flawlessly.
The cause for not changing these files is the compatibility.

If I remember correctly it breaks building (or better bootstrapping) on some distros.

stefanos_

  • Guest
Re: The 25 August 2012 build (8248) is out.
« Reply #27 on: August 31, 2012, 02:02:29 pm »
Tonight I will attempt to install the latest 2.9.x svn on wheezy with the original files and I will let you know for what will complain.

stefanos_

  • Guest
Re: The 25 August 2012 build (8248) is out.
« Reply #28 on: August 31, 2012, 02:06:33 pm »
Continue should work here without crashing.
wx2.9 spreads tons of debug-messages.

I know theses isssues and work on fixing them.

Btw:

please report issues in the new thread I started, not in the nightlies thread.
http://forums.codeblocks.org/index.php/topic,16793.msg114135.html#msg114135

The contrib-plugins are compilable with wx2.9, but do not (all) work without errors.

Well, even if I press "Yes", "No", "Cancel", it will crash and would ask me to send report. I guess I have to wait until it stabilizes a bit with its current development.

Offline havefun

  • Single posting newcomer
  • *
  • Posts: 6
Re: The 25 August 2012 build (8248) is out.
« Reply #29 on: September 01, 2012, 07:25:42 am »
I have download this edition, but when I run the program  which has been built already at the first time, it will cost nearly 3s to output "hello world".
is there anything wrong in my installation or it's just like this?

my system is WINXP without cygwin.
install the three elements involved above.
« Last Edit: September 01, 2012, 07:52:32 am by havefun »