Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132657 - ekiga crashed with illegal instruction
Summary: ekiga crashed with illegal instruction
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 02:56 UTC by Daniel Golle
Modified: 2006-06-07 11:07 UTC (History)
0 users

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 Daniel Golle 2006-05-08 02:56:35 UTC
everything else runs just fine. pwlib forces -Os, maybe this is the problem. i'm about to try it with reduced CFLAGS="-march=athlon", maybe this will work better...
Now I'm running gnome-2.14, but with 2.12 I had the same problem. Further more, the problem exists using the the ck kernel as well as the official gentoo 2.6.16 kernel. It might a bug in gcc (I'm using 3.4.6-r1).
Again, ALL other apps are running perfect, heavily tested almost everything - just ekiga refuses to start.

Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-ck9 i686)
=================================================================
System uname: 2.6.16-ck9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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="-march=athlon"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.blueyonder.co.uk"
LANG="de_DE"
LINGUAS="de en hu"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de /usr/local/overlays/zugaina /usr/local/overlays/jacklab-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X a52 aac ace acpi alsa apache2 artworkextra audiofile avi beagle berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo calendar canvas cdparanoia cdr clamav cli cpudetection crypt cups curl dbus directfb divx4linux djbfft dmi doc docbook dri dts dv dvd dvdr dvdread dvi eds emboss encode esd ethereal evo examples exif expat fam fame fbcon ffmpeg fftw firefox flac foomaticdb fortran freetype ftp galago gd gdbm geoip gif gimp gimpprint glut gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hddtemp howl idn ieee1394 imagemagick imap imlib ipod ipv6 irda irmc isdnlog jabber jack java javascript joystick jpeg lame lcms ldap libclamav libg++ libgda libnotify libwww live lm_sensors logrotate lzo mad matroska mikmod mjpeg mmx mmxext mng mono motif mozilla mozsvg mp3 mpeg mppe-mppc musicbrainz mysql nas nautilus ncurses network new-login nfs nls nptl nsplugin oav odbc ogg oggvorbis ole on-the-fly-crypt openal opengl oss pam pam_chroot pam_console pam_timestamp pcre pdf pdflib pear perl php png postgres pppd prelink pwdb python quicktime radius rar readline real recode reflection rtc samba sasl scanner sdl sensord session shorten silc slang slp sms sndfile sox speex spell spl sqlite sse ssl svg sysfs szip t1lib tagwriting tcltk tcpd tetex tga theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wifi win32codecs wmf xinetd xml xml2 xmms xorg xpm xprint xv xvid zip zlib linguas_de linguas_en linguas_hu userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Daniel Golle 2006-05-08 03:12:03 UTC
same result with reduced CFLAGS="-march=athlon" and nothing else. But, as I already menthion, pwlib adds -Os which might cause some probs. I'll try change the Makefile of pwlib to change that behaviour tonight.
Comment 2 robustah 2006-05-10 06:52:31 UTC
I have some problems with ekiga also, it crashes when I try to phone a number. (E.g my asterisk server). And it happens everytime. I'll attach the crashlog.
Comment 3 Christophe Philemotte 2006-05-31 16:45:43 UTC
Same problem on ppc

CFLAGS="-mcpu=7450 -maltivec -mabi=altivec -O2 -mtune=powerpc -pipe"
ACCEPT_KEYWORDS="~ppc"
CXXFLAGS="${CFLAGS}"

I use gcc-3.4.6-r1 and before emerge this new version of gcc ekiga ran without any problem

emerge without problem
net-im/ekiga-2.0.1  USE="debug ipv6 sdl ssl -avahi -dbus -gnome"

$ ekiga
Segmentation fault
$ gdb ekiga
[...]
(gdb) run
Starting program: /usr/bin/ekiga 
[Thread debugging using libthread_db enabled]
[New Thread 805438128 (LWP 8404)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 805438128 (LWP 8404)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#2  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#3  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#4  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#5  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#6  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#7  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#8  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#9  0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#10 0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#11 0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#12 0x0f5b5d34 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
Previous frame inner to this frame (corrupt stack?)

I've tried with USE="-sdl" but configure didn't care about and enabled sdl support. I've obtained the same gdb log.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-06 11:18:19 UTC
Please retest with ekiga-2.0.2 and reopen if it still crashes
Comment 5 Christophe Philemotte 2006-06-06 16:40:42 UTC
(In reply to comment #4)
> Please retest with ekiga-2.0.2 and reopen if it still crashes
> 

it still crashes with same debug log
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-06 16:45:39 UTC
can you please try with temporarilyy unmerging gcc during the build? :)

I would like to know if this is really caused by sdl.
Comment 7 Christophe Philemotte 2006-06-07 04:01:09 UTC
(In reply to comment #6)
> can you please try with temporarilyy unmerging gcc during the build? :)

I'm not sure to understand what you mean ^^. Must I run "emerge --unmerge gcc" Oo? Or just emerge a previous release of gcc?
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-07 04:04:24 UTC
eh, sdl of course, just run that:

quickpkg libsdl
emerge -C libsdl
USE=-sdl emerge -v ekiga
emerge -1k libsdl

and then another backtrace would be cool :)
Comment 9 Christophe Philemotte 2006-06-07 09:18:41 UTC
(In reply to comment #8)
> eh, sdl of course, just run that:

Ok, I think also that unmerge gcc was not a good idea ;).

So, I've done what you told me. And ekiga doesn't crash now :). It seems that sdl is the problem. Even if you use USE="-sdl", the configure of ekiga detects the libsdl if it is installed.

Here, some copy of the configure log :

---
checking whether SDL support must be compiled in... yes
checking for sdl-config... no
checking for SDL - version >= 1.2.4... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: WARNING: *** SDL version 1.2.4 not found!. Fullscreen mode will be disabled

---
Final configuration report

 SDL Fullscreen support  :  disabled

---

I can't take a backtrace of the crash because now it doesn't ^^.

Thank a lot, if I can test yet something, tell me.
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-07 11:07:01 UTC
I fixed the ebuild so that USE=-sdl works. Just add

net-im/ekiga -sdl
to your /etc/portage/package.use and all should be fine :)
one hour to sync as usual.