Set as desktop background

In 10.0.5.0 (also 10.5.0.1 ß) when I right click and click 'Set as desktop background' DOpus crashes.

Faulting application name: dopus.exe, version: 4.0.3.11, time stamp: 0x4f960206
Faulting module name: stobject.dll_unloaded, version: 0.0.0.0, time stamp: 0x4ce7c9c9
Exception code: 0xc0000005
Fault offset: 0x000007fefb1a3645
Faulting process id: 0xbd4
Faulting application start time: 0x01cd354af0ccf5bc
Faulting application path: C:\Program Files\GPSoftware\Directory Opus\dopus.exe
Faulting module path: stobject.dll
Report Id: 84b34b5d-a147-11e1-baf5-6805ca03b053

Faulting application name: dopus.exe, version: 4.0.3.12, time stamp: 0x4fb08867
Faulting module name: stobject.dll_unloaded, version: 0.0.0.0, time stamp: 0x4ce7c9c9
Exception code: 0xc0000005
Fault offset: 0x000007fefb743645
Faulting process id: 0x834
Faulting application start time: 0x01cd39a57b2b19ed
Faulting application path: C:\Program Files\GPSoftware\Directory Opus\dopus.exe
Faulting module path: stobject.dll
Report Id: d325e8ba-a599-11e1-ab16-6805ca03b053

It works fine in Explorer, XYplorer and Windows Photo Viewer.

Any ideas what might be the cause, I've never had this with earlier versions.

If you search your C:\ drive for stobject.dll, which folder(s) is it located in?

The crash mentioned stobject.dll_unloaded, which indicates that a DLL (probably a shell extension from another program) has created a window or installed a callback/hook of some kind, and then not prevented Opus from later unloading the DLL. The DLL's code is then called, but is no longer in memory, so it crashes.

Opus may unload DLLs it no longer needs at different times to other programs, which might expose a bug in the DLL that other programs happen to avoid triggering.

Name Size Type Modified Attr Location
stobject.dll 251 KB Application Extension 20/11/2010 14:27 -a--- C:\Windows\System32
stobject.dll 223 KB Application Extension 20/11/2010 13:21 -a--- C:\Windows\SysWOW64
stobject.dll 251 KB Application Extension 20/11/2010 14:27 -a--- C:\Windows\winsxs\amd64_microsoft-windows-stobject_31bf3856ad364e35_6.1.7601.17514_none_a848fb386c1b8ee7
stobject.dll 223 KB Application Extension 20/11/2010 13:21 -a--- C:\Windows\winsxs\x86_microsoft-windows-stobject_31bf3856ad364e35_6.1.7601.17514_none_4c2a5fb4b3be1db1

Oh, stobject.dll is part of Windows itself, and seems to be loaded and then unloaded normally when using the Set as desktop wallpaper command for me.

I just remembered that there is a confirmed bug in Windows 7 where invoking Set As Desktop Wallpaper from any app (doesn't have to be Opus) other than Explorer can result in a crash. We reported this bug and got a confirmation from Microsoft back in 2009 but (of course!) they have still not bothered to fix it:

groups.google.com/forum/?fromgr ... obILNhxWCA
connect.microsoft.com/VisualStud ... n-an-image

However, newer versions of Opus should automatically intercept that command on Opus's own file context menus and replace it with Opus's own set-wallpaper code, and that still seems to work for me in 10.0.5.1-beta.

Where are you invoking the command from? Is it when right-clicking a file within a normal folder (not a special/virtual folder) within an Opus lister, or from somewhere else within Opus (e.g. a File->Open dialog)?

Where are you invoking the command from? Is it when right-clicking a file within a normal folder (not a special/virtual folder) within an Opus lister, or from somewhere else within Opus (e.g. a File->Open dialog)?

Works correctly from a normal folder "C:\Users\BarKeep\Documents\Themes\Wallpaper", but crashes from Libraries "lib://Documents/Themes/Wallpaper"

Thank you for the extra info which lead me to a problem in how Opus handled certain context menu items for files in Libraries.

I've fixed that, and the fix will be in the 10.0.5.2-beta update, probably in the next couple of weeks.

Thanks. I'll try it when its available. For now I've set my tabs to open the 'real' folders rather than Libraries.

If it helps, Opus also has its own Set Wallpaper command which has a few more options than the Windows 7 one, too.

It's in the Tools menu by default...


...but you can put on the same command into the context menu for images easily enough:


Shout if you want to set that up but need help.

Hello there,

sorry for digging out this old thread.

Leo, can you please explain how you manage to get the "set as backround"-context working?

I don't know which command it is...

Thanks!

The commands are in the default toolbar, in the Tools menu.

You can put the same commands in the right-click context menu if you want, or just use the Tools menu as-is.

If you need more help with this, please start a new thread as this thread is about an old crash, when using the Windows context menu item rather than the Opus ones, which has long since been fixed.