Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 11:12:38 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Alex Kozlov <spam@rm-rf.kiev.ua>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: SDL, perl and frozen-bubble: core dumped
Message-ID:  <48043817@h30.sp.ipt.ru>
In-Reply-To: <20110312044351.GA14675@ravenloft.kiev.ua> (Alex Kozlov's message of "Sat, 12 Mar 2011 06:43:51 %2B0200")
References:  <20110312044351.GA14675@ravenloft.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
%
-----

-- 
WBR, bsam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48043817>