[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Is --enable-utf8 working everywhere?

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-07-17 22:43:34 CEST

After applying the apr xlate.c patch to my apr source code to work
around a Solaris 8 bug in iconv_open that returns (iconv_t)-1 but
doesn't set errno, I still get a whole bunch of errors, listed
below.

[Note, nobody has applied that 2 line patch to xlate.c yet]

This is svn revision 2573 with apr from yesterday, before xlate
got stripped out from apr.

Stringtest still fails, but at test 13 instead of a core dump in 12.

./stringtest
PASS: stringtest 1: make svn_stringbuf_t from cstring
PASS: stringtest 2: make svn_stringbuf_t from substring of cstring
PASS: stringtest 3: append svn_stringbuf_t to svn_stringbuf_t
PASS: stringtest 4: append C string to svn_stringbuf_t
PASS: stringtest 5: append bytes, then compare two strings
PASS: stringtest 6: dup two strings, then compare
PASS: stringtest 7: chopping a string
PASS: stringtest 8: emptying a string
PASS: stringtest 9: fill string with hashmarks
PASS: stringtest 10: chop_back_to_char
PASS: stringtest 11: block initialization and growth
PASS: stringtest 12: formatting strings from varargs

apr_error: #22, src_err 0 : <Invalid argument>
  (charset translator procurement failed)
FAIL: stringtest 13: create string from file

Tracing through the code, it looks like iconv_open() is still
called from apr_xlate_open() and returns a failure. Here's
the stack trace at that point.

#0 0xff260958 in iconv_open () from /usr/lib/libiconv.so
#1 0x000317ac in apr_xlate_open (convset=0xffbee9d0, topage=0xff0a7e68 "646",
    frompage=0x3e208 "UTF-8", pool=0x50ed0) at xlate.c:270
#2 0x00021000 in get_uton_xlate_handle (ret=0xffbee9d0, pool=0x597d8)
    at subversion/libsvn_subr/utf.c:111
#3 0x000217cc in svn_utf_utf8_to_native (
    utf8_string=0x57850 "failed to create a converter from UTF-8",
    buf=0xffbeea50 "", bufsize=2000) at subversion/libsvn_subr/utf.c:454
#4 0x0001f8c0 in svn_handle_error (err=0x57830, stream=0x4fc30, fatal=0)
    at subversion/libsvn_subr/svn_error.c:351
#5 0x00017f1c in do_test_num (progname=0xffbef5d9 "stringtest", test_num=13,
    msg_only=0, pool=0x55758) at subversion/tests/svn_tests_main.c:89
#6 0x00018264 in main (argc=2, argv=0xffbef47c)
    at subversion/tests/svn_tests_main.c:179

The string "failed to create a converter from UTF-8" is being passed
down, which is odd.

In any case, iconv_open() retruns (iconv_t)-1 again, which ends up
creating the message "charset translator procurement failed" in
svn_utf_utf8_to_native.

Any ideas at this step?

Best,
Blair

