Try running the code with the race detector (compile with -race), mysterious crashes are usually caused by data races.
It's weird that it would happen with a string parameter to a function though. Are you using multiple goroutines in that function to modify/access a string? Can you share the code of the rest of the function, or create a small reproducing test case? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.