Musescore crashing again

• Mar 11, 2020 - 12:51

Having downloaded the latest version of MS and worked with it for a few days it now crashes on entry (every time). I have sent the user reports. Will these help? I reverted to factory settings.
Ali Wood


Comments

You wrote:
...it now crashes on entry

Do you mean note entry into a score?
If so, please attach a MuseScore file exhibiting such behavior.

Oh I'm exasperated with this! Musescore has started crashing again on start up.
I have repeatedly asked for the crash report to be sent up.
I take the option to restart but it does not.

Occasionally the start up is successful. Once I get in, the editing works fine. Wood -What Good There Is To Say 9.mscz
I attach the score that is crashing.

In reply to by Jojo-Schmitz

Well, there we are, I'm afraid can't really add any more useful information. My only option now is to open MS by clicking directly on a particular file and to go straight into it.
So when you said "it doesn't crash for me", if you went in directly it maybe doesn't illustrate the problem.
Are the crash reports examined? Quite understand if you don't have the time to look.
Thanks

In reply to by Jojo-Schmitz

The exasperation continues.
I tried everything - revert to factory settings - start without start centre, start with start centre, start by double clicking on score, start with numerous other scores, and the result is the same (I don't detect a pattern of behaviour) - it usually takes between 2-5 goes to load a score successfully.
If you were able to see this for yourself (taking control of my screen) it would perhaps convince you that I'm not exaggerating! I sometimes "send a report" but I believe we are not reading those.
I attach 3 files that regularly exhibit this load behaviour.
Thanks

In reply to by Marc Sabatella

When a failure has occurred, I try going in again and try both Restore Session Yes and No alternately and after 2 or 3 goes I am able to get in. If you were to go into one of these scores, come out and then go in again perhaps you might experience the problem? (that's assuming the problem is to do with having been in one of these particular scores)

In reply to by Marc Sabatella

So, still problems, first with 3.5 release candidate and now with the latest release of 3.5.
Here's a transcript of what happened this morning:-
I have a MS icon on my desktop.
1) click on icon, selection opens, select file A, opens, fine, close file
2) click on icon, CRASH, cancel
4) click on icon, restore session = Yes, CRASH, cancel
5) click on icon, restore session = Yes, CRASH, cancel
6) click on icon, restore session = No, CRASH, cancel
7) click on icon, restore session = No, CRASH, cancel
8) click on icon, restore session = Yes, CRASH, cancel
9) click on icon, restore session = Yes, selection opens, select A, opens, fine, close
10) click on icon, restore session = Yes, selection opens, select a different file B, opens, fine, close
11) click on icon, CRASH, cancel
12) click on icon, restore session = YEs, selection opens, select original file A, opens, fine , close
13) click on icon, CRASH, cancel
14) right click on icon, select file A, CRASH, cancel
15) Go to folder with my file A in and double-click my file A, restore session = No, CRASH
16) Double-click file A, restore session Yes, opens, fine.
It is frustrating that you don't apparently appear to be able to process any audit file that I could send.
Example file A attached
Please advise.
Thanks
Alistair

In reply to by Ali Wood

We don't have a way of doing that, no, nor would it be helpful to us to watch it crash on your system if we can't reproduce the crash on our own. That's why it is crucial to have one specific file and one precise step of instructions that we can use to reliably reproduce the crash on our systems. You have examples, sure, but from your description, a different problem - one you said went away when you turned off the start center. Then you said some (different, apparently) problem came back, but randomly. That's the new problem we need a single score and a single set of precise instructions to reproduce.

In reply to by Marc Sabatella

This is my "reproduceable" crash:
Having set the start screen OFF in preferences.
For the First Crash:::::::
1. Click MS button
2. If no crash: choose File - Open Recent - select the file I sent
3. If no crash: just come out of it without updating.
Repeat 1 - 2 - 3 and sooner or later it crashes for me, sometimes on the 1st cycle, sometimes not until the 3rd or 4th cycle.
That is the random nature of it.
If you try this a few times and you get no crash, then there must be something wrong with my system, not MS.
So I hope it goes wrong for you!!! ;-)
For Subsequent Crashes in the same session::::::::
After any crash I get the option to Restore session but again then there is no common pattern, except that if I say "Yes" it always crashes, if I say "No" it is a random result
Hope this makes sense. You are smart guys, that's for sure.

In reply to by Ali Wood

Unfortunately no crash in a dozen or more tries. So I suspect something else going on with your system. Have you tried doing a clear of your recent files list (from File menu)? How about placing the score in a folder all by itself and opening from there? The idea is to make sure there is no other file that MuseScore is looking at while opening this one.

I've done what you describe and don't get crashes from either version of Wood-What good there is to say. The other 3 scores you added Aug. 5 seem to have been eaten by the website. I think on the day you posted these, there was a problem with that but it probably wont make a difference.

