Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176829 - net-im/pidgin-2.0.0_beta7 crashes when i type in yahoo chat
Summary: net-im/pidgin-2.0.0_beta7 crashes when i type in yahoo chat
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: 2007-05-02 16:19 UTC by fornix.is
Modified: 2007-05-29 14:38 UTC (History)
3 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 fornix.is 2007-05-02 16:19:28 UTC
I installed pidgin 2 beta 7 from portage today and used pidgin for a while without any trouble. Now i have a lot of problems when i chat on yahoo using pidgin. It crashes randomly when the other user types certain text or when i type certain texts and press enter. 

;---------------crash output------------------------------------------

yahoo: yahoo_html_to_codes:  Returning string: 'if ur status is away, it doesnt crash :P'.
yahoo: 40 bytes to read, rxlen is 60
yahoo: Yahoo Service: 0x06 Status: 4
yahoo: Key: 5   Value: arijit1985
yahoo: Key: 10          Value: 99
yahoo: Key: 19          Value: -1615396462
yahoo: yahoo_html_to_codes:  Returning string: 'exatt'.
yahoo: yahoo_html_to_codes:  Returning string: 'nothin ow'.
*** glibc detected *** pidgin: munmap_chunk(): invalid pointer: 0xb4d00538 ***
======= Backtrace: =========
/lib/libc.so.6[0xb755bbab]
/usr/lib/libglib-2.0.so.0(g_free+0x30)[0xb7703332]
/usr/lib/libgtk-x11-2.0.so.0(gtk_get_default_language+0x5b)[0xb7a3c617]
/usr/lib/libgtk-x11-2.0.so.0(gtk_text_attributes_new+0x2c)[0xb7ae3549]
/usr/lib/libgtk-x11-2.0.so.0(gtk_text_iter_editable+0x20)[0xb7ad9ae9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_text_iter_can_insert+0x2a)[0xb7adbf02]
/usr/lib/libgtk-x11-2.0.so.0[0xb7af431b]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a40f02]
/usr/lib/libgobject-2.0.so.0[0xb7777525]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x205)[0xb7778d6a]
/usr/lib/libgobject-2.0.so.0[0xb7788d51]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x689)[0xb77899c0]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb7789db2]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b42ed0]
/usr/lib/libgtk-x11-2.0.so.0(gtk_window_propagate_key_event+0x107)[0xb7b52166]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b52198]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a40f02]
/usr/lib/libgobject-2.0.so.0[0xb7777525]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x126)[0xb7778c8b]
/usr/lib/libgobject-2.0.so.0[0xb7788d51]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x689)[0xb77899c0]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb7789db2]
/usr/lib/libgtk-x11-2.0.so.0[0xb7b42ed0]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x1b0)[0xb7a3afe4]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2e4)[0xb7a3bfd2]
/usr/lib/libgdk-x11-2.0.so.0[0xb78df1eb]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x196)[0xb76fcc8a]
/usr/lib/libglib-2.0.so.0[0xb76fd4c5]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a7)[0xb76fd865]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7a3c42c]
pidgin(main+0x528)[0x80ad8a1]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7510864]
pidgin(gtk_widget_grab_focus+0x35)[0x8068271]
======= Memory map: ========
08048000-080e9000 r-xp 00000000 16:41 3239956    /usr/bin/pidgin
080e9000-080ec000 rw-p 000a0000 16:41 3239956    /usr/bin/pidgin
080ec000-08935000 rw-p 080ec000 00:00 0          [heap]
b2d2b000-b2d2c000 ---p b2d2b000 00:00 0
b2d2c000-b352c000 rw-p b2d2c000 00:00 0
b3d2d000-b412d000 r--s 00000000 16:41 3240100    /usr/share/sounds/pidgin/send.wav
b412d000-b412e000 ---p b412d000 00:00 0
b412e000-b492e000 rw-p b412e000 00:00 0
b492e000-b49eb000 r-xp 00000000 16:41 345069     /usr/lib/libasound.so.2.0.0
b49eb000-b49f0000 rw-p 000bc000 16:41 345069     /usr/lib/libasound.so.2.0.0
b4a13000-b4a49000 r-xp 00000000 16:41 349420     /usr/lib/liboil-0.3.so.0.1.0
b4a49000-b4a58000 rw-p 00036000 16:41 349420     /usr/lib/liboil-0.3.so.0.1.0
b4a58000-b4a5a000 rw-p b4a58000 00:00 0
b4a60000-b4a6b000 r-xp 00000000 16:41 346455     /usr/lib/gstreamer-0.10/libgstossaudio.so
b4a6b000-b4a6c000 rw-p 0000a000 16:41 346455     /usr/lib/gstreamer-0.10/libgstossaudio.so
b4a6c000-b4a7c000 r-xp 00000000 16:41 346636     /usr/lib/gstreamer-0.10/libgstalsa.so
b4a7c000-b4a7d000 rw-p 0000f000 16:41 346636     /usr/lib/gstreamer-0.10/libgstalsa.so
b4d00000-b4d21000 rw-p b4d00000 00:00 0
b4d21000-b4e00000 ---p b4d21000 00:00 0
b4e5d000-b4e7d000 rw-p b4e5d000 00:00 0
b4e7d000-b4e83000 r-xp 00000000 16:41 350136     /usr/lib/libgstinterfaces-0.10.so.0.5.0
b4e83000-b4e84000 rw-p 00006000 16:41 350136     /usr/lib/libgstinterfaces-0.10.so.0.5.0
b4e84000-b4e98000 r-xp 00000000 16:41 349520     /usr/lib/libgstaudio-0.10.so.0.5.0
b4e98000-b4e99000 rw-p 00013000 16:41 349520     /usr/lib/libgstaudio-0.10.so.0.5.0
b4e99000-b4ea2000 r-xp 00000000 16:41 350071     /usr/lib/libgstriff-0.10.so.0.5.0
b4ea2000-b4ea3000 rw-p 00008000 16:41 350071     /usr/lib/libgstriff-0.10.so.0.5.0
b4ea3000-b4ead000 r-xp 00000000 16:41 9141       /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b4ead000-b4eae000 rw-p 00009000 16:41 9141       /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b4eae000-b4eb5000 r-xp 00000000 16:41 349568     /usr/lib/libgstcontroller-0.10.so.0.8.0
b4eb5000-b4eb6000 rw-p 00006000 16:41 349568     /usr/lib/libgstcontroller-0.10.so.0.8.0
b4eb6000-b4ebe000 r-xp 00000000 16:41 349970     /uAborted
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-02 17:27:46 UTC
1/ This is NOT a Gentoo Bugzilla product bug, read the product descriptions.
2/ Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2007-05-02 18:19:37 UTC
Please add you emerge --info
Comment 3 fornix.is 2007-05-03 01:43:37 UTC
;o/p of emerge --info

