Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SDL seg fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
[JuL]
n00b
n00b


Joined: 02 Apr 2005
Posts: 2
Location: Ottawa, Ontario, CANADA

PostPosted: Sat Apr 02, 2005 8:24 pm    Post subject: SDL seg fault Reply with quote

Has anybody ever had problem with SDL?

I'm trying to run gcompris and SDL crashes. The problem is that it doesn't give me a lot of details (even with strace)

strace snippet :
Code:
read(10, ";\362\r\n\236\24NBc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sm\0"..., 4096) = 1315
fstat(10, {st_mode=S_IFREG|0644, st_size=1315, ...}) = 0
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0x2aaaafd01000, 4096)            = 0
close(9)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x2aaaad8a47f0, [], SA_RESTORER, 0x2aaaaaefbbe0}, 8) = 0
write(2, "Fatal signal: ", 14)          = 14
write(2, "Segmentation Fault", 18)      = 18
write(2, " (SDL Parachute Deployed)\n", 26) = 26
futex(0x408009f0, FUTEX_WAIT, 17180, NULL) = 0
ioctl(7, 0x4144, 0x55e860)              = 0
ioctl(7, 0x4143, 0x1)                   = 0
shmdt(0x2aaaaaecc4a0)                   = 0
shmdt(0x55db30)                         = 0
munmap(0x2aaaaec7c000, 12288)           = 0
ioctl(7, 0x4112, 0)                     = 0


Any idea of what I can try next ?

Thanks
_________________
Obey gravity, It's the law!
Back to top
View user's profile Send private message
Calchan
Retired Dev
Retired Dev


Joined: 15 Aug 2002
Posts: 50
Location: Cannes, France

PostPosted: Mon Apr 04, 2005 6:38 am    Post subject: Reply with quote

I have the same problem on both my P4M laptop and AthlonXP desktop. So I don't think it is related to your system being an AMD64. We should file a bug. I don't have the time right now (because I would like to explain the long story), but I will do it later if you don't.

In case that can help you, here's my emerge info:
Code:
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-ck3 i686)
=================================================================
System uname: 2.6.11-ck3 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 13:45:14)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -ftracer -pipe"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
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 3dnow 3dnowex X Xaw3d a52 aac aalib alsa apm avi berkdb bitmap-fonts canna cdparanoia cdr cjk crypt curl divx4linux djbfft doc dpms dv dvd dvdr edl emboss encode esd faac faad fam ffmpeg flac font-server foomaticdb fortran fpx gcj gd gdbm gif glitz gmail gnome gpm graphviz gstreamer gtk gtk2 guile hal ieee1394 imagemagick imlib java javascript jbig jpeg lcms libg++ libwww live lzo mad matroska mikmod mime mmx mmx2 mng motif mozilla moznomail mozsvg mp3 mpeg mpi ncurses network nls nntp nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl pic png python quicktime readline real rtc sblive sdl slp sndfile speex spell sse ssl svg symlink tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vidix wmf xanim xml2 xmms xv xvid xvmc yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

I have tried emerging older (stable) versions of libsdl and sdl-mixer (and recompiling gcompris after that, just in case), but it didn't do anything. Other games using SDL (Battle for Wesnoth and Globulation 2) work properly. I will write all these details and much more when I file the bug.
Back to top
View user's profile Send private message
[JuL]
n00b
n00b


Joined: 02 Apr 2005
Posts: 2
Location: Ottawa, Ontario, CANADA

PostPosted: Thu Apr 07, 2005 2:28 am    Post subject: Reply with quote

It seems to be a problem between SDL and python !!

I have rebuilded gcompris with "-python" and it works fine now.

Thanks anyway
_________________
Obey gravity, It's the law!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum