Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 20:12:28 +0100
From:      vermaden <vermaden@interia.pl>
To:        Hajimu UMEMOTO <ume@FreeBSD.org>
Cc:        sunpoet@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: sysutils/agedu
Message-ID:  <wgjzwfhgflvzkvwzpswb@zrwq>
In-Reply-To: <yge4njnji4t.wl%ume@mahoroba.org>
References:  <tajeopniumkarrggqdbm@zeeo> <eksxuywcpbthkizselgv@yftn> <yge4njnji4t.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Hajimu UMEMOTO" <ume@FreeBSD.org> pisze:
> Hi,
> 
> >>>>> On Fri, 14 Dec 2012 13:06:19 +0100
> >>>>> vermaden  said:
> 
> vermaden> Stille the same after last update to 9723:
> 
> vermaden> % agedu -w 
> vermaden> getaddrinfo: Invalid value for hints
> 
> `hints' is not initialized.  It should be fixed with the attached
> patch.
> 
> Sincerely,

It helps to start the daemon, but it hangs with SEGFAULT
as soon as I send the generated user and password to the
browser.

% agedu -w
Using HTTP Basic authentication
Username: agedu
Password: sqbsfkfm3453r1c1
URL: http://localhost:56212/
zsh: segmentation fault  agedu -w

Maybe this outputfrom truss agedu -w will help You:

Using HTTP Basic authentication
Username: agedu
Password: cn3y1fphxy6q2n7c
URL: http://localhost:58591/
write(1,"Using HTTP Basic authentication"...,104) = 104 (0x68)
select(6,{0 4 5},{},0x0,0x0)                     = 1 (0x1)
accept(5,{ AF_INET 127.0.0.1:16932 },0x7fffffffd21c) = 6 (0x6)
select(7,{0 4 5 6},{},0x0,0x0)                   = 1 (0x1)
read(6,"GET / HTTP/1.1\r\nHost: localhos"...,4096) = 294 (0x126)
clock_gettime(13,{1355598614.000000000 })        = 0 (0x0)
issetugid(0x800940540,0x800b7bba0,0x1,0x0,0xfefefefefefefeff,0x0) = 0 (0x0)
open("/usr/share/zoneinfo/UTC",O_RDONLY,056)     = 7 (0x7)
fstat(7,{ mode=-r--r--r-- ,inode=344266,size=118,blksize=4096 }) = 0 (0x0)
read(7,"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0"...,41448) = 118 (0x76)
close(7)                                         = 0 (0x0)
issetugid(0x800940491,0x800d1a000,0x0,0xa7,0x0,0x0) = 0 (0x0)
open("/usr/share/zoneinfo/posixrules",O_RDONLY,056) = 7 (0x7)
fstat(7,{ mode=-r--r--r-- ,inode=344371,size=3519,blksize=4096 }) = 0 (0x0)
read(7,"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0"...,41448) = 3519 (0xdbf)
close(7)                                         = 0 (0x0)
madvise(0x800c50000,0xb000,0x5,0x4f,0x7fffffffb0d0,0xffffffff) = 0 (0x0)
madvise(0x800d1a000,0x5000,0x5,0x119,0x7fffffffb2b0,0xffffffff) = 0 (0x0)
madvise(0x800d16000,0x1000,0x5,0x115,0x7fffffffb2b0,0xffffffff) = 0 (0x0)
madvise(0x800c45000,0xb000,0x5,0x44,0x7fffffffb2b0,0xffffffff) = 0 (0x0)
access("/etc/localtime",4)                       = 0 (0x0)
open("/etc/localtime",O_RDONLY,060001670)        = 7 (0x7)
fstat(7,{ mode=-r--r--r-- ,inode=348848,size=2679,blksize=4096 }) = 0 (0x0)
read(7,"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0"...,41448) = 2679 (0xa77)
close(7)                                         = 0 (0x0)
issetugid(0x800940491,0x800d1a000,0x0,0xa7,0x43,0x1) = 0 (0x0)
open("/usr/share/zoneinfo/posixrules",O_RDONLY,056) = 7 (0x7)
fstat(7,{ mode=-r--r--r-- ,inode=344371,size=3519,blksize=4096 }) = 0 (0x0)
read(7,"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0"...,41448) = 3519 (0xdbf)
close(7)                                         = 0 (0x0)
madvise(0x800c50000,0xb000,0x5,0x4f,0x7fffffffb0c0,0xffffffff) = 0 (0x0)
madvise(0x800d1a000,0x5000,0x5,0x119,0x7fffffffb2a0,0xffffffff) = 0 (0x0)
madvise(0x800d16000,0x1000,0x5,0x115,0x7fffffffb2a0,0xffffffff) = 0 (0x0)
madvise(0x800c45000,0xb000,0x5,0x44,0x7fffffffb2a0,0xffffffff) = 0 (0x0)
select(7,{0 4 5 6},{6},0x0,0x0)                  = 1 (0x1)
write(6,"HTTP/1.1 401 Unauthorized\r\nDat"...,391) = 391 (0x187)
shutdown(6,SHUT_WR)                              = 0 (0x0)
select(7,{0 4 5 6},{},0x0,0x0)                   = 1 (0x1)
read(6,0x7fffffffc010,4096)                      = 0 (0x0)
close(6)                                         = 0 (0x0)
select(6,{0 4 5},{},0x0,0x0)                     = 1 (0x1)
accept(5,{ AF_INET 127.0.0.1:27790 },0x7fffffffd21c) = 6 (0x6)
select(7,{0 4 5 6},{},0x0,0x0)                   = 1 (0x1)
read(6,"GET / HTTP/1.1\r\nHost: localhos"...,4096) = 349 (0x15d)
clock_gettime(13,{1355598628.000000000 })        = 0 (0x0)
SIGNAL 11 (SIGSEGV)
process exit, rval = 0

Regards,
vermaden



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wgjzwfhgflvzkvwzpswb>