Author Topic: The 01 November 2012 build (8497) is out.  (Read 148234 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 01 November 2012 build (8497) is out.
« on: November 01, 2012, 07:06:09 pm »
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2812_gcc471-TDM.7z

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

The 01 November 2012 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20121101_rev8497_win32.7z
  - Linux :
   none

Resolved Fixed:

  • applied patch by Alpha to (hopefully) fix EOL issues with custom abbreviations
  • fixed CC crash bug described here: http://forums.codeblocks.org/index.php/topic,17020.msg116053.html#msg116053
  • SmartIndent: selection brace completion support for more languages (includes a generic selection brace completion fallback in cbEditor)
  • wx(SMith)STC update
  • wxSmith: fixed a missing colon in code generation for wxFilePickerCtrl (thanks Alpha)
  • (slightly modified) fix for (selection) brace completion by Alpha

Regressions/Confirmed/Annoying/Common bugs:



    Offline ironhead

    • Almost regular
    • **
    • Posts: 210
    Re: The 01 November 2012 build (8497) is out.
    « Reply #1 on: November 01, 2012, 10:22:52 pm »
    This build crashes as soon as I go to Settings > Editor...

    I'm running Windows 7 Pro 32-bit.

    Offline softred

    • Single posting newcomer
    • *
    • Posts: 2
    Re: The 01 November 2012 build (8497) is out.
    « Reply #2 on: November 01, 2012, 11:34:43 pm »
    Hello.

    When I compile a c++ source file without project a have a crash, the log only prints "Aborted".

    Codeblocks svn 8497 self build with default settings.
    Debian Wheezy AMD64 - Kernel 3.2.0-3
    gcc 4.7.1
    wxwidget 2.8.12

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 01 November 2012 build (8497) is out.
    « Reply #3 on: November 02, 2012, 12:59:14 am »
    softred:
    Have you tried the latest night build provided by Jens?
    Does it work?
    Can you tell us the revision where it first broke?
    Are you sure you've built and installed it correctly. Please try a clean build to make sure you're not mixing files from different revisions.
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 November 2012 build (8497) is out.
    « Reply #4 on: November 02, 2012, 01:53:18 am »
    Hello.

    When I compile a c++ source file without project a have a crash, the log only prints "Aborted".

    Codeblocks svn 8497 self build with default settings.
    Debian Wheezy AMD64 - Kernel 3.2.0-3
    gcc 4.7.1
    wxwidget 2.8.12

    softred:
    Have you tried the latest night build provided by Jens?
    Does it work?
    Can you tell us the revision where it first broke?
    Are you sure you've built and installed it correctly. Please try a clean build to make sure you're not mixing files from different revisions.

    Crashes here too, with 8486 from my repo (fc17 64-bit).
    I can dig into it tomorrow.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 01 November 2012 build (8497) is out.
    « Reply #5 on: November 02, 2012, 01:56:44 am »
    This build crashes as soon as I go to Settings > Editor...

    I'm running Windows 7 Pro 32-bit.
    Tested, I do not have the crash. (WinXP).
    I guess your configure file(default.conf) was broken, can you try to delete the conf file, and try again?
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 November 2012 build (8497) is out.
    « Reply #6 on: November 02, 2012, 02:04:39 am »
    8497 does not crash at least not in debugger), but gives me the following output:
    Quote
    $compiler $options $includes -c $file -o $object
    $linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs
    /bin/sh: -c: command not found
    Process terminated with status 127 (0 minutes, 0 seconds)
    0 errors, 0 warnings (0 minutes, 0 seconds)

    Build log saved as:
    file:///tmp/test/test_build_log.html
     

    No macro replacement, looks like broken compiler lookup again.

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 01 November 2012 build (8497) is out.
    « Reply #7 on: November 02, 2012, 08:11:38 am »
    No macro replacement, looks like broken compiler lookup again.
    Program received signal SIGSEGV, Segmentation fault.
    0x61e5e8b2 in DirectCommands::GetCompileSingleFileCommand (this=0x22ed18,
        filename=...)
        at C:/Devel/CodeBlocks/src/plugins/compilergcc/directcommands.cpp:342
    →→C:\Devel\CodeBlocks\src\plugins\compilergcc\directcommands.cpp:342:11849:beg:0x61e5e8b2

    Reproducible... I'll see what I can do.
    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 Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 01 November 2012 build (8497) is out.
    « Reply #8 on: November 02, 2012, 09:01:14 am »
    No macro replacement, looks like broken compiler lookup again.
    Program received signal SIGSEGV, Segmentation fault.
    0x61e5e8b2 in DirectCommands::GetCompileSingleFileCommand (this=0x22ed18,
        filename=...)
        at C:/Devel/CodeBlocks/src/plugins/compilergcc/directcommands.cpp:342
    →→C:\Devel\CodeBlocks\src\plugins\compilergcc\directcommands.cpp:342:11849:beg:0x61e5e8b2

    Reproducible... I'll see what I can do.

    Simple cause:
    in directcommands.cpp:57, the pointer to the command-generator is initialised, but if there is no project, this line will never be reached.
    Just moving the code from line 57 to the beginning of the ctor, works here on linux.
    Can you test it on windows ?
    A change should be committed with a small comment.

    EDIT:
    the issue must be there since r8457, if I see it correctly.
    « Last Edit: November 02, 2012, 09:04:51 am by jens »

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 01 November 2012 build (8497) is out.
    « Reply #9 on: November 02, 2012, 09:19:49 am »
    When I compile a c++ source file without project a have a crash, the log only prints "Aborted".

    Just moving the code from line 57 to the beginning of the ctor, works here on linux.
    Can you test it on windows ?
    Tried, works, and committed. This was an "ooopsi" error when changing the command generation interface for CC.

    Thanks for the report!
    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 gd_on

    • Lives here!
    • ****
    • Posts: 796
    Re: The 01 November 2012 build (8497) is out.
    « Reply #10 on: November 02, 2012, 11:58:54 am »
    Small problem for localisation introduced with svn 8499 in directcommand.cpp :
    the old code was :
    Code
            warn.Printf(_("WARNING: Target '%s': Unable to resolve %lu external dependencies:"),
                        target->GetFullTitle().wx_str(), static_cast<unsigned long>(fileMissing.Count()));
    the new one is (line 601) :
    Code
            warn.Printf(_("WARNING: Target '%s': Unable to resolve %lu external dependenc%s:"),
                        target->GetFullTitle().wx_str(), static_cast<unsigned long>(fileMissing.Count()), wxString(fileMissing.Count() == 1 ? _("y") : _("ies")).wx_str());
    It's OK in english, but not in other languages as French, because, in french, I'll have to modify 2 words (the translation of "dependency" (or ies) but the translation of "external" too), so not only one word as in English. Though it's a nice subtility, i think it's not a so good idea for other localisations than English. So, the old solution, though not perfect, is better.

    gd_on

    Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 01 November 2012 build (8497) is out.
    « Reply #11 on: November 02, 2012, 03:18:37 pm »
    Small problem for localisation introduced with svn 8499 in directcommand.cpp :
    OK agreed - I will revert that. Actually it slipped in from the compiler branch.
    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 softred

    • Single posting newcomer
    • *
    • Posts: 2
    Re: The 01 November 2012 build (8497) is out.
    « Reply #12 on: November 02, 2012, 03:59:47 pm »
    Good work folks. The new build works as expected.
    « Last Edit: November 02, 2012, 04:01:19 pm by softred »

    Offline ironhead

    • Almost regular
    • **
    • Posts: 210
    Re: The 01 November 2012 build (8497) is out.
    « Reply #13 on: November 02, 2012, 11:32:53 pm »
    This build crashes as soon as I go to Settings > Editor...

    I'm running Windows 7 Pro 32-bit.
    Tested, I do not have the crash. (WinXP).
    I guess your configure file(default.conf) was broken, can you try to delete the conf file, and try again?

    The 8500 build also craps out on me under Win7.  I've removed my AppData\Roaming\CodeBlocks directory as well as removing and re-extracting the complete C::B (to make sure no old files were left around).

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 01 November 2012 build (8497) is out.
    « Reply #14 on: November 03, 2012, 02:49:56 am »
    This build crashes as soon as I go to Settings > Editor...

    I'm running Windows 7 Pro 32-bit.
    Tested, I do not have the crash. (WinXP).
    I guess your configure file(default.conf) was broken, can you try to delete the conf file, and try again?

    The 8500 build also craps out on me under Win7.  I've removed my AppData\Roaming\CodeBlocks directory as well as removing and re-extracting the complete C::B (to make sure no old files were left around).

    Do you have any crash report? (call stack)
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.