|
Matthias Bauer
Matthias.Bauer at LivingLogic.de
Fri Sep 29 10:50:56 EST 2000
Hi everybody,
I'm having some severe trouble installing mod_python 2.5 with the
following environment:
SuSE Linux 7.0
Python 2.0b1 with threads
Apache 1.3.12
I compiled mod_python.so with the following command:
> apxs -I /usr/local/include/python2.0/ -c mod_python.c \
> /usr/local/src/Python-2.0b1/libpython2.0.a -lpthread -lutil -lm -lreadline -lncurses
The first LoadModule directive in my httpd.conf file is
> LoadModule python_module /usr/local/src/mod_python-2.5/src/mod_python.so
Starting apache with the following command:
> httpd -t -f /etc/httpd/httpd.conf -D MODULES
gives me:
> Syntax OK
> Segmentation fault
Here is the stack backtrace, when I let the whole thing run in the
debugger:
> (gdb) file /usr/sbin/httpd
> Reading symbols from /usr/sbin/httpd...(no debugging symbols found)...done.
> (gdb) set args -t -f /etc/httpd/httpd.conf -D MODULES
> (gdb) run
> Starting program: /usr/sbin/httpd -t -f /etc/httpd/httpd.conf -D MODULES
> Syntax OK
> (no debugging symbols found)...Cannot access memory at address 0x404db434.
> (gdb) bt
> #0 0x4000ab11 in _dl_debug_state () at dl-debug.c:47
> #1 0x401834c1 in _dl_close () at dl-close.c:199
> #2 0x400b23eb in dlclose_doit (handle=0x80a76a8) at dlclose.c:26
> #3 0x4000a801 in _dl_catch_error () at dl-error.c:117
> #4 0x400b29c1 in _dlerror_run (operate=0x400b23d0 <dlclose_doit>, args=0x80a76a8)
> at dlerror.c:125
> #5 0x400b2411 in dlclose () at dlclose.c:27
> #6 0x8069cb2 in ap_os_dso_unload ()
> #7 0x80502d9 in ap_get_server_built ()
> #8 0x8051d4b in ap_run_cleanup ()
> #9 0x80509cf in ap_clear_pool ()
> #10 0x8050a38 in ap_destroy_pool ()
> #11 0x80509a3 in ap_clear_pool ()
> #12 0x8050a38 in ap_destroy_pool ()
> #13 0x805ba18 in ap_exists_scoreboard_image ()
> #14 0x805e335 in main ()
> #15 0x400cea8e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93
Can anybody help me out or give any additional hints?
Thanks,
--- Matthias
------------------------------------------
Matthias Bauer - LivingLogic AG
Maximilianstr. 2 - 95444 Bayreuth
www.livinglogic.de
------------------------------------------
|