I am also getting this error sometimes.
From what I understand, the Espressif SDK blobs are riddled with code that checks for some errors and if they encounter one, they just go in an infinite loop while printing the filename + line number of the error. The watchdog timer will kick in after some time and the esp will restart.
In our case, the error occured somewhere in lmac.c (one of the files constituting the libpp.a library, the wifi drivers most likely) at line 599 (of the source code, supposedly). This specific error gets printed somewhere in lmacProcessTXStartData, which is called by wDev_ProcessFiq, the wireless driver's interrupt handler, I believe.
EDIT: In my case, the error seems to occur when I set up a TCP server with espconn, and later I call espconn_disconnect on the espconn struct that was used to create the server (in espconn_accept and all the regist_cb functions).
A typical snippet would be:
Code: Select allif (some_error_occured) {
ets_printf("%s %u\n", "lmac.c", 599);
while (1);
}
It would be good if Espressif could provide some more informative messages since the errors appear important enough to warrant a full system restart...