Some bugs in Gtk+ 1.3.1
- From: Salmaso Raffaele <r salmaso inwind it>
- To: gtk-devel-list gnome org
- Subject: Some bugs in Gtk+ 1.3.1
- Date: Sat, 30 Sep 2000 23:43:09 +0200
Maybe a check for NULL pointers? Or they should not NULL?
===bug 1===
segmentation-fault using testgtk -> entry:
in gdkselection-x11.c
0x40315198 in _gdk_selection_window_destroyed (window=0x8105530)
at gdkselection-x11.c:59
59 if (info->owner == window)
(gdb) print info
$1 = (OwnerInfo *) 0x0
(gdb) bt
#0 0x40315198 in _gdk_selection_window_destroyed (window=0x8105530)
at gdkselection-x11.c:59
#1 0x40317b01 in _gdk_windowing_window_destroy (window=0x8105530,
recursing=0, foreign_destroy=0) at gdkwindow-x11.c:634
#2 0x402fbbd3 in _gdk_window_destroy_hierarchy (window=0x8105530,
recursing=0, foreign_destroy=0) at gdkwindow.c:278
#3 0x402fbd3c in gdk_window_destroy (window=0x8105530) at
gdkwindow.c:361
#4 0x4028b55d in gtk_widget_real_unrealize (widget=0x80fc9d0)
at gtkwidget.c:4521
#5 0x401d9d44 in gtk_entry_unrealize (widget=0x80fc9d0) at
gtkentry.c:618
#6 0x402079cd in gtk_marshal_NONE__NONE (object=0x80fc9d0,
func=0x401d9c28 <gtk_entry_unrealize>, func_data=0x0, args=0xbfffdb8c)
at gtkmarshal.c:346
#7 0x4023742f in gtk_signal_real_emit (object=0x80fc9d0, signal_id=7,
params=0xbfffdb8c) at gtksignal.c:1445
#8 0x402358a3 in gtk_signal_emit (object=0x80fc9d0, signal_id=7)
at gtksignal.c:557
#9 0x402850e1 in gtk_widget_unrealize (widget=0x80fc9d0) at
gtkwidget.c:1703
#10 0x4019fbea in gtk_box_forall (container=0x80fc958,
include_internals=1,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkbox.c:776
#11 0x401c39d2 in gtk_container_forall (container=0x80fc958,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkcontainer.c:1107
#12 0x4028b521 in gtk_widget_real_unrealize (widget=0x80fc958)
at gtkwidget.c:4513
#13 0x402079cd in gtk_marshal_NONE__NONE (object=0x80fc958,
func=0x4028b42c <gtk_widget_real_unrealize>, func_data=0x0,
args=0xbfffdf2c) at gtkmarshal.c:346
#14 0x4023742f in gtk_signal_real_emit (object=0x80fc958, signal_id=7,
params=0xbfffdf2c) at gtksignal.c:1445
#15 0x402358a3 in gtk_signal_emit (object=0x80fc958, signal_id=7)
at gtksignal.c:557
#16 0x402850e1 in gtk_widget_unrealize (widget=0x80fc958) at
gtkwidget.c:1703
#17 0x4019fbea in gtk_box_forall (container=0x80fb340,
include_internals=1,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkbox.c:776
#18 0x401c39d2 in gtk_container_forall (container=0x80fb340,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkcontainer.c:1107
#19 0x4028b521 in gtk_widget_real_unrealize (widget=0x80fb340)
at gtkwidget.c:4513
#20 0x402079cd in gtk_marshal_NONE__NONE (object=0x80fb340,
func=0x4028b42c <gtk_widget_real_unrealize>, func_data=0x0,
args=0xbfffe2cc) at gtkmarshal.c:346
#21 0x4023742f in gtk_signal_real_emit (object=0x80fb340, signal_id=7,
params=0xbfffe2cc) at gtksignal.c:1445
#22 0x402358a3 in gtk_signal_emit (object=0x80fb340, signal_id=7)
at gtksignal.c:557
#23 0x402850e1 in gtk_widget_unrealize (widget=0x80fb340) at
gtkwidget.c:1703
#24 0x4019fbea in gtk_box_forall (container=0x80fb2e8,
include_internals=1,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkbox.c:776
#25 0x401c39d2 in gtk_container_forall (container=0x80fb2e8,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkcontainer.c:1107
#26 0x4028b521 in gtk_widget_real_unrealize (widget=0x80fb2e8)
at gtkwidget.c:4513
#27 0x402079cd in gtk_marshal_NONE__NONE (object=0x80fb2e8,
func=0x4028b42c <gtk_widget_real_unrealize>, func_data=0x0,
args=0xbfffe66c) at gtkmarshal.c:346
#28 0x4023742f in gtk_signal_real_emit (object=0x80fb2e8, signal_id=7,
params=0xbfffe66c) at gtksignal.c:1445
#29 0x402358a3 in gtk_signal_emit (object=0x80fb2e8, signal_id=7)
at gtksignal.c:557
#30 0x402850e1 in gtk_widget_unrealize (widget=0x80fb2e8) at
gtkwidget.c:1703
#31 0x4019bbf1 in gtk_bin_forall (container=0x80fb278,
include_internals=1,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkbin.c:274
#32 0x401c39d2 in gtk_container_forall (container=0x80fb278,
callback=0x40284ff8 <gtk_widget_unrealize>, callback_data=0x0)
at gtkcontainer.c:1107
#33 0x4028b521 in gtk_widget_real_unrealize (widget=0x80fb278)
at gtkwidget.c:4513
#34 0x402079cd in gtk_marshal_NONE__NONE (object=0x80fb278,
func=0x4028b42c <gtk_widget_real_unrealize>, func_data=0x0,
args=0xbfffea0c) at gtkmarshal.c:346
#35 0x4023742f in gtk_signal_real_emit (object=0x80fb278, signal_id=7,
params=0xbfffea0c) at gtksignal.c:1445
#36 0x402358a3 in gtk_signal_emit (object=0x80fb278, signal_id=7)
at gtksignal.c:557
#37 0x402850e1 in gtk_widget_unrealize (widget=0x80fb278) at
gtkwidget.c:1703
#38 0x4028af1b in gtk_widget_shutdown (object=0x80fb278) at
gtkwidget.c:4342
#39 0x4028d7fb in gtk_window_shutdown (object=0x80fb278) at
gtkwindow.c:687
#40 0x402194d8 in gtk_object_destroy (object=0x80fb278) at
gtkobject.c:209
#41 0x40284539 in gtk_widget_destroy (widget=0x80fb278) at
gtkwidget.c:1394
#42 0x402079cd in gtk_marshal_NONE__NONE (object=0x80fb278,
func=0x8051460 <gtk_widget_destroy>, func_data=0x8103340, args=0xbfffee1c)
at gtkmarshal.c:346
#43 0x402380cc in gtk_handlers_run (handlers=0x8102530,
signal=0xbfffedc8,
object=0x8103340, params=0xbfffee1c, after=0) at gtksignal.c:1921
#44 0x40237581 in gtk_signal_real_emit (object=0x8103340,
signal_id=69,
params=0xbfffee1c) at gtksignal.c:1482
#45 0x402358a3 in gtk_signal_emit (object=0x8103340, signal_id=69)
at gtksignal.c:557
#46 0x401a0601 in gtk_button_clicked (button=0x8103340) at
gtkbutton.c:429
#47 0x401a1ddd in gtk_real_button_released (button=0x8103340)
at gtkbutton.c:943
#48 0x402079cd in gtk_marshal_NONE__NONE (object=0x8103340,
func=0x401a1d44 <gtk_real_button_released>, func_data=0x0, args=0xbffff14c)
at gtkmarshal.c:346
#49 0x4023742f in gtk_signal_real_emit (object=0x8103340,
signal_id=68,
params=0xbffff14c) at gtksignal.c:1445
#50 0x402358a3 in gtk_signal_emit (object=0x8103340, signal_id=68)
at gtksignal.c:557
#51 0x401a0551 in gtk_button_released (button=0x8103340) at
gtkbutton.c:420
#52 0x401a1739 in gtk_button_button_release (widget=0x8103340,
event=0x80f71e0)
at gtkbutton.c:803
#53 0x4020764b in gtk_marshal_BOOL__POINTER (object=0x8103340,
func=0x401a1658 <gtk_button_button_release>, func_data=0x0,
args=0xbffff47c) at gtkmarshal.c:30
#54 0x402375bf in gtk_signal_real_emit (object=0x8103340,
signal_id=22,
params=0xbffff47c) at gtksignal.c:1497
#55 0x402358a3 in gtk_signal_emit (object=0x8103340, signal_id=22)
at gtksignal.c:557
#56 0x40286b1c in gtk_widget_event (widget=0x8103340, event=0x80f71e0)
at gtkwidget.c:2385
#57 0x402075bb in gtk_propagate_event (widget=0x8103340,
event=0x80f71e0)
at gtkmain.c:1391
#58 0x4020684e in gtk_main_do_event (event=0x80f71e0) at gtkmain.c:832
#59 0x4030be5c in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff814, user_data=0x0) at gdkevents-x11.c:1361
#60 0x40100239 in g_main_dispatch (dispatch_time=0xbffff814) at
gmain.c:677
#61 0x40100843 in g_main_iterate (block=1, dispatch=1) at gmain.c:898
#62 0x401009dc in g_main_run (loop=0x807d5f0) at gmain.c:956
#63 0x402061a7 in gtk_main () at gtkmain.c:564
#64 0x80674df in main (argc=1, argv=0xbffff904) at testgtk.c:8787
===bug 2===
segmentation-fault testgtk -> font_selector, XFree86 3.3.6, using
xfstt:
(gdb) run
Starting program: /home/raf/src/gnome/gtk+/gtk/.libs/lt-testgtk
Gtk-Message: YOU ARE USING THE DEVEL BRANCH 1.3.x OF GTK+ WHICH IS
CURRENTLY
UNDER HEAVY DEVELOPMENT AND FREQUENTLY INTRODUCES INSTABILITIES.
if you don't know why you are getting this, you probably want to
use the stable branch which can be retrived from
ftp://ftp.gtk.org/pub/gtk/v1.2/ or via CVS with
cvs checkout -r glib-1-2 glib; cvs checkout -r gtk-1-2 gtk+
** WARNING **: Invalid UTF8 string passed to pango_layout_set_text()
** WARNING **: Cannot load font for XLFD '-ttf-startrek bajoran
ancient-medium-r-normal--12-*-*-*-*-*-iso8859-1
Program received signal SIGSEGV, Segmentation fault.
0x400c51f1 in pango_x_make_font_struct (font=0x8107ed0,
info=0x8107eb0)
at pangox.c:137
137 info->is_1byte = (info->font_struct->min_byte1 == 0 &&
info->font_struct->max_byte1 == 0);
(gdb) print info
$2 = (PangoXSubfontInfo *) 0x8108768
(gdb) print info->is_1byte
$1 = 1784767008
(gdb) print info->font_struct
$3 = (XFontStruct *) 0x0
(gdb) bt
#0 0x400c51f1 in pango_x_make_font_struct (font=0x8107ed0,
info=0x8107eb0)
at pangox.c:137
#1 0x400c684d in pango_x_get_per_char (font=0x8107ed0,
subfont=0x8107eb0,
char_index=70) at pangox.c:146
#2 0x400c6419 in pango_x_has_glyph (font=0x8107ed0, glyph=65606)
at pangox.c:873
#3 0x4044d461 in find_char (cache=0x811f390, font=0x8107ed0, wc=70,
input=0x400c9c03 "French (Fran+šais)") at basic.c:224
#4 0x4044d980 in basic_engine_shape (font=0x8107ed0,
text=0x400c9c03 "French (Fran+šais)", length=1, analysis=0xbfffe6dc,
glyphs=0x811fd60) at basic.c:402
#5 0x400db802 in pango_shape (text=0x400c9c03 "French (Fran+šais)",
length=1,
analysis=0xbfffe6dc, glyphs=0x811fd60) at shape.c:42
#6 0x400c5b97 in get_font_metrics_from_string (font=0x8107ed0,
lang=0x81086b8 "it_IT", str=0x400c9c03 "French (Fran+šais)",
metrics=0x811fd54) at pangox.c:527
#7 0x400c5d54 in pango_x_font_get_metrics (font=0x8107ed0,
lang=0x81086b8 "it_IT", metrics=0xbfffe784) at pangox.c:652
#8 0x400d12a2 in pango_font_get_metrics (font=0x8107ed0,
lang=0x81086b8 "it_IT", metrics=0xbfffe784) at fonts.c:484
#9 0x401d9ff1 in gtk_entry_size_request (widget=0x8118348,
requisition=0x8118364) at gtkentry.c:681
#10 0x40207887 in gtk_marshal_NONE__POINTER (object=0x8118348,
func=0x401d9ed8 <gtk_entry_size_request>, func_data=0x0, args=0xbfffe85c)
at gtkmarshal.c:226
#11 0x4023742f in gtk_signal_real_emit (object=0x8118348,
signal_id=11,
params=0xbfffe85c) at gtksignal.c:1445
#12 0x402358a3 in gtk_signal_emit (object=0x8118348, signal_id=11)
at gtksignal.c:557
#13 0x40285a6a in gtk_widget_size_request (widget=0x8118348,
requisition=0x0)
at gtkwidget.c:1953
#14 0x40288f6a in gtk_widget_set_style_internal (widget=0x8118348,
style=0x8107bf0, initial_emission=0) at gtkwidget.c:3335
#15 0x402883f0 in gtk_widget_set_rc_style (widget=0x8118348)
at gtkwidget.c:2991
#16 0x40288732 in gtk_widget_modify_style (widget=0x8118348,
style=0x8107770)
at gtkwidget.c:3083
#17 0x401e578b in gtk_font_selection_update_preview
(fontsel=0x8108cc8)
at gtkfontsel.c:776
#18 0x401e5730 in gtk_font_selection_load_font (fontsel=0x8108cc8)
at gtkfontsel.c:754
#19 0x401e55ae in gtk_font_selection_select_best_size
(fontsel=0x8108cc8)
at gtkfontsel.c:687
#20 0x401e53d5 in gtk_font_selection_select_style (w=0x810cf78, row=0,
column=0, bevent=0x0, data=0x8108cc8) at gtkfontsel.c:656
#21 0x402079a5 in gtk_marshal_NONE__INT_INT_POINTER (object=0x810cf78,
func=0x401e52d4 <gtk_font_selection_select_style>,
func_data=0x8108cc8,
args=0xbfffed2c) at gtkmarshal.c:330
#22 0x402380cc in gtk_handlers_run (handlers=0x80afe70,
signal=0xbfffecd8,
object=0x810cf78, params=0xbfffed2c, after=0) at gtksignal.c:1921
#23 0x40237581 in gtk_signal_real_emit (object=0x810cf78,
signal_id=93,
params=0xbfffed2c) at gtksignal.c:1482
#24 0x402358a3 in gtk_signal_emit (object=0x810cf78, signal_id=93)
at gtksignal.c:557
#25 0x401b120d in gtk_clist_select_row (clist=0x810cf78, row=0,
column=0)
at gtkclist.c:3466
#26 0x401e51ba in gtk_font_selection_show_available_styles
(fontsel=0x8108cc8)
at gtkfontsel.c:591
#27 0x401e4c4c in gtk_font_selection_select_font (w=0x810cac0,
row=198,
column=0, bevent=0x8105750, data=0x8108cc8) at gtkfontsel.c:432
#28 0x402079a5 in gtk_marshal_NONE__INT_INT_POINTER (object=0x810cac0,
func=0x401e4b88 <gtk_font_selection_select_font>,
func_data=0x8108cc8,
args=0xbffff11c) at gtkmarshal.c:330
#29 0x402380cc in gtk_handlers_run (handlers=0x80afed0,
signal=0xbffff0c8,
object=0x810cac0, params=0xbffff11c, after=0) at gtksignal.c:1921
#30 0x40237581 in gtk_signal_real_emit (object=0x810cac0,
signal_id=93,
params=0xbffff11c) at gtksignal.c:1482
#31 0x402358a3 in gtk_signal_emit (object=0x810cac0, signal_id=93)
at gtksignal.c:557
#32 0x401b15f1 in toggle_row (clist=0x810cac0, row=198, column=0,
event=0x8105750) at gtkclist.c:3569
#33 0x401b5203 in gtk_clist_button_release (widget=0x810cac0,
event=0x8105750)
at gtkclist.c:5219
#34 0x4020764b in gtk_marshal_BOOL__POINTER (object=0x810cac0,
func=0x401b4e74 <gtk_clist_button_release>, func_data=0x0, args=0xbffff47c)
at gtkmarshal.c:30
#35 0x402375bf in gtk_signal_real_emit (object=0x810cac0,
signal_id=22,
params=0xbffff47c) at gtksignal.c:1497
#36 0x402358a3 in gtk_signal_emit (object=0x810cac0, signal_id=22)
at gtksignal.c:557
#37 0x40286b1c in gtk_widget_event (widget=0x810cac0, event=0x8105750)
at gtkwidget.c:2385
#38 0x402075bb in gtk_propagate_event (widget=0x810cac0,
event=0x8105750)
at gtkmain.c:1391
#39 0x4020684e in gtk_main_do_event (event=0x8105750) at gtkmain.c:832
#40 0x4030be5c in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff814, user_data=0x0) at gdkevents-x11.c:1361
#41 0x40100239 in g_main_dispatch (dispatch_time=0xbffff814) at
gmain.c:677
#42 0x40100843 in g_main_iterate (block=1, dispatch=1) at gmain.c:898
#43 0x401009dc in g_main_run (loop=0x807d5f0) at gmain.c:956
#44 0x402061a7 in gtk_main () at gtkmain.c:564
#45 0x80674df in main (argc=1, argv=0xbffff904) at testgtk.c:8787
--
(o- | Un OS per domarli, Un OS per trovarli,
//\ | Un OS per ghermirli e nel buio incatenarli
V_/_ | Nella terra di Redmond, ove l'ombra cupa scende...
http://pinguin.linuxave.net r punto salmaso at inwind punto it
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]