I wondered why my web site wasn't working today - on a hunch I checked the newLISP version number, and they've installed 9.2.0 (over the weekend perhaps) upgrading from 9.1.8. While newLISP itself appears to be working OK, my index.cgi file crashes with a segmentation fault 11...
I'd be grateful for any tips or suggestions as to what to look for? Was there something that was in 9.2 but not 9.1 that coul cause a segfault..?
FreeBSD 9.2.0 - segmentation fault 11
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
I went through the changes notes, but could not find anything relevant. The best is to put 'println' statements into your script, the output will show up in the browser. The first should be a:
then let the script exit.
This way you can find out where in the script the problem is and isolate the part. Perhaps they also did an update of the Sqlite database and there is a problem importing functions?
Worse case ask them to additionally install the old newlisp as newlisp91, then change the first line in your script accordingly. Having both versions installed makes debugging perhaps easier.
Lutz
Code: Select all
(print "Content-type: text/html\r\n\r\n")
(println "I am getting to here<br>")
(exit)
This way you can find out where in the script the problem is and isolate the part. Perhaps they also did an update of the Sqlite database and there is a problem importing functions?
Worse case ask them to additionally install the old newlisp as newlisp91, then change the first line in your script accordingly. Having both versions installed makes debugging perhaps easier.
Lutz
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact: