[Pidgin] #4666: Pidgin GTK Byte index off the end of line.

Pidgin trac at pidgin.im
Mon Feb 25 03:01:05 EST 2008


#4666: Pidgin GTK Byte index off the end of line.
---------------------------+------------------------------------------------
  Reporter:  Jaywalker     |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  blocker       |   Milestone:  2.4.0
 Component:  pidgin (gtk)  |     Version:       
Resolution:                |    Keywords:       
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by MarkDoliner):

 I have this problem, too.  I'm using GTK+ 2.12.0 on Ubuntu 7.10 (Gutsy
 Gibbon).  This seems like a pretty serious problem, and it might be wise
 for us to not release 2.4.0 until it's fixed.

 I can reproduce the crash every time by signing on to my IRC account, then
 switching from "freenode-connect" tab to the "NickServ" tab in the
 conversation window.  It ONLY happens when timestamps are turned off (both
 the built-in timestamps and the timestamp plugin).  It seems like it's
 related to invisible text.  It does NOT seem like it's directly caused by
 the typing notification messages, but it might be related to changes
 needed for those messages.

 The last two lines of debug output before the crash are:
 {{{
 (23:51:18) Gtk: /build/buildd/gtk+2.0-2.12.0/gtk/gtktextbtree.c:3997: byte
 index off the end of the line
 (23:51:18) Gtk: Byte index 100 is off the end of the line
 }}}

 And here's a backtrack with debug info:
 {{{
 Program received signal SIGABRT, Aborted.
 [Switching to Thread 47379516107984 (LWP 32398)]
 0x00002b1765c42765 in raise () from /lib/libc.so.6
 (gdb) bt
 #0  0x00002b1765c42765 in raise () from /lib/libc.so.6
 #1  0x00002b1765c441c0 in abort () from /lib/libc.so.6
 #2  0x00002b176501e63b in g_logv () from /usr/lib/libglib-2.0.so.0
 #3  0x00002b176501e6d3 in g_log () from /usr/lib/libglib-2.0.so.0
 #4  0x00002b1761dfdc04 in gtk_text_iter_set_visible_line_index () from
 /usr/lib/libgtk-x11-2.0.so.0
 #5  0x00002b1761e0054e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #6  0x00002b1761e03d83 in gtk_text_layout_get_iter_at_position () from
 /usr/lib/libgtk-x11-2.0.so.0
 #7  0x00002b1761e03e29 in gtk_text_layout_get_iter_at_pixel () from
 /usr/lib/libgtk-x11-2.0.so.0
 #8  0x00002b1761e1766c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #9  0x00002b1761d6115d in _gtk_marshal_BOOLEAN__BOXED () from
 /usr/lib/libgtk-x11-2.0.so.0
 #10 0x00002b17649a599a in g_closure_invoke () from
 /usr/lib/libgobject-2.0.so.0
 #11 0x00002b17649b5cc8 in ?? () from /usr/lib/libgobject-2.0.so.0
 #12 0x00002b17649b68c7 in g_signal_emit_valist () from
 /usr/lib/libgobject-2.0.so.0
 #13 0x00002b17649b6cc3 in g_signal_emit () from
 /usr/lib/libgobject-2.0.so.0
 #14 0x00002b1761e66f88 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #15 0x00002b1761d5a4fb in gtk_propagate_event () from
 /usr/lib/libgtk-x11-2.0.so.0
 #16 0x00002b1761d5b504 in gtk_main_do_event () from
 /usr/lib/libgtk-x11-2.0.so.0
 #17 0x00002b17622311dc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
 #18 0x00002b1765015fd3 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 #19 0x00002b17650192dd in ?? () from /usr/lib/libglib-2.0.so.0
 #20 0x00002b17650195ea in g_main_loop_run () from
 /usr/lib/libglib-2.0.so.0
 #21 0x00002b1761d5b883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #22 0x0000000000487741 in main (argc=2, argv=0x7fff4ac3c768) at
 gtkmain.c:886
 (gdb)
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4666#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list