Re: Compiling gtk2 on HP-UX 11.11? (longer)



* Rick Jones <rick jones2 hp com> [060216 20:55]:
> Ah, did you teach cairo where to find whatever it wanted from stdint.h? Was 
> cairo's configure script missing a check for stdint.h to allow for 
> conditional include? Regardless by all means feed those changes back.

Hmm, i think i was not so very smart. I just searched the header (pixman.h)
and commented out the line where stdint.h was included. :)
 
> It would be good to know just where they are dumping core, so finding the 
> core files and getting the stack traces and/or running the failing programs 
> under a debugger would be a good first step.

Here is a part of gdb from new gqview. Alle testprograms are doing like this:

(gdb) run
Starting program: /usr/local/bin/gqview 
Program received signal SIGSEGV, Segmentation fault.
0x79c320d4 in g_type_iface_meta_marshal (closure=0x40095448,
return_value=0x0, 
    n_param_values=3, param_values=0x7a003128, invocation_hint=0x7a0033f0, 
    marshal_data=0xc) at gclosure.c:590
590       callback = G_STRUCT_MEMBER (gpointer, class, offset);
(gdb)
 
(gdb) bt
#0  0x79c320d4 in g_type_iface_meta_marshal (closure=0x40095448, 
    return_value=0x0, n_param_values=3, param_values=0x7a003128, 
    invocation_hint=0x7a0033f0, marshal_data=0xc) at gclosure.c:590
#1  0x79c31830 in g_closure_invoke (closure=0x40095448, return_value=0x0, 
    n_param_values=3, param_values=0x7a003128, invocation_hint=0x7a0033f0)
    at gclosure.c:492
#2  0x79c4c538 in signal_emit_unlocked_R (node=0x40095528, detail=0, 
    instance=0x400918e0, emission_return=0x0,
instance_and_params=0x7a003128)
    at gsignal.c:2523
#3  0x79c4db6c in g_signal_emit_valist (instance=0x400918e0, signal_id=24, 
    detail=0, var_args=0x7a003070) at gsignal.c:2244
#4  0x79c4ddcc in g_signal_emit_by_name (instance=0x400918e0, 
    detailed_signal=0x78fac728 "delete_text") at gsignal.c:2312
#5  0x7923fa00 in gtk_entry_delete_text ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#6  0x79238d08 in gtk_editable_delete_text ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#7  0x792454b4 in gtk_entry_set_text () from
/usr/local/lib/libgtk-x11-2.0.sl
#8  0x791ee758 in gtk_combo_update_entry ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#9  0x791ee7ec in gtk_combo_selection_changed ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#10 0x79c4e554 in g_cclosure_marshal_VOID__VOID (closure=0x4009c9b0, 
---Type <return> to continue, or q <return> to quit---
    return_value=0x4009522c, n_param_values=1, param_values=0x40095244, 
    invocation_hint=0x7a002cf0, marshal_data=0x0) at gmarshal.c:77
#11 0x79c31830 in g_closure_invoke (closure=0x4009c9b0, return_value=0x0, 
    n_param_values=1, param_values=0x7a002a28, invocation_hint=0x7a002cf0)
    at gclosure.c:492
#12 0x79c4cb5c in signal_emit_unlocked_R (node=0x4009ac08, detail=0, 
    instance=0x4009c808, emission_return=0x0,
instance_and_params=0x7a002a28)
    at gsignal.c:2485
#13 0x79c4db6c in g_signal_emit_valist (instance=0x4009c808, signal_id=138, 
    detail=0, var_args=0x7a002978) at gsignal.c:2244
#14 0x793c7e30 in gtk_signal_emit () from /usr/local/lib/libgtk-x11-2.0.sl
#15 0x79318d58 in gtk_list_signal_item_select ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#16 0x79c4e554 in g_cclosure_marshal_VOID__VOID (closure=0x400a1248, 
    return_value=0x4009522c, n_param_values=1, param_values=0x40095244, 
    invocation_hint=0x7a002770, marshal_data=0x0) at gmarshal.c:77
#17 0x79c31830 in g_closure_invoke (closure=0x400a1248, return_value=0x0, 
    n_param_values=1, param_values=0x7a0024a8, invocation_hint=0x7a002770)
    at gclosure.c:492
#18 0x79c4cb5c in signal_emit_unlocked_R (node=0x4006e1f8, detail=0, 
    instance=0x40064288, emission_return=0x0, instance_and_params=0x7a0024a8)
    at gsignal.c:2485
#19 0x79c4db6c in g_signal_emit_valist (instance=0x40064288, signal_id=89, 
    detail=0, var_args=0x7a002434) at gsignal.c:2244
