glibc 2.14-4 eats my data (Re: F15 ext3, eCryptfs + samba = data corruption (Re: F15 "Error mounting eCryptfs: [-5] Input/output error" on different disks))

Michał Piotrowski mkkp4x4 at gmail.com
Mon Jul 11 14:04:39 UTC 2011


CC'ing devel


---------- Wiadomość przekazana dalej ----------
Od: Michał Piotrowski <mkkp4x4 at gmail.com>
Data: 9 lipca 2011 10:59
Temat: Re: glibc 2.14-4 eats my data (Re: F15 ext3, eCryptfs + samba =
data corruption (Re: F15 "Error mounting eCryptfs: [-5] Input/output
error" on different disks))
Do: Michal Hlavinka <mhlavink at redhat.com>


W dniu 9 lipca 2011 10:29 użytkownik Michał Piotrowski
<mkkp4x4 at gmail.com> napisał:
> Hi,
>
> W dniu 8 lipca 2011 20:08 użytkownik Michal Hlavinka
> <mhlavink at redhat.com> napisał:
>> Hi,
>>
>> please check if this package changes anything for you:
>>
>> http://kojipkgs.fedoraproject.org/scratch/mhlavink/task_3187528/
>
> unfortunately there is no difference

I'm attaching valgrind output. I checked your patch and it removes
correctly all uses of memcpy so it seems that memcpy only covered the
root of the problem.

>
>>
>> thanks
>>
>> On Friday 08 of July 2011 18:32:55 you wrote:
>>> W dniu 8 lipca 2011 18:21 użytkownik Michał Piotrowski
>>>
>>> <mkkp4x4 at gmail.com> napisał:
>>> > Hi,
>>> >
>>> > 2011/7/8 Andreas Schwab <schwab at redhat.com>:
>>> >> Use valgrind.
>>> >
>>> > I attach valgrind output.
>>> >
>>> > ==1312== 1 errors in context 1 of 116:
>>> > ==1312== Source and destination overlap in memcpy(0xaef1590, 0xaef1593,
>>> > 76) ==1312==    at 0x4C283B6: memcpy@@GLIBC_2.14
>>> > (mc_replace_strmem.c:653) ==1312==    by 0x401835: ??? (in
>>> > /sbin/mount.ecryptfs)
>>> > ==1312==    by 0x5E3039C: (below main) (in /lib64/libc-2.14.so)
>>>
>>> I installed ecryptfs-utils-debuginfo package and now it's more readable
>>>
>>> ==1815== 1 errors in context 1 of 116:
>>> ==1815== Source and destination overlap in memcpy(0xaef1590, 0xaef1593, 76)
>>> ==1815==    at 0x4C283B6: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:653)
>>> ==1815==    by 0x401835: main (string3.h:52)
>>>
>>> > Could this be related to
>>> >  - Fix static linking with checking x86/x86-64 memcpy (BZ#12653)
>>> > or is it an eCryptfs problem?
>>> >
>>> >> Andreas.
>>> >>
>>> >> --
>>> >> Andreas Schwab, schwab at redhat.com
>>> >> GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00
>>> >> 984E
>>> >> "And now for something completely different."
>>> >> --
>>> >> devel mailing list
>>> >> devel at lists.fedoraproject.org
>>> >> https://admin.fedoraproject.org/mailman/listinfo/devel
>>> >
>>> > --
>>> > Best regards,
>>> > Michal
>>> >
>>> > http://eventhorizon.pl/
>>
>
>
>
> --
> Best regards,
> Michal
>
> http://eventhorizon.pl/
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: valgrind.bad2.txt.bz2
Type: application/x-bzip2
Size: 9376 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110711/0e3a5491/attachment.bz2 


More information about the devel mailing list