<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>127621</bug_id>
          
          <creation_ts>2006-03-26 03:24 0000</creation_ts>
          <short_desc>mindless crash  (segfault) when a card is put on table</short_desc>
          <delta_ts>2006-03-26 14:56:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>2006.0</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kaz.rag@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>truedfx@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>kaz.rag@gmail.com</who>
            <bug_when>2006-03-26 03:24:04 0000</bug_when>
            <thetext>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-&gt;font-&gt;ascent + zone-&gt;font-&gt;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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-mtune=k8 -O2 -pipe -fomit-frame-pointer -msse3&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-mtune=k8 -O2 -pipe -fomit-frame-pointer -msse3&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://gentoo.inode.at/source/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ ftp://mirror.pacific.net.au/linux/Gentoo &quot;
LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
LINGUAS=&quot;en pt_BR fr de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/sci-gentoo&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-03-26 03:51:22 0000</bug_when>
            <thetext>&gt; const char tiny_font_name[] =
&gt;            &quot;-schumacher-*-medium-r-normal-*-*-80-*-*-*-*-*&quot;;
&gt; [...]
&gt;     playarea-&gt;font = gdk_font_load (tiny_font_name);

Assuming you&apos;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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kaz.rag@gmail.com</who>
            <bug_when>2006-03-26 12:22:47 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; &gt; const char tiny_font_name[] =
&gt; &gt;            &quot;-schumacher-*-medium-r-normal-*-*-80-*-*-*-*-*&quot;;
&gt; &gt; [...]
&gt; &gt;     playarea-&gt;font = gdk_font_load (tiny_font_name);
&gt; 
&gt; Assuming you&apos;re using modular X, would you try installing
&gt; media-fonts/font-schumacher-misc (make sure your X sees it afterwards) and
&gt; checking if it then works?
&gt; 

Thanks, this solve the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-03-26 12:38:37 0000</bug_when>
            <thetext>That&apos;s good to know, but this bug isn&apos;t actually fixed yet :) Games team, would you please add || ( media-fonts/font-schumacher-misc virtual/x11 ) to the ebuild&apos;s RDEPEND?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2006-03-26 14:56:16 0000</bug_when>
            <thetext>Yep, it&apos;s in CVS.  Thanks for the bug report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>