Hi! We are using Ubuntu Server 10.04 with latest updates and it's 
apache+mod_wsgi. And recently it sometimes started to raise segmentation 
fault's. So we managed to connect to process with gdb and see stack trace on 
error:

[Switching to Thread 0x7f748f10c700 (LWP 28215)]
0x00007f74941a8b8a in ap_add_common_vars (r=0x7f747c1218a8) at 
/build/buildd/apache2-2.2.14/server/util_script.c:242
242     /build/buildd/apache2-2.2.14/server/util_script.c: No such file or 
directory.
        in /build/buildd/apache2-2.2.14/server/util_script.c
(gdb) bt
#0  0x00007f74941a8b8a in ap_add_common_vars (r=0x7f747c1218a8) at 
/build/buildd/apache2-2.2.14/server/util_script.c:242
#1  0x00007f7491462ec6 in wsgi_build_environment () from 
/usr/lib/apache2/modules/mod_wsgi.so
#2  0x00007f7491464861 in wsgi_hook_handler () from 
/usr/lib/apache2/modules/mod_wsgi.so
#3  0x00007f74941a2380 in ap_run_handler (r=0x7f747c1218a8) at 
/build/buildd/apache2-2.2.14/server/config.c:159
#4  0x00007f74941a5ce8 in ap_invoke_handler (r=0x7f747c1218a8) at 
/build/buildd/apache2-2.2.14/server/config.c:373
#5  0x00007f74941b35e8 in ap_process_request (r=0x7f747c1218a8) at 
/build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#6  0x00007f74941b0498 in ap_process_http_connection (c=0x7f7494f49360) at 
/build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#7  0x00007f74941a9f38 in ap_run_process_connection (c=0x7f7494f49360) at 
/build/buildd/apache2-2.2.14/server/connection.c:43
#8  0x00007f74941b8e82 in process_socket (thd=<value optimized out>, 
dummy=<value optimized out>) at 
/build/buildd/apache2-2.2.14/server/mpm/worker/worker.c:544
#9  worker_thread (thd=<value optimized out>, dummy=<value optimized out>) 
at /build/buildd/apache2-2.2.14/server/mpm/worker/worker.c:894
#10 0x00007f74938deeb3 in ?? () from /usr/lib/libapr-1.so.0
#11 0x00007f749369e9ca in start_thread () from /lib/libpthread.so.0
#12 0x00007f74933fb70d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

What can it be? Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/modwsgi/-/f3NWDcWo1YYJ.
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/modwsgi?hl=en.

Reply via email to