On Mon, 2010-06-28 at 10:51 -0500, Dan Connolly wrote: > I seem to be hitting the pyexpat issue... > > Anybody want to remind me of the fix or work-around? > Perhaps I can find it myself...
OK, so I found http://code.google.com/p/modwsgi/wiki/IssuesWithExpatLibrary and I re-built apache with --disable-expat. Now lsof shows no libexpat.so at all. But I'm still getting a SEGV in roughly the same place: dconno...@bmidev1:/usr/local/apache2> ps aux | grep http | head -3 root 24665 0.0 0.1 82316 6376 ? Ss 11:16 0:00 /usr/local/apache2/bin/httpd -k start daemon 24694 0.0 0.2 84348 8656 ? S 11:16 0:00 /usr/local/apache2/bin/httpd -k start daemon 24725 0.0 0.1 84348 7828 ? S 11:16 0:00 /usr/local/apache2/bin/httpd -k start dconno...@bmidev1:/usr/local/apache2> sudo lsof -p 82316 | grep expatdconno...@bmidev1:/usr/local/apache2> sudo apachectl stop dconno...@bmidev1:/usr/local/apache2> sudo gdb bin/httpd GNU gdb (GDB; SUSE Linux Enterprise 11) 6.8.50.20081120-cvs Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". For bug reporting instructions, please see: <http://bugs.opensuse.org/>... (gdb) run -X Starting program: /usr/local/apache2/bin/httpd -X [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff61f0590 in strlen () from /lib64/libc.so.6 (gdb) where #0 0x00007ffff61f0590 in strlen () from /lib64/libc.so.6 #1 0x00007ffff364ad80 in PyString_FromString () from /usr/lib64/libpython2.6.so.1.0 #2 0x00007ffff36a82d2 in PyModule_AddStringConstant () from /usr/lib64/libpython2.6.so.1.0 #3 0x00007ffff2298067 in initpyexpat () from /usr/lib64/python2.6/site-packages/_xmlplus/parsers/pyexpat.so #4 0x00007ffff36a540e in _PyImport_LoadDynamicModule () from /usr/lib64/libpython2.6.so.1.0 #5 0x00007ffff36a43da in ?? () from /usr/lib64/libpython2.6.so.1.0 #6 0x00007ffff36a4668 in ?? () from /usr/lib64/libpython2.6.so.1.0 #7 0x00007ffff36a490f in ?? () from /usr/lib64/libpython2.6.so.1.0 #8 0x00007ffff36a52bc in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.6.so.1.0 #9 0x00007ffff368a67d in ?? () from /usr/lib64/libpython2.6.so.1.0 #10 0x00007ffff3607ac9 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0 #11 0x00007ffff368b138 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.6.so.1.0 #12 0x00007ffff368d4d9 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0 ---Type <return> to continue, or q <return> to quit--- #13 0x00007ffff36926c0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0 #14 0x00007ffff368a822 in PyEval_EvalCode () from /usr/lib64/libpython2.6.so.1.0 #15 0x00007ffff36a147c in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.6.so.1.0 #16 0x00007ffff36a16af in ?? () from /usr/lib64/libpython2.6.so.1.0 #17 0x00007ffff36a43da in ?? () from /usr/lib64/libpython2.6.so.1.0 #18 0x00007ffff36a215a in ?? () from /usr/lib64/libpython2.6.so.1.0 #19 0x00007ffff36a4c0d in ?? () from /usr/lib64/libpython2.6.so.1.0 #20 0x00007ffff36a52bc in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.6.so.1.0 #21 0x00007ffff368a67d in ?? () from /usr/lib64/libpython2.6.so.1.0 #22 0x00007ffff3607ac9 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0 #23 0x00007ffff368b138 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.6.so.1.0 #24 0x00007ffff368d4d9 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0 #25 0x00007ffff36926c0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0 ---Type <return> to continue, or q <return> to quit--- #26 0x00007ffff368a822 in PyEval_EvalCode () from /usr/lib64/libpython2.6.so.1.0 #27 0x00007ffff36a147c in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.6.so.1.0 #28 0x00007ffff36a16af in ?? () from /usr/lib64/libpython2.6.so.1.0 #29 0x00007ffff36a43da in ?? () from /usr/lib64/libpython2.6.so.1.0 #30 0x00007ffff36a4668 in ?? () from /usr/lib64/libpython2.6.so.1.0 #31 0x00007ffff36a4b1a in ?? () from /usr/lib64/libpython2.6.so.1.0 #32 0x00007ffff36a51e8 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.6.so.1.0 #33 0x00007ffff368a67d in ?? () from /usr/lib64/libpython2.6.so.1.0 #34 0x00007ffff3607ac9 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0 #35 0x00007ffff368b138 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.6.so.1.0 #36 0x00007ffff368d4d9 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0 #37 0x00007ffff36926c0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0 #38 0x00007ffff368a822 in PyEval_EvalCode () from /usr/lib64/libpython2.6.so.1.0 ---Type <return> to continue, or q <return> to quit--- #39 0x00007ffff36a147c in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.6.so.1.0 #40 0x00007ffff3966cc1 in wsgi_load_source (pool=0xb930c8, r=0xb93140, name=0xb98300 "_mod_wsgi_006a4a376ac2ebb09dfe1a204af8a289", exists=<value optimized out>, filename=0xb94d38 "/usr/local/apache2/htdocs/hello-world.wsgi", process_group=0x7ffff3973538 "", application_group=0xb976c0 "bmidev1.kumc.edu|/hello") at mod_wsgi.c:6125 #41 0x00007ffff396be2c in wsgi_execute_script (r=0xb93140) at mod_wsgi.c:6482 #42 0x0000000000443363 in ap_run_handler (r=0xb93140) at config.c:158 #43 0x000000000044687f in ap_invoke_handler (r=0xb93140) at config.c:372 #44 0x000000000047186e in ap_process_request (r=0xb93140) at http_request.c:282 #45 0x000000000046e858 in ap_process_http_connection (c=0x9afd10) at http_core.c:190 #46 0x000000000044a8a3 in ap_run_process_connection (c=0x9afd10) at connection.c:43 #47 0x00000000004875d0 in child_main (child_num_arg=<value optimized out>) at prefork.c:662 #48 0x0000000000487858 in make_child (s=0x6d55d0, slot=0) at prefork.c:702 ---Type <return> to continue, or q <return> to quit--- #49 0x0000000000487e70 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at prefork.c:978 #50 0x000000000042fd95 in main (argc=2, argv=0x7fffffffecc8) at main.c:740 -- You received this message because you are subscribed to the Google Groups "modwsgi" group. 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.
