On Wed, 2004-01-14 at 16:05, Tobias Ringstrom wrote:
> Martin MAURER wrote:
> > #1 0x400661b3 in svn_stream_read (stream=0xedde5f, buffer=0x0, len=0x0)
> > at subversion/libsvn_subr/stream.c:97
> > #2 0x400506a6 in svn_txdelta_next_window (window=0xbffff428,
> > stream=0x8112ad8, pool=0x81167b0)
> > at subversion/libsvn_delta/text_delta.c:264
>
> That should be impossible! How can len in the call to svn_stream_read be
> 0? Something is very very wrong - either some weird memory corruption or
> a compiler error. I wonder what valgrind says. Would it be possible for
> you to run your test case in valgrind?
i did run it in valgrind but got no interesting error messages (attached
output)
greetings
Martin
==19098== Memcheck, a memory error detector for x86-linux.
==19098== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==19098== Using valgrind-2.1.0, a program supervision framework for
x86-linux.
==19098== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==19098==
==19098== My PID = 19098, parent PID = 10470. Prog and args are:
==19098== svnadmin
==19098== load
==19098== SVN/
==19098== Estimated CPU clock rate is 1461 MHz
==19098== For more details, rerun with: -v
==19098==
==19098== Conditional jump or move depends on uninitialised value(s)
==19098== at 0x40344509: __log_putr (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40343C71: __log_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4030C067: __db_addrem_log (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40317395: __db_pitem (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C8CCC: __bam_ovput (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C7B22: __bam_iitem (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C30C1: __bam_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031261B: __db_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4030AFC3: __db_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031A886: __db_put_pp (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098==
==19098== Syscall param write(buf) contains uninitialised or
unaddressable byte(s)
==19098== at 0x4051D908: __libc_write (in /lib/libc-2.3.2.so)
==19098== by 0x4034F4DD: __os_physwrite (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4034523C: __log_write (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40344DEC: __log_flush_int (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40344237: __log_flush_commit (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40343D69: __log_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40354607: __txn_regop_log (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40352A3E: __txn_commit (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x403525EB: __txn_commit_pp (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4025EA94: commit_trail (trail.c:167)
==19098== Address 0x41C6FD30 is not stack'd, malloc'd or free'd
==19098==
==19098== Syscall param pwrite(buf) contains uninitialised or
unaddressable byte(s)
==19098== at 0x4051BBD5: (within /lib/libc-2.3.2.so)
==19098== by 0x4042DC78: __pwrite64 (vg_libpthread.c:2020)
==19098== by 0x4034F29C: __os_io (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40346629: __memp_pgwrite (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40346137: __memp_bhwrite (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4034CCDC: __memp_sync_int (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4034C5F3: __memp_sync (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40353F8D: __txn_checkpoint (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40353C6C: __txn_checkpoint_pp (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4025EAE4: commit_trail (trail.c:175)
==19098== Address 0x41BDFF70 is not stack'd, malloc'd or free'd
==19098==
==19098== Conditional jump or move depends on uninitialised value(s)
==19098== at 0x40344509: __log_putr (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40343C71: __log_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4030C067: __db_addrem_log (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40317166: __db_ditem (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C89CF: __bam_dup_convert (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C7A69: __bam_iitem (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C30C1: __bam_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031261B: __db_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4030AFC3: __db_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031A886: __db_put_pp (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098==
==19098== Conditional jump or move depends on uninitialised value(s)
==19098== at 0x40344509: __log_putr (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40343C71: __log_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402D3107: __bam_split_log (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402CF811: __bam_root (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402CF55E: __bam_split (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402CD5C2: __ram_add (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402CC696: __ram_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x403126B5: __db_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4030AFC3: __db_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031A886: __db_put_pp (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098==
==19098== Conditional jump or move depends on uninitialised value(s)
==19098== at 0x40344509: __log_putr (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40343C71: __log_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402D3107: __bam_split_log (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402CFD8C: __bam_page (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402CF4DF: __bam_split (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x402C3192: __bam_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031261B: __db_c_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4030AFC3: __db_put (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x4031A886: __db_put_pp (in
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so)
==19098== by 0x40254B01: svn_fs__bdb_string_append
(strings-table.c:325)
got signal 15 in LWP 19098 (19098)
valgrind: vg_signals.c:1558 (vg_async_signalhandler): Assertion
`vgPlain_ksigismember(&uc->uc_sigmask, sigNo)' failed.
==19098== at 0x40177FCD: vgPlain_skin_assert_fail (vg_mylibc.c:1102)
==19098== by 0x40177FCC: assert_fail (vg_mylibc.c:1098)
==19098== by 0x4017805B: vgPlain_core_assert_fail (vg_mylibc.c:1109)
==19098== by 0x4017F338: vg_async_signalhandler (vg_signals.c:1561)
==19098== by 0x4020D293: ???
sched status:
Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0
==19098== at 0x40271100: create_hash_table (vdelta.c:88)
==19098== by 0x402714FF: svn_txdelta__vdelta (vdelta.c:313)
==19098== by 0x4027076A: svn_txdelta_next_window (text_delta.c:295)
==19098== by 0x4025CD70: svn_fs__rep_deltify (reps-strings.c:1387)
==19098== by 0x40258561: svn_fs__dag_deltify (dag.c:1505)
==19098== by 0x40260A80: txn_body_txn_deltify (tree.c:1570)
==19098== by 0x4025EB87: do_retry (trail.c:227)
==19098== by 0x4025ECA6: svn_fs__retry_txn (trail.c:285)
==19098== by 0x40260E0A: deltify_mutable (tree.c:1763)
==19098== by 0x40260CAA: deltify_mutable (tree.c:1663)
Received on Tue Jan 20 10:19:01 2004