locking text writer dies on .init

Fix issue 10898