Author Topic: The 19 March 2007 build is out.  (Read 16929 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 19 March 2007 build is out.
« on: March 20, 2007, 01:46:52 am »
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

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.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 19 March 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070319_rev3730_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070319_rev3730_Ubuntu6.xx.deb (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070319_rev3730_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070319_rev3730_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • Changed to run-time linking of DebugBreakProcess function in debugger plugin. Should now work again under all windows operating systems
  • Fixed: [Bug #10666] blocked application
  • Folder browse window in AddGenericSelectPathPage in scripted wizard is now modal
  • Applied ([Patch #1818] Plugin templates update) in modified form
  • Fixed: [Bug #10670] Application crash (Bug is in wxAUI, not in C::B)
  • Fixed Build->Run menu (linux)
  • Fixed debugger mis-behaving in latest revisions. Still have to check if the windows-break-running-process still works though
  • Respect include dirs set by implicitely setting the options to search in project's dir and file's local dir. Should help with dependency tracking, relevant to bug #10533
  • Fixed implementation of gdb step-out command (it was using a code relic from gdb 5.2 days). Fix for bug #10509

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) (is fixed with our special wx263/wx28 dll)


Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 19 March 2007 build is out.
« Reply #1 on: March 20, 2007, 09:22:55 am »
Fixed: [Bug #10670] Application crash (Bug is in wxAUI, not in C::B)

For those who are interested in this bug: This bug was in wxWidgets 2.8 branch and the head. So thanks to bughunter2 for reporting this. :)

I've submitted a patch to wx team and it is now in head. Hopefully it will come with wxWidgets-2.8.3 (to be released today). :)
« Last Edit: March 20, 2007, 09:24:54 am by Biplab »
Be a part of the solution, not a part of the problem.

Offline nenin

  • Almost regular
  • **
  • Posts: 212
Re: The 19 March 2007 build is out.
« Reply #2 on: March 20, 2007, 06:03:47 pm »
Debugger run under Win2K again. Nice job, thanx!

basurapr

  • Guest
Re: The 19 March 2007 build is out.
« Reply #3 on: March 20, 2007, 06:54:05 pm »
For those who are interested in this bug: This bug was in wxWidgets 2.8 branch and the head. So thanks to bughunter2 for reporting this. :)

I've submitted a patch to wx team and it is now in head. Hopefully it will come with wxWidgets-2.8.3 (to be released today). :)

Wow, thanks for the info, I'm developing an application using wxAui and it was crashing after closing it. I was thinking that it was some bad managed pointer or memory from my part, but then I used the debugger and it says that it was a segmentation fault on some libraries of wxWidgets.

Is a pleasure to know that the bug is solved.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 19 March 2007 build is out.
« Reply #4 on: March 20, 2007, 06:59:02 pm »
I'm not sure whether the fix will solve your problem or not. Because the fix is related to stopping a crash when close button is dragged on a sizer. :)

Another point is, the fix missed wx 2.8.3 release tarballs (it seems) by few hours. It's in the head and wx_28_branch, though. If you can produce a crash report through debugger, it may pinpoint the crash. :)
Be a part of the solution, not a part of the problem.

basurapr

  • Guest
Re: The 19 March 2007 build is out.
« Reply #5 on: March 20, 2007, 07:41:44 pm »
Um now I don't know if I'm wrong,

I run the application in debug mode then i close it. When I close it I press the "Next Line" button 8 times after this processes:

Debugger name and version: GNU gdb 6.3
In ntdll!DbgUiConnectToDbg () (ntdll.dll)
In ntdll!RtlpNtMakeTemporaryKey () (ntdll.dll)
In ntdll!RtlLengthSid () (ntdll.dll)
In ntdll!RtlpNtMakeTemporaryKey () (ntdll.dll)
In strchr () (ntdll.dll)
In ntdll!RtlpNtMakeTemporaryKey () (ntdll.dll)
In ntdll!RtlInsertElementGenericTableAvl () (ntdll.dll)
In ntdll!iswdigit () (ntdll.dll)
Program received signal SIGSEGV, Segmentation fault.
In ?? () from ()

 i receive a message box with

"Program received signal SIGSEGV, Segmentation fault. Do you want to view the backtrace"

Then when tracing:

Code
#0 00000000	??() (??:??)

#1 00436A4B wxWindow::HandleActivate(this=0x4036500, state=1) (../src/msw/window.cpp:3666)

#2 00434F49 wxWindow::MSWWindowProc(this=0x4036500, message=6, wParam=1, lParam=0) (../src/msw/window.cpp:2597)

#3 0043472E wxWndProc(hWnd=0xe0506, message=6, wParam=1, lParam=0) (../src/msw/window.cpp:2493)

#4 77D48734 USER32!GetDC() (C:\WINDOWS\system32\user32.dll:??)

#5 000E0506 ??() (??:??)

#6 00000006 ??() (??:??)

#7 00000001 ??() (??:??)

#8 00000000 ??() (??:??)

#9 0043465A wxWindowCreationHook::~wxWindowCreationHook() (c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:76)

#10 77D48816 USER32!GetDC() (C:\WINDOWS\system32\user32.dll:??)

#11 0043465A wxWindowCreationHook::~wxWindowCreationHook() (c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:76)

#12 77D4B4C0 USER32!DefWindowProcW() (C:\WINDOWS\system32\user32.dll:??)

#13 00000000 ??() (??:??)

#14 0043465A wxWindowCreationHook::~wxWindowCreationHook() (c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:76)

#15 77D4B50C USER32!DefWindowProcW() (C:\WINDOWS\system32\user32.dll:??)

#16 039899B0 ??() (??:??)

#17 00000006 ??() (??:??)

#18 00000001 ??() (??:??)

#19 00000000 ??() (??:??)

#20 0043465A wxWindowCreationHook::~wxWindowCreationHook() (c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:76)

#21 7C90EAE3 ntdll!LdrDestroyOutOfProcessImage() (ntdll.dll:??)

#22 0023F5CC ??() (??:??)

#23 00000018 ??() (??:??)

#24 039899B0 ??() (??:??)

#25 00000006 ??() (??:??)

#26 00000001 ??() (??:??)

#27 00000000 ??() (??:??)

#28 0043465A wxWindowCreationHook::~wxWindowCreationHook() (c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:76)

#29 0044E4CD wxTopLevelWindowMSW::~wxTopLevelWindowMSW(this=0x403e968) (../src/msw/toplevel.cpp:638)


Edit: I forgot to call wxAui::UnInit() on the destructor  :oops:
« Last Edit: March 21, 2007, 02:40:55 pm by basurapr »

Offline lubos

  • Almost regular
  • **
  • Posts: 131
Re: The 19 March 2007 build is out.
« Reply #6 on: March 20, 2007, 07:45:15 pm »
i today noticed some really annoying bugs. i wanted to remove a folder(not virtual) from my source dir, when i did it the whole source dir dissapeared, then i removed folder from headers folder, and the removed folder was again at source folder  :x its hard for me to explain please play a bit with folders in projects.
then i went to the properties->build targets, i setted up all the values and then change type from gui to console. the old values deleted my new ones  :x
hope you can fix it thanks

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 19 March 2007 build is out.
« Reply #7 on: March 20, 2007, 07:48:09 pm »
i today noticed some really annoying bugs. i wanted to remove a folder(not virtual) from my source dir, when i did it the whole source dir dissapeared, then i removed folder from headers folder, and the removed folder was again at source folder  :x its hard for me to explain please play a bit with folders in projects.

One folder related fix has been applied today in rev 3732. Hopefully that'll fix the problem. :)



Edit 1: Bug exists. Please file a bug report at Berlios.
« Last Edit: March 20, 2007, 07:57:04 pm by Biplab »
Be a part of the solution, not a part of the problem.

Offline lubos

  • Almost regular
  • **
  • Posts: 131
Re: The 19 March 2007 build is out.
« Reply #8 on: March 20, 2007, 08:06:20 pm »
i today noticed some really annoying bugs. i wanted to remove a folder(not virtual) from my source dir, when i did it the whole source dir dissapeared, then i removed folder from headers folder, and the removed folder was again at source folder  :x its hard for me to explain please play a bit with folders in projects.

One folder related fix has been applied today in rev 3732. Hopefully that'll fix the problem. :)



Edit 1: Bug exists. Please file a bug report at Berlios.
thank you very much, great  :D

Offline lubos

  • Almost regular
  • **
  • Posts: 131
Re: The 19 March 2007 build is out.
« Reply #9 on: March 20, 2007, 08:09:04 pm »
Edit 1: Bug exists. Please file a bug report at Berlios.
ok, i will do that as soon as i will arrive from school tommorow. :)

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 19 March 2007 build is out.
« Reply #10 on: March 20, 2007, 08:13:36 pm »
@lubos,

I just rechecked. :)

When you are deleting a folder (under Source or Header), all header and source files get selected automatically. That is the problem. So whenever you are deleting the folder everything gets deleted and the whole project becomes empty.

I'll try to fix this, if possible. For the time being, please be cautious while deleting a folder. Instead use Remove files.. option and select the files you want to delete from the dialog.

Regards,

Biplab
Be a part of the solution, not a part of the problem.

sknake

  • Guest
Re: The 19 March 2007 build is out.
« Reply #11 on: March 20, 2007, 11:03:04 pm »
Is an alternate download site available? The one published seems to be down.

Will B-R

  • Guest
Re: The 19 March 2007 build is out.
« Reply #12 on: March 21, 2007, 08:41:04 am »
I'm having the same problem, the main berlios site works but unfortunately none of the downloads do; they all just seem to timeout.

Offline Xaviou

  • Regular
  • ***
  • Posts: 403
    • X@v's wxStuff
Re: The 19 March 2007 build is out.
« Reply #13 on: March 21, 2007, 08:52:28 am »
Hi all

There is a problem building deb package since rev3725.

This problem seems to come from the "update_revision.sh" script, which has a "exit 1" ending line (should'n't it be exit 0 ?).

If replacing this file with the rev3724's one, debuild  works fine.
If changing "exit 1" with "exit 0", it works fine too.

Is someone already working on it ?
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: The 19 March 2007 build is out.
« Reply #14 on: March 21, 2007, 09:23:35 am »
Hi all

There is a problem building deb package since rev3725.

This problem seems to come from the "update_revision.sh" script, which has a "exit 1" ending line (should'n't it be exit 0 ?).

If replacing this file with the rev3724's one, debuild  works fine.
If changing "exit 1" with "exit 0", it works fine too.

Is someone already working on it ?


Oops, sorry. "Debug" mode forgotten to "on" :lol:.
Be patient!
This bug will be fixed soon...

Offline Mc.Michael

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 19 March 2007 build is out.
« Reply #15 on: March 21, 2007, 12:02:32 pm »
DEBUG mode not working:
message "Signal received. Program received signal SIGSEGV, Segmentation fault. Do you want to view the backtrace. Yes/NO"


C::B 3730
Windows 2003

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: The 19 March 2007 build is out.
« Reply #16 on: March 21, 2007, 01:49:19 pm »
Program received signal SIGSEGV, Segmentation fault.
This indicates a flaw in your program in which it has inadvertently tried to access an invalid address (usually an uninitialized or already deleted pointer). The debugger was kind enough to trap it for you and give you the option of a backtrace which will help you figure out where things went wrong.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Mc.Michael

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 19 March 2007 build is out.
« Reply #17 on: March 21, 2007, 05:57:28 pm »
My programm is working properly .(Qt project.Compiled with -g)
C::B can't start debuging and show message "....segmentation fault".


C::B last rev
MinGW
Win 2003