[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Assertion in sort.c
From: |
John Darrington |
Subject: |
Re: Assertion in sort.c |
Date: |
Mon, 17 Jan 2005 07:52:41 +0800 |
User-agent: |
Mutt/1.3.28i |
On Sun, Jan 09, 2005 at 12:01:41AM -0800, Ben Pfaff wrote:
Should be fixed now. Works for me.
I added a test pattern to the casefile tests which detects the
main problem that had to be fixed. If you're happy with that,
you could remove the big-input-2.sh test, which does take a
really long time compared to the other tests.
Although big-input-2.sh now passes, running it under valgrind shows
that there may be some problems lurking still:
==19431== Syscall param write(buf) contains uninitialised or unaddressable
byte(s)
==19431== at 0x1BC06B38: write (in /usr/lib/debug/libc-2.3.2.so)
==19431== by 0x807602B: flush_buffer (casefile.c:334)
==19431== by 0x80761C3: casefile_to_disk (casefile.c:373)
==19431== by 0x8075E67: casefile_append (casefile.c:296)
==19431== Address 0x1C4A8652 is 2 bytes inside a block of size 8192 alloc'd
==19431== at 0x1B904EDD: malloc (vg_replace_malloc.c:131)
==19431== by 0x8070F66: xmalloc (alloc.c:39)
==19431== by 0x807610B: casefile_to_disk (casefile.c:364)
==19431== by 0x8075E67: casefile_append (casefile.c:296)
==19431==
==19431== Syscall param write(buf) contains uninitialised or unaddressable
byte(s)
==19431== at 0x1BC06B38: write (in /usr/lib/debug/libc-2.3.2.so)
==19431== by 0x807602B: flush_buffer (casefile.c:334)
==19431== by 0x8075E9B: casefile_append (casefile.c:302)
==19431== by 0x80C4838: write_case (vfm.c:264)
==19431== Address 0x1C4A8652 is 2 bytes inside a block of size 8192 alloc'd
==19431== at 0x1B904EDD: malloc (vg_replace_malloc.c:131)
==19431== by 0x8070F66: xmalloc (alloc.c:39)
==19431== by 0x807610B: casefile_to_disk (casefile.c:364)
==19431== by 0x8075E67: casefile_append (casefile.c:296)
==19431==
==19431== Syscall param write(buf) contains uninitialised or unaddressable
byte(s)
==19431== at 0x1BC06B38: write (in /usr/lib/debug/libc-2.3.2.so)
==19431== by 0x807602B: flush_buffer (casefile.c:334)
==19431== by 0x8076346: casefile_get_reader (casefile.c:414)
==19431== by 0x80763BA: casefile_get_destructive_reader (casefile.c:450)
==19431== Address 0x1C4A8652 is 2 bytes inside a block of size 8192 alloc'd
==19431== at 0x1B904EDD: malloc (vg_replace_malloc.c:131)
==19431== by 0x8070F66: xmalloc (alloc.c:39)
==19431== by 0x807610B: casefile_to_disk (casefile.c:364)
==19431== by 0x8075E67: casefile_append (casefile.c:296)
==19431==
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://wwwkeys.pgp.net or any PGP keyserver for public key.
pgpy3adAvIZC_.pgp
Description: PGP signature
- Re: Assertion in sort.c, (continued)
- Re: Assertion in sort.c, John Darrington, 2005/01/06
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/06
- Re: Assertion in sort.c, John Darrington, 2005/01/06
- Re: Assertion in sort.c, John Darrington, 2005/01/06
- Re: Assertion in sort.c, John Darrington, 2005/01/07
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/07
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/08
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/09
- Re: Assertion in sort.c, John Darrington, 2005/01/09
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/09
- Re: Assertion in sort.c,
John Darrington <=
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/16
- Re: Assertion in sort.c, John Darrington, 2005/01/16
- Re: Assertion in sort.c, Ben Pfaff, 2005/01/17
Re: Assertion in sort.c, John Darrington, 2005/01/06