> * Guido Berhoerster <[email protected]> [2013-03-10 14:27]: >> * Łukasz Mierzwa <[email protected]> >> [2013-03-10 12:56]: >> > [-- Attachment #1 --] >> > [-- Type: multipart/alternative, Encoding: 7bit, Size: 1.5K --] >> > >> > 2013/3/10 Guido Berhoerster >> <[email protected]> >> > >> >> Hmm, in contrast to your buildconf in the bugreport I have >> >> >> >> embedded_plugins = dummy >> >> >> > >> > I've missed that, but corerouter plugin is a little bit special, >> > (fast|raw|http)router plugins depend on it, so it might be >> > loaded automatically and then you try to load it be hand second time. >> >> I still get the same segfault when removing corerouter from the >> --plugins argument. >> >> When embedding corerouter, everything works fine but I get the >> following warnings: >> open("plugins/corerouter_plugin.so"): No such file or directory >> [core/utils.c line 3262] >> !!! UNABLE to load uWSGI plugin: plugins/corerouter_plugin.so: cannot >> open shared object file: No such file or directory !!! >> open("plugins/corerouter_plugin.so"): No such file or directory >> [core/utils.c line 3262] >> !!! UNABLE to load uWSGI plugin: plugins/corerouter_plugin.so: cannot >> open shared object file: No such file or directory !!! > > Actually even with embedded corerouter routing seems broken: > > $ ./uwsgi --plugins=0:notfound,http --http-socket=:8080 > --check-static=$PWD --route='.* break:403 Forbidden' > > $ curl -I http://127.0.0.1:8080/logo_uWSGI.png > HTTP/1.1 200 OK > Content-Type: image/png > Content-Length: 5971 > Last-Modified: Sun, 10 Mar 2013 10:52:54 GMT > > bit.it/cgi-bin/mailman/listinfo/uwsgi
this is fixed (previous version had static-check precedence over routing and was obviously wrong) Regarding the plugin problem, i suppose you have screwed up something loading plugin compiled for another version and so on. i suggest you to clear all of the *.so files and rebuild each one. The corerouter should be compiled modular if the router is modular too (it is not a need but the plugin loader is still not too much smart about auto-loading, so it should be the safest choice) -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
