Author Topic: gdb sometimes blocks  (Read 4258 times)

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
gdb sometimes blocks
« on: January 25, 2013, 02:20:33 pm »
Sometimes, the debugger used "natively" by C::B (gdb) blocks.
I mean that I can't leave the debug mode inside C::B.
I'm obliged to kill gdb with a "killall -9 gdb" to get back to the "normal" perspective.
I saw this behavior with UI-based applications only, not with console applications.

Somebody, an idea where it does come from and about a way to fix this?

I'm running Linux Ubuntu 12.10, and I'm using C::B 12.11 (rev 8629).

Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: gdb sometimes blocks
« Reply #1 on: January 25, 2013, 09:08:46 pm »
Can you provide the full debugger's log (you have to enable it in Settings -> Debugger), when this thing happens?

Most of the time this happens because of a bug in our gdb-output-parser.
(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 Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
Re: gdb sometimes blocks
« Reply #2 on: January 26, 2013, 06:31:13 pm »
Can you provide the full debugger's log (you have to enable it in Settings -> Debugger), when this thing happens?

Most of the time this happens because of a bug in our gdb-output-parser.
OK, I see. Thanks.
I'll provide you with a gdb's log next time it happens.

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
Re: gdb sometimes blocks
« Reply #3 on: January 28, 2013, 01:53:57 pm »
Hi,

I have something like this:

Quote
[debug]Child process (pid:7454) doesn't exists
[debug]Code::Blocks is trying to interrupt process with pid: 7440; child pid: 7454 gdb pid: 7440
[debug]Quit
[debug]>>>>>>cb_gdb:

Each time, I try to stop debugger inside C::B, the message above is issued again and again.
I have to kill gdb to stop this.
Any idea?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: gdb sometimes blocks
« Reply #4 on: January 28, 2013, 02:05:31 pm »
This is expected in this situation, but doesn't help much, post the full log.
(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!]