i guess this is no bug but maybe your libmod_spidermonkey.so (dynamically linked from aped) is another version than your aped build. if not, try "valgrind aped" and look where the problem appears.
On Jan 1, 5:41 pm, cedric <[email protected]> wrote: > I got a very strange C bug "Segmentation fault" when trying to install > APE on a server. > > 1st try : I installed APE on a redhat server 32 bits from package rpm. > All good and works correctly. > 2nd try : installed APE on a debian server 32 bits compiling from > sources with build.sh. > When I launch APE server, it seems to work at first, but as soon as a > CMD CONNECT is sent from the client to the server, then the server > crashes with error "Segmentation fault". > 3rd try : re-installed APE on that server from deb package. Got > exactly same issue than 2nd try. > 4th try : I edited Makefile to add -g option : "CFLAGS = -Wall -g -O2 - > minline-all-stringops -rdynamic -I ./deps/udns-0.0.9/" and then make. > And there it suddenly works well, I don't know why, no more crash. > When running, I can also see the lines "[JS] Loading script /var/ > ape/...." contrary to 2nd and 3rd tries where it stopped at line > "[Module] [spidermonkey] Loading module : Javascript embeded (0.01) - > Anthony Catel". -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
