Author Topic: The 25 June 2008 build (5106) is out.  (Read 67374 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 June 2008 build (5106) is out.
« Reply #15 on: June 29, 2008, 02:34:40 am »

You report a number of crashes which no other users / devs can confirm which is really weird.

Because you computer is fast, but my computer is slow.
When i close CB's 'close btn', CB can not shut. so i close CB's 'Close Button' again, then, CB crash!

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 25 June 2008 build (5106) is out.
« Reply #16 on: June 29, 2008, 08:49:54 am »
Because you computer is fast, but my computer is slow.
When i close CB's 'close btn', CB can not shut. so i close CB's 'Close Button' again, then, CB crash!

Hmm.. If that is the case then you have to be little patient. If a bug is not reproducible, it's difficult to fix. :)
Be a part of the solution, not a part of the problem.

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: The 25 June 2008 build (5106) is out.
« Reply #17 on: June 29, 2008, 08:17:06 pm »
When i close CB, but the PC so slow, so i click 'close button' again, and CB crash!

if click CB's close btn two times, CB will crash.

You report a number of crashes which no other users / devs can confirm which is really weird.
I can reproduce it and I'm working on a fix. Seems as if ProjectManager is accessed after it was already freed.

Edit:
Actually it was an easy one:
Code
 
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 5106)
+++ src/src/main.cpp (working copy)
@@ -2577,6 +2577,9 @@
 
 void MainFrame::OnApplicationClose(wxCloseEvent& event)
 {
+    if (m_InitiatedShutdown)
+        return;
+
     CodeBlocksEvent evt(cbEVT_APP_START_SHUTDOWN);
     Manager::Get()->ProcessEvent(evt);
     Manager::Yield();
« Last Edit: June 29, 2008, 08:58:06 pm by Der Meister »
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 June 2008 build (5106) is out.
« Reply #18 on: July 04, 2008, 10:48:57 am »
Thanks to Der Meister!

Found new question: Debian OS, in CB's 'Management'->'Projects', i remove a file form project, add a new file in the same time. but CB auto close, and can't show crash report.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 June 2008 build (5106) is out.
« Reply #19 on: July 04, 2008, 11:02:05 am »
Charset question.

[attachment deleted by admin]

Offline XayC

  • Multiple posting newcomer
  • *
  • Posts: 94
Re: The 25 June 2008 build (5106) is out.
« Reply #20 on: July 04, 2008, 09:57:35 pm »
Charset question.
Maybe with "autochanged" you mean that when you open your file its encoding is wrongly detected.
In that case you can force an encoding, when opening the files, in the Settings-->Editor-->General Settings-->Default encoding when opening files.

Regards, XayC

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 June 2008 build (5106) is out.
« Reply #21 on: July 05, 2008, 02:10:48 pm »
Charset question.
Maybe with "autochanged" you mean that when you open your file its encoding is wrongly detected.
In that case you can force an encoding, when opening the files, in the Settings-->Editor-->General Settings-->Default encoding when opening files.

Regards, XayC
'Settings-->Editor-->General Settings-->Default encoding when opening files'
Hi, XayC, i did it.

and, in winxp sp3, it's no question. only in Debian Lenny.
My Debian locales is en_US_UTF-8

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 June 2008 build (5106) is out.
« Reply #22 on: July 05, 2008, 05:12:42 pm »
my setting about charset.

[attachment deleted by admin]

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 June 2008 build (5106) is out.
« Reply #23 on: July 05, 2008, 05:18:54 pm »
In WinXPSp3, when i use cdb to debug, i found: 'step into' not work, but 'next line' is ok.
and when i coding, cb auto close like in Debian: no msg, no crash report, no anything...

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: The 25 June 2008 build (5106) is out.
« Reply #24 on: July 08, 2008, 09:11:42 am »
As there was no reaction about the patch I posted here as fix for the reported crash I have put it into the tracker on berlios:
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2513&group_id=5358
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 25 June 2008 build (5106) is out.
« Reply #25 on: July 08, 2008, 11:34:53 am »
As there was no reaction about the patch I posted here as fix for the reported crash I have put it into the tracker on berlios:
There was a reaction, but not visible... I have applied it since "day one" and had in mind to test it. But it won't get lost as it is in my local copy... don't you worry... ;-)
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 olelukoie

  • Single posting newcomer
  • *
  • Posts: 7
Re: The 25 June 2008 build (5106) is out.
« Reply #26 on: July 09, 2008, 04:47:40 pm »
I don't know if this post belongs to this topic or it should go to plugins section, so excuse me if I'm wrong...

I've found the cause of bug 13447 about wxSmith on 64-bit Linux (http://developer.berlios.de/bugs/?func=detailbug&bug_id=13447&group_id=5358 ) and described how to fix it (redeclare numeric properties of supported components as 'long's). Would some of C::B developers include the full fix in future nightbuild please?..

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 25 June 2008 build (5106) is out.
« Reply #27 on: July 09, 2008, 06:02:53 pm »
I don't know if this post belongs to this topic or it should go to plugins section, so excuse me if I'm wrong...

I've found the cause of bug 13447 about wxSmith on 64-bit Linux (http://developer.berlios.de/bugs/?func=detailbug&bug_id=13447&group_id=5358 ) and described how to fix it (redeclare numeric properties of supported components as 'long's). Would some of C::B developers include the full fix in future nightbuild please?..

@olelukoie: good work !

I just submitted a patch for this bug.

I will upload patched svn-binaries for debian to my repo this evening.
« Last Edit: July 09, 2008, 06:04:25 pm by jens »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 25 June 2008 build (5106) is out.
« Reply #28 on: July 10, 2008, 08:20:27 am »
I will upload patched svn-binaries for debian to my repo this evening.

The binaries are on the server (r5115), they also include the Valgrind plugin.

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
Re: The 25 June 2008 build (5106) is out.
« Reply #29 on: July 10, 2008, 10:03:23 am »
when i try to compile svn 5116 my HDD freaks out at Headerfixup when it trys to make the .o file
weird isn't it
only hdd work the cpu is in idle mod
this is causing on linux