httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Golubev <an...@engec.ru>
Subject Re[2]: apache 2.2 crashes at the start time in mod_dbd.c then preparing AuthDBDUserPWQuery
Date Sat, 22 Jul 2006 12:31:36 GMT
Hello Nick,

It doesn't crash for you with my config? Well, this might be a problem
with my configuration/compilation options, but I can't remember
anything special there. You can see my build details in my first post
here about this issue.

Here is another backtrace, which you may find interesting. It's with
your latest (post_config hook) applied against 2.2.2 release.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208523072 (LWP 1857)]
apr_hashfunc_default (char_key=0x0, klen=0xbfea7660) at tables/apr_hash.c:228
228             for (p = key; *p; p++) {
(gdb) bt
#0  apr_hashfunc_default (char_key=0x0, klen=0xbfea7660) at tables/apr_hash.c:228
#1  0x008c8e32 in find_entry (ht=0x8dfa268, key=0x0, klen=-1, val=0x0) at tables/apr_hash.c:260
#2  0x008c9006 in apr_hash_get (ht=0x8dfa268, key=0x0, klen=-1) at tables/apr_hash.c:330
#3  0x08081d67 in ap_dbd_prepare (s=0x8daf5a0, query=0xffffffff <Address 0xffffffff out
of bounds>, label=0xffffffff <Address 0xffffffff out of bounds>)
    at mod_dbd.c:150
#4  0x0808042d in authn_dbd_prepare (cmd=0xbfea7a10, cfg=0x8e06628, query=0x8e06630 "sample
query") at mod_authn_dbd.c:70
#5  0x08078823 in invoke_cmd (cmd=0x80d3140, parms=0xbfea7a10, mconfig=0x8e06628, args=0x8df46fe
"") at config.c:873
#6  0x0807908d in ap_walk_config (current=0x8df46d0, parms=0xbfea7a10, section_vector=0x8df4e48)
at config.c:1141
#7  0x08070d21 in dirsection (cmd=0xbfea7a10, mconfig=0x8deffe8, arg=0x8df50ee "") at core.c:1865
#8  0x08078823 in invoke_cmd (cmd=0x80d0b20, parms=0xbfea7a10, mconfig=0x8deffe8, args=0x8df45e8
"/home/ivc2/public_html>") at config.c:873
#9  0x0807908d in ap_walk_config (current=0x8df45c8, parms=0xbfea7a10, section_vector=0x8deef00)
at config.c:1141
#10 0x08079ae6 in ap_process_config_tree (s=0x8daf5a0, conftree=0x8df4338, p=0x8da40a8, ptemp=0x8dec240)
at config.c:1743
#11 0x08067f03 in main (argc=3, argv=0xbfea7b74) at main.c:621


ServerRoot /usr/local/apache

Listen 80

User nobody
Group nobody

ServerAdmin anton@virtweb.engec.ru
DocumentRoot /home/ivc2/public_html

DBDriver mysql
DBDParams "dbname=Users user=auther passreplace=xxxxxx"
DBDMin 1
DBDKeep 2
DBDMax 10
DBDExptime 60


<Directory /home/ivc2/public_html>

    AuthType Basic
    AuthName 'ADMIN ZONE'
    AuthBasicProvider dbd
    AuthDBDUserPWQuery "sample query"
#    require valid-user

</Directory>


Kind regards,

Anton Golubev
ENGECON


Mime
View raw message