Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130728 - gaim invalid pointer
Summary: gaim invalid pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 06:49 UTC by Joshua Szmajda
Modified: 2006-08-16 12:12 UTC (History)
1 user (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 Joshua Szmajda 2006-04-21 06:49:40 UTC
When I run gaim 1.5.0, after I've signed in on any kind of account, as soon as I try to open an IM window, gaim crashes with this error on the command line: *** glibc detected *** free(): invalid pointer: 0x08424c28 ***

With gaim 2.0.0_beta3 it crashes with that same error as soon as I start the program.

I've run emerge -e system as well as emerge glibc.. Here's gaim's backtrace (for 1.5.0):

Program received signal SIGABRT, Aborted.
[Switching to Thread -1220778304 (LWP 31224)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7418271 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7419a09 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb7451eb9 in malloc_usable_size () from /lib/tls/libc.so.6
No symbol table info available.
#4  0xb74528e5 in free () from /lib/tls/libc.so.6
No symbol table info available.
#5  0xb77a0b01 in operator delete () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6
No symbol table info available.
#6  0xb7780275 in std::string::_Rep::_M_destroy () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6
No symbol table info available.
#7  0xb5829465 in aspeller::find_file () from /usr/lib/libaspell.so.15
No symbol table info available.
#8  0xb583c17d in aspeller::Language::setup () from /usr/lib/libaspell.so.15
No symbol table info available.
#9  0xb580aef7 in aspeller::DataSet::set_check_lang () from /usr/lib/libaspell.so.15
No symbol table info available.
#10 0xb581b30b in aspeller_default_readonly_ws::ReadOnlyWS::load () from /usr/lib/libaspell.so.15
No symbol table info available.
#11 0xb580ca2e in aspeller::add_data_set () from /usr/lib/libaspell.so.15
No symbol table info available.
#12 0xb582a504 in aspeller::MultiWS::load () from /usr/lib/libaspell.so.15
No symbol table info available.
#13 0xb580ca2e in aspeller::add_data_set () from /usr/lib/libaspell.so.15
No symbol table info available.
#14 0xb5816fcb in aspeller::SpellerImpl::setup () from /usr/lib/libaspell.so.15
No symbol table info available.
#15 0xb57ebdd6 in acommon::new_speller () from /usr/lib/libaspell.so.15
No symbol table info available.
#16 0xb57e720c in new_aspell_speller () from /usr/lib/libaspell.so.15
No symbol table info available.
#17 0xb585c178 in ?? () from /usr/lib/enchant/libenchant_aspell.so
No symbol table info available.
#18 0x0841ce68 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0xb585c5fe in ?? () from /usr/lib/enchant/libenchant_aspell.so
No symbol table info available.
#20 0xb585c5f8 in ?? () from /usr/lib/enchant/libenchant_aspell.so
No symbol table info available.
#21 0xb7d4fbb8 in ?? () from /usr/lib/libenchant.so.1
No symbol table info available.
#22 0x0841c5f8 in ?? ()
No symbol table info available.
#23 0x084026b0 in ?? ()
No symbol table info available.
#24 0xbf805e88 in ?? ()
No symbol table info available.
#25 0xb7d4e012 in enchant_broker_request_dict () from /usr/lib/libenchant.so.1
No symbol table info available.
#26 0xb7d4e012 in enchant_broker_request_dict () from /usr/lib/libenchant.so.1
No symbol table info available.
#27 0xb7e0d645 in gtkspell_error_quark () from /usr/lib/libgtkspell.so.0
No symbol table info available.
#28 0xb7e0d9d5 in gtkspell_new_attach () from /usr/lib/libgtkspell.so.0
No symbol table info available.
#29 0x080f6ba9 in gaim_gtk_setup_gtkspell ()
No symbol table info available.
#30 0x080efe03 in gaim_gtk_pounces_init ()
No symbol table info available.
#31 0x0808c6a1 in gaim_request_input ()
No symbol table info available.
#32 0x08069182 in gaim_account_request_change_user_info ()
No symbol table info available.
#33 0xb675fe48 in oscar_chat_info_defaults () from /usr/lib/gaim/liboscar.so
No symbol table info available.
#34 0xb76e31f8 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#35 0xb76cca0b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#36 0xb76e1bc6 in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#37 0xb76e2b16 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#38 0xb76e2e06 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#39 0xb7c7d2fb in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#40 0xb7b92102 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#41 0xb7b923d8 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#42 0xb7b879b9 in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#43 0xb7b81800 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#44 0xb76ccd49 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#45 0xb76cca0b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#46 0xb76e172b in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#47 0xb76e2853 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#48 0xb76e2e06 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#49 0xb7c7d484 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#50 0xb7b7fc67 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#51 0xb7b7ff9f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#52 0xb7a17701 in gdk_event_get_graphics_expose () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#53 0xb765dc24 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#54 0xb765f5d4 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#55 0xb765f8fa in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#56 0xb7b7f243 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#57 0x080fa858 in main ()
No symbol table info available.


Here's a few package versions and their USE flags I have installed:
net-im/gaim-1.5.0  -cjk +debug +eds -gnutls -krb4 +nas +nls +perl -silc +spell +tcltk
sys-libs/glibc-2.3.5-r3  -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) +userlocales
x11-libs/gtk+-2.8.12  -debug -doc +jpeg +tiff +xinerama
Comment 1 Joshua Szmajda 2006-04-26 11:13:14 UTC
I followed the gcc upgrading guide (http://www.gentoo.org/doc/en/gcc-upgrading.xml) and rebuilt some packages, then removed gcc 3.3. I then rebuilt gaim and everything works fine again.
Comment 2 Martin von Gagern 2006-07-19 04:03:07 UTC
(In reply to comment #1)
> I followed the gcc upgrading guide
> (http://www.gentoo.org/doc/en/gcc-upgrading.xml) and rebuilt some packages,
> then removed gcc 3.3. I then rebuilt gaim and everything works fine again.

Well.... I'm not really looking forward to rebuilding over 1500 packages just for one gcc switch, so I would appreciate some easier solution to this problem. And I would like to keep my gcc 3.3 around for some time, as I still use it sometimes.

After my experiences with bug 136002 I checked for libstdc++.so.5, with no success. I had a look at "emerge -eptv gaim" and emerged many packages that seemed like libs. I also grabbed the /proc/#/maps just before the crash and emerged most packages containing the libs therein. All without success so far.

Bug 137045 looks similar but is marked resolved upstream, which would not fit a problem related to compiler switches and some reverse dependency issues. Is it the same problem, and if so, what is the correct way to address it?
Comment 3 Martin von Gagern 2006-07-21 00:15:48 UTC
(In reply to comment #2)
> Well.... I'm not really looking forward to rebuilding over 1500 packages just
> for one gcc switch.

My "emerge -e world" is now halfway done, after two days of continuous compilation except where I encountered bugs. It has reached gaim as well, but the error persists. Maybe at least mine is more like bug 137045.
Comment 4 Martin von Gagern 2006-08-16 12:12:07 UTC
(In reply to comment #3)
> My "emerge -e world" is now halfway done, after two days of continuous
> compilation except where I encountered bugs. It has reached gaim as well, but
> the error persists. Maybe at least mine is more like bug 137045.

I traced my issue to the AIM/ICQ plugin, disabling that prevented the crash.
Upgrading to the Gaim 2.0.0 beta 3 solved the problem as well.