Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131203 - after exiting ekiga , cpu goes to 100%
Summary: after exiting ekiga , cpu goes to 100%
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 04:27 UTC by Niv Vaizer
Modified: 2006-06-07 12:08 UTC (History)
0 users

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


Attachments
typescript of crash (typescript,108.95 KB, text/plain)
2006-04-25 16:38 UTC, Niv Vaizer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niv Vaizer 2006-04-25 04:27:34 UTC
I got this reponse from the Ekiga developer:
http://bugzilla.gnome.org/show_bug.cgi?id=337519
 ekiga | general | Ver: HEAD
------- Comment #12 from Damien Sandras  2006-04-22 15:43 UTC -------
I don't really know, but Gentoo is often doing weird things. Your OPAL and
Ekiga are not built "the standard way".

problem: 
After I exit ekiga , it uses the cpu to the fullist , 100%.
lots of text prints to the shell which ran ekiga, it looks like a core dump to
the  terminal.
Then I must Ctrl+c to stop ekiga.

Steps to reproduce:
1. load ekiga from the shell
2. quit ekiga

 emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.16-ck3 
i686)
=================================================================
System uname: 2.6.16-ck3 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share
/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo 
/etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict userpriv us
ersandbox"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 # X aac aalib acceleration: acl acpi alsa amr and apm apps: audiofile a
vi bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 card cdrom cli c
odecs: crypt cups curl dbus divix4linux dri dts dvd dvdread eds emboss encode ex
pat fam ffmpeg firefox flac flash foomaticdb fortran freetype gd gdbm gfx gif gl
ut gmp gnome gpm gstreamer gtk gtk2 gtkhtml gui: hal icq idn imap imlib irc irmc
 isdnlog jabber jack java javascript jpeg lcms libg++ libwww lirc lm_sensors mad
 matroska mikmod misc: mjpeg mmx mmxext mng motif mozilla mp3 mp4 mpeg mpeg4 mpl
ayer mppe-mppc msn mysql mythtv ncurses network: nls nptl nvidia ogg opengl oss 
pam pc pcre pda pdflib perl pic pictures png pop pppd python qt quicktime readli
ne recode reflection resources: rtc ruby samba sdl services: session sound speex
 spell spl sqlite sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1 t
ype1-fonts udev unicode usb v4l v4l2 video vidix vorbis win32codecs xine xml xml
2 xmms xorg xrandr xscreensaver xv xvid zeroconf zlib linguas_en userland_GNU ke
rnel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-25 05:54:50 UTC
Gentoo is not by default doing weird things. However weird things can be configured to be done.
two things:

a) dont use many CFLAGS:
CFLAGS="-O3 -march=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -pipe"
that would be enough:
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"

b) dont mix arch and ~arch:
often bugs are only fixed in the ~arch packages, and as youu are using ~arch ekiga you should be using ~
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-25 05:54:50 UTC
Gentoo is not by default doing weird things. However weird things can be configured to be done.
two things:

a) dont use many CFLAGS:
CFLAGS="-O3 -march=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -pipe"
that would be enough:
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"

b) dont mix arch and ~arch:
often bugs are only fixed in the ~arch packages, and as youu are using ~arch ekiga you should be using ~ærch packages :)

echo ACCEPT_KEYWORDS=~x86 >> /etc/make.conf
is recommended
Comment 3 Niv Vaizer 2006-04-25 16:38:43 UTC
Created attachment 85501 [details]
typescript of crash

I did the changes you advised then re- emerged gcc glib glibc pwlib opal ekiga
I still encouter the error when quiting.
I am attaching the typescript
$ emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.16-ck6-r1 i686)
=================================================================
System uname: 2.6.16-ck6-r1 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fforce-addr -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fforce-addr -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 # X aac aalib acceleration: acl acpi alsa amr and apm apps: audiofile avi bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 card cdrom cli codecs: crypt cups curl dbus divix4linux dri dts dvd dvdread eds emboss encode expat fam ffmpeg firefox flac flash foomaticdb fortran freetype gd gdbm gfx gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml gui: hal icq idn imap imlib irc irmc isdnlog jabber jack java javascript jpeg lcms libg++ libwww lirc lm_sensors mad matroska mikmod misc: mjpeg mmx mmxext mng motif mozilla mp3 mp4 mpeg mpeg4 mplayer mppe-mppc msn mysql mythtv ncurses network: nls nptl nvidia ogg opengl oss pam pc pcre pda pdflib perl pic pictures png pop pppd python qt quicktime readline recode reflection resources: rtc ruby samba sdl services: session sound speex spell spl sqlite sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 video vidix vorbis win32codecs xine xml xml2 xmms xorg xrandr xscreensaver xv xvid zeroconf zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-25 16:52:02 UTC
well, to be honest I have no idea what is going on their. And I do not intend to debug the ekiga code. This is not reproduceable, so I guess it is something unstable about your buildflags.

To get closer to the source of the problem I suggest you try to run a binary of ekiga that you did not compile yourself.
mkdir -p /usr/portage/packages/All
cd /usr/portage/packages/All
wget genstef.homelinux.org/packages/All/ekiga-2.0.1.tbz2
emerge -Kva ekiga
Comment 5 Niv Vaizer 2006-04-26 16:36:17 UTC
after # emerge -Kva ekiga ,I get
$ ekiga 
Block 0x81567d8 not in heap!
Block 0x81567d8 not in heap!
Block 0x8233b58 not in heap!
Block 0x8233b58 not in heap!
Block 0x8167070 not in heap!
Block 0x81677a0 not in heap!
Block 0x81677a0 not in heap!
Block 0x815f150 not in heap!
Block 0x81567d8 not in heap!
Segmentation fault

I used the flags you gave: -avahi +dbus -debug -doc -gnome +sdl and compiled my own ekiga, I got the problem I reported.
I then went ahead and did:
#emerge -evD world
with the new CFLAGS , but I still get the bug reported.
I then tried to emerge your tbz and got the segmantation fault again.

NIv
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-06 11:18:10 UTC
Please retest with ekiga-2.0.2 and reopen if it still crashes
Comment 7 Niv Vaizer 2006-06-07 12:08:27 UTC
fixed