You are here

The Eject button on Portable apps results in a BSOD

12 posts / 0 new
Last post
Nb3
Offline
Last seen: 1 year 1 month ago
Joined: 2023-09-18 11:37
The Eject button on Portable apps results in a BSOD

Whenever i try and use the eject button on Portable apps 26.2.1 it causes a BSOD (page fault in nonpaged area).

This has happened on two different computers now.

Has anyone else seen this recently?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Eject Utility

The PA.c Platform bundles and uses the open source USB Disk Ejector utility. It uses standard Windows API calls to attempt to eject the disk. Please try using that on its own to see if you can determine where the error is occurring.

Sometimes, the impossible can become possible, if you're awesome!

Nb3
Offline
Last seen: 1 year 1 month ago
Joined: 2023-09-18 11:37
USB desk ejector app works normally

I used the app from the link provided and had it eject the flash drive (San disk extreme 256GB) that portable apps is installed on. The drive ejected as expected.
But, like before, when i eject from portable apps…i get a blue screen with the same error (PAGE FAULT_IN_NONPAGED AREA)

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Close, Eject without Eject

When you close the platform, it works as expected? If so, please open up the X:\PortableApps\PortableApps.com\App\Bin folder and rename eject.exe to eject-unused.exe. Then try ejecting from the platform again.

Sometimes, the impossible can become possible, if you're awesome!

Nb3
Offline
Last seen: 1 year 1 month ago
Joined: 2023-09-18 11:37
No blue screen but does not eject

After renaming…when i push the eject button…it closes out of portable apps but does not eject (as expected)…but also there was NO blue screen.

Interesting.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Next Step, Batch File

Create a text file called eject.bat within your X:\PortableApps\PortableApps.com\App\Bin directory with the following contents:

eject.exe /REMOVETHIS /SHOWEJECT

Make sure the PA.c Platform, all your apps, and all your local apps are closed. Then run the batch file.

Sometimes, the impossible can become possible, if you're awesome!

Nb3
Offline
Last seen: 1 year 1 month ago
Joined: 2023-09-18 11:37
Batch file causes BSOD

I created the batch file (D:\PortableApps\PortableApps.com\App\Bin eject.exe /REMOVETHIS /SHOWEJECT)
The result is a BSOD with the same error message page_fault in nonpaged area

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
More Details

Ok, we know it's not any of our code. But, it should be impossible for Windows to blue screen from a userspace app making standard Windows API calls unless there's a driver issue.

What OS are you using (version , 32v64-bit)? Do the 2 computers you had this happen on share any specific hardware or unique software quirks?

Sometimes, the impossible can become possible, if you're awesome!

Nb3
Offline
Last seen: 1 year 1 month ago
Joined: 2023-09-18 11:37
What i use

I have tried it on two Lenovo P series mobile workstations (P16 gen 1 and P52s)
The P16 uses 64bit windows 11
The P52s uses 64bit Windows 10

Both OS’s are updated.

We do have a zero trust security application called SentinalOne. It will block executables it does not trust. However, it hasn’t been an issue before.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Sure

Unfortunately, I'm not sure what specifically would be causing it on your machines. It could be SentinalOne. Or it could be a bad driver from Lenovo that's used on both laptops.

Could you try copying the version that is in the PA.c Platform to your Desktop and then running the following from the command line in that directory with X being the letter of the drive you use?

eject.exe /REMOVELETTER X

Sometimes, the impossible can become possible, if you're awesome!

Nb3
Offline
Last seen: 1 year 1 month ago
Joined: 2023-09-18 11:37
BSOD again

Yes, i ran it from the desktop and it blue screens again.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 49 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Ok

Unfortunately, that's about all the help I can offer at the moment. I was thinking that if it was something I could work around by copying eject.exe locally and having it eject from there I could have something to do. There's a driver or that utility mentioned on your PCs that's causing the BSOD, unfortunately, when a standard Windows API call is made. For now, I'd suggest you don't use the platform to eject, just close on the affected machines.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments