Closed GoogleCodeExporter closed 9 years ago
i think that it´s because tools that make rebuild storage are broken...
ufs_log_build[19199]: segfault at 1 ip 000000316c062134 sp 00007fffc7a671f0
error 4
in libc-2.5.so[316c000000+14c000]
ufs_log_build[19302]: segfault at 1 ip 000000316c062134 sp 00007fffc16a1e20
error 4
in libc-2.5.so[316c000000+14c000]
ufs_log_build[19319]: segfault at 1 ip 000000316c062134 sp 00007fff0ac3d3c0
error 4
in libc-2.5.so[316c000000+14c000]
ufs_log_build[19531]: segfault at 1 ip 000000316c062134 sp 00007fff62db9550
error 4
in libc-2.5.so[316c000000+14c000]
ufs_log_build[19595]: segfault at 1 ip 000000316c062134 sp 00007fff0f3acb40
error 4
in libc-2.5.so[316c000000+14c000]
Original comment by ajcor...@gmail.com
on 21 Aug 2009 at 5:54
[root@looney util]# uname -a
Linux looney.onda.net.br 2.6.29.4-onda #1 SMP Thu May 28 03:24:12 BRT 2009
x86_64
x86_64 x86_64 GNU/Linux
[root@looney util]# squid -v
Squid Cache: Version LUSCA_HEAD
configure options: '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info'
'--exec_prefix=/usr' '--bindir=/usr/sbin' '--libexecdir=/usr/lib64/squid'
'--localstatedir=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid'
'--enable-epoll' '--enable-snmp' '--enable-removal-policies=heap,lru'
'--enable-storeio=aufs,coss,null' '--enable-ssl' '--with-openssl=/usr/kerberos'
'--disable-delay-pools' '--with-pthreads' '--disable-useragent-log'
'--enable-referer-log' '--disable-dependency-tracking'
'--enable-cachemgr-hostname=localhost' '--enable-cache-digests'
'--disable-ident-lookups' '--enable-wccpv2' '--with-maxfd=32768'
'--enable-xmalloc-statistics' '--enable-async-io'
'--enable-follow-x-forwarded-for'
'--enable-large-cache-files' '--with-large-files' '--enable-linux-tproxy4'
'--enable-linux-netfilter'
Original comment by ajcor...@gmail.com
on 22 Aug 2009 at 5:28
Patch to solve Segmentation Fault and i think this can resolve rebuild errors
(because helper not dying more).
Index: tools/ufs_log_cat.c
===================================================================
--- tools/ufs_log_cat.c (revision 14289)
+++ tools/ufs_log_cat.c (working copy)
@@ -140,7 +140,7 @@
}
/* begin echo'ing the log info */
- storeSwapLogPrintHeader(1); /* to stdout */
+ //storeSwapLogPrintHeader(1); /* to stdout */
/* Now - loop over until eof or error */
while (! feof(fp)) {
Index: tools/ufs_log_build.c
===================================================================
--- tools/ufs_log_build.c (revision 14289)
+++ tools/ufs_log_build.c (working copy)
@@ -254,11 +254,10 @@
printf("Usage: %s <store path> <l1> <l2> <path to swapfile>\n", argv[0]);
exit(1);
}
-
store_ufs_init(&store_ufs_info, argv[1], atoi(argv[2]), atoi(argv[3]), argv[4]);
/* Output swap header to stdout */
- (void) storeSwapLogPrintHeader(1);
+ //(void) storeSwapLogPrintHeader(1);
read_dir(&store_ufs_info);
store_ufs_done(&store_ufs_info);
Original comment by ajcor...@gmail.com
on 22 Aug 2009 at 5:29
i fixed the relevant helpers to pass the correct parameters in. Please try now!
Original comment by adrian.c...@gmail.com
on 11 Sep 2009 at 9:14
Fixed a while ago.
Original comment by adrian.c...@gmail.com
on 19 Jan 2010 at 9:03
Original issue reported on code.google.com by
ajcor...@gmail.com
on 21 Aug 2009 at 12:50