Have you upgraded to 3.5.2? Are you still having crash problems? Do you have the start center unchecked in Edit->Preferences->General? I realize I'm rehashing the same steps as above but you seemed rather frustrated and want to make sure you are systematically following steps.

In reply to by mike320

Yes, I upgraded to 3.5.2
Yes I am still having crash problems
Yes I have the start centre unchecked.
Recent steps:
Started MS 3.5.2
No problem.
File - Open - (file other than Wood-What Good) - no problem - close
File - Open Recent - Wood - What Good - no problem - close
File - Open Recent - Wood - What Good - problem - (crash)
File - Open Recent - Wood - What Good - problem - Restore session (crash cancel)
File - Open Recent - Wood - What Good - problem - Restore session Yes (crash)
File - Open Recent - Wood - What Good - problem - Restore session No - opens - no problem - close
File - Open Recent - Wood - What Good - problem - Restore session No - opens - no problem - close
File - Open Recent - (file A other than Wood-What Good) - no problem - close
File - Open Recent - (file B other than Wood-What Good) - no problem - close
File - Open Recent - (file A other than Wood-What Good) - problem - (crash)
I am really sorry but it does not seem to follow a pattern. I used to be a computer analyst and so I know how frustrating this is for all concerned.
IMHO this is not related to a particular file, and must be related to either MS, or, my operating system which is Windows 10 / my configuration.
If you wish, I will try to draw up a repeated methodical test scenario, but I don't have time just at this moment.
I had just hoped that others were having similar problems, hence I jumped on the other thread when I spotted it today. Is it the case that others are having similar problems?
Your patience remains infinite...
Ali

In reply to by Ali Wood

The problem fixed by turning off the start center is too common. We hoped it was fixed but it's not. At some point you said that you could send a crash report. Make it crash and in the report type

This crash is being discussed at https://musescore.org/en/node/302240

you should be able to paste this message into the report. Let me know the report has been sent and I'll make sure someone knows that report belongs to this problem. I'm only a user like you but I know how to contact someone that will look at the crash report.

In reply to by mike320

I am still frequently getting crashes.
I tried what you said (pasting the message) but when I sent the report it failed and said "Host requires authentication"
For what it's worth, attaching the most recent score that is exhibiting this behaviour (but most of my scores fail frequently)

In reply to by Ali Wood

@Ali Wood...
I see your OS (operating system) is Windows 10.

