Hello,
If I install the port and just start it, without changing any config, it
also segfaults for me. (This is apache 2.2.11; with the peruser patch
and dc3)
Here is some debugging info:
#0 0x000000000042a835 in ap_update_child_status_from_indexes
(child_num=1794,
thread_num=0, status=1, r=0x0) at scoreboard.c:436
436 old_status = ws->status;
[New Thread 0x604180 (LWP 100234)]
(gdb) bt
#0 0x000000000042a835 in ap_update_child_status_from_indexes
(child_num=1794,
thread_num=0, status=1, r=0x0) at scoreboard.c:436
#1 0x0000000000458620 in make_child (s=0x619880, slot=1794) at
peruser.c:2160
#2 0x000000000045899d in perform_idle_server_maintenance (p=0x614028)
at peruser.c:2266
#3 0x00000000004598ad in ap_mpm_run (_pconf=0x614028, plog=0x64a028,
s=0x619880) at peruser.c:2562
#4 0x0000000000423a1f in main (argc=2, argv=0x7fffffffe7e8) at main.c:740
(gdb) frame 0
#0 0x000000000042a835 in ap_update_child_status_from_indexes
(child_num=1794,
thread_num=0, status=1, r=0x0) at scoreboard.c:436
(gdb) list
431 if (child_num < 0) {
432 return -1;
433 }
434
435 ws = &ap_scoreboard_image->servers[child_num][thread_num];
436 old_status = ws->status;
437 ws->status = status;
438
439 ps = &ap_scoreboard_image->parent[child_num];
440
(gdb) print ws
$1 = (worker_score *) 0x0
(gdb) print ap_scoreboard_image->servers[child_num]
$2 = (worker_score *) 0x0
(gdb) print thread_num
$3 = 0
(gdb) print ap_scoreboard_image->servers
$4 = (worker_score **) 0x744020
(gdb) print child_num
$5 = 1794
I've still got the coredump; so tell whether you need anything else.
(I don't know whether I can keep the coredump for long, I was about to
upgrade to FreeBSD 8)
-- Jille
Олег Петрачёв schreef:
> Hello!
>
> I tried to run apache22-peruser-mpm (build from FreeBSD port) on
> FreeBSD 7.2 amd64, but httpd does not start - it gets segmentation
> fault instead :(
>
> I also use this port under FreeBSD 6,2 and everything is just fine.
>
> Is it possible to fix this error somehow? Thanks in advance!
>
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser