[gps-devel] GPS with Mac Leopard Adventures

Roger Mc Murtrie rogermc at iinet.net.au
Tue Nov 27 03:30:59 CET 2007


Hello Nicolas,
I followed the error message advice and got the backtrace below.
However, I can't see what the cause of the problem might be.
Can you advise what else I might try.

Regards
Roger

--------------------------------------------------------------------------------------------------------------

Breakpoint 1, 0x02ea103d in gdk_x_error ()
(gdb) bt
#0  0x02ea103d in gdk_x_error ()
#1  0x0312ac14 in _XError ()
#2  0x0312c8d1 in _XReply ()
#3  0x0312578a in XSync ()
#4  0x03125829 in _XSyncFunction ()
#5  0x03107a6e in XFillRectangle ()
#6  0x02e71258 in gdk_draw_rectangle ()
#7  0x02e87219 in gdk_window_draw_rectangle ()
#8  0x02e71258 in gdk_draw_rectangle ()
#9  0x0097734c in gdk__drawable__draw_rectangle ()
#10 0x00a2f692 in gtkada__mdi__draw_child ()
#11 0x00a2fb69 in gtkada__mdi__draw_child__2 ()
#12 0x00a1bd34 in  
gtkada__handlers__return_callback__event_marshaller__call ()
#13 0x00a1acb5 in gtkada__handlers__return_callback__first_marshaller ()
#14 0x03218e7b in g_closure_invoke ()
#15 0x03227834 in signal_emit_unlocked_R ()
#16 0x032286ea in g_signal_emit_valist ()
#17 0x032288f2 in g_signal_emit ()
#18 0x02cce1d1 in gtk_widget_event_internal ()
#19 0x02bc2ac6 in gtk_main_do_event ()
#20 0x009b4f59 in gtk__main__do_event ()
#21 0x0068258d in keymanager_module.general_event_handler  
(event=0xbfffdb94, kernel=67341312) at
	/Users/Roger/Desktop/Ada/gps-4.0.2/common/src/traces.adb:245
#22 0x02e8610f in gdk_window_process_updates_internal ()
#23 0x02e870ad in gdk_window_process_updates ()
#24 0x02e870e9 in gdk_window_process_updates ()
#25 0x02e870e9 in gdk_window_process_updates ()
#26 0x02ce2260 in gtk_window_check_resize ()
#27 0x03218e7b in g_closure_invoke ()
#28 0x03227637 in signal_emit_unlocked_R ()
#29 0x0322867a in g_signal_emit_valist ()
#30 0x032288f2 in g_signal_emit ()
#31 0x02b3878b in gtk_container_check_resize ()
#32 0x02b387c2 in gtk_container_idle_sizer ()
#33 0x02e6f2ab in gdk_threads_dispatch ()
#34 0x032788ab in g_main_context_dispatch ()
#35 0x0327a02f in g_main_context_iterate ()
#36 0x0327a2eb in g_main_loop_run ()
#37 0x02bc1d7a in gtk_main ()
#38 0x00945f71 in gps.main.main_processing () at /Users/Roger/Desktop/ 
Ada/gps-4.0.2/gps/src/gps-main.adb:1627
#39 0x0094f855 in gps.main () at /Users/Roger/Desktop/Ada/gps-4.0.2/ 
gps/src/gps-main.adb:1627

--------------------------------------------------------------------

On 27/11/2007, at 9:32 AM, Roger Mc Murtrie wrote:

>
> :~/Desktop/Ada/gps-4.0.2 Roger$gps/obj/gps
> The program 'gps' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>  (Details: serial 3918 error_code 8 request_code 70 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.)
>
> Any ideas?
>
> Regards,
> Roger
>
> On 26/11/2007, at 10:41 PM, Nicolas Setton wrote:
>
>>
>> Hello Roger,
>>
>>> Problem found (but not fixed yet) in GtkAda!
>>> There appears to be a problem with GtkAda's  
>>> Pango.Layout.Get_Pixel_Size procedure.
>>> Deleting all calls to Get_Pixel_Size in GtkAda/src gtkada-mdi.adb  
>>> and
>>> GtkAda/src/gtkada-canvas allows the main GPS window to be  
>>> displayed with all widgets apparently displayed correctly.
>>>
>>
>> This is quite strange: I could build and run GPS on Leopard without  
>> all this trouble.
>>
>> Which version Gtk+ are you using ? Also, are you running X11 with a  
>> 24-bits color depth ?
>>
>> Cheers,
>>
>> Nicolas
>


More information about the gps-devel mailing list