Running all tests in hashdump-test...success
Running all tests in path-test...success
Running all tests in random-test...success
Running all tests in stringtest...FAILURE
Running all tests in time-test...success
Running all tests in translate-test...FAILURE
Running all tests in svn-test2.sh...FAILURE
Running all tests in svn-test.sh...FAILURE
Running all tests in target-test.py...FAILURE
Running all tests in run-fs-tests.py...success
Running all tests in run-repos-tests.py...success
Running all tests in getopt_tests.py...FAILURE
Running all tests in basic_tests.py...FAILURE
Running all tests in commit_tests.py...FAILURE
Running all tests in update_tests.py...FAILURE
Running all tests in switch_tests.py...FAILURE
Running all tests in prop_tests.py...FAILURE
Running all tests in schedule_tests.py...FAILURE
Running all tests in log_tests.py...FAILURE
Running all tests in copy_tests.py...FAILURE
Running all tests in diff_tests.py...FAILURE
Running all tests in merge_tests.py...FAILURE
Running all tests in stat_tests.py...FAILURE
Running all tests in trans_tests.py...FAILURE
Running all tests in svnadmin_tests.py...FAILURE
At least one test FAILED, checking /space/users/bzajac/svn-build-2573-utf8/tests
.log
FAIL: stringtest 13: create string from file
FAIL: translate-test 1: no conversions
FAIL: translate-test 2: convert CRLF to CRLF
FAIL: translate-test 3: convert LF to CRLF
FAIL: translate-test 4: convert CR to CRLF
FAIL: translate-test 5: convert mixed line endings to CRLF
FAIL: translate-test 6: convert LF to LF
FAIL: translate-test 7: convert CRLF to LF
FAIL: translate-test 8: convert CR to LF
FAIL: translate-test 9: convert mixed line endings to LF
FAIL: translate-test 10: convert CRLF to CR
FAIL: translate-test 11: convert LF to CR
FAIL: translate-test 12: convert CR to CR
FAIL: translate-test 13: convert mixed line endings to CR
FAIL: translate-test 14: don't convert mixed line endings in absence of repair f
lag
FAIL: translate-test 15: expand author keyword
FAIL: translate-test 16: expand date keyword
FAIL: translate-test 17: expand author and date keywords
FAIL: translate-test 18: expand author and rev keywords
FAIL: translate-test 19: expand rev keyword
FAIL: translate-test 20: expand rev and url keywords
FAIL: translate-test 21: expand author, date, rev, and url keywords
FAIL: translate-test 22: lf_to_crlf, plus expand author keyword
FAIL: translate-test 23: mixed_to_lf, plus expand author and date keywords
FAIL: translate-test 24: crlf_to_cr, plus expand author and rev keywords
FAIL: translate-test 25: cr_to_crlf, plus expand rev keyword
FAIL: translate-test 26: cr_to_crlf, plus expand rev and url keywords
FAIL: translate-test 27: mixed_to_crlf, plus expand author, date, rev, and url k
eywords
FAIL: translate-test 28: unexpand author keyword
FAIL: translate-test 29: unexpand date keyword
FAIL: translate-test 30: unexpand author and date keywords
FAIL: translate-test 31: unexpand author and rev keywords
FAIL: translate-test 32: unexpand rev keyword
FAIL: translate-test 33: unexpand rev and url keywords
FAIL: translate-test 34: unexpand author, date, rev, and url keywords
FAIL: translate-test 35: lf_to_crlf, plus unexpand author keyword
FAIL: translate-test 36: mixed_to_lf, plus unexpand author and date keywords
FAIL: translate-test 37: crlf_to_cr, plus unexpand author and rev keywords
FAIL: translate-test 38: cr_to_crlf, plus unexpand rev keyword
FAIL: translate-test 39: cr_to_crlf, plus unexpand rev and url keywords
FAIL: translate-test 40: mixed_to_crlf, plus unexpand author, date, rev, and url
 keywords
