--
-------e-l-o-y----------------------------e-l-o...@-k-o-f-e-i-n-a-.-n-e-t------
jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej
--- Begin Message ---
Krzysztof Krzyżaniak <e...@kofeina.net> wrote:
> Could you take a look? Maybe something comes to mind. It is build log
> for Itanium IA64 arch, others build fine:
>
>
> https://buildd.debian.org/fetch.cgi?&pkg=lighttpd&ver=1.4.24-1&arch=ia64&st
> amp=1257435549&file=log
>
Hi,
darix got a backtrace (lighttpd segfaults in the mod-auth check), see below.
I found some reports that memchr() is/was broken on ia64, and that would
explain the segfault, as to me the parameters for memchr() looked sane.
The line is:
if (NULL == (f_pwd = memchr(f_user, ':', f.size - (f_user - f.start) ))) {
and f_user = f_line was set before, and f_line == f.start, so this should call
memchr(f.start, ':', f.size);
Program received signal SIGSEGV, Segmentation fault.
0x2000000000572b51 in memchr () from /lib/libc.so.6.1
#0 0x2000000000572b51 in memchr () from /lib/libc.so.6.1
No symbol table info available.
#1 0x2000000000c86000 in http_auth_get_password (srv=0x6000000000010010,
p=0x2000000001200000, username=0x60000000001146b0,
realm=0x60000000000423d0, password=0x6000000000114720) at http_auth.c:251
pwd_len = 2305843009220510208
f_pwd = 0x60000000000423d8 "\020"
f = {start = 0x2000000001200000
"des:12tMnfw882VDQ\nmd5:$1$md5$kIa7Juuiv8zja0ILQPR36/\n", size = 52}
f_line = 0x2000000001200000
"des:12tMnfw882VDQ\nmd5:$1$md5$kIa7Juuiv8zja0ILQPR36/\n"
auth_fn = 0x6000000000041190
ret = <value optimized out>
#2 0x2000000000c8a4f0 in http_auth_basic_check (srv=0x6000000000010010,
con=0x6000000000061140, p=0x60000000000390a0, req=0x6000000000042080,
url=0x60000000000615b0, realm_str=<value optimized out>)
at http_auth.c:865
username = 0x60000000001146b0
password = 0x6000000000114720
pw = 0x60000000001146d4 "des"
#3 0x2000000000c84110 in mod_auth_uri_handler (srv=0x6000000000010010,
con=0x6000000000061140, p_d=0x60000000000390a0) at mod_auth.c:250
auth_type_len = <value optimized out>
k = <value optimized out>
auth_satisfied = <value optimized out>
http_authorization = 0x6000000000113e00 "Basic ZGVzOmRlcw=="
req = 0x6000000000042080
#4 0x4000000000039e70 in plugins_call_handle_uri_clean
(srv=0x6000000000010010, con=0x6000000000061140) at plugin.c:260
r = <value optimized out>
slot = <value optimized out>
j = 2
#5 0x400000000000eeb0 in http_response_prepare (srv=0x6000000000010010,
con=0x6000000000061140) at response.c:298
r = 65712
#6 0x4000000000015cb0 in connection_state_machine (srv=0x6000000000010010,
con=0x6000000000061140) at connections.c:1446
b = 0
r = <value optimized out>
srv_sock = <value optimized out>
#7 0x40000000000186f0 in network_server_handle_fdevent (s=0x6000000000010010,
context=0x6000000000037560, revents=<value optimized out>) at
network.c:52
r = <value optimized out>
con = 0x20000000011ffff8
loops = 3
#8 0x400000000000c820 in main (argc=6, argv=0x600fffffffbdf498) at
server.c:1446
handler = @0x4000000000053c90: 0x4000000000018600
<network_server_handle_fdevent>
r = <value optimized out>
revents = 1
fd_ndx = 1
n = <value optimized out>
ndx = <value optimized out>
min_ts = <value optimized out>
print_config = <value optimized out>
test_config = <value optimized out>
i_am_root = <value optimized out>
o = <value optimized out>
num_childs = <value optimized out>
pid_fd = <value optimized out>
fd = 7
i = <value optimized out>
act = {__sigaction_handler = {sa_handler = @0x4000000000053d90:
0x4000000000009400 <sigaction_handler>, sa_sigaction =
@0x4000000000053d90: 0x4000000000009400 <sigaction_handler>}, sa_flags = 4,
sa_mask = {__val = {0 <repeats 16 times>}}}
rlim = {rlim_cur = 1024, rlim_max = 1024}
--- End Message ---