Re: [2.0] Plans for next beta version (1.9.18/1.9.19)
Olaf Westrik <weizen_42-Yz37vSk3/[email protected]>
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Message-ID | <[email protected]> |
>> Something in the current update package is causing segfaults in
>> update/setup. Output of setup looks like this:
OK, not including the (updated) glibc symlinks looks to be the solution.
> I'm not getting those errors when I install updates from SVN 5585 on
> my production box.
>
> But, I regularly test install updates, overwriting previous updates,
> so these are not 'clean' updates from 1.9.17.
Yeah, problem is only during complete update. If some files are already
in place there is no such problem.
> Can you run an strace over every segfaulting command?
Offending part looks something like this:
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\t\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9624, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb784f000
mmap2(0xb7851000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7851000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360l\1\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1442104, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb784e000
mmap2(NULL, 1452296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb76eb000
mprotect(0xb7847000, 4096, PROT_NONE) = 0
mmap2(0xb7848000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb7848000
mmap2(0xb784b000, 10504, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb784b000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb76ea000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb76ea6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7848000, 8192, PROT_READ) = 0
mprotect(0xb7851000, 4096, PROT_READ) = 0
mprotect(0xb7891000, 8192, PROT_READ) = 0
mprotect(0xb78ed000, 4096, PROT_READ) = 0
munmap(0xb78ca000, 15309) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Olaf
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf