Il giorno 14/feb/2012, alle ore 16:08, Łukasz Mierzwa ha scritto:

> I'm trying to change my uWSGI debs to modular build instead of embedding all 
> the plugins into main uWSGI binary, and after recompiling latest tip I have 
> problem loading carbon plugin:
> 
> # uwsgi --plugins-dir /usr/lib/uwsgi/plugins --plugins carbon
> !!! uWSGI process 27132 got Segmentation Fault !!!
> *** backtrace of 27132 ***
> uwsgi(uwsgi_backtrace+0x25) [0x42dee5]
> uwsgi(uwsgi_segfault+0x21) [0x42df71]
> /lib/libc.so.6(+0x33af0) [0x7f56cc7d7af0]
> /lib/libc.so.6(+0x12d5f6) [0x7f56cc8d15f6]
> uwsgi(uwsgi_load_plugin+0x1b1) [0x422461]
> uwsgi(uwsgi_opt_load_plugin+0x37) [0x42b297]
> uwsgi(add_exported_option+0x293) [0x411b63]
> uwsgi(main+0x5f3) [0x42f913]
> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f56cc7c2c4d]
> uwsgi() [0x40c009]
> *** end of backtrace ***
> 
> After disabling carbon my app (django) starts and works ok, so this issue is 
> only affecting this one plugin. Full strace output attached.
> 

the carbon plugin missed the .name attributes.

i have added it and added a check for .name availability in plugins.c

--
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