My problem starts when appears a duplicate "everyone" group with Custom privileges. I make me as disk owner giving Macintosh_HD deep read-write privileges for my user.
Then i'd got the same problem with my terminal:
"Last login: Wed Jul 20 21:45:31 on console login(5262,0x7fff755a5960)
malloc: *** error for object 0x7fc1fd200980: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug"
and finaly, i did like you, repair disk permissions. there was a lot of bugs in libraries folders.
Well, at that moment, all works fine. I hope, i can help someone in same problem.