On Thursday 14 September 2006 20:02 Benjamin M. wrote:
> My file system is "Mac OS Extended (Journaled)". Can it be related?
I don't think so, that was only fsvs related.

And your newer dump shows that I've fixed most of it.

> >> Bus error
> > What's that?
> Seems to be memory related...
> http://en.wikipedia.org/wiki/Bus_error
> http://web.mit.edu/answers/unix/unix_bus_or_seg.html
I saw these pages too; it's a programming error in fsvs, as it occurs always 
at the same location. (Or you have bad [computer :-] memory and very 
repeatable runs of fsvs)

> I've  no idea how SF works but after a quick research:
> "Each Compile Farm user may install third-party software within their
> home directory as needed. "
Yes, I know.
But apr means more or less a complete apache install (with prerequisites), 
then installing subversion above ... I'd like to avoid that.
I already submitted a support ticket that they please make these libraries and 
headers available.

> > Oh wait ... I've got one more idea.
> > Could you please update and send me the outputs of "make" and "fsvs
> > _build -d -v" again?
> $ svn update
> At revision 436.
> $ make
...
> direnum.c: In function 'dir__get_dir_size':
> direnum.c:173: warning: label 'ex' defined but not used
...
> est_ops.c: In function 'ops__load_1entry':
> est_ops.c:284: warning: format '%o' expects type 'unsigned int *', but
> argument 3 has type 'mode_t *'
...
> helper.c: In function 'hlp___do_convert':
> helper.c:104: warning: passing argument 2 of 'libiconv' from
> incompatible pointer type
...
> waa.c: In function 'waa__output_tree':
> waa.c:929: warning: format '%u' expects type 'unsigned int', but
> argument 5 has type 'long unsigned int'
Lots of warnings eliminated, and one of them is possibly the cause why fsvs 
faults.

I try to have that fixed; please, please one more try using the attached 
patch?


> -rwxr-xr-x   1 benjamin  benjamin  133500 14 Sep 13:37 fsvs
...
> $ ./fsvs _build -d -v
> 13:39:49.248 main[fsvs.c:371] no argument at optind=4 of 4
> 13:39:49.250 main[fsvs.c:475] LC_ALL gives en_CA.UTF-8
> 13:39:49.251 main[fsvs.c:482] LC_CTYPE gives en_CA.UTF-8
> 13:39:49.251 main[fsvs.c:493] codeset found to be UTF-8
...
> 13:39:49.416 ign__is_ignore[ignore.c:626] inode compare E000009:2884488
> status=1
> 13:39:49.416 ops__build_path[est_ops.c:506] 0x2811bf4 found in cache
> index 2; lru 2
> 13:39:49.416 ops__build_path[est_ops.c:592] status=0;
> path=./.svn/text-base/build.c.svn-base
> Bus error
That looks a bit better.
Only the "bus error" is a bit puzzling.


Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
=== est_ops.c
==================================================================
--- est_ops.c	(revision 494)
+++ est_ops.c	(local)
@@ -260,7 +260,7 @@
 	int i, p, status;
 	ino_t parent_inode;
 	int pos_should, pos_dev;
-	t_ull par_ino, size, this_ino;
+	t_ull par_ino, size, this_ino, mode;
 
 
 	status=0;
@@ -268,7 +268,7 @@
 	/* Now parse. Use temporary variables of defined size 
 	 * for some inputs. */
 	i=sscanf(buffer, ops__dir_info_format_s, 
-			&(sts->st.mode),
+			&mode,
 			&(sts->st.ctim.tv_sec),
 			&(sts->st.mtim.tv_sec),
 			&(sts->flags),
@@ -285,6 +285,7 @@
 	parent_inode=par_ino;
 	sts->st.ino=this_ino;
 	sts->st.size=size;
+	sts->st.mode=mode;
 
 	/* The %n are not counted on glibc.
 	 * "man sscanf" warns:
=== helper.c
==================================================================
--- helper.c	(revision 494)
+++ helper.c	(local)
@@ -98,10 +98,12 @@
 		/* How much space is left? */
 		dstlen_rem=cache[cur_cache].size - done;
 
+DEBUGP("before iconv from=%s", from_buf);
 		/* iconv should have a const in it! */
 		iconv_ret = iconv(cd,
 				(char**)&from_buf, &srclen_rem,
 				&to_buf, &dstlen_rem);
+DEBUGP("after iconv to=%s ret=%d", to_buf, iconv_ret);
 
 		/* Only allowed error is E2BIG. */
 		if (iconv_ret == -1)
=== waa.c
==================================================================
--- waa.c	(revision 494)
+++ waa.c	(local)
@@ -924,7 +924,7 @@
 	/* save header information */
 	/* path_len needs a terminating \0, so add a few bytes. */
 	status=snprintf(header, sizeof(header), waa__header_line,
-			WAA_VERSION, sizeof(header),
+			WAA_VERSION, (t_ul)sizeof(header),
 			complete_count, alloc_dir, string_space+4,
 			max_path_len+4);
 	BUG_ON(status >= sizeof(header)-1, "header space not large enough");

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to