localhost fornix # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 02 May 2007 11:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 X acl alsa alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 asf audiofile berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr elibc_glibc emacs esd fam flac fortran gcj gdbm gif glitz glut gnome gnutls gpm gstreamer gtk gtk2 hal haskell iconv imagemagick input_devices_keyboard input_devices_mouse isdnlog jack java jpeg jpeg2k kde kdeenablefinal kdexdeltas kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms libcaca libg++ libnotify live lm_sensors mad matroska midi mmx mmx2 mmxext mng mono mozdevelop mozsvg mp3 msn musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl php png ppds pppd python qt3 readline real reflection ruby samba session spl sql sse sse2 ssl svg tagwriting tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa visualization vorbis xcomposite xinerama xorg xrandr xscreensaver xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 fornix.is 2007-05-03 06:06:36 UTC
The USE flags used:

localhost fornix # emerge -pv pidgin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/pidgin-2.0.0_beta7  USE="crypt debug eds gnutls gstreamer gtk msn nls perl ssl startup-notification tcl tk xscreensaver -avahi -bonjour -cjk -console -custom-cflags -dbus -doc -gadu -groupwise -meanwhile -qq -sasl -silc -spell" 0 kB

Total size of downloads: 0 kB
Comment 5 fornix.is 2007-05-03 13:55:34 UTC
I guess this is the same bug as this http://developer.pidgin.im/ticket/67
Comment 6 Pacho Ramos gentoo-dev 2007-05-03 16:15:40 UTC
(In reply to comment #5)
> I guess this is the same bug as this http://developer.pidgin.im/ticket/67
> 

Also, seems related with:
http://bugzilla.gnome.org/show_bug.cgi?id=349180
Comment 7 Olivier Crete (RETIRED) gentoo-dev 2007-05-03 16:45:13 UTC
hmm, I see nothing gst related in the backtrace...
Comment 8 Pacho Ramos gentoo-dev 2007-05-03 16:54:42 UTC
In first post there are some gst related in backtrace :-/


> /usr/lib/gstreamer-0.10/libgstossaudio.so
> b4a6b000-b4a6c000 rw-p 0000a000 16:41 346455    
> /usr/lib/gstreamer-0.10/libgstossaudio.so
> b4a6c000-b4a7c000 r-xp 00000000 16:41 346636    
> /usr/lib/gstreamer-0.10/libgstalsa.so
> b4a7c000-b4a7d000 rw-p 0000f000 16:41 346636    
> /usr/lib/gstreamer-0.10/libgstalsa.so
> b4d00000-b4d21000 rw-p b4d00000 00:00 0
> b4d21000-b4e00000 ---p b4d21000 00:00 0
> b4e5d000-b4e7d000 rw-p b4e5d000 00:00 0
> b4e7d000-b4e83000 r-xp 00000000 16:41 350136    
> /usr/lib/libgstinterfaces-0.10.so.0.5.0
> b4e83000-b4e84000 rw-p 00006000 16:41 350136    
> /usr/lib/libgstinterfaces-0.10.so.0.5.0
> b4e84000-b4e98000 r-xp 00000000 16:41 349520    
> /usr/lib/libgstaudio-0.10.so.0.5.0
> b4e98000-b4e99000 rw-p 00013000 16:41 349520    
> /usr/lib/libgstaudio-0.10.so.0.5.0
> b4e99000-b4ea2000 r-xp 00000000 16:41 350071    
> /usr/lib/libgstriff-0.10.so.0.5.0
> b4ea2000-b4ea3000 rw-p 00008000 16:41 350071    
> /usr/lib/libgstriff-0.10.so.0.5.0
> b4ea3000-b4ead000 r-xp 00000000 16:41 9141      
> /usr/lib/libgstcontroller-0.10.so.0.8.0
> b4eb5000-b4eb6000 rw-p 00006000 16:41 349568    
> /usr/lib/libgstcontroller-0.10.so.0.8.0
> b4eb6000-b4ebe000 r-xp 00000000 16:41 349970     /uAborted

But I don't know many about backtraces :-(

Comment 9 fornix.is 2007-05-03 16:56:41 UTC
Right now i am compiling pidgin without gstreamer USE flag. let me check if i get error without gstreamer
Comment 10 fornix.is 2007-05-03 17:39:49 UTC
Now i am running pidgin without gstreamer USE flag. I've been desperately trying to make it crash but unsuccessful :( . Previously, it used to crash very frequently (i couldnt type more than 4 words in the chat). I am 80% sure that this bug is related to gstreamer. Only thing left is to recompile with gstreamer USE flag and check if the bug returns.
Comment 11 Timothy Redaelli (RETIRED) gentoo-dev 2007-05-04 08:31:41 UTC
gnome boys (yes gstreamer is yours) any ideas?
maybe you can try with the gstreamer patch http://bugzilla.gnome.org/attachment.cgi?id=85275
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-05-04 08:54:16 UTC
maybe you could try compiling pidgin with -O2 instead of -O3 too and see what it does with gstreamer flag.
Comment 13 Timothy Redaelli (RETIRED) gentoo-dev 2007-05-04 09:03:20 UTC
(In reply to comment #12)
> maybe you could try compiling pidgin with -O2 instead of -O3 too and see what
> it does with gstreamer flag.
> 

No, the ebuild always uses O2
<snip>
        replace-flags -O? -O2
</snip>
Comment 14 fornix.is 2007-05-04 13:03:33 UTC
k. Its almost confirmed this has got somethin to do with gstreamer. Now I enabled gstreamer use flag again and found out a new way to reproduce the crash. Under preferences of gaim, within sounds tab, we can test the sound played. when i click on test approximately 2 - 4 times, (not necessarily with quick succession), pidgin crashes. So it has definitely got somethin to do with the sounds which play when a new message appears. 
Comment 15 Mart Raudsepp gentoo-dev 2007-05-04 14:48:41 UTC
Adding gstreamer@ to CC after fixing media-libs/gstreamer to have them as the primary herd with consent from zaheerm :)
Comment 16 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-04 16:13:03 UTC
Hmmm... what does the gstreamer flag enable?  I have it, but I cannot select gstreamer as an option for playing sounds.
Comment 17 fornix.is 2007-05-04 18:54:05 UTC
Well, if you remove gstreamer flag, u wont get ny sound :) 
Comment 18 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-04 19:08:24 UTC
Why not?  There's still esd and what I use (aplay %s in the play application)  As nearly as I can tell, gstreamer isn't being used at all here.
Comment 19 fornix.is 2007-05-04 19:35:16 UTC
When the gstreamer flag is removed, ESD option disappears. and I'm left with console beep or a command. So essentially no sound. I used aplay %s as command on this newly compiled pidgin withoug gstreamer use flag and it isnt crashing!! And sound works as usual. Problem solved temporarily!! hurray!
Comment 20 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-04 19:43:34 UTC
Wait, they use gstreamer for esd?  WTF?  Okay, we should just nuke the flag... :)
Comment 21 Pacho Ramos gentoo-dev 2007-05-05 14:22:55 UTC
Have you tried with media-libs/gstreamer-0.10.12?, seems that it fixes the problem for me :-/
Comment 22 Pacho Ramos gentoo-dev 2007-05-05 14:30:58 UTC
(In reply to comment #21)
> Have you tried with media-libs/gstreamer-0.10.12?, seems that it fixes the
> problem for me :-/
> 

It has crashed again :-(
Comment 23 fornix.is 2007-05-05 14:33:18 UTC
(In reply to comment #21)
> Have you tried with media-libs/gstreamer-0.10.12?, seems that it fixes the
> problem for me :-/
> 

Yes. I did try with gstreamer-0.10.12. The problem has not been solved in that. Try Clicking the Test button preferences of gaim, within sounds tab a lot of times. It does crash here for me. Been using aplay %s command and its working smoothly. 
Comment 24 Pacho Ramos gentoo-dev 2007-05-29 14:35:32 UTC
Updating to pidgin-2.0.1 fixed my crashes :-)
Comment 25 Olivier Crete (RETIRED) gentoo-dev 2007-05-29 14:38:52 UTC
fixed then!