Musescore 2.0.2 Ok but 2.0.3 crashes !

• Jun 24, 2016 - 11:23

Hello,

With Xubuntu 14.04 LTS and Musescore 2.0.3 (in PPA : http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu)

At terminal :
musescore
initScoreFonts 0xb498648
QDir::mkpath: Empty or null file name
QDir::mkpath: Empty or null file name
QDir::mkpath: Empty or null file name
QDir::mkpath: Empty or null file name
Erreur de segmentation (core dumped)

Thank you for your help.


Comments

In reply to by Jojo-Schmitz

Erreur de segmentation (core dumped)

That's actually a segmentation fault. I don't want to interfere with troubleshooting, but that sounds suspiciously like the AppImage, which does that unless it's run with root privilege (under sudo).

In reply to by Marc Sabatella

I don't know how common it is, but I'm 2 for 2 on Ubuntu 14.04 computers, one other guy has reported it, and now shoogle has confirmed it. Shoogle said he didn't see it before because he was running as root. I don't know what's causing this guy's PPA crash, but the symptom is the same as for the AppImage. That's all I'm saying.

In reply to by RexC

Cause of the first problem :
Removing the 2 files ("session" and "plugin") in directory /home/userid/.local/share/data/MuseScore/MuseScore2/ : MuseScore start correctly.

But, an other problem :
when quit MuseScore : *** Error in `musescore': corrupted double-linked list: 0x0ae88438 ***
Abandon (core dumped)

nb : MuseScore version 2.0.3, package .deb in ppa:mscore-ubuntu/mscore-stable, Xubuntu 14.04.4 LTS, kernel 3.13.0.88

As @jdt37b said, the solution for anyone having this problem is to delete MuseScore's preference files. Specifically, you need to delete the files "session" and "plugin" in ~/.local/share/data/MuseScore/MuseScore2/

You can do it like this:

cd ~/.local/share/data/MuseScore/MuseScore2/
rm session
rm plugin

Alternatively, you could just run MuseScore with the -F option (factory reset) which will delete all of the preference files:

mscore -F

As usual, be aware that deleting preference files will result in loss of saved settings and custom pallets, etc, but you will not lose any scores.

I tried the solution
{syntaxhighlighter SPEC}
mscore -F
{/syntaxhighlighter} and still received the same error.
Running Arch Linux here with:

{syntaxhighlighter SPEC}
[imskeptical@arch-laptop MuseScore2]$ pacman -Q musescore
musescore 2.0.3-2
{/syntaxhighlighter}

{syntaxhighlighter SPEC}
*** Error in `mscore': corrupted double-linked list: 0x00000000020049f0 ***
{/syntaxhighlighter}

EDIT: I just replied to the wrong spot of the thread. -.-

Upgrading Ubuntu 14.04 LTS to 16.04 LTS 32bit version will delete MuseScore 2.0.2.

From the official repositories, version 2.0.3 MuseScore is proposed. This version does not start from the Unity launcher. On the command line, the program starts but ends with a "segmentation fault". All options (-F, -R, -s, -m), or deleting configuration files do not solve the problem.
These remarks are identical to the version "AppImage".
Sometimes the program starts but crashes after a few commands.

Sorry for my english, i'm french, it's "Google translation"

In reply to by maxyounglion

After running mscore -F, the next time you run MuseScore should open with a blank score. Open the music saved in previous versions, and before continue Save As the new version overwriting the old version. Once you start working with the new version scores, the problem should be fixed. At least that what worked for me.

Hi guys,

Same thing here. 2.0.3 crashes at start up. It's my first install, done just after I upgraded my system to ubuntu 14.04.

I tried the suggestions here above (musescore -F and deleting the config files) but that didn't solve the problem. When launched from terminal with -F I get it working for a few seconds then it crashes. The program won't launch from Unity at all (crashes directly).

There seem to be quite a few people with the core dump problem, both here and in the issue reporting area (https://musescore.org/en/project/issues/musescore)

From what I see there are some similarities between them. Upgrading to Ubuntu 14.04 seem to be one of them. I am not into troubleshooting but what struck me in this thread is the locale settings of the different users. All the segmentation fault messages are in languages other than English:
Speicherzugriffsfehler (Speicherabzug geschrieben)
Errore di segmentazione (core dump creato)
Erreur de segmentation (core dumped)

Maybe just a coincidence but it is pretty unusual imho.

In reply to by cocarina

Can you try other command line options like -s (disables sound) and -w (disables the web view)? These would eliminate some of the more common system dependencies from the equation. You can also try -d to get some debug output that might be helpful.

In reply to by Marc Sabatella

still a crash with -s and -w arguments

here is the output with -d


    global share: /tmp/.mount_tfMHoo/share/mscore-portable-2.0/
    configured localeName system
    real localeName fr_FR
    load translator /tmp/.mount_tfMHoo/share/mscore-portable-2.0/locale/mscore_fr_FR
    load translator /tmp/.mount_tfMHoo/share/mscore-portable-2.0/locale/instruments_fr_FR
    load translator qt_fr_FR from /tmp/.mount_tfMHoo/lib/qt5/translations
    load translator qt_fr_FR failed
    read shortcuts from <:/data/shortcuts.xml>
    initScoreFonts 0xad08530
    DPI 72.000000
Information for screen: "VGA1"
  Available geometry: 65 24 1215 x 1000
  Available size: 1215 x 1000
  Available virtual geometry: 65 24 1215 x 1000
  Available virtual size: 1215 x 1000
  Depth: 24 bits
  Geometry: 0 0 1280 x 1024
  Logical DPI: 96
  Logical DPI X: 96
  Logical DPI Y: 96
  Physical DPI: 96.2606
  Physical DPI X: 96.1893
  Physical DPI Y: 96.3319
  Physical size: 338 x 270 mm
  Refresh rate: 60 Hz
  Size: 1280 x 1024
  Virtual geometry: 0 0 1280 x 1024
  Virtual size: 1280 x 1024
    LibraryPath: /tmp/.mount_tfMHoo/lib/qt5/plugins
    LibraryPath: /tmp/.mount_tfMHoo/bin
/tmp/.mount_tfMHoo/AppRun : ligne 18 :  2189 Erreur de segmentation  (core dumped) "${APPDIR}/bin/mscore-portable" "$@"

edit: hmmm, the code tag doesn't seem to work very well : everything between brackets is being ignored
edit2: I removed all the brackets in the indented paragraphs as they were treated as html element and were not showing properly

In reply to by cocarina

Hi,

Personally i think it's a problem of QT.

In a terminal, i start MuseScore with the '-d' option and sometimes, it run well. Often it crashes during playing or another operation and i can see the message in the terminal : "b6636000-b664b000 rw-p 027dd000 08:01 3146937 /usr/lib/i386-linux-gnu/libQt5WebKit.so.5.5.1Abandon (core dumped)"

Maybe that is another approach for this problem.

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