> > If your system is already able to generate core files, you should be able > to trigger it with SIGSEGV > > By the way, i suggest you to rebuild uWSGI with debug symbols, otherwise > gdb sessions could be tricky >
I found the issue: turns out that the problem was that my uWSGI uses setuid() to change its UID, which makes it undumpable by default in recent Linux Kernels. I suggest you consider using prctl(PR_SET_DUMPABLE) after using setuid(), maybe as a configuration option. See also: PR_SET_DUMPABLE in http://kernel.org/doc/man-pages/online/pages/man2/prctl.2.html /proc/sys/fs/suid_dumpable in http://kernel.org/doc/man-pages/online/pages/man5/proc.5.html Thanks, - Yaniv
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
