Code::Blocks
March 11, 2010, 11:55:51 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Code::Blocks 8.02 has been released!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 [2]
  Send this topic  |  Print  
Author Topic: The 09 August 2008 build (5182) is out.  (Read 18052 times)
Belgabor
Advanced newcomer
*
Posts: 91


« Reply #15 on: August 15, 2008, 06:56:57 pm »

The first type of crash does not create a RPT and for the second one I posted the results above.
Logged
Pecan
Plugin developer
Lives here!
****
Posts: 1759


« Reply #16 on: August 15, 2008, 07:31:28 pm »

The first type of crash does not create a RPT and for the second one I posted the results above.

You might catch these crashes by running CodeBlocks under gdb within a console window.
Start a cmd window, and issue "gdb --args codeblocks" .

When the crash happens do a "backtrace full" in the cmd window and keep hitting enter to get all the info.

Mark/copy/paste the cmd window to an editor and paste it here.

Be sure that the cmd window has some part of itself visible, else it might  get hidden behind the CodeBlocks window when the crash happens.
« Last Edit: August 15, 2008, 07:33:49 pm by Pecan » Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4298



WWW
« Reply #17 on: August 15, 2008, 08:14:33 pm »

You might catch these crashes by running CodeBlocks under gdb within a console window.
Start a cmd window, and issue "gdb --args codeblocks" .
Notice that this makes most sense if you did not strip the symbols. But on Linux (IMHO) this s not the case anyways...?!
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
mpupro
Newcomer
*
Posts: 3


« Reply #18 on: August 16, 2008, 04:13:06 am »

If I use "Debug\Run to cursor", my cb(svn 5182) will show these messages and stop running:

Setting breakpoints
Debugger name and version: GNU gdb 6.8
Child process PID: 2420
At C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77

If I press Ctrl+F7 to continue:

Continuing...
At C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77

No such problems in CB 8.02, I use it to compile "Ogre+mingw" projects.
Thanks
Logged
indigo0086
Almost regular
**
Posts: 150


« Reply #19 on: August 19, 2008, 02:23:55 pm »

I have a problem with breakpoints.  When I set a breakpoint, then press debug, it will not stop at the breakpoint right away, I have to press it again to go to the first one.
Logged
Pecan
Plugin developer
Lives here!
****
Posts: 1759


« Reply #20 on: August 19, 2008, 03:42:03 pm »

I have a problem with breakpoints.  When I set a breakpoint, then press debug, it will not stop at the breakpoint right away, I have to press it again to go to the first one.

Try unticking  Settings/Compiler&Debugger/Debugger Settings/Catch C++  exceptions.

It works on my svn build  rev 5177 (2008-08-01T17:17:35.636485Z)   gcc 3.4.5 Windows/unicode
Logged
indigo0086
Almost regular
**
Posts: 150


« Reply #21 on: August 19, 2008, 06:04:53 pm »

Works great, thanks.
Logged
ftfish
Newcomer
*
Posts: 2


« Reply #22 on: August 20, 2008, 09:57:24 am »

If I use "Debug\Run to cursor", my cb(svn 5182) will show these messages and stop running:

Setting breakpoints
Debugger name and version: GNU gdb 6.8
Child process PID: 2420
At C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77

If I press Ctrl+F7 to continue:

Continuing...
At C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77

No such problems in CB 8.02, I use it to compile "Ogre+mingw" projects.
Thanks


Same problem with "Run to cursor" here, but my CB didn't stop running after pressing F4. Instead, my CB entered debug mode but no console appeared.
So it forced me to use cstdio instead of iostream.
Hope it be solved.
Logged
three_minute_hero
Advanced newcomer
*
Posts: 23


« Reply #23 on: August 22, 2008, 12:38:22 pm »

Hi everyone,

Sorry, one more bad news Sad
I'm using CMake with C::B generator, so I regularly have to reload the project after a modification of the CMakeLists.txt.
It doesn't happen every time, but when I reload the project, C::B may crash silently. The console shows a segmentation fault message only, with no other information.

When running with gdb, I got this:
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6641700 (LWP 7201)]
0xb683c8fc in ?? () from /lib/i686/cmov/libc.so.6
Not so instructive Confused

Crash happens (at least) in the following use case:
  • Two projects have to be open (e.g. a library project and its unit tests' project)
  • The library project must be open first, unit test second
  • Run CMake to update library project file
  • Reload project in C::B
  • Enjoy
No crash when updating unit tests' project…

I'm using Debian Sid.

I'm available for any further information you may need.
Logged
bianxiaobin2006@163.com
Newcomer
*
Posts: 1


« Reply #24 on: September 10, 2009, 04:28:00 am »

the link (http://download.berlios.de)maybe wrong !
Logged
jens
Global Moderator
Lives here!
*****
Posts: 2545



WWW
« Reply #25 on: September 10, 2009, 06:49:00 am »

the link (http://download.berlios.de)maybe wrong !
The download-links are okay in general, but this thread is more than a year old and the old nightlies have been removed.
If you want to download C::B nightlies you should use a more recent version.
Logged

Regards

Jens

debian - nightlies and wxWidgets (msw-)cross-build libs for "i386" and "amd64" : http://apt.jenslody.de/
C::B changelog: http://apt.jenslody.de/ChangeLog
Pages: 1 [2]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!