Standalone image viewer crashes

Thanks!

Don't worry about disabling the wheel-click, that shouldn't be a factor (unless maybe the wheel is moving accidentally while the window opens, maybe).

2 Likes

Here's the test version (12.20.1 plus some changes):
(obsolete link removed)

Please try that and let us know if it makes a difference.

If the problem still happens, we can add some additional checks to try and track down the point where things go wrong.

Thanks. Nothing changed, unfortunately. I collected new .dmp files, let me know if you want them.

Thanks for trying that version.


Here's a new test version which outputs diagnostics which we hope will help tack down the problem:

Please also download DebugView from Microsoft and extract it to somewhere:

DebugView doesn't need to be installed, and you can simply delete it when finished.


If you have DebugView running when you open the Opus viewer, you should see a lot of extra information coming from Opus (other programs may print things there as well).

You might need to resize the columns to see things properly, as they're quite narrow by default.

  1. With the new test version installed, and DebugView running in the background, please open the viewer until you get the problem again.

  2. At that point, please save the DebugView output to a file:

  3. You should also find a large dopusdump.dmp file on your desktop.

    (It's only created if the problem has been detected. And it'll only make the file if it doesn't already exist, to avoid filling up your C:\ drive.)

Please zip up the DebugView output file, and the dmp file (if one is created) and send them to us privately (crashdumps@gpsoft.com.au as before).

Many thanks for your time and patience!

Ok. Should I do this when I get the type of crash that produces the "Program Error..." prompt, or the other, prompt-less type? Or it doesn't matter?

I just got the first type (with the prompt) and I have a 284 MB dopusdump on the Desktop.

Ok, I sent it anyway.

Many thanks!

I think I can see what's going wrong now.

Do you have Preferences / Viewer / Behavior / Reuse existing viewer window turned on?

If so, I think sometimes your mouse is double-clicking twice in a row very quickly (which often happens as the microswitches age), causing the viewer to start opening for the file and then, before that has finished, immediately sending a request to the viewer to open the same file again, which it's handling before it's ready.

I can't double-click fast enough to make it happen by hand, but if I set up a batch file to run the Show command twice in parallel, with that Preferences option on as well, then I can reproduce something which looks like the same crash you've been seeing.

I think now we should be able to fix this.

As a workaround for now, please try turning off that Preferences option and see if that solves things for you. That should also confirm that the problem is what I think it is.

1 Like

Yes, I've changed a few defaults there:

I did some quick tests after disabling it and couldn't get it to crash. Thanks for quickly catching this. I will test some more but hopefully that's the cause of it.

Guess I need a new :mouse2:?

1 Like

Come to think of it, it is also a while that when wheel-clicking installer files, I sometimes get double installation and/or UAC prompts. It did seem strange, but I thought it was random... ha!

Not a single crash so far.

2 Likes

My middle button is similar, sometimes opening/closing multiple tabs in web browsers by mistake. :smiley: Microswitches are still not made very well.

It's a shame the drivers and OS do not have any kind of "de-bounce" option as it is such a common problem. I have gone through so many expensive mice, just because the switches start double-clicking (or, more rarely, stop clicking at all).

Excellent! Thanks for confirming, and for all your time and help getting to the bottom of this. Even though the mouse button was doing something unwanted, it still shouldn't cause Opus to crash, so we're glad we found out about the problem and could fix our half of it.

We've created a fix which will be in a next beta, most likely available this week.

Thanks again!

1 Like

Not sure if the faulty part is in there, but I ordered a €5 replacement wheel off eBay (=China). It's not just the wheel, but its entire "enclosure/mechanism". It'll be fun to try, before buying a new one.

Thanks for your top-notch support.

1 Like