Author Topic: Code:Blocks pernamently crashes  (Read 8419 times)

Offline wever

  • Multiple posting newcomer
  • *
  • Posts: 49
Code:Blocks pernamently crashes
« on: September 10, 2014, 04:13:07 pm »
This happened at least 20x. Version 13.12 After SIGSEGV error, if and only if I click left from the yellow tooltip program Crashes. If I do not click left to make it disappear so it does not crash. I am always sending the data after crash, I have no idea if it has some sense or no. If you don't read the data so I won't send them.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Code:Blocks pernamently crashes
« Reply #1 on: September 10, 2014, 04:25:45 pm »
Which tooltip do you mean ?
There are several.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6076
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Code:Blocks pernamently crashes
« Reply #2 on: September 10, 2014, 04:26:34 pm »
...if and only if I click left from the yellow tooltip program Crashes. ....
"yellow tooltip"? I guess it is from CodeCompletion plugin, so the first step is try to "disable this plugin", and see this issue happens again.
The next step could be: show us some code and steps to reproduce this bug.
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 wever

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: Code:Blocks pernamently crashes
« Reply #3 on: September 10, 2014, 04:36:00 pm »
Here is image:

bottom right


Actually I am not sure if I click on left or on the tooltip, but I think I clicked on the left, on the black screen area.

Yet notice: now it did not crash, but I clicked on left and on the tooltip. It crashed before many times when I recieved the signal and it was in the moment when some char * variable was not initiated but I tried to save data to the variable of that type.
« Last Edit: September 10, 2014, 04:37:58 pm by wever »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code:Blocks pernamently crashes
« Reply #4 on: September 10, 2014, 07:49:35 pm »
Nope it is your program that crashes, not Code::Blocks... aren't you using the debugger to find just where :)
(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 wever

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: Code:Blocks pernamently crashes
« Reply #5 on: September 10, 2014, 08:43:21 pm »
Ok, but why it crashes code::blocks? I am using debuger and I know where my program crashes. But should not the code::blocks prevent from self-crashing when it finds the problematic command?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code:Blocks pernamently crashes
« Reply #6 on: September 10, 2014, 08:47:12 pm »
Why do you think C::B has crashed?
I can see that C::B is in perfect health and alive on your screen shot...
(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 wever

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: Code:Blocks pernamently crashes
« Reply #7 on: September 11, 2014, 06:09:36 pm »
Then I'll have to make screenshot when the C::B crashed.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7779
    • My Best Post
Re: Code:Blocks pernamently crashes
« Reply #8 on: September 11, 2014, 06:18:47 pm »
Then I'll have to make screenshot when the C::B crashed.

I suggest looking up what doing undefined operations in C/C++ can result in happening!

PEBKAC

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline raynebc

  • Almost regular
  • **
  • Posts: 222
Re: Code:Blocks pernamently crashes
« Reply #9 on: September 18, 2014, 12:28:14 am »
Sometimes I run into problems where the GDB debugger hangs and I have to kill the process in Task Manager before I can fully use CodeBlocks again, but I only have the IDE crash on me very rarely.