httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Kersken" ...@lingoworld.de>
Subject Re: httpd 2.2.3 segfaults using mod_authn_dbd/sqlite
Date Wed, 15 Nov 2006 10:51:49 GMT
Hi,

>>    /usr/local/apache2/bin/apachectl: line 78: 24956 Segmentation fault
>> $HTTPD -k $ARGV
>
> Can you post a backtrace?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211196768 (LWP 25648)]
0xb7e6e060 in apr_hashfunc_default (char_key=0x0, klen=0xbfa43f38) at 
tables/apr_hash.c:228
228             for (p = key; *p; p++) {
(gdb) bt
#0  0xb7e6e060 in apr_hashfunc_default (char_key=0x0, klen=0xbfa43f38) at 
tables/apr_hash.c:228
#1  0xb7e6e23d in find_entry (ht=0x8109240, key=0x0, klen=-1, val=0x0) at 
tables/apr_hash.c:260
#2  0xb7e6e32b in apr_hash_get (ht=0x8109240, key=0x0, klen=-1) at 
tables/apr_hash.c:330
#3  0xb7f7a942 in ap_dbd_prepare (s=0x80aba28,
    query=0x810b190 "select pass from htusers where user=%s", 
label=0x810b1b8 "authn_dbd_1")
    at mod_dbd.c:152
#4  0xb7f988a8 in authn_dbd_prepare (cmd=0xbfa44310, cfg=0x810b188,
    query=0x810b190 "select pass from htusers where user=%s") at 
mod_authn_dbd.c:70
#5  0x08074e29 in invoke_cmd (cmd=0xb7f9a1c0, parms=0xbfa44310, 
mconfig=0x810b188, args=0x80f6430 "")
    at config.c:873
#6  0x080755a4 in ap_walk_config (current=0x80f63e8, parms=0xbfa44310, 
section_vector=0x810ab90)
    at config.c:1141
#7  0x0806c70d in urlsection (cmd=0xbfa44310, mconfig=0x80d8a90, 
arg=0x810ae4f "") at core.c:1942
#8  0x08074e29 in invoke_cmd (cmd=0x80931b8, parms=0xbfa44310, 
mconfig=0x80d8a90,
    args=0x80f62d0 "/geheim>") at config.c:873
#9  0x080755a4 in ap_walk_config (current=0x80f62b0, parms=0xbfa44310, 
section_vector=0x80d8880)
    at config.c:1141
#10 0x080756d7 in ap_process_config_tree (s=0x80aba28, conftree=0x80d9dc0, 
p=0x80a60a8,
    ptemp=0x80d6168) at config.c:1743
#11 0x08061c71 in main (argc=134889760, argv=0x0) at main.c:621

>> DBDMin 1
>> DBDKeep 2
>> DBDMax 5
>> DBDExpTime 30
>
> If you're using Prefork, you shouldn't set any of Min/Keep/Max
> to more than 1.

Thanks. That appears logical now that you mention it ...


Sascha 


Mime
View raw message