Date: Wed, 26 Mar 2008 11:59:18 GMT From: Henry Hu <henry.hu.sh@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/122113: fail to start frozen bubble on 7-STABLE and fix Message-ID: <200803261159.m2QBxIw3050118@www.freebsd.org> Resent-Message-ID: <200803261200.m2QC02DN082202@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122113 >Category: ports >Synopsis: fail to start frozen bubble on 7-STABLE and fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 26 12:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Henry Hu >Release: FreeBSD 7.0-STABLE >Organization: Tsinghua University >Environment: FreeBSD laptop 7.0-STABLE FreeBSD 7.0-STABLE #35: Sun Mar 8 23:19:21 CST 2009 root@laptop:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: After installing games/frozenbubble, I can't start it. It says that "Bad System Call". There's a fix in the pkg-message, but that's not suitable for FreeBSD 7. I found that the problem is the function sem_init in libc. I've written a very simple C program, just used sem_init, and it also says "Bad System Call". The last line of ktrace before SIGSYS said that "Function not implemented". It seems like that it's caused by syscall ksem_init, but I don't know more. But if I compile with -pthread, there's no problem at all. So I started frozen-bubble successedly with env LD_PRELOAD=/usr/lib/libpthread.so frozen-bubble So please add this into pkg-message. This workaround is in fact the same as the one in the pkg-message, but changed for FreeBSD 7. >How-To-Repeat: 1. Install frozenbubble on FreeBSD 7-STABLE 2. Start it >Fix: env LD_PRELOAD=/usr/lib/libpthread.so frozen-bubble >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803261159.m2QBxIw3050118>