Try this (if you haven't already):
Open Windows Control Panel (you can type control into the Windows taskbar search box.
Click on Programs and Features.
Click on MuseScore 3
Click on Repair

If you are asked for the location of the installer, download the .msi (Microsoft installer package) file from here:
https://musescore.org/en
and direct the repair option to its location.

In reply to by Jojo-Schmitz

OK, I have successfully processed the repair. I crashed subsequently, this time on hitting the Musescore logo. On taking either option (Restore previous or Not) it crashed again. So I right-clicked the Musescore logo and selected a score. This succeeded. So this tells me that perhaps I need to be looking at the other thread you mention, that of "non-score-specific" crashes.

Look guys, you seem to be getting several crashes from people, not just me. As far as I can see, it would be tremendous if you could perhaps remotely log on to one of our sessions, see the problem at first hand, and be able to look at our system files / logs whatever. We've tried supplying the files but you can't reproduce the error and you've righty said so. I don't know how you can possibly work on correcting the problem unless you have some 'culprit' data or environment at first hand. There are some really sound remote support options and I for one would be happy to host such a session.

In reply to by Ali Wood

The crashes that a small percentage of people see specifically updates to 3.5 are now fairly well understood - a particular file being used by another process cannot be updated and somehow the usual Windows safeguards against that are failing. So even if we don't fully understand the solution, we do understand the prlbl,em, and the workaround is simple enough - use the Windows "repair" option, or uninstall/reinstall.

For any other crashes, we simply need sample scores and precise steps to reproduce so we can run under the debugger. Remote login would not help - we would need to run under the debugger on our own machines.

In reply to by Ali Wood

Unfortunately I can't get them to crash and the crash reporting system is currently broken. I'm not sure what's going on with it so you can't currently report a crash. If ever you do experience a crash and can send a report, post that you were successful here and I'll talk to some programmers to have them look at the report. Unfortunately until someone can see the crash report or duplicate the crash it's nearly impossible to fix.

In reply to by Ali Wood

Yes, I remember there was a crash we couldn't reproduce in the past, but your post seemed to indicate you were seeing a new problem that was more similar to the one that some others are reporting. That crash is known and completely unrelated to your problem. If you aren't seeing a crash on each and every startup from program icon but working fine when started by double-clicking a file, your problem has nothing to do with the other problem being discussed, and unfortunately yours thus remains unique. If you are seeing the crash on every startup from icon, then the solution give here solves it completely and permanently, but unfortunately won't have any bearing on the moire sporadic unreproducible problem you were experiencing in the past.

In reply to by Marc Sabatella

I can confirm that I am sometimes (not every time) crashing before reaching any window. So with Start Centre switched off, I hit the icon, expecting to get an empty MS screen (ready to hit Open Recent or Open), and the screen shows, closely followed by the crash screen.
So in this scenario it cannot be related to opening a particular score. Perhaps it relates to something hanging on in the system from the last that I had been working on, almost as if the program was leaving its files with an incorrect address on exit?!
Hope this helps - forgive me if it just a reiteration of other people's problems.
Needless to say I am still getting crashes (often) going in by double-clicking a file without using the icon.

In reply to by Ali Wood

Perhaps it relates to something hanging on in the system...

In Windows 10...
Press and hold Ctrl Shift Esc to open Task Manager and select the 'Processes' tab

Under 'Background processes', see if you have any instances of :
Qt Qtwebengineprocess

QT.png

If so, right click and then 'End task' for each of them.

In reply to by Ali Wood

OK... see if that works, because sometimes anti-virus software restricts the "phone home" of an automatic update check.
AVG in particular sometimes does not play nice and has to be told to 'allow' internet access for a given program.

Are you running any third party anti-virus (other than the built-in Windows Defender)?

In reply to by Ali Wood

One more item...

You wrote:
...(ready to hit Open Recent or Open), and the screen shows, closely followed by the crash screen.

Sometimes activating 'Open Recent' or 'Open' or 'Save' or 'Save as', may produce a crash.

In MuseScore Edit -> Preferences... -> Advanced tab
What is the status of the ui/application/useNativeDialogs box?

Pref.png

Is it checked or unchecked?

In reply to by Jojo-Schmitz

I've had some time to spend on this subject, and have played around with various scores again.
I reverted to factory settings and I have Musescore 3.5.
Being from an IT background I know the challenges that are presented by a user reporting system errors, so I do sympathise.
I have tried with and without start centre, with and without splash screen, clicking on icon or not, double clicking on files directly or not, Restore Session Yes or No, continue last session or not etc. etc.
I have tried with different scores, some large, some small. I realise that you have tried some of my scores and not reproduced an error.
I have tried closing the previous session with or without updating.

The results are never predictable - the error window appears on average about half the time.
All I do is attempt a few times to get i and invariably it lets me in after 2, or 3, or 4 goes. So I can function. It is just a piggin' nuisance (GB English), shall we say.
I can only reiterate the necessity for one of you brilliant guys to log into my computer real-time. Other organisations do this without too much fuss. I am fully paid up to Musescore and will help all I can.
It does I admit point to my environment rather than particular score problems.
If you're not able to help further then I will just live with it and occasionally post an error report from the error screen appropriately labelled, as you suggested.
Even the attached tiny file fell over

In reply to by Ali Wood

I can only reiterate the necessity for one of you brilliant guys to log into my computer real-time.
We don't have any infrastructure for that in place

Other organisations do this without too much fuss.
Which? Also Non-profit, like MuseScore?

I am fully paid up to Musescore and will help all I can.
Not here, not on musescore.org, not as a user of the MuseScore desktop software, which is free and open source. Free as in Free Speech and Free as in Free Beer...
Support 'manned' by unpaid (!) volunteers...

In reply to by Ali Wood

I will just reiterate things already said:

1) logging into your system would not help, in order to do any real investigation we would need you to install a
and configure a full build and debugging environment

2) if you are familiar with other free & open and source projects where the volunteer developer who provide free assistance on the forums are also doing free one-on-one remote desktop support, consider yourself fortunate, and thank those volunteer developers profusely because this is essentially unheard of (I've never once encountered this in 30+ years in the business)

3) as always, if you want a problem resolved, the most important thing you can do is take the time to figure out precise steps to reproduce the problem. there is nothing else you or I or anyone else can do that would be even 0.001% as effective

In reply to by Marc Sabatella

1) accepted but it would at least convince you that I am not bullshitting
2) accepted - I didn't realise you were all unpaid developers - like everyone else I am eternally grateful.
3) I have tried to explain that after hours of trying it out, I cannot figure out how exactly to reproduce it. If I could, I would shout "Eureka" and we would all be happier. If you were able to log on to my system (which I accept you cannot) then you would possibly find some pattern, but I have failed to do so.

In reply to by funnyflywheel

As far as I know it is used under the hood by QtCreator which is what most people on Windows developer with, or did anyhow until relatively recently when MSVC started to be supported and most newer developers probably use that. Anyhow, gdb works fine, but again, for it to be very useful, you need a whole build and debug environment set up.

In reply to by funnyflywheel

it would at least convince you that I am not bullshitting
No worries, we don't believe that

Side question: how well does gdb work on Windows?
Not sure it'd help with an MSVC build (which the releases and nightlies are)

What I actually suspect meanwhile is some kind of hardware defect, like a flaky RAM or an overclocked CPU?

Do you still have an unanswered question? Please log in first to post your question.