Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132443 - e-uae-0.8.27 segmentation fault
Summary: e-uae-0.8.27 segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 06:00 UTC by Alessandro Calorì
Modified: 2006-07-11 23:37 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 Alessandro Calorì 2006-05-06 06:00:29 UTC
I've emerged stable version and even the ebuild in bug #120491: it always gives segmentation fault. Those faults often rise when I start a game, sometimes during the game loading...

This is my "emerge --info":

Portage 2.1_pre10-r3 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r6 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -mfpmath=sse"
CHOST="x86_64-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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sanbox sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it en"
MAKEOPTS="-j5"
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="amd64 X a52 aac acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dri dts dv dvd dvdr dvdread eds emboss encode exif ffmpeg flac foomaticdb fortran gd gif gpm hal ieee1394 imagemagick imlib isdnlog java javascript joystick jpeg jpeg2k kde lm_sensors lzw lzw-tiff mad mng mono mp3 mpeg mpi mysql mysqli ncurses nls nptl ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sasl sdl session sndfile spell spl ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts usb v4l vcd vorbis wmf xcomposite xml xml2 xorg xpm xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it linguas_en userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 06:05:34 UTC
Please, review the following docs and attach a backtrace there (don't paste it). Really hard to guess.

http://www.gentoo.org/proj/en/qa/backtraces.xml
http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Alessandro Calorì 2006-05-06 06:22:23 UTC
Tried with GDB.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090525536 (LWP 9805)]
0x00002af5ea187fa7 in g_hash_table_destroy () from /usr/lib/libglib-2.0.so.0
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2006-06-12 09:36:34 UTC
Try build app only with -O2 (and maybe -pipe) in CFLAGS.

If that does not help, please write here a bit more detailed steps to reproduce your problem. Thank you.
Comment 4 Alessandro Calorì 2006-06-12 10:08:55 UTC
(In reply to comment #3)
> Try build app only with -O2 (and maybe -pipe) in CFLAGS.
Did you read my "emerge --info"? I already have those flags in my CFLAGS...

> If that does not help, please write here a bit more detailed steps to reproduce
> your problem. Thank you.
The error seems to be related to SDL library. I have some problems even with Neverwinter Nights' audio (which uses SDL too). When I compile E-UAE without SDL it seems to work with no major issues...
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2006-06-12 10:50:53 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Try build app only with -O2 (and maybe -pipe) in CFLAGS.
> Did you read my "emerge --info"? I already have those flags in my CFLAGS...

Sure I did. I'll try to rephrase what I said. Remove -march and -mpmath from your CFLAGS and leave there only -02 and -pipe.

> The error seems to be related to SDL library. 

Yes there are similar reports... bt may be show us some more details. But in any way what sdl version you have? Have you tried to upgrade sdl?
Comment 6 Alessandro Calorì 2006-06-13 01:51:37 UTC
(In reply to comment #5)
> Sure I did. I'll try to rephrase what I said. Remove -march and -mpmath from
> your CFLAGS and leave there only -02 and -pipe.
Ah... sorry, I misunderstood... :p

> Yes there are similar reports... bt may be show us some more details. But in
> any way what sdl version you have? Have you tried to upgrade sdl?
I have emerged stable version. I didn't tried testing version but I'll do as soon as possible.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2006-06-14 11:02:29 UTC
Alessandro: Please, try e-uae-0.8.28-r1. It has some fixes, so may be this bug is fixed...
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2006-07-11 11:03:30 UTC
Changing summary to cleary state that this bug affects only 0.8.27 version.
Comment 9 Alessandro Calorì 2006-07-11 23:37:54 UTC
New version seems to fix the problem.