FAIL: target-test 1: normal use (non-null return)
FAIL: target-test 2: identical dirs (non-null return)
FAIL: target-test 3: identical files (non-null return)
FAIL: target-test 4: single dir (non-null return)
FAIL: target-test 5: single file (non-null return)
FAIL: changes-test 1: Add changes to the changes table.
FAIL: changes-test 2: Fetch raw changes from the changes table.
FAIL: changes-test 3: Delete changes from the changes table.
FAIL: changes-test 4: Fetch compressed changes from the changes table.
FAIL: strings-reps-test 1: Write a new rep, get a new key back.
FAIL: strings-reps-test 2: Write a new rep, then overwrite it.
FAIL: strings-reps-test 3: Write and overwrite a new rep; confirm with reads.
FAIL: strings-reps-test 4: Write, then delete, a new rep; confirm deletion.
FAIL: strings-reps-test 5: Test many strings table functions together.
FAIL: strings-reps-test 6: Write a null string.
FAIL: strings-reps-test 7: Write a string, then abort during an overwrite.
FAIL: strings-reps-test 8: Create and copy a string
FAIL: fs-test 1: svn_fs_create_berkeley
FAIL: fs-test 2: open an existing Berkeley DB filesystem
FAIL: fs-test 3: begin a txn, check its name, then close it
FAIL: fs-test 4: open an existing transaction by name
FAIL: fs-test 5: begin a txn, get the txn root, and add a file
FAIL: fs-test 6: create 2 txns, list them, and verify the list.
FAIL: fs-test 8: write and read a file's contents
FAIL: fs-test 9: make a file, a subdir, and another file in that subdir
FAIL: fs-test 10: make The Official Subversion Test Tree
FAIL: fs-test 11: fill a directory, then list it
FAIL: fs-test 12: set and get some revision properties
FAIL: fs-test 13: set/get txn props, commit, validate new rev props
FAIL: fs-test 14: set and get some node properties
FAIL: fs-test 15: delete mutable nodes from directories
FAIL: fs-test 16: delete nodes tree
FAIL: fs-test 17: abort a transaction
FAIL: fs-test 18: testing tree validation helper
FAIL: fs-test 19: fetch the youngest revision from a filesystem
FAIL: fs-test 20: basic commit
FAIL: fs-test 21: copying and tracking copy history
FAIL: fs-test 22: merging commit
FAIL: fs-test 23: commit datestamps
FAIL: fs-test 24: check old revisions
FAIL: fs-test 25: after each commit, check all revisions
FAIL: fs-test 26: create and modify a medium file, verifying its integrity
FAIL: fs-test 27: create and modify a large file, verifying its integrity
FAIL: fs-test 28: make sure the root node's stored revision is accurate
FAIL: fs-test 29: pound on the filesystem's explicit (un-)deltification code
FAIL: fs-test 30: svn_fs_node_created_rev test
FAIL: fs-test 31: test svn_fs_check_related
FAIL: fs-test 32: test svn_fs_revisions_changed
FAIL: repos-test 1: test svn_repos_dir_delta
FAIL: getopt_tests.py 1: run svn with no arguments
FAIL: getopt_tests.py 2: run svn --version
FAIL: getopt_tests.py 3: run svn --help
FAIL: getopt_tests.py 4: run svn help
FAIL: getopt_tests.py 5: run svn help --version
FAIL: getopt_tests.py 6: run svn help bogus-cmd
FAIL: getopt_tests.py 7: run svn help log switch
FAIL: basic_tests.py 1: basic checkout of a wc
FAIL: basic_tests.py 2: basic status command
FAIL: basic_tests.py 3: basic commit command
FAIL: basic_tests.py 4: basic update command
FAIL: basic_tests.py 5: basic corruption detection
FAIL: basic_tests.py 6: receiving text merges as part of an update
FAIL: basic_tests.py 7: basic conflict creation and resolution
FAIL: basic_tests.py 8: basic cleanup command
FAIL: basic_tests.py 9: basic revert command
FAIL: basic_tests.py 10: basic switch command
FAIL: basic_tests.py 11: basic delete command
FAIL: commit_tests.py 1: commit one file.
FAIL: commit_tests.py 2: commit one newly added file.
FAIL: commit_tests.py 3: commit multiple targets
FAIL: commit_tests.py 4: commit multiple targets, 2nd variation
FAIL: commit_tests.py 5: commit wc_dir/A/D -- includes D. (anchor=A, tgt=D)
FAIL: commit_tests.py 6: commit wc_dir -- (anchor=wc_dir, tgt={})
FAIL: commit_tests.py 7: committing unversioned object produces error
FAIL: commit_tests.py 8: replace two nested dirs, verify empty contents
FAIL: commit_tests.py 9: hudson prob 1.0: delete file, commit, update
FAIL: commit_tests.py 10: hudson prob 1.1: delete dir, commit, update
FAIL: commit_tests.py 11: hudson prob 1.2: delete, commit, re-add, commit
FAIL: commit_tests.py 12: hudson prob 2.0: prop commit on old dir fails.
FAIL: commit_tests.py 13: commit mixed-rev wc (no erronous merge error)
FAIL: commit_tests.py 14: commit files and dirs with URI-unsafe characters
FAIL: commit_tests.py 15: commit files that have been deleted, but also edited
FAIL: commit_tests.py 16: commit a file inside dir scheduled for addition
FAIL: commit_tests.py 17: commit deleted (and missing) file
FAIL: commit_tests.py 18: issue 644 attempt to add a file twice
FAIL: commit_tests.py 19: commit from a dir with a longer name than the wc
FAIL: commit_tests.py 20: try to commit when directory is locked
FAIL: update_tests.py 1: update a locally-modified binary file
FAIL: update_tests.py 2: update to an old revision of a binary files
FAIL: update_tests.py 3: ensure update is not munging additions or replacements
FAIL: update_tests.py 4: update to revision 0
FAIL: update_tests.py 5: make sure overlapping identical changes do not conflict
FAIL: update_tests.py 6: delete files and update to resolve text conflicts
FAIL: update_tests.py 7: update that deletes modifed files
FAIL: switch_tests.py 1: test some basic switching operations
FAIL: switch_tests.py 2: commits after some basic switching operations
FAIL: switch_tests.py 3: update wc that contains switched things
FAIL: switch_tests.py 4: reverse update wc that contains switched things
FAIL: switch_tests.py 5: update switched wc things to HEAD
FAIL: switch_tests.py 6: reverse update switched wc things to an older rev
FAIL: prop_tests.py 1: write/read props in wc only (ps, pl, pdel)
FAIL: prop_tests.py 2: commit properties
FAIL: prop_tests.py 3: receive properties via update
FAIL: prop_tests.py 4: receive property changes as part of a downdate
FAIL: prop_tests.py 5: commit the removal of props
FAIL: prop_tests.py 6: update with conflicting props
FAIL: prop_tests.py 7: props work when committing a replacement
FAIL: prop_tests.py 8: props work when reverting a replacement
FAIL: schedule_tests.py 1: schedule: add some files
FAIL: schedule_tests.py 2: schedule: add some directories
FAIL: schedule_tests.py 3: schedule: add some nested files and directories
FAIL: schedule_tests.py 4: schedule: delete some files
FAIL: schedule_tests.py 5: schedule: delete some directories
FAIL: schedule_tests.py 6: revert: add some files
FAIL: schedule_tests.py 7: revert: add some directories
FAIL: schedule_tests.py 8: revert: add some nested files and directories
FAIL: schedule_tests.py 9: revert: delete some files
FAIL: schedule_tests.py 10: revert: delete some directories
FAIL: log_tests.py 1: 'svn log', no args, top of wc.
FAIL: log_tests.py 2: 'svn commit -F foo' when foo is a versioned file
FAIL: copy_tests.py 1: basic copy and move commands -- on files only
FAIL: copy_tests.py 2: test fix for 'svn mv unversioned_file some_dst'
FAIL: copy_tests.py 3: receive a copied directory during update
FAIL: copy_tests.py 4: resurrect a deleted directory
FAIL: copy_tests.py 5: svn cp URL URL cannot overwrite destination
FAIL: diff_tests.py 1: update a file
FAIL: diff_tests.py 2: add a file
FAIL: diff_tests.py 3: add a file in an added directory
FAIL: diff_tests.py 4: replace a file with a file
FAIL: diff_tests.py 5: multiple revisions diff'd forwards and backwards
FAIL: diff_tests.py 6: non-recursive behaviour
FAIL: diff_tests.py 7: diff only part of the repository
FAIL: diff_tests.py 8: non version controlled files
FAIL: diff_tests.py 9: pure repository diff update a file
FAIL: diff_tests.py 10: diff when property was changed but text was not
FAIL: merge_tests.py 1: performing a merge, with mixed results
FAIL: stat_tests.py 1: stat an unversioned file in the current directory
FAIL: stat_tests.py 2: run 'status -u' when nested additions are pending
FAIL: trans_tests.py 1: Commit new files with keywords active from birth
FAIL: trans_tests.py 2: update locally modified file with eol-style 'native'
FAIL: svnadmin_tests.py 1: test 'svnadmin create' subcommand
FAIL: svnadmin_tests.py 2: test 'svnadmin youngest' subcommand
FAIL: svnadmin_tests.py 3: test 'svnadmin createtxn' subcommand
FAIL: svnadmin_tests.py 4: test 'svnadmin rmtxns' subcommand
FAIL: svnadmin_tests.py 5: test 'svnadmin lsrevs' subcommand
FAIL: svnadmin_tests.py 6: test 'svnadmin dump' on a copied directory
FAIL: svnadmin_tests.py 7: test 'svnadmin dump' after on modified child of copie
d directory

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 17 22:44:16 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.