User forums > Help

Crash when debugging

<< < (2/2)

xplodwild:
Where can I  download a debug version of codeblocks? (I think I'll have to compile it myself from SVN)

here's what gives gdb :

Switching layout to "Debugging"
Warning: Using user specified encoding as fallback!
Encoding fallback is: Unicode 8 bit (UTF-8) (ID: 41)
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 41)
[New Thread 0xb10ffb90 (LWP 14695)]
[Thread 0xb10ffb90 (LWP 14695) exited]
found /home/guigui/valachan-server/ouverta_valachan-server/src/GameObject.cpp
The program 'codeblocks' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 80011 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program exited with code 01.
(gdb) bt
No stack.

So I think to have a stack, I need a debug version ^^

Also, I tried 1.6.0 and 1.6.1 version of Xserver, both give the same result. Also, it appears that only codeblocks crashes (VLC/Firefox and so on works well, it wasn't the case with the 2008's bug).

EDIT : Just compiled latest SVN trunk with --enable-debug, same bug and still no stack

EDIT2 : With --sync, this appears :
(codeblocks:31391): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(codeblocks:31391): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

Navigation

[0] Message Index

[*] Previous page

Go to full version