[OpenAFS] RHEL4 x86_64 1.4.0-rc5 RPM install aklog segfault
Lee Damon
nomad@ee.washington.edu
Thu, 26 Jan 2006 09:52:35 -0800
For the record, the most recent candidate (1.4.1rc5) still has this problem.
By accident I found out that if I compile the aklog rpm (openafs-krb5)
with my locally built gcc 4.0.2 I don't get the segfault. If I compile
aklog with RH's gcc 3.4.4 (required for the kernel module to work) it
segfaults.
Ticket #23845 has been updated with another backtrace as well as this
little morsel of information.
nomad
lamont@scriptkiddie.org wrote:
>
> I had problems like this when I compiled aklog with a different compiler
> (gcc-2.95.3) from the one that I used with openafs (gcc-3.2.3) awhile
> back. Hopefully with them integrated together there's no way for it to
> pick up different compilers, but you never know...
>
> On Mon, 31 Oct 2005, Lee Damon wrote:
>> Derek,
>>
>> In the now successfully rebuilt 1.4.0rc5 SRPM-based RPM for x86_64
>> everything seems to work except for aklog. It segfaults.
>>
>> : || nomad@noddy ~ [15] ; which aklog
>> /usr/bin/aklog
>> : || nomad@noddy ~ [16] ; rpm -qf /usr/bin/aklog
>> openafs-krb5-1.4.0rc5-1.1
>> : || nomad@noddy ~ [17] ; /usr/bin/aklog
>> Segmentation fault
>>
>> the tail end of an strace says:
>>
>> open("/usr/vice/etc/ThisCell", O_RDONLY) = 3
>> fstat(3, {st_mode=S_IFREG|0444, st_size=18, ...}) = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = 0x2a9556c000
>> read(3, "ee.washington.edu\n", 4096) = 18
>> close(3) = 0
>> munmap(0x2a9556c000, 4096) = 0
>> stat("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0444, st_size=20765,
>> ...}) = 0
>> open("/usr/vice/etc/CellServDB", O_RDONLY) = 3
>> fstat(3, {st_mode=S_IFREG|0444, st_size=20765, ...}) = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = 0x2a9556c000
>> read(3, ">ee.washington.edu\t#Nikola\n128.2"..., 4096) = 4096
>> read(3, "ysics, university Mainz, Germany"..., 4096) = 4096
>> read(3, " #cpeven.physi"..., 4096) = 4096
>> read(3, " #ccafsdb3.in2p3.fr"..., 4096) = 4096
>> read(3, "#The Slackers\' Network\n63.201.48"..., 4096) = 4096
>> read(3, "Manchester HEP\n194.36.2.3 "..., 4096) = 285
>> read(3, "", 4096) = 0
>> close(3) = 0
>> munmap(0x2a9556c000, 4096) = 0
>> open("/usr/vice/etc/CellAlias", O_RDONLY) = -1 ENOENT (No such file or
>> directory)
>> open("/usr/vice/etc/KeyFile", O_RDONLY) = -1 ENOENT (No such file or
>> directory)
>> stat("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0444, st_size=20765,
>> ...}) = 0
>> stat("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0444, st_size=20765,
>> ...}) = 0
>> stat("/etc/krb5.conf", {st_mode=S_IFREG|0444, st_size=1349, ...}) = 0
>> stat("/etc/krb5.conf", {st_mode=S_IFREG|0444, st_size=1349, ...}) = 0
>> stat("/etc/krb5.conf", {st_mode=S_IFREG|0444, st_size=1349, ...}) = 0
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> +++ killed by SIGSEGV +++
>> Process 21860 detached
>>
>>
>> nomad
>> ----------- - Lee "nomad" Damon - \
>> work: nomad@ee.washington.edu \
>> play: nomad@castle.org or castle!nomad \
>> /\
>> Sr. Systems Admin, UWEE SSLI Lab / \
>> "Celebrate Diversity" / \
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>