Re: How to simple exit in CGI?

Pascal Bourguignon <[email protected]> Wed, 29 Mar 2017 00:57:00 +0200
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
> On 29 Mar 2017, at 00:42, Jean Louis <[email protected]> wrote:
> 
> On Wed, Mar 29, 2017 at 12:32:11AM +0200, Pascal Bourguignon wrote:
>> 
>>> On 29 Mar 2017, at 00:21, Jean Louis <[email protected]> wrote:
>>> 
>>>>>       (command (format nil "lisp -i ~a -x "(saveinitmem "~a" :executable t :init-function 'main :quiet t :norc t)"" original executable)))
>>>> 
>>>> Here, you’re not using clisp, but CMU CL (lisp).
>>>> (Each character is important, with computers).
>>> 
>>> I don't know what you wish to say with that one. I am using CLISP at
>>> all times. CMU CL does not compile on 64 bit architectures
>> 
>> You have a typo, “lisp -i …” instead of “clisp -i …”.
> 
> Because I have either lisp image with quicklisp inside, named lisp, or
> symlink sometimes.

ok.

>>> *** - OS-ERROR(EFAULT): Bad address
>>> Break 1 [1]> 
>> 
>> You must have new code.
> 
> Nothing changed in your code. I just changed the directory where
> quicklisp is located, and did the make, it makes the jean.cgi, I copy
> it to test.cgi in ~/public_html and try to call it, it hangs for some
> time, until I see this screenshot, but now I did not get error code,
> just hanging longer time:
> https://rcdrun.com/files/tmp/2017-03-29-01:37:35.jpg <https://rcdrun.com/files/tmp/2017-03-29-01:37:35.jpg>

Then you have to debug it.
Have a look at http://www.cliki.net/TutorialClispDebugger <http://www.cliki.net/TutorialClispDebugger>
and try to find what function returned this error.


> I tried with few webservers. When you say that Apache is delivering
> 404, and recognizing no output, I will try with other servers
> too. Maybe that is the problem.


-- 
__Pascal J. Bourguignon__



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list