[Nix-dev] write_file '/etc/passwd.tmp' - syswrite: Bad address

Wout Mertens wout.mertens at gmail.com
Sat May 16 15:05:20 CEST 2015


Of course, it can only be memory corruption if it is not repeatable,
otherwise there's something weird about the call Perl makes to syswrite(),
definitely a bug somewhere then.

On Sat, May 16, 2015, 3:03 PM Wout Mertens <wout.mertens at gmail.com> wrote:

> Oh wow I never saw that before, and in a Perl script no less.
> I think you may have memory corruption? Does memtest86 work fine?
>
> Wout.
>
> On Sat, May 16, 2015, 2:59 PM Amy de Buitléir <amy at nualeargais.ie> wrote:
>
>> Sigh... new problem:
>>
>> [root at wombat9000:~]# nixos-rebuild switch
>> building Nix...
>> building the system configuration...
>> activating the configuration...
>> setting up /etc...
>> warning: not applying UID change of user ‘ntp’
>> write_file '/etc/passwd.tmp' - syswrite: Bad address at
>> /nix/store/a218r8idpw52c652vy44d9zvfjf82jbc-update-users-groups.pl line
>> 217.
>> warning: error(s) occured while switching to the new configuration
>>
>>
>> What I have tried:
>> 1. Ran badblocks, which found no bad blocks on my system.
>> 2. nixos-rebuild switch --repair, which gave the same error.
>> 3. nix-store --verify --check-contents --repair
>>
>> [root at wombat9000:~]# nix-store --verify --check-contents --repair
>> reading the Nix store...
>> checking path existence...
>> checking hashes...
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150516/a379d9eb/attachment.html 


More information about the nix-dev mailing list