BadAlloc X Error

Posted by paultop6 on Stack Overflow See other posts from Stack Overflow or by paultop6
Published on 2010-04-25T10:58:30Z Indexed on 2010/04/25 11:03 UTC
Read the original article Hit count: 337

Filed under:
|
|
|
|

Hi Guys,

Im having some problems with a GTK program im trying to build.

When i compile it i keep getting this error:

This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 195 error_code 11 request_code 53 minor_code 0)

Ive traced it down to the following command that appears to be causing it:

gtk_box_pack_start(GTK_BOX (Top_Graph), Widget_Get (Graph_Cpu), TRUE, TRUE, 0);

Now Top_Graph and Graph_Cpu are both GtkVbox Widgets.

Has anyone ever seen an error like this, and could they give me some advice as to how it is caused

Regards

Paul

© Stack Overflow or respective owner

Related posts about c++

Related posts about gtk