From owner-freebsd-ports@FreeBSD.ORG Fri Mar 11 10:38:21 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 B8B3E106566C for ; Fri, 11 Mar 2011 10:38:21 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 75DD68FC1B for ; Fri, 11 Mar 2011 10:38:21 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtps (TLSv1:AES128-SHA:128) (Exim 4.54 (FreeBSD)) id 1PxzEy-0000mp-8d for freebsd-ports@FreeBSD.org; Fri, 11 Mar 2011 13:06:36 +0300 From: Boris Samorodov To: freebsd-ports@FreeBSD.org Date: Fri, 11 Mar 2011 13:06:35 +0300 Message-ID: <73021956@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: 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: Fri, 11 Mar 2011 10:38:21 -0000 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 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