Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2011 13:06:35 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-ports@FreeBSD.org
Subject:   SDL, perl and frozen-bubble: core dumped
Message-ID:  <73021956@bb.ipt.ru>

next in thread | raw e-mail | index | archive | help
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 bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #21 r219456: Fri Mar 11 00:09:34 MSK 2011     bsam@bb.ipt.ru:/usr/obj/usr/src/sys/BB  i386

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

  http://www.frozen-bubble.org/

  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 <http://www.mandriva.com/>;

  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/Cursor.pm line 72.
[Graphics..........] [Sound Init] Ready.
zsh: segmentation fault (core dumped)  LD_PRELOAD=/usr/lib/libpthread.so 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/SDL_perl.so
#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
(gdb)
-----

Any help is appreciated, thanks.

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



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