[Glade-devel] gdk_x_error on solaris 10
- From: tcs.jain at gmail.com (neha jain)
- Subject: [Glade-devel] gdk_x_error on solaris 10
- Date: Wed, 11 Apr 2007 09:52:32 +0530
Hi,
Need help in finding the solution to the following problem :
I am trying to evoke a glade application on Solaris 10 ( glade-2 ), and
facing the following error:
Error :
The program '' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib
length erro'.
(Details: serial 12 error_code 16 request_code 155 minor_code 4)
(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.)
Also I tried running this application using the dbx debugger and stopped
at the _XError to get the following backtrace:
(dbx) stop in main
(dbx) stop in _XError
dbx: warning: '_XError' has no debugger info -- will trigger on first
instruction
dbx: stop in _XError
(dbx) stop in gnome_init
dbx: "gnome_init" is not defined as a function or procedure in the scope
`tablist`main.C`main`
dbx: see `help scope' for details
(dbx) run $RUN
Running: tablist -featureClass PTWPRO
t at 1 (l at 1) stopped in main at 0x000d36e8
0x000d36e8: main : save %sp, -1256, %sp
(dbx) cont
t at 1 (l at 1) stopped in _XError at 0xfd4bdc8c
0xfd4bdc8c: _XError : save %sp, -192, %sp
(dbx) where
current thread: t at 1
=>[1] _XError(0x8cf0e0, 0x8d0ed8, 0x8cea04, 0x10, 0x0, 0x8cf0e0), at
0xfd4bdc8c
[2] _XReply(0x8cf0e0, 0x8d0ed8, 0x6b, 0x0, 0x0, 0x20), at 0xfd49e208
[3] XGetXineramaInfo(0x8cf0e0, 0x0, 0x145, 0x8d0d08, 0x8d0ed8, 0x8ce440),
at 0xfa453740
[4] XineramaGetInfo(0x8cf0e0, 0x0, 0xffbfebd0, 0xffbfebc0, 0x2, 0x8d0d08),
at 0xfa4535b4
[5] check_solaris_xinerama(0x8d0b10, 0xfd3fed14, 0x2b9b8, 0xfd49f300,
0xffbfecb4, 0x0), at 0xfd3d33a8
[6] init_xinerama_support(0x8d0b10, 0x0, 0x2b88c, 0xfbd6ce70, 0x0, 0x1), at
0xfd3d34d8
[7] _gdk_x11_screen_new(0x8cf938, 0x0, 0x0, 0x2ba64, 0x0, 0xfd3fed14), at
0xfd3d332c
[8] gdk_display_open(0x0, 0x8cf938, 0x8cf0e0, 0x0, 0x1, 0xfd3fed14), at
0xfd3b8c00
[9] gdk_display_open_default_libgtk_only(0x0, 0x69cf4, 0xfc0e98a4, 0x0,
0xfd3fed14, 0x3c), at 0xfd3950b0
[10] gtk_init_check(0xffbfef5c, 0xffbfef58, 0x0, 0x0, 0x0, 0x0), at
0xfbf2a3ac
[11] gtk_init(0xffbfef5c, 0xffbfef58, 0xfbda8800, 0x1b4900, 0x0,
0xfc0decd0), at 0xfbf2a3e8
[12] bonobo_ui_gtk_post_args_parse(0x8ca2d0, 0x32c, 0x4c650, 0x0,
0xfbbf0588, 0x8c7a58), at 0xfbba3fa4
[13] gnome_program_postinit(0x8ca2d0, 0x0, 0x1673c, 0xfd43402c, 0x6f7854,
0xfd433a0c), at 0xfd41d3c8
[14] gnome_program_initv(0x8ca2d0, 0x14522e, 0x145234, 0x1, 0x1,
0xffbff5fc), at 0xfd41d850
[15] gnome_program_init(0x14522e, 0x145234, 0xfbcaa52c, 0x1, 0xffbff5fc,
0xfbc91eec), at 0xfd41d438
[16] gnome_init_with_popt_table(0x14522e, 0x145234, 0x1, 0xffbff5fc, 0x0,
0x0), at 0xfbc5a3e0
[17] main(0x3, 0xffbff674, 0xffbff684, 0x168c00, 0xf97c0fc0, 0xf97c1000),
at 0xd378c
(dbx)
FYI, the piece of code which is calling the function gnome_init is:
int main(int argc, char *argv[]) {
GladeXML *xml;
poptContext ctx;
char *args[2] = {"",""};
int i;
wellID wellid;
char *wellName[2];
long ier;
LsdDialog *well_select;
char *configfile = NULL;
char *wellfile = NULL;
char *lsdtype = NULL;
int daemon_mode = 0;
int keepalive = 0;
int pid = 0;
char *fullpath;
char command[1024];
GdkWindow *Gwin;
Window win;
GtkWidget *gwid;
Display *xdis;
Display *xdis2;
TabOW *Tabow = new TabOW(&argc, argv);
gnome_init("tabui", "0.0.1",1,args);
glade_gnome_init();
glade_init_subtree_widgets();
fullpath = ptw_get_file_path("gtk.rc");
Kindly suggest what can be the possible reason for this error and how to
proceed further to solve it.
Thanks in advance.
Neha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20070411/d869fa22/attachment.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]