[gps-users] GPS 1.2.2 & solaris

Frode Tennebø frodet@nvg.ntnu.no
Fri, 26 Sep 2003 15:13:10 +0200 (CEST)


ft@leia:/home/ft>gps
The program 'gps_exe' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 11552 error_code 11 request_code 45 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.)

I tried to do as suggested, ie break at gdk_x_error(), but I got:

(gdb) break gtk_x_error
Function "gtk_x_error" not defined.

So I did a break on _XError instead:

(gdb) break _XError
Breakpoint 1 at 0xfe7bc850
(gdb) cont
Breakpoint 1, 0xfe7bc850 in _XError ()
(gdb) back
#0  0xfe7bc850 in _XError ()
#1  0xfe79c8c4 in _XReply ()
#2  0xfe7ab57c in _XQueryFont ()
#3  0xfe7ab454 in XLoadQueryFont ()
#4  0xfecc5e40 in gdk_font_load_for_display ()
#5  0xfecc60f8 in gdk_font_from_description_for_display ()
#6  0xfeca0880 in gdk_font_from_description ()
#7  0x863bd4 in html_gdk_font_manager_get_font ()
#8  0x8650c0 in html_gdk_font_manager_get_font ()
#9  0x86a19c in html_painter_calc_text_width ()
#10 0x872240 in html_text_input_new ()
#11 0x868848 in html_object_calc_min_width ()
#12 0x87945c in html_cluealigned_new ()
#13 0x868848 in html_object_calc_min_width ()
#14 0x878110 in html_checkbox_new ()
#15 0x868848 in html_object_calc_min_width ()
#16 0x861a5c in html_engine_calc_size ()
#17 0x861474 in html_engine_begin ()
#18 0x86179c in html_engine_goto_anchor ()
#19 0x86183c in html_engine_goto_anchor ()
#20 0x8513bc in csc_html_stream_close ()
#21 0x853af0 in csc_html_end ()
#22 0x252810 in csc_html_widget__html_end ()
#23 0x646dc0 in help_module__help_category_list__set_dataX ()
#24 0x64a778 in help_module__help_category_list__set_dataX ()
#25 0x64b03c in help_module__help_category_list__set_dataX ()
#26 0x60730c in glide_kernel__kernel_desktop__restore_desktop ()
#27 0x616d30 in glide_kernel__load_desktop ()
#28 0x59f0e4 in glide_kernel__project__load_default_project ()
#29 0x82f514 in welcome__run_welcome ()
#30 0x82e8b0 in welcome__run_welcome ()
#31 0x806018 in ada_module__register_module ()
#32 0x596da8 in glide_kernel__timeout__process_timeout__general_cb ()
#33 0xfeab4b88 in g_main_context_wakeup ()
#34 0xfeab188c in g_get_current_time ()
#35 0xfeab2b50 in g_main_context_dispatch ()
#36 0xfeab2fc4 in g_main_context_dispatch ()
#37 0xfeab39ac in g_main_loop_run ()
#38 0xfee80b44 in gtk_main ()
#39 0x8093a0 in _ada_gps ()
#40 0x215b38 in main ()

This happens if I run it in a vanilla fvwm. However if I run it in an 
fvwm session where I have logged in using dtlogin (ie. the graphical login 
and not console login) it works like a charm.

Does anybody know why and hopefully how to ocrrect it?

Regards,
 -Frode