From: Gustaf N. <ne...@wu...> - 2023-08-12 10:55:25
|
On 11.08.23 20:15, Brian Fenton wrote: > Hi Gustaf > > thanks for the response. I've been looking at this in more detail this > afternoon and it does appear to be caused by something in the > interaction of our OpenACS application with 4.99.27. As I previously > mentioned, it has been running fine on 4.99.24 on the same Ubuntu > version. I realise that I may not have been clear on this point on my > previous email: this is Naviserver running on Ubuntu in a Docker > container. The version of Naviserver is based on this Docker build > https://github.com/oupfiz5/naviserver-s6 > <https://github.com/oupfiz5/naviserver-s6> which I have forked and > updated to 4.99.27 (I may well have missed something in updating NS > version - maybe I should have waited until oupfiz updates his build). > > * I can confirm that nsd-config.tcl runs fine with 4.99.27 > * Some good news: I am able to do an OpenACS clean install on Oracle > with 4.99.27. I then successfully installed our application using > the APM. > did you run at this state any Oracle queries? did you recompile in the "clean install" also the oracle driver? > > * However, once I restart Naviserver the problems start. > * I tried using the openacs-config.tcl that ships with 4.99.27 and > the problems are happening with that too. > you mean the crash happens in the plain openacs-config.tcl, with no additional drivers etc, no oracle involved? this can get us closer to something i might be able to reproduce. My request in the last mail was to try to reproduce the problem with nsd-config.tcl (i.e. no OpenACS involved). If you can reproduce the crash, you should compile with debugging turned on and run nsd under gdb or lldb. First one should get he most simple case causing the crash. > What is odd is that it seems to be able to handle one request before > crashing. Eg. I type in the URL, it shows the /register page but then > crashes. After restarting, I enter my login details on the register > page, press return. It then crashes. After restarting, it successfully > logs me, then crashes again. the memory errors or normally hinting on some buffer overflow, or a mixture between 32bit and 64bit compilation, etc. > > There is no clear pattern in the logs. I thought it might be related > to OCSP and disabled that, but the problems continued to occur. if you suspect nsssl, then one potential problem might be a mixture during of different OpenSSL versions during compilation (when using install_ns.sh, this will not happen). > Turning on debug hasn't helped - but maybe there is so much > information in the log that I have missed something important. > > What drivers are you referring to in your question? actually all naviserver modules you are using, including the db drivers (since you mentioned nsoracle, which is not part of the regular regression tests). To be on the safe side, all /usr/local/ns/bin/*.so files should be newly compiled. all the best -gn > > thanks > Brian > > ------------------------------------------------------------------------ > *From:* Gustaf Neumann <ne...@wu...> > *Sent:* Thursday 10 August 2023 7:27 pm > *To:* nav...@li... > <nav...@li...> > *Subject:* Re: [naviserver-devel] Crashing on all versions >4.99.24 on > Ubuntu > > Hi Brian, > > > The new NaviServer versions are running fine on Ubuntu 22.04. Have you > recompiled the drivers you are using with the updated version? > > > A good test for the NaviServer binary is to test it with one of the > packaged configuration files, e.g. nsd-config.tcl. > > > all the best > > -gn > > > On 10.08.23 18:23, Brian Fenton wrote: >> Hello >> >> we have been testing out our OpenACS application on Ubuntu 22.04.2 >> LTS (previously we only ran on Windows). It was working great with >> Naviserver 4.99.24 but I have been getting constant crashes on more >> recent versions. >> >> I get this error on 4.99.25, 4.99.26 and today I also got it on >> 4.99.27. The server runs fine until I click on a page, then it >> immediately crashes. >> The log has only the following error: >> free(): invalid size >> >> and today I got this one: >> [10/Aug/2023:15:02:23][303.7fa3a64ee640][-conn:openacs:default:1:119-] >> Fatal: received fatal signal 11 >> >> We have an Oracle application and are using the latest nsoracle >> driver, which might be a factor here. >> We have been running it with a pretty old OpenACS config file, so I >> am currently looking to merge in all the latest changes to ensure >> that is not an issue. >> Also note that I am running Naviserver on Docker on Windows, but as >> mentioned it was running great on 4.99.24. >> >> thanks for any help >> Brian >> > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economics and Business Program Director of MSc "Information Systems" |