SDL, perl and frozen-bubble: core dumped

Boris Samorodov bsam at
Fri Mar 11 10:38:21 UTC 2011

Hi List,

I've got a core dump at clang compiled current. The game is starting,
playing the music and coredumps right after displaying the menu:
% uname -a
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #21 r219456: Fri Mar 11 00:09:34 MSK 2011     bsam at  i386

% LD_PRELOAD=/usr/lib/ frozen-bubble
        [[ Frozen-Bubble-2.2.0 ]]

  Copyright (c) 2000-2008 The Frozen-Bubble Team.
    Artwork: Alexis Younes
             Amaury Amblard-Ladurantie
    Soundtrack: Matthias Le Bidan
    Design & Programming: Guillaume Cottenceau
    Level Editor: Kim and David Joham
    Additional network programming: Mark Glines

  Originally sponsored by Mandriva <>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.

[SDL Init] Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/site_perl/5.10.1/mach/SDL/ line 72.
[Graphics..........] [Sound Init] Ready.
zsh: segmentation fault (core dumped)  LD_PRELOAD=/usr/lib/ frozen-bubble

GDB shows:
#0  0x33db8be6 in Perl_safesysfree (where=0x40) at util.c:242
242     util.c: No such file or directory.
        in util.c
[New Thread 34404300 (LWP 101109/initial thread)]
(gdb) bt
#0  0x33db8be6 in Perl_safesysfree (where=0x40) at util.c:242
#1  0x343b2ac3 in XS_SDL_UpdateRects () from /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/SDL_perl/
#2  0x33e10be8 in Perl_pp_entersub (my_perl=0x3440f600) at pp_hot.c:2888
#3  0x33db7bb8 in Perl_runops_debug (my_perl=0x3440f600) at dump.c:1968
#4  0x33d00db9 in S_run_body (my_perl=0x3440f600, oldscope=1) at perl.c:2431
#5  0x33d001ca in perl_run (my_perl=0x3440f600) at perl.c:2349
#6  0x080489fc in main (argc=2, argv=0x82bfe6f0, env=0x82bfe6fc) at perlmain.c:117

Any help is appreciated, thanks.

WBR, Boris Samorodov (bsam)
Research Engineer, Telephone & Internet SP
FreeBSD Committer, The Power To Serve

More information about the freebsd-ports mailing list