Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127621 - mindless crash (segfault) when a card is put on table
Summary: mindless crash (segfault) when a card is put on table
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 03:24 UTC by Kazuo Teramoto
Modified: 2006-03-26 14:56 UTC (History)
1 user (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 Kazuo Teramoto 2006-03-26 03:24:04 UTC
Mindless 1.6 crash on first card put on table, when run in gdb a get this:

Program received signal SIGSEGV, Segmentation fault.
0x000000000040be62 in playarea_paint_card (zone=0x836170, tcard=0x8ea3a0) at playarea.c:428
428         height = zone->font->ascent + zone->font->descent + 2;

Reproducible: Always
Steps to Reproduce:
1.start mindless  
2.load a deck
3.start a game
4.put a card on table

Portage 2.1_pre6-r7 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Turion(tm) 64 Mobile Technology ML-34
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe -fomit-frame-pointer -msse3"
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/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=k8 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ ftp://mirror.pacific.net.au/linux/Gentoo "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en pt_BR fr de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci-gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts blas bluetooth bzip2 cairo canna cdr cjk cli crypt ctype cups dba dga doc dri dv dvd dvdr dvdread eds emboss emul-linux-x86 encode exif expat fastbuild ffmpeg fftw flac foomaticdb force-cgi-redirect fortran ftp gd gif gmp gnutls gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 javascript jpeg kde lapack lcms lua lzw lzw-tiff mad memlimit mikmod mp3 mpeg mpi ncurses nls nptl nptlonly ogg opengl pcmcia pcre pdf pdflib perl png posix python qt quicktime readline sdl session simplexml slang soap sockets spell spl sqlite sqlite3 sse3 ssl svg tcltk tcpd tetex threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd visualization vorbis wifi xml xml2 xmms xpm xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_pt_BR linguas_fr linguas_de userland_GNU video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2006-03-26 03:51:22 UTC
> const char tiny_font_name[] =
>            "-schumacher-*-medium-r-normal-*-*-80-*-*-*-*-*";
> [...]
>     playarea->font = gdk_font_load (tiny_font_name);

Assuming you're using modular X, would you try installing media-fonts/font-schumacher-misc (make sure your X sees it afterwards) and checking if it then works?
Comment 2 Kazuo Teramoto 2006-03-26 12:22:47 UTC
(In reply to comment #1)
> > const char tiny_font_name[] =
> >            "-schumacher-*-medium-r-normal-*-*-80-*-*-*-*-*";
> > [...]
> >     playarea->font = gdk_font_load (tiny_font_name);
> 
> Assuming you're using modular X, would you try installing
> media-fonts/font-schumacher-misc (make sure your X sees it afterwards) and
> checking if it then works?
> 

Thanks, this solve the problem.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2006-03-26 12:38:37 UTC
That's good to know, but this bug isn't actually fixed yet :) Games team, would you please add || ( media-fonts/font-schumacher-misc virtual/x11 ) to the ebuild's RDEPEND?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2006-03-26 14:56:16 UTC
Yep, it's in CVS.  Thanks for the bug report.