Codeblocks IDE always crashes on window dock

Bug #416475 reported by Greg Toombs
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
codeblocks (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: codeblocks

I use Codeblocks 8.02-0ubuntu2. Whenever I try to dock any of the floating windows, this always appears in the console:

The program 'codeblocks' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 105202 error_code 3 request_code 15 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.)

Then the IDE exits immediately. Totally dead.

Revision history for this message
Greg Toombs (greg-toombs) wrote :

This time it decided to spit out a debug log.

Revision history for this message
Greg Toombs (greg-toombs) wrote :

More relevant console output:

...
Initializing plugins...

(codeblocks:14259): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
...
Switching layout to "Debugging"

(codeblocks:14259): Gtk-WARNING **: /build/buildd/gtk+2.0-2.14.4/gtk/gtkwidget.c:9042: widget class `GtkPizza' has no property named `row-ending-details'

(codeblocks:14259): Gtk-WARNING **: /build/buildd/gtk+2.0-2.14.4/gtk/gtkwidget.c:9042: widget class `GtkPizza' has no property named `row-ending-details'
...
Deinitializing plugins...
Aborted (core dumped)

Revision history for this message
Greg Toombs (greg-toombs) wrote :

And some more:
Deinitializing plugins...

** (codeblocks:15222): CRITICAL **: clearlooks_style_draw_flat_box: assertion `width >= -1' failed

Revision history for this message
Greg Toombs (greg-toombs) wrote :
Download full text (3.4 KiB)

I was able to un-dock the management window, so that my ~/.codeblocks/default.conf contained:

<![CDATA[layout2|name=ManagementPane;caption=Management;state=2115581;dir=4;layer=1;row=0;pos=0;prop=100000;bestw=200;besth=600;minw=100;minh=100;maxw=-1;maxh=-1;floatx=285;floaty=157;floatw=208;floath=624|name=MessagesPane;caption=Logs & others;state=2099196;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=800;besth=150;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=MainToolbar;caption=Main Toolbar;state=2108156;dir=1;layer=10;row=0;pos=0;prop=100000;bestw=348;besth=32;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=MainPane;caption=;state=768;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=20;besth=20;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=DisassemblyPane;caption=Disassembly;state=2099199;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=250;minw=150;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=350;floath=250|name=CPURegistersPane;caption=CPU Registers;state=2099199;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=250;minw=150;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=350;floath=250|name=CallStackPane;caption=Call stack;state=2099197;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=150;besth=150;minw=150;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=450;floath=174|name=WatchesPane;caption=Watches;state=2099197;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=150;besth=250;minw=150;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=158;floath=250|name=BreakpointsPane;caption=Breakpoints;state=2099197;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=250;minw=150;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=350;floath=250|name=ExamineMemoryPane;caption=Memory;state=2099197;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=450;besth=250;minw=350;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=450;floath=250|name=ThreadsPane;caption=Running threads;state=2099197;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=75;minw=250;minh=75;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=450;floath=99|name=DebuggerToolbar;caption=Debugger Toolbar;state=2108156;dir=1;layer=10;row=0;pos=764;prop=100000;bestw=268;besth=32;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=OpenFilesPane;caption=Open files list;state=2099198;dir=4;layer=1;row=0;pos=0;prop=100000;bestw=150;besth=100;minw=50;minh=50;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=100;floath=150|name=TodoListPanev2.0.0;caption=To-Do list;state=2099199;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=352;besth=94;minw=352;minh=94;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=352;floath=94|name=DefMimeHandler_HTMLViewer;caption=HTML viewer;state=2099199;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=350;besth=250;minw=150;minh=150;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=350;floath=250|name=CodeCompletionToolbar;caption=Code completion Toolbar;state=2108156;dir=1;layer=10;row=2;pos=0;prop=100000;bestw=844;besth=31;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=CompilerToolbar;caption=Compiler Toolbar;state=2108156;dir=1;layer=10;row=0;pos=359;pro...

Read more...

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Hi Greg,

You had problems with old Code::Blocks version, could you test if these problems still exists in newest Codeblocks package (10.05) from Ubuntu 10.04 backports repository or never Ubuntu versions?

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi, a new codeblocks version is available, could you please try to reproduce your issue with this newer version?
The new version 12.11-2 is available in my ppa
https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa
The new version is already in raring, I backported it for quantal and precise too

In case the bug still persists, please set the status back to "new"

Changed in codeblocks (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for codeblocks (Ubuntu) because there has been no activity for 60 days.]

Changed in codeblocks (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.