Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263854 - games-puzzle/monsterz crashes on start (pygame.error: blit lock)
Summary: games-puzzle/monsterz crashes on start (pygame.error: blit lock)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://sam.zoy.org/monsterz/msg00024....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 11:07 UTC by quazgar
Modified: 2009-05-23 20:25 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 quazgar 2009-03-26 11:07:15 UTC
Starting monsterz with pygame-1.8.1 results in a crash, as noted in the following upstream reports:
http://sam.zoy.org/monsterz/msg00024.html
http://sam.zoy.org/monsterz/msg00092.html

According to http://sam.zoy.org/monsterz/msg00093.html, Fedora seems to host a patch to solve this issue at http://cvs.fedoraproject.org/viewvc/devel/monsterz/monsterz-0.7.1-blit-crash.patch?revision=1.1&view=markup

I suggest this patch should be applied by the gentoo ebuilds as well.

Reproducible: Always

Steps to Reproduce:
1. Start monsterz from the console.

Actual Results:  
$ monsterz
Traceback (most recent call last):
  File "/usr/games/bin/monsterz", line 1998, in <module>
    main()
  File "/usr/games/bin/monsterz", line 1993, in main
    monsterz.go()
  File "/usr/games/bin/monsterz", line 1271, in go
    iterator()
  File "/usr/games/bin/monsterz", line 1381, in iterate_menu
    self.copyright_draw()
  File "/usr/games/bin/monsterz", line 1300, in copyright_draw
    system.blit(scroll, (13, 437))
  File "/usr/games/bin/monsterz", line 403, in blit
    self.background.blit(surf, coords)
pygame.error: Surfaces must not be locked during blit


Expected Results:  
Monsterz should start as it did previously.
Comment 1 quazgar 2009-03-26 11:07:42 UTC
$ emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2300-with-glibc2.2.5
Timestamp of tree: Wed, 25 Mar 2009 17:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.3.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/ shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d  /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://213.186.33.37/gentoo-distfiles/ ftp://212.219.56.139/sites/www.ibiblio.org/ gentoo/ ftp://213.186.33.37/gentoo-distfiles/ http://212.219.56.135/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude= /distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo calendar caps cddb cdr cli cracklib  crypt cups dbus dga directfb djvu dri dv dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb  fortran ftp gcj gd gdbm gif gimp glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick isdnlog java javascript jikes joyst ick jpeg jpeg2k kde kdeprefix kdexdeltas kpathsea lame lcms ldap leim libcaca libnotify libwww lm_sensors mad maildir mbox mcal memlimit midi  mikmod mime mmx mng mp3 mp4 mpeg msn mudflap multilib ncurses neXt networking nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp osca r pam pango pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile sockets so und sox speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex theora threads tiff timidity truetype unicode usb v4l vcd video s vorbis webkit wma wmf x264 xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS=" adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate  route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_ default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter fi le_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir  usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd447 80 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 quazgar 2009-03-26 15:07:21 UTC
Hmm, shouldn't the severity stay rather high, while the priority is lowered?  The application is totally unusable (high severity), while the world won't come to an end without a fix (low priority).
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-03-26 16:55:15 UTC
Works fine with dev-python/pygame-1.7.1 so downgrading pygame is the work around until it's fixed.
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2009-05-23 20:25:28 UTC
Fixed, thanks.