I doesnt actually crash and exit, the interface just stops responding. Also it stops submitting shares, I use the 50btc.com pool and when the miner hangs the drop in mhash/s is seen quickly in the pools API. And GPU-Z shows the gpus continue running the kernels.
What is the CGMINER GPU status and CGMINER pool status? Are your other network applications continue operating when you switch user?
Use cgminer API to read GPU and POOL status.
This happens after switching user:
08/16/12 14:49:06 0x12e4 INF refreshADLInfo(): min GPU utilization: 0%, max GPU temperature: 75C
08/16/12 14:49:06 0x12e4 DBG adlPollingThread(): ADL H/W reading done, status: ADL_STATUS_CLOSED
08/16/12 14:49:10 0x0e28 INF listenForCommands(): new connection from: 127.0.0.1
08/16/12 14:49:11 0x0e28 SVR listenForCommands(): received invalid request
08/16/12 14:49:11 0x0e28 INF listenForCommands(): closing accepted connection.
08/16/12 14:49:11 0x0e28 INF listenForCommands(): new connection from: 127.0.0.1
08/16/12 14:49:12 0x0e28 DBG listenForCommands(): received 'status' command
08/16/12 14:49:12 0x0e28 DBG getWatchdogStatus(): status len: 927
08/16/12 14:49:12 0x0e28 INF listenForCommands(): closing accepted connection.
08/16/12 14:49:17 0x0e28 INF listenForCommands(): new connection from: 127.0.0.1
08/16/12 14:49:18 0x0e28 SVR listenForCommands(): received invalid request
08/16/12 14:49:18 0x0e28 INF listenForCommands(): closing accepted connection.
08/16/12 14:49:18 0x0e28 INF listenForCommands(): new connection from: 127.0.0.1
08/16/12 14:49:18 0x0e28 DBG listenForCommands(): received 'status' command
08/16/12 14:49:18 0x0e28 DBG getWatchdogStatus(): status len: 927
08/16/12 14:49:18 0x0e28 INF listenForCommands(): closing accepted connection.
08/16/12 14:49:21 0x12dc DBG monitorThread(): max gpu temperature (75C) stays below defined threshold (86C)
08/16/12 14:49:21 0x12dc DBG monitorThread(): all GPU fans appear to be functional
08/16/12 14:49:21 0x12dc SVR monitorThread(): GPU mining activity: 0% is lower than threshold: 20%, timeout of 80 seconds has been reached, will restart miner process after: 15 seconds...
08/16/12 14:49:21 0x12dc SVR restartMiner(): killing miner process: 1164