[mod_python] mod_python causing Apache to segfault (Cobalt RaQ550)

Erica Douglass erica at simpli.biz
Sun Apr 20 13:35:37 EST 2003


Hello,

I'm trying to install mod_python on a RaQ550. The 550 comes with Python
2.0 and Apache 1.3.20. Unfortunately, Python is compiled with threads
support, which may be causing the problem I am seeing.

I compiled and installed the mod_python libraries and DSO successfully
with -DEAPI. I then made sure that the mod_python module was the first
one loaded in httpd.conf, and I ran Apache. Apache promptly segfaulted.
I have the traceback, which I have pasted in below.

Does anyone know which file is not being found? Here is the traceback:

(gdb) run -X
Starting program: /usr/sbin/httpd -X
(no debugging symbols found)...[New Thread 1024 (LWP 7107)]
chiliasp: module started, version 3.6.0.33

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7107)]
0x40113369 in chunk_alloc (ar_ptr=0x401b3aa0, nb=24) at malloc.c:2784
2784    malloc.c: No such file or directory.
        in malloc.c
(gdb) bt
#0  0x40113369 in chunk_alloc (ar_ptr=0x401b3aa0, nb=24) at
malloc.c:2784
#1  0x401131c4 in __libc_malloc (bytes=18) at malloc.c:2717
#2  0x4000a03c in _dl_new_object () at eval.c:88
#3  0x400051bd in _dl_map_object_from_fd () at eval.c:88
#4  0x40006c91 in _dl_map_object () at eval.c:88
#5  0x4000b818 in openaux () at eval.c:88
#6  0x4000bd00 in _dl_catch_error () at eval.c:88
#7  0x4000adff in _dl_map_object_deps () at eval.c:88
#8  0x4019ca31 in dl_open_worker (a=0xbfffd2d0) at dl-open.c:261
#9  0x4000bd00 in _dl_catch_error () at eval.c:88
#10 0x4019cc5d in _dl_open (file=0x81628bc
"/etc/httpd/modules/mod_python.so", mode=-1073753400, caller=0x80a54f6)
    at dl-open.c:362
#11 0x40025630 in dlopen_doit (a=0xbfffd440) at dlopen.c:39
#12 0x4000bd00 in _dl_catch_error () at eval.c:88
#13 0x40025a06 in _dlerror_run (operate=0x400255fc <dlopen_doit>,
args=0xbfffd440) at dlerror.c:130
#14 0x400255eb in __dlopen_check (file=0x81628bc
"/etc/httpd/modules/mod_python.so", mode=258) at dlopen.c:53
#15 0x080a54f6 in ap_os_dso_load () at eval.c:88
#16 0x000aff0d in ?? () at eval.c:88
#17 0x000aff0d in ?? () at eval.c:88
#18 0x000aff0d in ?? () at eval.c:88
#19 0x000aff0d in ?? () at eval.c:88
#20 0x000aff0d in ?? () at eval.c:88
#21 0x000aff0d in ?? () at eval.c:88
#22 0x000aff0d in ?? () at eval.c:88
#23 0x000aff0d in ?? () at eval.c:88
#24 0x000aff0d in ?? () at eval.c:88

Thanks in advance.

Erica Douglass
Lead Web Developer
Simpli, Inc.




More information about the Mod_python mailing list