Text widget crashing
- From: Anders Melchiorsen <and kampsax dtu dk>
- To: gtk-devel-list redhat com
- Subject: Text widget crashing
- Date: 16 Oct 1999 16:28:24 +0200
While editing a text, I marked a region and pressed the Delete key to
remove it. My application crashed :-(. Here is a backtrace for Gtk+
1.2.5. The crash seems to happen only when the widget has to do
scrolling to delete the text.
#0 0x40109755 in drawn_cursor_max (text=0x81082f8) at gtktext.c:5213
#1 0x401082ee in scroll_up (text=0x81082f8, diff0=-4) at gtktext.c:4648
#2 0x40103eed in gtk_text_adjustment (adjustment=0x8107bd8, text=0x81082f8) at gtktext.c:2311
#3 0x400b9377 in gtk_marshal_NONE__NONE (object=0x8107bd8, func=0x40103cb0 <gtk_text_adjustment>,
func_data=0x81082f8, args=0xbfffe868) at gtkmarshal.c:312
#4 0x400ed7c8 in gtk_handlers_run (handlers=0x80e8190, signal=0xbfffe7f8, object=0x8107bd8,
params=0xbfffe868, after=0) at gtksignal.c:1909
#5 0x400ecbcf in gtk_signal_real_emit (object=0x8107bd8, signal_id=62, params=0xbfffe868)
at gtksignal.c:1469
#6 0x400eaeca in gtk_signal_emit_by_name (object=0x8107bd8, name=0x401469e3 "changed")
at gtksignal.c:618
#7 0x40107aa9 in adjust_adj (text=0x81082f8, adj=0x8107bd8) at gtktext.c:4364
#8 0x401049f4 in delete_expose (text=0x81082f8, nchars=130, old_lines=8, old_pixels=144)
at gtktext.c:2692
#9 0x4010115a in gtk_text_forward_delete (text=0x81082f8, nchars=130) at gtktext.c:1129
#10 0x401032d2 in gtk_text_delete_text (editable=0x81082f8, start_pos=23, end_pos=153)
at gtktext.c:1976
#11 0x400b930c in gtk_marshal_NONE__INT_INT (object=0x81082f8,
func=0x40103238 <gtk_text_delete_text>, func_data=0x0, args=0xbfffece8) at gtkmarshal.c:284
#12 0x400ecc0d in gtk_signal_real_emit (object=0x81082f8, signal_id=88, params=0xbfffece8)
at gtksignal.c:1484
#13 0x400eab67 in gtk_signal_emit (object=0x81082f8, signal_id=88) at gtksignal.c:552
#14 0x40084080 in gtk_editable_delete_text (editable=0x81082f8, start_pos=23, end_pos=153)
at gtkeditable.c:460
#15 0x40084c0a in gtk_editable_delete_selection (editable=0x81082f8) at gtkeditable.c:773
#16 0x401075dd in gtk_text_kill_char (editable=0x81082f8, direction=1) at gtktext.c:4214
#17 0x40107664 in gtk_text_delete_forward_character (text=0x81082f8) at gtktext.c:4233
#18 0x401037f9 in gtk_text_key_press (widget=0x81082f8, event=0x80fa080) at gtktext.c:2121
#19 0x400b8f63 in gtk_marshal_BOOL__POINTER (object=0x81082f8,
func=0x401032dc <gtk_text_key_press>, func_data=0x0, args=0xbffff1a8) at gtkmarshal.c:28
#20 0x400ecc0d in gtk_signal_real_emit (object=0x81082f8, signal_id=26, params=0xbffff1a8)
at gtksignal.c:1484
#21 0x400eab67 in gtk_signal_emit (object=0x81082f8, signal_id=26) at gtksignal.c:552
#22 0x4012649c in gtk_widget_event (widget=0x81082f8, event=0x80fa080) at gtkwidget.c:2843
---Type <return> to continue, or q <return> to quit---
#23 0x4012eac1 in gtk_window_key_press_event (widget=0x80fc098, event=0x80fa080)
at gtkwindow.c:1169
#24 0x400b8f63 in gtk_marshal_BOOL__POINTER (object=0x80fc098,
func=0x4012e988 <gtk_window_key_press_event>, func_data=0x0, args=0xbffff588)
at gtkmarshal.c:28
#25 0x400ecc0d in gtk_signal_real_emit (object=0x80fc098, signal_id=26, params=0xbffff588)
at gtksignal.c:1484
#26 0x400eab67 in gtk_signal_emit (object=0x80fc098, signal_id=26) at gtksignal.c:552
#27 0x4012649c in gtk_widget_event (widget=0x80fc098, event=0x80fa080) at gtkwidget.c:2843
#28 0x400b8e35 in gtk_propagate_event (widget=0x80fc098, event=0x80fa080) at gtkmain.c:1298
#29 0x400b803e in gtk_main_do_event (event=0x80fa080) at gtkmain.c:770
#30 0x40172550 in gdk_event_dispatch (source_data=0x0, current_time=0xbffff980, user_data=0x0)
at gdkevents.c:2129
#31 0x401a33b6 in g_main_dispatch (current_time=0xbffff980) at gmain.c:656
#32 0x401a39c3 in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#33 0x401a3b6c in g_main_run (loop=0x80f64c8) at gmain.c:932
#34 0x400b7909 in gtk_main () at gtkmain.c:476
#35 0x8078f38 in localmain (argc=2, argv=0xbffffc24) at Main_gtk.cc:66
#36 0x808fb93 in main (argc=3, argv=0xbffffc24) at Main_common.cc:106
#37 0x402e3cb3 in __libc_start_main (main=0x808f744 <main>, argc=3, argv=0xbffffc24,
init=0x807036c <_init>, fini=0x809a180 <_fini>, rtld_fini=0x4000a350 <_dl_fini>,
stack_end=0xbffffc1c) at ../sysdeps/generic/libc-start.c:78
Current language: auto; currently c
(gdb) q
--
Mvh. Anders
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]