From owner-freebsd-ports@FreeBSD.ORG Sat Mar 12 10:05:32 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15FCB1065670 for ; Sat, 12 Mar 2011 10:05:32 +0000 (UTC) (envelope-from alexkozlov0@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5998FC0C for ; Sat, 12 Mar 2011 10:05:31 +0000 (UTC) Received: by fxm11 with SMTP id 11so2002002fxm.13 for ; Sat, 12 Mar 2011 02:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :mime-version:content-type:content-disposition; bh=agxDHy/MB1N3vX3P/akWo+1YkXL5xIKGNjGAQo0SBG0=; b=jlBNA4sQ1Ql2jN4WMn86gNciXUyY66LMZ/vsDp8YkcgEy/2YoFeK1EIn+qjADSbkwg SCVi93SPPwwctoGxKQRg+uvV2sFtOcXgONpO4FCPj+OERYHqBa1RQVdOYglfmgye+cGO N7C6hUVSHp80da0CpM+NUNVCGuRVuccD1l/P4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=mmMwPvMs2n9kuroog/cOk3YO4jcmmkcDMdGLjjpQaKRY+YI1OrIuIzTchKp5I3rouS uszrCwCGCW6AF7OtvC5yWqgWD5Gmdtmv3vvyT1l4OpPg9UHcvyUMGevkaWnlZ6Ddw1Te 6nT5lSwDdwL5JC2x+MES3vOVTrfAUWWn6wlfY= Received: by 10.223.122.196 with SMTP id m4mr1819017far.30.1299924330540; Sat, 12 Mar 2011 02:05:30 -0800 (PST) Received: from ravenloft.kiev.ua (ravenloft.kiev.ua [94.244.131.95]) by mx.google.com with ESMTPS id n3sm2253994fax.31.2011.03.12.02.05.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Mar 2011 02:05:29 -0800 (PST) Sender: Alex Kozlov Date: Sat, 12 Mar 2011 12:05:26 +0200 From: Alex Kozlov To: Boris Samorodov , freebsd-ports@FreeBSD.org, spam@rm-rf.kiev.ua Message-ID: <20110312100526.GA31424@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: Re: SDL, perl and frozen-bubble: core dumped X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 10:05:32 -0000 On Sat, Mar 12, 2011 at 11:12:38AM +0300, Boris Samorodov wrote: > On Sat, 12 Mar 2011 06:43:51 +0200 Alex Kozlov wrote: >> On Fri, Mar 11, 2011 at 05:02:14PM +0300, Boris Samorodov wrote: > >> On Fri, 11 Mar 2011 14:33:00 +0200 Alex Kozlov wrote: > >>> On Fri, Mar 11, 2011 at 02:34:44PM +0300, Boris Samorodov wrote: > > >>> On Fri, 11 Mar 2011 12:44:12 +0200 Alex Kozlov wrote: > > >>>> On Fri, Mar 11, 2011 at 01:06:35PM +0300, Boris Samorodov wrote: > > > >>>> I've got a core dump at clang compiled current. The game is starting, > > > >>>> playing the music and coredumps right after displaying the menu: > > >>>> Please show perl -V | grep -- -Dusethreads=y && echo threaded > > >>> > > >>> Here it is: > > >>> ----- > > >>> % perl -V | grep -- -Dusethreads=y && echo threaded > > >>> config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.10.1/mach > > >>> -Dprivlib=/usr/local/lib/perl5/5.10.1 -Dman3dir=/usr/local/lib/perl5/5.10.1/perl/man/man3 > > >>> -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.10.1/mach > > >>> -Dsitelib=/usr/local/lib/perl5/site_perl/5.10.1 -Dscriptdir=/usr/local/bin > > >>> -Dsiteman3dir=/usr/local/lib/perl5/5.10.1/man/man3 -Dsiteman1dir=/usr/local/man/man1 > > >>> -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none > > >>> -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.10.1/BSDPAN" -Doptimize=-g -DDEBUGGING > > >>> -Ud_dosuid -Ui_gdbm -Dusethreads=y -Dusemymalloc=n -Duse64bitint' > > >>> threaded > >>> Interesting. I have a perl 5.8.9, similiar config_args except for -Dusemymalloc=y and > >>> without -Doptimize=-g, -DDEBUGGING. Fresh current, i386, compiled with gcc. > >>> frozen-bubble run ok. > >>> Do You run latest perl-sdl 2.2.6? > >> Yes: > >>> Did You rebuild it after upgrade to 5.10.1 perl version? > >> Yes. > >>> Is game also crash without LD_PRELOAD=/usr/lib/libpthread.so? > >> Yes, just the same. >> I have upgraded perl to 5.10.1, but unfortunatelly could not run the game: >> Graphicsrotate_bicubic: orig surface must be 32bpp (bytes per pixel = 1) >> Perhaps because some time ago I have switched to ati and xf86-video-ati >> from nvidia blob. Sigh. >> Anyway, can You please downgrade perl-sdl to previous port version >> (but keep p5-YAML dependency) and see if this help? > > OK, I downgraded perl and p5 ports to 5.8.9 and p5-SDL to 2.2.0. > The result is: > ----- > % frozen-bubble > Bareword "SDL_SRCALPHA" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.8.9/mach/FBLE.pm line 130. > Compilation failed in require at /usr/local/bin/frozen-bubble line 69. > BEGIN failed--compilation aborted at /usr/local/bin/frozen-bubble line 69. > % You can change SDL_SRCALPHA to 65536, but something broken here. perl-sdl 2.2.0 have SDL_SRCALPHA: $grep SDL_SRCALPHA -r * lib/SDL/Constants.pm: SDL_SRCALPHA lib/SDL/Constants.pm:sub SDL_SRCALPHA {65536} lib/SDL/Surface.pm: SDL_RLEACCEL SDL_SRCALPHA scripts/sdl_words.txt:SDL_SRCALPHA scripts/SDL/Constants.pm:sub main::SDL_SRCALPHA { 65536 } Btw, I found a similar problem report, without solution: http://www.gentooforum.de/artikel/18751/frozen-bubble-l-sst-sich-leider-nicht-starten.html?s=c1bbcc174d5946153f4febd405413dbc7c7a7c1d -- Adios