Il giorno 03/mar/2012, alle ore 12:19, Charles ha scritto:

> Hi,
> 
> I have just compiled uwsgi and its php plugin from git source with PHP
> 5.4 (I need to replace function_entry with zend_function_entry to make
> it compile successfully), and then I tried to run a simple script
> showing phpinfo().
> The info page was being displayed (got Server API = uWSGI/php
> displayed in the page) but uwsgi got segmentation fault. Here are the
> log lines
> 
> !!! uWSGI process 21330 got Segmentation Fault !!!
> *** backtrace of 21330 ***
> /opt/uwsgi/bin/uwsgi(uwsgi_backtrace+0x28) [0x8078778]
> /opt/uwsgi/bin/uwsgi(uwsgi_segfault+0x2a) [0x807886a]
> [0xb7778400]
> /opt/uwsgi/plugins/php_plugin.so(uwsgi_php_after_request+0x1b) [0xb7772a5b]
> /opt/uwsgi/bin/uwsgi(uwsgi_close_request+0x136) [0x80572f6]
> /opt/uwsgi/bin/uwsgi(simple_loop+0x155) [0x8073cd5]
> /opt/uwsgi/bin/uwsgi(uwsgi_ignition+0x16a) [0x8078caa]
> /opt/uwsgi/bin/uwsgi(uwsgi_start+0x2899) [0x807be29]
> /opt/uwsgi/bin/uwsgi(main+0x1008) [0x8056388]
> /lib/libc.so.6(__libc_start_main+0xf3) [0xb7383483]
> /opt/uwsgi/bin/uwsgi() [0x8056461]
> *** end of backtrace ***
> 
> 

Be sure to run a make clean, before building the core and the plugin:

make clean
make
python uwsgiconfig.py --plugin plugins/php

in latest tip, function_entry has been renamed to zend_function_entry

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to