I have the same problem: if I save a Text-Widget or a configuration or whatever,… backslashes are added; after every saving the backslashes get duplicated.
so after multiple saving the content looks like \\\\\\\"
I use WordPress 2.9 with 5.2.6-3ubuntu4.2
magic_quotes is set to off.
I googled for a while with no solution for this bug…
I have no idea how to get a solution, actually wordpress is not practicable with this bug for me