bug in linux:wait ?

View: New views
8 Messages — Rating Filter:   Alert me  

Parent Message unknown bug in linux:wait ?

by Francois-Rene Rideau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

While trying to port POIU and XCVB to clisp, I had the following error:

ASDF[7]> (linux:wait :pid 34 :nohang t)

*** - FFI::FOREIGN-CALL-OUT: Too many arguments (4 instead of at most
0) given to
     #<FOREIGN-FUNCTION "wait" #x00007F62D9224FF0>
The following restarts are available:
ABORT          :R1      Abort main loop
Break 1 ASDF[8]> (lisp-implementation-version)
"2.48 (2009-07-28) (built 3460956810) (memory 3463503583)"

It looks like you may be calling the wrong FFI function, wait instead
of waitid or some such.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
The Constitution may not be perfect, but it's a lot better than what we've got!

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Sam Steingold :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Faré wrote:

> While trying to port POIU and XCVB to clisp, I had the following error:
>
> ASDF[7]> (linux:wait :pid 34 :nohang t)
>
> *** - FFI::FOREIGN-CALL-OUT: Too many arguments (4 instead of at most
> 0) given to
>      #<FOREIGN-FUNCTION "wait" #x00007F62D9224FF0>
> The following restarts are available:
> ABORT          :R1      Abort main loop
> Break 1 ASDF[8]> (lisp-implementation-version)
> "2.48 (2009-07-28) (built 3460956810) (memory 3463503583)"
>
> It looks like you may be calling the wrong FFI function, wait instead
> of waitid or some such.

I think you are confusing linux:wait and posix:wait.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Francois-Rene Rideau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/26 Sam Steingold <sds@...>:
> I think you are confusing linux:wait and posix:wait.
Doh!

Thanks a lot for your help.
I am pleased to announce that POIU now passes its test with CLISP.

(Sorry for late reaction, apparently, I don't use clisp-devel enough
and gmail has demoted it to a menu I apparently don't check very often.)

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
It is deplorable that many people think that the best way to improve the world
is to forbid something. However, they're morally more advanced than the people
who think the best way to improve the world is to kill somebody.
        -- John McCarthy

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Sam Steingold :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Faré wrote:
> 2009/10/26 Sam Steingold <sds@...>:
>> I think you are confusing linux:wait and posix:wait.
> Doh!
>
> Thanks a lot for your help.

welcome.

> I am pleased to announce that POIU now passes its test with CLISP.

Good!
I want to link to POIU from http://clisp.cons.org/resources.html, but the only
link I found is http://www.cliki.net/poiu (and it does not mention CLISP support!).
what is POIU's home page?

> (Sorry for late reaction, apparently, I don't use clisp-devel enough
> and gmail has demoted it to a menu I apparently don't check very often.)

yes, this "submenu" sucks.
I complained to gmail, telling them that any label with unread mail should be
in the main list.
Did you complain too?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Stelian Ionescu-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-11-05 at 10:44 -0500, Sam Steingold wrote:

> Faré wrote:
> > 2009/10/26 Sam Steingold <sds@...>:
> >> I think you are confusing linux:wait and posix:wait.
> > Doh!
> >
> > Thanks a lot for your help.
>
> welcome.
>
> > I am pleased to announce that POIU now passes its test with CLISP.
>
> Good!
> I want to link to POIU from http://clisp.cons.org/resources.html, but the only
> link I found is http://www.cliki.net/poiu (and it does not mention CLISP support!).
> what is POIU's home page?

http://common-lisp.net/project/qitab/

--
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Sam Steingold :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stelian Ionescu wrote:
>>
>>> I am pleased to announce that POIU now passes its test with CLISP.
>> Good!
>> I want to link to POIU from http://clisp.cons.org/resources.html, but the only
>> link I found is http://www.cliki.net/poiu (and it does not mention CLISP support!).
>> what is POIU's home page?
>
> http://common-lisp.net/project/qitab/
>

it does not say that POIU supports CLISP there.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Francois-Rene Rideau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Sam,

> I want to link to POIU from http://clisp.cons.org/resources.html, but the
> only link I found is http://www.cliki.net/poiu (and it does not mention
> CLISP support!).
> what is POIU's home page?

POIU doesn't currently have any page, beside
  http://www.cliki.net/poiu
  http://common-lisp.net/project/qitab

> I complained to gmail, telling them that any label with unread mail should
> be in the main list.
> Did you complain too?
Where is the suggestion box?

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
A competent and self-confident person is incapable of jealousy in anything.
Jealousy is invariably a symptom of neurotic insecurity.
        -- Robert Heinlein, "Time Enough For Love"

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list

Re: bug in linux:wait ?

by Sam Steingold :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Faré wrote:
> Dear Sam,
>
>> I want to link to POIU from http://clisp.cons.org/resources.html, but the
>> only link I found is http://www.cliki.net/poiu (and it does not mention
>> CLISP support!).
>> what is POIU's home page?
>
> POIU doesn't currently have any page, beside
>   http://www.cliki.net/poiu

thanks.

>   http://common-lisp.net/project/qitab

this does not say that clisp is supported.

>> I complained to gmail, telling them that any label with unread mail should
>> be in the main list.
>> Did you complain too?
> Where is the suggestion box?

help --> "Suggest a Feature"

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
clisp-list mailing list
clisp-list@...
https://lists.sourceforge.net/lists/listinfo/clisp-list