Little-known bug in XP causes explorer.exe to crash.

The OS of the 2000s.
User avatar
psu-explosion
Posts: 5
Joined: 05 Apr 2021, 22:07
Location: Midwest
Been thanked: 4 times
United States of America

Little-known bug in XP causes explorer.exe to crash.

Unread post by psu-explosion »

I re-discovered a harmless glitch within Windows yesterday that can cause explorer.exe to crash simply by accessing a .url file. There is almost no documentation for this bug on the Internet, so I figured I'd post it here.

Creating a .url file containing the following text will trigger a crash whenever you access a folder containing it:

[InternetShortcut]

url=file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:file:


Saving this to your desktop is particularly annoying, because it will make explorer.exe crash over and over, because each time it tries to load your desktop, it will also try and load the file, thus crashing again, and the cycle will repeat.

Just delete the file through CMD to stop the crashes. In my testing, the only versions that are vulnerable to this are XP and Server 2003.

I have attached a file with the previously mentioned text. Just copy it to a folder of your choice, change the extension from .txt to .url, and that folder will become inaccessible through Explorer.
Attachments
Crash.txt
(166 Bytes) Downloaded 104 times

Kouto

Little-known bug in XP causes explorer.exe to crash.

Unread post by Kouto »

Remnant of Active Desktop, possibly? Kinda feels like that...

User avatar
psu-explosion
Posts: 5
Joined: 05 Apr 2021, 22:07
Location: Midwest
Been thanked: 4 times
United States of America

Little-known bug in XP causes explorer.exe to crash.

Unread post by psu-explosion »

I have no idea. It doesn't occur in 2000, and I don't think Active Desktop had any changes from 2K to XP, so I'm at a loss. I'm not very familiar with the inner working of Active Desktop, though.

User avatar
i430VX
Posts: 84
Joined: 12 Jan 2021, 06:48
Location: Computer
Has thanked: 25 times
Been thanked: 23 times
United States of America

Little-known bug in XP causes explorer.exe to crash.

Unread post by i430VX »

To whom it may concern, explorer also blows up and dies if you enter it into the Run... prompt.

Kouto

Little-known bug in XP causes explorer.exe to crash.

Unread post by Kouto »

i430VX wrote: 11 Apr 2021, 00:30 To whom it may concern, explorer also blows up and dies if you enter it into the Run... prompt.
What version of IE installed in both cases? Wonder if that does anything given how deeply IE6 is integrated in particular.

CRMX
Posts: 15
Joined: 13 Jan 2021, 09:53
Location: Somewhere in the Northern Hemisphere
Mood: Indescribable
Been thanked: 3 times
Norway

Little-known bug in XP causes explorer.exe to crash.

Unread post by CRMX »

I don't think IE version matters too much, due to the amount of IE6 stuff remaining even after upgrading to IE7/8. But don't take my word for it since I haven't tested this with all 3 IE versions yet.
Over and out.

User avatar
i430VX
Posts: 84
Joined: 12 Jan 2021, 06:48
Location: Computer
Has thanked: 25 times
Been thanked: 23 times
United States of America

Little-known bug in XP causes explorer.exe to crash.

Unread post by i430VX »

It is IE8 on my system.

User avatar
psu-explosion
Posts: 5
Joined: 05 Apr 2021, 22:07
Location: Midwest
Been thanked: 4 times
United States of America

Little-known bug in XP causes explorer.exe to crash.

Unread post by psu-explosion »

I have started more extensive tests today. My first finding: Internet Explorer version does matter.

On IE6, the bug works as I first detailed. Triggers an explorer.exe crash if it's interacted with in pretty much any way outside of CMD.

On IE7, it doesn't work... sort of. In my testing, explorer.exe will not crash if it sees the file. However, if you try and save a file to the directory that contains the .url file, the application will crash.
For example, if you try and save an image you created in Paint to a directory containing the file, Paint will crash & you will lose whatever unsaved work you had. However, explorer.exe stays alive.

On IE8, you get the same behavior as IE7. Which, of course, counters i430VX's experience, so there must be some variable I'm missing.

One thing I will test later is service packs. I'm performing all of this on XP SP2, but I have all the different versions at my fingertips. I have a suspicion that RTM will act much different.

Kouto

Little-known bug in XP causes explorer.exe to crash.

Unread post by Kouto »

Interesting! As CRMX said, fragments of IE6 code remains in use on Windows Explorer even after IE7 or IE8 is installed so it's no wonder this happens. Bear in mind there are a few updates to IE6 - SP1/SP2, SV1 and "SP3" which seems to add 256bit encryption. Lots of different testing combos where IE6 is involved lol.

User avatar
MichaelMaymays
Posts: 1
Joined: 06 Mar 2021, 18:13
Location: Kentucky, USA
Mood: balling in da hood
Been thanked: 1 time
Contact:
United States of America

Little-known bug in XP causes explorer.exe to crash.

Unread post by MichaelMaymays »

psu-explosion wrote: 11 Apr 2021, 18:58 I have started more extensive tests today. My first finding: Internet Explorer version does matter.

On IE6, the bug works as I first detailed. Triggers an explorer.exe crash if it's interacted with in pretty much any way outside of CMD.

On IE7, it doesn't work... sort of. In my testing, explorer.exe will not crash if it sees the file. However, if you try and save a file to the directory that contains the .url file, the application will crash.
For example, if you try and save an image you created in Paint to a directory containing the file, Paint will crash & you will lose whatever unsaved work you had. However, explorer.exe stays alive.

On IE8, you get the same behavior as IE7. Which, of course, counters i430VX's experience, so there must be some variable I'm missing.

One thing I will test later is service packs. I'm performing all of this on XP SP2, but I have all the different versions at my fingertips. I have a suspicion that RTM will act much different.
the explorer.exe toolbars (including the address bar and navigation buttons) are the same ones that IE use (this is true even in windows 10) which is why you can also use your IE toolbars in explorer.exe if you have any third party ones. so that means that explorer.exe has probably a decent amount in common with IE, more than you would think anyways regardless of active desktop. that may be part of the reason this happens anyways
Ryzen 5 2600, 16GB G.Skill Ripjaws V, EVGA GTX 1070 FTW2

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests