GtkText crash / bug



Hi Owen !

This time it was just a matter of seconds to get a sigsegv... 
I just selected about two or three pages of text and pressed 
Delete. Backtrace follows.

The other bug I noticed is : 
- Move the point to somewhere other than the first position.
- Press Cursor Up / Down.
- Press HOME.
- Press Cursor Up / Down.

The point doesn't stay at the first position.


Program received signal SIGSEGV, Segmentation fault.
0x400701b8 in advance_mark (mark=0xbfffef14) at gtktext.c:2761
(gdb) bt
#0  0x400701b8 in advance_mark (mark=0xbfffef14) at gtktext.c:2761
#1  0x4007037e in find_mark_near (text=0x8088d78, mark_position=4294966597,
near=0x8088e0c) at gtktext.c:2849
#2  0x400702b9 in find_mark (text=0x8088d78, mark_position=4294966597) at
gtktext.c:2802
#3  0x40071b3e in set_vertical_scroll (text=0x8088d78) at gtktext.c:3621
#4  0x40073298 in recompute_geometry (text=0x8088d78) at gtktext.c:4506
#5  0x4006c47c in gtk_text_thaw (text=0x8088d78) at gtktext.c:652
#6  0x4006c98f in gtk_text_forward_delete (text=0x8088d78, nchars=2980) at
gtktext.c:815
#7  0x4006e0eb in gtk_text_delete_text (editable=0x8088d78, start_pos=0,
end_pos=2980) at gtktext.c:1588
#8  0x4002f540 in gtk_editable_delete_text (editable=0x8088d78, start_pos=0,
end_pos=2980) at gtkeditable.c:240
#9  0x4002fcb6 in gtk_editable_delete_selection (editable=0x8088d78) at
gtkeditable.c:490
#10 0x40071454 in gtk_text_delete_forward_character (text=0x8088d78) at
gtktext.c:3373
#11 0x4006e606 in gtk_text_key_press (widget=0x8088d78, event=0x8098418) at
gtktext.c:1726
#12 0x40084dc9 in gtk_widget_marshal_signal_4 (object=0x8088d78,
func=0x4006e100 <gtk_text_key_press>, func_data=0x0, args=0xbffff104) at
gtkwidget.c:3248
#13 0x400627ef in gtk_signal_real_emit (object=0x8088d78, signal_type=25,
args=0xbffff2e4) at gtksignal.c:1087
#14 0x400612e9 in gtk_signal_emit (object=0x8088d78, signal_id=25) at
gtksignal.c:350
#15 0x40082eea in gtk_widget_event (widget=0x8088d78, event=0x8098418) at
gtkwidget.c:1886
#16 0x40087486 in gtk_window_key_press_event (widget=0x807ebf0,
event=0x8098418) at gtkwindow.c:775
#17 0x40084dc9 in gtk_widget_marshal_signal_4 (object=0x807ebf0,
func=0x400873c0 <gtk_window_key_press_event>, func_data=0x0, args=0xbffff364)
at gtkwidget.c:3248
#18 0x400627ef in gtk_signal_real_emit (object=0x807ebf0, signal_type=25,
args=0xbffff544) at gtksignal.c:1087
#19 0x400612e9 in gtk_signal_emit (object=0x807ebf0, signal_id=25) at
gtksignal.c:350
#20 0x40082eea in gtk_widget_event (widget=0x807ebf0, event=0x8098418) at
gtkwidget.c:1886
#21 0x40045131 in gtk_propagate_event (widget=0x8088d78, event=0x8098418) at
gtkmain.c:1471
#22 0x40043e38 in gtk_main_iteration_do (blocking=1 '\001') at gtkmain.c:575
#23 0x40043b97 in gtk_main_iteration () at gtkmain.c:380
#24 0x40043a39 in gtk_main () at gtkmain.c:310
#25 0x8054cb9 in main (argc=1, argv=0xbffff600) at testgtk.c:5475
#26 0x804cc3e in ___crt_dummy__ ()

bye,
   Stefan



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