Thanks!!!
On 7-Dec-09, at 3:15 PM, Slaven Rezic <sla...@rezic.de> wrote:
Kartik Thakore <thakore.kar...@gmail.com> writes:
HI srezic,
We have been working hard for FreeBSD + SDL Perl. Can you give this
tarball a shot?
http://github.com/kthakore/SDL_perl/tarball/8f744c98e5453129862d2505d53fc4ef0a480398
Still no success with SDL-2.3_2. And I did some research and it looks
like you cannot do much about it.
Still core dumps are produced because of a "bad system call" error:
Program terminated with signal 12, Bad system call.
...
#0 0x000000001fed72ac in ksem_init () from /lib/libc.so.7
#1 0x000000001fecd8af in sem_init () from /lib/libc.so.7
#2 0x000000002047504e in SDL_CreateSemaphore () from /usr/local/lib/
libSDL-1.2.so.11
#3 0x0000000020439732 in SDL_CreateThread () from /usr/local/lib/
libSDL-1.2.so.11
#4 0x00000000204313bc in SDL_OpenAudio () from /usr/local/lib/
libSDL-1.2.so.11
#5 0x00000000232056bc in XS_SDL__Audio_open () from /mnt/i386/var/
tmp/CPAN-build/SDL-2.3_2-4IKDAL/blib/arch/auto/SDL/Audio/Audio.so
#6 0x000000000047e38f in Perl_pp_entersub ()
#7 0x000000000047cade in Perl_runops_standard ()
#8 0x000000000042e37a in perl_run ()
#9 0x000000000041c314 in main ()
Here's a thread which shows a similar problem:
http://lists.freebsd.org/pipermail/freebsd-threads/2009-August/004587.html
The suggestion is too recompile the FreeBSD kernel with the following
turned on:
options P1003_1B_SEMAPHORES
Here's another thread about the issue:
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-02/msg00385.html
Maybe the issue was already solved in the latest stable FreeBSD
release
(7.2). I am still at 7.0 and won't upgrade for the next time and don't
have plans to recompile my kernel.
So I can still continue smoking SDL without any chance for success,
or I
can put SDL into my skip list until I upgrade to the next FreeBSD
version. Whatever you prefer.
I have uploaded sdl 2.3_3 which skips these tests unless SDL_BSD_TEST
is turned on for manual testing. Please continue smoke testing as it
will help us catch othe freebsd bugs or gripes
Regards,
Slaven
thank you,
Kartik Thakore
--
Slaven Rezic - slaven <at> rezic <dot> de
tkruler - Perl/Tk program for measuring screen distances
http://ptktools.sourceforge.net/#tkruler