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. Fix: env LD_PRELOAD=/usr/lib/libpthread.so frozen-bubble How-To-Repeat: 1. Install frozenbubble on FreeBSD 7-STABLE 2. Start it
Responsible Changed From-To: freebsd-ports-bugs->lippe I'll take it.
Hi Submitter, If you set LD_PRELOAD="/usr/lib/libpthread.so frozen-bubble", you probably will works too, sure ? Please, if it works to you, I think that I can add instructions to user always add this configs when install this port. What do you think ? -- lippe@FreeBSD.org Felippe de Meirelles Motta
State Changed From-To: open->feedback Ask for submitter fix.
Hi lippe, Yes, env LD_PRELOAD=/usr/lib/libpthread.so frozen-bubble works. Please change pkg-message to include this, or change something else (for example, a wrapper) to make it automatic. In fact, I think that this is a problem with the compiling flags, that frozenbubble should be compiled with -pthread. That should be a better fix. Cheers, Henry
edwin 2008-05-24 06:04:24 UTC FreeBSD ports repository Modified files: games/frozenbubble pkg-message Log: Add information about a pre-load with FreeBSD version greater than 7. PR: ports/122113 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Approved by: maintainer timeout Revision Changes Path 1.2 +4 -0 ports/games/frozenbubble/pkg-message _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
> In fact, I think that this is a problem with the compiling flags, that > frozenbubble should be compiled with -pthread. That should be a better fix. If you can tell me how to compile it with -pthread or wich file has to be changed, then I can include it. Right now I'm happily confused about the what or where or how. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/
Hi >> In fact, I think that this is a problem with the compiling flags, that >> frozenbubble should be compiled with -pthread. That should be a better fix. >If you can tell me how to compile it with -pthread or wich file has >to be changed, then I can include it. Right now I'm happily confused >about the what or where or how. See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120983 In short, this is problem with perl-sdl and threaded perl. -- Adios
State Changed From-To: feedback->open Feedback has received.
State Changed From-To: open->closed Fix was described in the pkg-message output. Thanks!