#20 0x79c4df5c in g_signal_emit (instance=0x79c0e658, signal_id=1074352684, 
    detail=1) at gsignal.c:2288
#21 0x792f6c28 in gtk_item_select () from /usr/local/lib/libgtk-x11-2.0.sl
#22 0x7931ad50 in gtk_list_item_select () from
/usr/local/lib/libgtk-x11-2.0.sl
#23 0x79315a4c in gtk_real_list_select_child ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#24 0x79c4f45c in g_cclosure_marshal_VOID__OBJECT (closure=0x4009ac80, 
    return_value=0x4009522c, n_param_values=1, param_values=0x7a001e28, 
    invocation_hint=0x7a0020f0, marshal_data=0x78f9640a) at gmarshal.c:636
#25 0x79c32040 in g_type_class_meta_marshal (closure=0x4009ac80, 
    return_value=0x0, n_param_values=2, param_values=0x7a001e28, 
    invocation_hint=0x7a0020f0, marshal_data=0x1a4) at gclosure.c:569
#26 0x79c31830 in g_closure_invoke (closure=0x4009ac80, return_value=0x0, 
    n_param_values=2, param_values=0x7a001e28, invocation_hint=0x7a0020f0)
    at gclosure.c:492
#27 0x79c4c184 in signal_emit_unlocked_R (node=0x4009b3b0, detail=0, 
    instance=0x4009c808, emission_return=0x0, instance_and_params=0x7a001e28)
    at gsignal.c:2415
#28 0x79c4db6c in g_signal_emit_valist (instance=0x4009c808, 
    signal_id=1074107648, detail=0, var_args=0x7a001d74) at gsignal.c:2244
#29 0x793c7e30 in gtk_signal_emit () from /usr/local/lib/libgtk-x11-2.0.sl
#30 0x79313e94 in gtk_list_select_child ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#31 0x79312c00 in gtk_list_insert_items ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#32 0x79312d34 in gtk_list_append_items ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#33 0x79311ba4 in gtk_list_add () from /usr/local/lib/libgtk-x11-2.0.sl
#34 0x79c4f45c in g_cclosure_marshal_VOID__OBJECT (closure=0x400625e0, 
    return_value=0x4009522c, n_param_values=1, param_values=0x7a0016a8, 
    invocation_hint=0x7a001970, marshal_data=0x78f963e2) at gmarshal.c:636
#35 0x79c32040 in g_type_class_meta_marshal (closure=0x400625e0, 
    return_value=0x0, n_param_values=2, param_values=0x7a0016a8, 
    invocation_hint=0x7a001970, marshal_data=0x16c) at gclosure.c:569
#36 0x79c31830 in g_closure_invoke (closure=0x400625e0, return_value=0x0, 
    n_param_values=2, param_values=0x7a0016a8, invocation_hint=0x7a001970)
    at gclosure.c:492
#37 0x79c4c184 in signal_emit_unlocked_R (node=0x40062628, detail=0, 
    instance=0x4009c808, emission_return=0x0,
instance_and_params=0x7a0016a8)
    at gsignal.c:2415
#38 0x79c4db6c in g_signal_emit_valist (instance=0x4009c808, 
    signal_id=1074107648, detail=0, var_args=0x7a001630) at gsignal.c:2244
#39 0x79c4df5c in g_signal_emit (instance=0x79c0e658, signal_id=1074352684, 
    detail=1) at gsignal.c:2288
#40 0x79208174 in gtk_container_add () from /usr/local/lib/libgtk-x11-2.0.sl
#41 0x791f058c in gtk_combo_set_popdown_strings ()
   from /usr/local/lib/libgtk-x11-2.0.sl
#42 0x00025740 in tab_completion_new_with_history (entry=0x400593a4,text=0x0, 
    history_key=0xc1f78 "path_list", max_levels=32, 
    enter_func=0x4000f17a <_crt_errno+7002>, data=0x40059380)
    at ui_tabcomp.c:640
#43 0x0004ec70 in layout_tool_setup (lw=0x40059380) at layout.c:177
#44 0x0004f8d0 in layout_tools_new (lw=0x40059380) at layout.c:494
#45 0x000513d8 in layout_grid_setup (lw=0x40059380) at layout.c:1226
#46 0x000521cc in layout_new (path=0x0, popped=1073787776, hidden=1074153360)
    at layout.c:1662
#47 0x00059d3c in main (argc=1, argv=0x7a0010dc) at main.c:533
#48 0x79ef3460 in _start () from /usr/lib/libc.2

Is this somehow interesting? I have no experience with gdb.
Any hints?

TIA
Roman Tönshoff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]