SDL, perl and frozen-bubble: core dumped

Boris Samorodov bsam at ipt.ru
Fri Mar 11 14:02:16 UTC 2011


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:
-----
% make -C /usr/ports/devel/p5-SDL -V PKGVERSION
2.2.6_1

% pkg_info -I p5-SDL-2.2.6_1
-----

> 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.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list