I know I'm being picky, but session_start() will call the handler_open() and handler_read() functions - so it's more likely to be going wrong in one of those.
Having said that, a long running task of any description can time out the page and then attempting to reload the page results in a session lock error. That's relatively common. Restarting the browser is the solution. However, that's just a symptom of an entirely unrelated problem. Moodle won't let you run multiple sessions in the same browser, so the result of trying is a session timeout.
I have no idea if I'm helping
