From: David O. <Da...@di...> - 2002-10-17 20:14:42
|
On Thu, Oct 17, 2002 at 01:56:55PM -0400, Luke Schierer wrote: > as i sign in irc and am auto-joined into several channels, the following > happens: > > > (gaim:1882): Gtk-CRITICAL **: file gtktextbuffer.c: line 3377 > (gtk_text_buffer_get_selection_bounds): assertion `GTK_IS_TEXT_BUFFER > (buffer)' failed > > (gaim:1882): Gtk-CRITICAL **: file gtktextbuffer.c: line 2447 > (gtk_text_buffer_get_start_iter): assertion `GTK_IS_TEXT_BUFFER > (buffer)' failed > > (gaim:1882): Gtk-CRITICAL **: file gtktextbuffer.c: line 1871 > (gtk_text_buffer_get_insert): assertion `GTK_IS_TEXT_BUFFER (buffer)' > failed > > (gaim:1882): Gtk-CRITICAL **: file gtktextbuffer.c: line 1727 > (gtk_text_buffer_get_iter_at_mark): assertion `GTK_IS_TEXT_MARK (mark)' > failed > > (gaim:1882): Gtk-CRITICAL **: file gtktextbuffer.c: line 1399 > (gtk_text_buffer_get_text): assertion `GTK_IS_TEXT_BUFFER (buffer)' > failed > Removed core > Oh no! Segmentation fault! > gaim (pid:1882): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s > #0 0x4035d8fc in g_on_error_stack_trace () from > /usr/lib/libglib-2.0.so.0 > #1 0x4035d81e in g_on_error_query () from /usr/lib/libglib-2.0.so.0 > #2 0x0805c8bd in sighandler (sig=11) at aim.c:394 > #3 0x403e8a44 in pthread_sighandler () from /lib/libpthread.so.0 > #4 0x40534518 in sigaction () from /lib/libc.so.6 > #5 0x0806cb6d in count_tag (buffer=0x0, s1=0x80b990f "<B>", > #6 0x0806d65f in check_everything (buffer=0x8433330) at > conversation.c:1738 > #7 0x0806cb05 in entry_key_pressed (buffer=0x8433330) at > conversation.c:1374 > #8 0x400eda42 in _gtk_marshal_BOOLEAN__BOXED () > #9 0x4031de2b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 > #10 0x40331993 in g_signal_emit_by_name () from > /usr/lib/libgobject-2.0.so.0 > #11 0x40330277 in g_signal_emit_valist () from > /usr/lib/libgobject-2.0.so.0 > #12 0x40122cbf in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0 > #13 0x401a2e8d in gtk_widget_send_expose () from > /usr/lib/libgtk-x11-2.0.so.0 > #14 0x401a2af0 in gtk_widget_event () from /usr/lib/libgtk-x11-2.0.so.0 > #15 0x401acc30 in _gtk_window_query_nonaccels () > #16 0x400eda42 in _gtk_marshal_BOOLEAN__BOXED () > #17 0x4031e205 in g_cclosure_new_swap () from > /usr/lib/libgobject-2.0.so.0 > #18 0x4031de2b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 > #19 0x40331d8a in g_signal_emit_by_name () from > /usr/lib/libgobject-2.0.so.0 > #20 0x40330277 in g_signal_emit_valist () from > /usr/lib/libgobject-2.0.so.0 > #21 0x40122cbf in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0 > #22 0x401a2e8d in gtk_widget_send_expose () from > /usr/lib/libgtk-x11-2.0.so.0 > #23 0x401a2af0 in gtk_widget_event () from /usr/lib/libgtk-x11-2.0.so.0 > #24 0x400ed8bd in gtk_propagate_event () from > /usr/lib/libgtk-x11-2.0.so.0 > #25 0x400ec8fe in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 > #26 0x4026b05c in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 > #27 0x4036fa19 in g_get_current_time () from /usr/lib/libglib-2.0.so.0 > #28 0x40370837 in g_main_context_dispatch () from > /usr/lib/libglib-2.0.so.0 > #29 0x40370c13 in g_main_context_dispatch () from > /usr/lib/libglib-2.0.so.0 > #30 0x403712ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 > #31 0x400ec00f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 > #32 0x0805d32c in main (argc=2, argv=0xbffffb54) at aim.c:840 > > its all the way signed in and is processing the joins to the new chats > and conversations at the time this happens. > > as it doesn't happen w/out the patch, i'm assuming your patch is causing > it. > luke > Yep. This is probably due to my patch. I've changed many things in conversation.c. such as the entry_key_pressed function, so that it now use a GtkTextBuffer instead of a GtkText. For now, I only adapted the conversation (one-to-one) window. I have yet to adapt some other window, such as the buddy chat one which also use some function of conversation.c. I'll keep you informed about by progress. By the way, I never use any buddy_chat. Would you agree to test a new patch, to make sure I go in the right direction? Thanks for the report. DindinX -- Da...@di... Q: Why does Washington have the most lawyers per capita and New Jersey the most toxic waste dumps? A: God gave New Jersey first choice. |