Blue screen when plugging in two headphones?

the Line-In is only for an input or Mic. (But ear-buds or speakers can actually act as either a Mic or Speaker. Whereby a Mic can't act as a speaker.) Plus nowadays, if u have like almost all PCs; a Realtek On-board sound card, then it ALSO explains why a BSD is more likely than not to occur. Because the Realtek cards have software drivers capable of switching the in-puts and out-puts through the software (kind of virtually). And u may have created an endless loop where the software couldn't figure out just what the heck was going on. lol Anyways it should be fine if u only plug an audio input device or mic into the Input.
 
the debugger shows that the memory image of the ntfs.sys (the file system driver) has been corrupted.
Something rampaged memory and overwrote the file system driver. 4035 errors.
(only that driver was modified)

if your system can boot, I would run cmd.exe as an admin then run
sfc.exe /scannow
and confirm that it fixes any corruption.

do this just to check if the ntfs.sys file was only corrupted in memory and not the copy that is saved on disk. Be sure to do a full reboot (restart) and a new copy of the driver will be loaded into memory from disk otherwise if you wake up from sleep you will have the bad memory copy.

-you might even run a malwarebytes scan.