Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146661 - net-im/gaim-1.5 - crash on new chat window->pressing enter for a new line->pressing backspace
Summary: net-im/gaim-1.5 - crash on new chat window->pressing enter for a new line->pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 02:06 UTC by Anton Bauer
Modified: 2006-10-13 08:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bauer 2006-09-07 02:06:18 UTC
Gaim crashes when opening a message window, pressing
enter once to start a new line and then pressing backspace.


Here is the "(gdb) bt full":

#0 0xb7e5e467 in gtk_text_insert () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1 0xb7e7b82a in gtk_text_iter_backward_search () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2 0xb7e6e9b5 in gtk_text_buffer_backspace () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#3 0xb7e998f1 in gtk_text_view_scroll_mark_onscreen ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#4 0xb79e0b4b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5 0xb79d16c9 in g_value_set_boxed () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6 0xb79d310b in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7 0xb79e426f in g_signal_chain_from_overridden ()
from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8 0xb79e543c in g_signal_emitv () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9 0xb7ce2c30 in gtk_binding_set_find () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0xb7ce35aa in gtk_binding_set_find () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#11 0xb7ce36e9 in gtk_bindings_activate_event () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0xb7efbc38 in gtk_widget_get_type () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0xb7e9a6fd in gtk_text_view_scroll_mark_onscreen ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0xb7dd7510 in gtk_marshal_BOOLEAN__VOID () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0xb79d16c9 in g_value_set_boxed () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xb79d31f9 in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0xb79e426f in g_signal_chain_from_overridden ()
from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0xb79e4ec8 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0xb79e5299 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0xb7efb5d4 in gtk_widget_get_default_style () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0xb7f1248f in gtk_window_propagate_key_event ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0xb7f1942c in gtk_window_activate_key () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0xb7dd7510 in gtk_marshal_BOOLEAN__VOID () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0xb79d16c9 in g_value_set_boxed () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0xb79d310b in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#26 0xb79e426f in g_signal_chain_from_overridden ()
from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#27 0xb79e4ec8 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#28 0xb79e5299 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#29 0xb7efb5d4 in gtk_widget_get_default_style () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#30 0xb7dd0c4a in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#31 0xb7dd25e2 in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#32 0xb7c4ce5a in gdk_add_client_message_filter () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#33 0xb795db09 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#34 0xb795e348 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#35 0xb795e6f7 in g_main_loop_run () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#36 0xb7dd20f1 in gtk_main () from
/usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#37 0x080f8927 in main ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

I already opened a bug report about this on sourceforge, but I was told to post it at the gentoo bugzilla.
Comment 1 Paul Winkler 2006-09-07 21:30:04 UTC
I can reproduce this, having just upgraded to gcc 4.1.1.
See also http://sourceforge.net/tracker/index.php?func=detail&aid=1554503&group_id=235&atid=100235
which seems to be the same or very similar bug.

Apparently lots of people are reporting this in the gaim sourceforge tracker and being redirected here...
Comment 2 Paul Winkler 2006-09-07 21:39:50 UTC
(In reply to comment #1)
> See also http://sourceforge.net/tracker/index.php?func=detail&aid=1554503&group_id=235&atid=100235
> which seems to be the same or very similar bug.

Clarification - the mouse-movement crash only happens when moving the mouse in a chat window.  With some care I was able to start up, disable auto-login, and then edit preferences with no trouble.  But when a chat is open, gaim crashes as soon as I try to move the mouse away from the chat window.
Comment 3 Zack Panitzke 2006-09-12 17:03:42 UTC
I'm also having this issue.  I disabled the History extension (that displays history in new im windows), and lo, there are no more segfaults.  I wonder if this isn't really a gaim problem, but the gaim devs don't want to touch it because "it's a gentoo bug."
Comment 4 Roger 2006-09-14 20:51:12 UTC
Did you guys try rebuilding x11-libs/gtk+?

A segfault bug occurred for many of us after a gcc-4 upgrade.

# emerge x11-libs/gtk+


Or, if it still persists:

USE=debug emerge gaim

(Make sure all other gaim addons are unemerged.)

Run gaim in gdb:
# gdb gaim

Type in "run" and watch for the last lines indicating a problem with a particular lib.  ie /usr/lib/gtk+*.so 

Comment 5 Aaron Sheldon 2006-09-18 09:00:31 UTC
(In reply to comment #3)
> I'm also having this issue.  I disabled the History extension (that displays
> history in new im windows), and lo, there are no more segfaults.  I wonder if
> this isn't really a gaim problem, but the gaim devs don't want to touch it
> because "it's a gentoo bug."
> 

When you compile GTK+ and Gaim with -O3 you'll get this bug.  The Gaim devs don't support non-sane compile flags.  Please recompile GTK+ and Gaim with -O2.
Comment 6 Paul Winkler 2006-09-25 07:14:14 UTC
Thanks Aaron, re-emerging gtk+ and gaim with CFLAGS=-O2 seems to fix it.

What I don't understand from looking at the ebuild for gaim 1.5.0 and gtk+ 2.8.19, it looks like the ebuild should already replace my CFLAGS with -O2, but apparently this didn't happen. Will investigate further.
Comment 7 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-13 08:35:11 UTC
Closing this bug as it was related to bug 133469 which is closed now.