[Gtranslator-devel] (GtkEditable???) will crash



Hi,

First: Happy New Year!

Some time ago I sent a message into gtk-app-devel list showing a bug in
GTK library, but nobody will iterest :(. This is maybe the gtk1.2 is 
thrown away (but new one is not ready yet).

Since there is a cruel bug in gtk_text (or am I wrong), I am thinking that
the syntax highlighting should be turned off by default in the stable
release.

--------
Hi,

I just started new project and ran into enormous problem. I can not find
error from my code, I'll search further. The backtrace will show that
library function will crash.

The project itself: http://my.tele2.ee/vois/gtexedit-0.1.tar.gz

How to make this problem appear:

write:
\begin{equation}
bla bla bla
\end{equation}

delete (backspace):
\begin{equation}
        <-^
bla bla bla
\end{equation}

(gdb) backtrace
#0  0x4020f8d1 in __kill () from /lib/libc.so.6
#1  0x4020f64d in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x40210cb8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x401a209c in g_logv () from /usr/lib/libglib-1.2.so.0
#4  0x401a2147 in g_log () from /usr/lib/libglib-1.2.so.0
#5  0x4010b5c9 in find_line_params () from /usr/lib/libgtk-1.2.so.0
#6  0x40107896 in line_params_iterate () from /usr/lib/libgtk-1.2.so.0
#7  0x401079bc in fetch_lines () from /usr/lib/libgtk-1.2.so.0
#8  0x40107a9f in fetch_lines_forward () from /usr/lib/libgtk-1.2.so.0
#9  0x4010cc21 in expose_text () from /usr/lib/libgtk-1.2.so.0
#10 0x4010cd8d in gtk_text_update_text () from /usr/lib/libgtk-1.2.so.0
#11 0x4008d3c6 in gtk_editable_set_selection () from /usr/lib/libgtk-1.2.so.0
#12 0x40104a3f in gtk_text_set_position () from /usr/lib/libgtk-1.2.so.0
#13 0x4008d492 in gtk_editable_set_position () from /usr/lib/libgtk-1.2.so.0
#14 0x08059864 in gtexed_delete_highlighted (textwidget=0x8136198, pos=34, len=1) at syntax.c:344
#15 0x08058f85 in delete_text_handler (editable=0x8136198, start_position=34, end_position=35) at gui.c:336
#16 0x400bcd9c in gtk_marshal_NONE__INT_INT () from /usr/lib/libgtk-1.2.so.0
#17 0x400f0436 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#18 0x400ef76d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#19 0x400ed525 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x4008d0a8 in gtk_editable_delete_text () from /usr/lib/libgtk-1.2.so.0
#21 0x4010a7f6 in gtk_text_kill_char () from /usr/lib/libgtk-1.2.so.0
#22 0x4010a831 in gtk_text_delete_backward_character () from /usr/lib/libgtk-1.2.so.0
#23 0x40106d80 in gtk_text_key_press () from /usr/lib/libgtk-1.2.so.0
#24 0x400bcaec in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#25 0x400ef7ad in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#26 0x400ed525 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#27 0x40127b89 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#28 0x4013021f in gtk_window_key_press_event () from /usr/lib/libgtk-1.2.so.0
#29 0x400bcaec in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#30 0x400ef7ad in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#31 0x400ed525 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#32 0x40127b89 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#33 0x400bc9c8 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#34 0x400bba6f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#35 0x4016cd7f in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#36 0x4019f773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#37 0x4019fd39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#38 0x4019feec in g_main_run () from /usr/lib/libglib-1.2.so.0
#39 0x400bb333 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#40 0x08056e16 in main (argc=1, argv=0xbffff97c) at main.c:38
#41 0x401fd306 in __libc_start_main (main=0x8056db0 <main>, argc=1, ubp_av=0xbffff97c, init=0x8055fb0 <_init>, fini=0x80bc4d0 <_fini>, rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffff96c) at ../sysdeps/generic/libc-start.c:129

------

Best Regards ...

      Peeter Vois
http://my.tele2.ee/vois




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