2.0.3 AppImage crashes on startup

• Jun 16, 2016 - 02:24

./MuseScore-2.0.3-i686.AppImage
initScoreFonts 0xaa8d788
/tmp/.mount_dkSALY/AppRun: line 18: 15972 Segmentation fault "${APPDIR}/bin/mscore-portable" "$@"

It always crashes on startup. Sometimes it says the previous session crashed, and asks whether to restore it, whereupon it terminates instantly, regardless whether I answer Yes or No. I'm running Ubuntu 14.04. This happens on two computers.


Comments

It might help to know which Linux version(s) are you using?

However it possibly could be connected to something about how you have your system set up. As a test, can you create a new user account, do no customizations, and run from that?

FYI, it runs fine for me on Ubuntu Trusty - running on a Crouton based Chromebook.

In reply to by jim.weisgram

What customization? This is a new program and it won't start. Won't start, as in -- memory violation. As a wrote above, I am running a fully patched Ubuntu 14.04 (Trusty) 32 bit on i686, using the Flashback (Metacity) desktop.

But for what it's worth, it also segfaults on a brand new account, but the numbers are different.
0xa4ce178
line 18: 8147

In reply to by RexC

Sorry, I am guilty of skimming over what you wrote. I meant no customization of your Linux environment. You did answer that and did give the Ubuntu version up front.

I guess one next step is for me to check to see if my Crouton Ubuntu is all patched and up to date and see if I can break 2.0.3.

That still leaves a bunch of possible differences, I think Crouton on Chromebooks installs less software than normal, probably because Chromebooks have such limited storage.

In reply to by Marc Sabatella

./MuseScore-2.0.3-i686.AppImage -d
global share:
configured localeName
real localeName
load translator
load translator
load translator failed
load translator from
load translator failed
read shortcuts from
initScoreFonts 0xb4cc8b0
DPI 72.000000
Information for screen: "VGA1"
Available geometry: 65 24 1855 x 1056
Available size: 1855 x 1056
Available virtual geometry: 65 24 1855 x 1056
Available virtual size: 1855 x 1056
Depth: 24 bits
Geometry: 0 0 1920 x 1080
Logical DPI: 96
Logical DPI X: 96
Logical DPI Y: 96
Physical DPI: 102.299
Physical DPI X: 102.239
Physical DPI Y: 102.358
Physical size: 477 x 268 mm
Refresh rate: 60 Hz
Size: 1920 x 1080
Virtual geometry: 0 0 1920 x 1080
Virtual size: 1920 x 1080
LibraryPath:
LibraryPath:
/tmp/.mount_13z9eX/AppRun: line 18: 4152 Segmentation fault "${APPDIR}/bin/mscore-portable" "$@"

This time it said the previous session crashed, asked if I wanted to restore it. I answered No, and it crashed.

In reply to by Marc Sabatella

Not that I know of. Everything is pretty much default Ubuntu except for the choice of desktop. I don't have a record of changing any environmental variables, and I don't even know how to do it with a bit of research.

I'm running the Ubuntu desktop at the moment, with same problem, but this time:

load translator /tmp/.mount_WYp3IO/share/mscore-portable-2.0/locale/instruments_en_US failed
load translator qt_en_US from /tmp/.mount_WYp3IO/lib/qt5/translations
load translator qt_en_US failed
LibraryPath: /tmp/.mount_WYp3IO/lib/qt5/plugins
LibraryPath: /tmp/.mount_WYp3IO/bin

(I had to remove all the brackets (<>) because otherwise the forum refuses to display the output.)

=============
Here are the library directories:

/tmp/.mount_WYp3IO$ ls lib/qt5/plugins
iconengines/ platforms/ sqldrivers/
imageformats/ printsupport/ xcbglintegrations/

/tmp/.mount_WYp3IO$ ls bin
ldd-recursive* musescore-portable@ qt.conf
mscore-portable* portable-utils* rm-empty-dirs*

In reply to by jim.weisgram

Yes, that works. (Technically I think it should be gksudo, although that leaves very much less information on the console.)

Unfortunately, I can't run the program from a nonadministrative account (unless I su, but that doesn't count). Even if I own the file, I still can't use it without crashing.

Even when it runs, there are still some error messages. I don't know if they're relevant.

QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)

QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)

QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)

QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)

QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)

QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)

In reply to by RexC

The last step was really about debugging your problem, not a solution. It sounds like you know that running as an administrator is an invitation for something going wrong and causing more system problems. More debugging to follow...

Looking ahead in this reply, I'm assuming you know less about Linux and your system than you may know. No offense intended.

The first check I can think of is to make certain your permissions and ownership to the MuseScore files and folders under your Documents folder are OK.

You could either run commands from the terminal or views from your preferred file manager to check permission and ownership settings. I've given some terminal commands below in list view, ensuring that you have columns turned on that show the owner and the permissions showing (rwxrwxr-x or whatever).

From a terminal I'd run the commands

id (to make certain your user id is what you think it is).
It will list your user id and then all the groups you are a member of.
ls -ls ~/Documents (look in the output for a line with MuseScore2 at the end)
ls -lsR ~/Documents/MuseScore2

and see what permissions show up on the folders and files. Hopefully your permissions on the 6 folders for MuseScore2 would look like this example for the SoundFonts folder

4 drwxrwxr-x 2 username usergroup 4096 Dec 20 11:52 Soundfonts

And the file permissions would be similar.

By the way, here's what I get when I run with ...AppImage with -d. I've got a couple of lines of LibraryPath: with nothing following. And a couple of failed load translator lines.

~=> ./MuseScore-2.0.3-x86_64.AppImage -d
global share: </tmp/.mount_WeoQ8z/share/mscore-portable-2.0/>
configured localeName <system>
real localeName <C>
load translator </tmp/.mount_WeoQ8z/share/mscore-portable-2.0/locale/mscore_C>
load translator </tmp/.mount_WeoQ8z/share/mscore-portable-2.0/locale/mscore_C> failed
load translator </tmp/.mount_WeoQ8z/share/mscore-portable-2.0/locale/instruments_C>
load translator </tmp/.mount_WeoQ8z/share/mscore-portable-2.0/locale/instruments_C> failed
load translator <qt_C> from </tmp/.mount_WeoQ8z/lib/qt5/translations>
load translator <qt_C> failed
read shortcuts from </home/jim/.local/share/data/MuseScore/MuseScore2/shortcuts.xml>
initScoreFonts 0x27f6d60
DPI 72.000000
Information for screen: "default"
Available geometry: 0 31 1366 x 657
Available size: 1366 x 657
Available virtual geometry: 0 31 1366 x 657
Available virtual size: 1366 x 657
Depth: 24 bits
Geometry: 0 0 1366 x 688
Logical DPI: 96.4635
Logical DPI X: 96.3789
Logical DPI Y: 96.5481
Physical DPI: 107.295
Physical DPI X: 128.505
Physical DPI Y: 86.0847
Physical size: 270 x 203 mm
Refresh rate: 59 Hz
Size: 1366 x 688
Virtual geometry: 0 0 1366 x 688
Virtual size: 1366 x 688
LibraryPath: </tmp/.mount_WeoQ8z/lib/qt5/plugins>
LibraryPath: </tmp/.mount_WeoQ8z/bin>
MuseScore::changeState: STATE_DISABLED
preferences.checkUpdateStartup: 1
lastupdate: 18.06.2016 20:11:49.681
release type: stable
MuseScore::cmd <quit>
Stop I/O

In reply to by jim.weisgram

Thanks for looking at this. OK, let's start over. I'm running from a brand new, default, nonadministrative account. This is Ubuntu 14.04 Trusty, 32-bit. I'm also using the Flashback desktop with Metacity. (It also seg faulted earlier with the default Ubuntu desktop.)

I've just downloaded a fresh AppImage from musescore.org, so there's absolutely no doubt about any file permissions. I've set it executable. Absolutely EVERYTHING else is default. There is no other history on this account except downloading and attempting to run MuseScore.

The very first run seg faults. Here's the whole record. I've also added some information beyond your request.

====================
musetest@Opal:~/Documents/Executables$ ./MuseScore-2.0.3-i686.AppImage -d
global share: </tmp/.mount_4kWq27/share/mscore-portable-2.0/>
configured localeName <system>
real localeName <en_US>
load translator </tmp/.mount_4kWq27/share/mscore-portable-2.0/locale/mscore_en_US>
load translator </tmp/.mount_4kWq27/share/mscore-portable-2.0/locale/instruments_en_US>
load translator </tmp/.mount_4kWq27/share/mscore-portable-2.0/locale/instruments_en_US> failed
load translator <qt_en_US> from </tmp/.mount_4kWq27/lib/qt5/translations>
load translator <qt_en_US> failed
read shortcuts from <:/data/shortcuts.xml>
initScoreFonts 0xaa834c8
DPI 72.000000
Information for screen: "VGA1"
Available geometry: 0 24 1920 x 1032
Available size: 1920 x 1032
Available virtual geometry: 0 24 1920 x 1032
Available virtual size: 1920 x 1032
Depth: 24 bits
Geometry: 0 0 1920 x 1080
Logical DPI: 96
Logical DPI X: 96
Logical DPI Y: 96
Physical DPI: 102.299
Physical DPI X: 102.239
Physical DPI Y: 102.358
Physical size: 477 x 268 mm
Refresh rate: 60 Hz
Size: 1920 x 1080
Virtual geometry: 0 0 1920 x 1080
Virtual size: 1920 x 1080
LibraryPath: </tmp/.mount_4kWq27/lib/qt5/plugins>
LibraryPath: </tmp/.mount_4kWq27/bin>
Score(0xb79c9b8)::addElement 0xb7a1ae0(Segment) parent 0xb717c08(Measure)
Score(0xb79c9b8)::addElement 0xb7a1c58(BarLine) parent 0xb7a1ae0(Segment)
Score(0xb79c9b8)::addElement 0xb7a1e70(Segment) parent 0xb717c08(Measure)
Score(0xb79c9b8)::addElement 0xb7a1d60(Clef) parent 0xb7a1e70(Segment)
Measure::minWidth2: 0 17.951990
Score(0xb79c9b8)::addElement 0xb7b13a8(Segment) parent 0xb7a8ba8(Measure)
Score(0xb79c9b8)::addElement 0xb7b1508(BarLine) parent 0xb7b13a8(Segment)
Measure::minWidth1: 1 8.290283
Score(0xb79c9b8)::addElement 0xb7b1698(Segment) parent 0xb7a9100(Measure)
Score(0xb79c9b8)::addElement 0xb7b17a8(BarLine) parent 0xb7b1698(Segment)
Measure::minWidth1: 2 8.290283
Score(0xb79c9b8)::addElement 0xb7b1938(Segment) parent 0xb7a9668(Measure)
Score(0xb79c9b8)::addElement 0xb7b1a48(BarLine) parent 0xb7b1938(Segment)
Measure::minWidth1: 3 8.290283
Measure::minWidth2: 1 8.290283
Measure::minWidth2: 2 8.290283
Measure::minWidth2: 3 8.290283
Score(0xb79c9b8)::addElement 0xb7b1cd0(Segment) parent 0xb7aa090(Measure)
Score(0xb79c9b8)::addElement 0xb7b1e10(BarLine) parent 0xb7b1cd0(Segment)
Score(0xb79c9b8)::addElement 0xb7b2028(Segment) parent 0xb7aa090(Measure)
Score(0xb79c9b8)::addElement 0xb7b1f18(Clef) parent 0xb7b2028(Segment)
Measure::minWidth2: 4 13.348238
Score(0xb79c9b8)::addElement 0xb7b22e0(Segment) parent 0xb7aa658(Measure)
Score(0xb79c9b8)::addElement 0xb7b24a8(BarLine) parent 0xb7b22e0(Segment)
Measure::minWidth1: 5 8.290283
Score(0xb79c9b8)::addElement 0xb7b2620(Segment) parent 0xb7aac20(Measure)
Score(0xb79c9b8)::addElement 0xb7b2718(BarLine) parent 0xb7b2620(Segment)
Measure::minWidth1: 6 8.290283
Score(0xb79c9b8)::addElement 0xb7b28a8(Segment) parent 0xb7ab1e8(Measure)
Score(0xb79c9b8)::addElement 0xb7b29b8(BarLine) parent 0xb7b28a8(Segment)
Measure::minWidth1: 7 8.290283
Measure::minWidth2: 5 8.290283
Measure::minWidth2: 6 8.290283
Measure::minWidth2: 7 8.290283
Score(0xb79c9b8)::addElement 0xb7b2c40(Segment) parent 0xb7abc58(Measure)
Score(0xb79c9b8)::addElement 0xb7b2d80(BarLine) parent 0xb7b2c40(Segment)
Score(0xb79c9b8)::addElement 0xb7b2f98(Segment) parent 0xb7abc58(Measure)
Score(0xb79c9b8)::addElement 0xb7b2e88(Clef) parent 0xb7b2f98(Segment)
Measure::minWidth2: 8 13.348238
Score(0xb79c9b8)::addElement 0xb7b3250(Segment) parent 0xb7b41e0(Measure)
Score(0xb79c9b8)::addElement 0xb7b3418(BarLine) parent 0xb7b3250(Segment)
Measure::minWidth1: 9 8.290283
Score(0xb79c9b8)::addElement 0xb7b3590(Segment) parent 0xb7b4798(Measure)
Score(0xb79c9b8)::addElement 0xb7b3688(BarLine) parent 0xb7b3590(Segment)
Measure::minWidth1: 10 8.290283
Score(0xb79c9b8)::addElement 0xb7b37f0(Segment) parent 0xb7b4d60(Measure)
Score(0xb79c9b8)::addElement 0xb7b39a8(BarLine) parent 0xb7b37f0(Segment)
Measure::minWidth1: 11 8.290283
Measure::minWidth2: 9 8.290283
Measure::minWidth2: 10 8.290283
Measure::minWidth2: 11 8.290283
Score(0xb79c9b8)::addElement 0xb82a500(Segment) parent 0xb7b57a8(Measure)
Score(0xb79c9b8)::addElement 0xb7b3c80(BarLine) parent 0xb82a500(Segment)
Score(0xb79c9b8)::addElement 0xb82a6b0(Segment) parent 0xb7b57a8(Measure)
Score(0xb79c9b8)::addElement 0xb82a5e8(Clef) parent 0xb82a6b0(Segment)
Measure::minWidth2: 12 13.348238
Score(0xb79c9b8)::addElement 0xb82a870(Segment) parent 0xb7b5d70(Measure)
Score(0xb79c9b8)::addElement 0xb82a988(BarLine) parent 0xb82a870(Segment)
Measure::minWidth1: 13 8.290283
Score(0xb79c9b8)::addElement 0xb82aa48(Segment) parent 0xb7b6338(Measure)
Score(0xb79c9b8)::addElement 0xb82ab78(BarLine) parent 0xb82aa48(Segment)
Measure::minWidth1: 14 8.290283
Score(0xb79c9b8)::addElement 0xb82ac80(Segment) parent 0xb7b6900(Measure)
Score(0xb79c9b8)::addElement 0xb82adf0(BarLine) parent 0xb82ac80(Segment)
Measure::minWidth1: 15 8.290283
Measure::minWidth2: 13 8.290283
Measure::minWidth2: 14 8.290283
Measure::minWidth2: 15 8.290283
Score(0xb79c9b8)::addElement 0xb82b1f0(Segment) parent 0xb7b7378(Measure)
Score(0xb79c9b8)::addElement 0xb82afc8(BarLine) parent 0xb82b1f0(Segment)
Score(0xb79c9b8)::addElement 0xb82b3e8(Segment) parent 0xb7b7378(Measure)
Score(0xb79c9b8)::addElement 0xb82b2d8(Clef) parent 0xb82b3e8(Segment)
Measure::minWidth2: 16 13.348238
Score(0xb79c9b8)::addElement 0xb82b6e8(Segment) parent 0xb7b7940(Measure)
Score(0xb79c9b8)::addElement 0xb82b840(BarLine) parent 0xb82b6e8(Segment)
Measure::minWidth1: 17 8.290283
Score(0xb79c9b8)::addElement 0xb82b9c0(Segment) parent 0xb7b7f08(Measure)
Score(0xb79c9b8)::addElement 0xb82bb18(BarLine) parent 0xb82b9c0(Segment)
Measure::minWidth1: 18 8.290283
Score(0xb79c9b8)::addElement 0xb82bc20(Segment) parent 0xb7b84d0(Measure)
Score(0xb79c9b8)::addElement 0xb82bd50(BarLine) parent 0xb82bc20(Segment)
Measure::minWidth1: 19 8.290283
Measure::minWidth2: 17 8.290283
Measure::minWidth2: 18 8.290283
Measure::minWidth2: 19 8.290283
Score(0xb79c9b8)::addElement 0xb82c150(Segment) parent 0xb7b8f48(Measure)
Score(0xb79c9b8)::addElement 0xb82bf28(BarLine) parent 0xb82c150(Segment)
Score(0xb79c9b8)::addElement 0xb82c348(Segment) parent 0xb7b8f48(Measure)
Score(0xb79c9b8)::addElement 0xb82c238(Clef) parent 0xb82c348(Segment)
Measure::minWidth2: 20 13.348238
Score(0xb79c9b8)::addElement 0xb82c648(Segment) parent 0xb7b9510(Measure)
Score(0xb79c9b8)::addElement 0xb82c7a0(BarLine) parent 0xb82c648(Segment)
Measure::minWidth1: 21 8.290283
Score(0xb79c9b8)::addElement 0xb82c920(Segment) parent 0xb7b9ad8(Measure)
Score(0xb79c9b8)::addElement 0xb82ca78(BarLine) parent 0xb82c920(Segment)
Measure::minWidth1: 22 8.290283
Score(0xb79c9b8)::addElement 0xb82cb80(Segment) parent 0xb7ba0a0(Measure)
Score(0xb79c9b8)::addElement 0xb82ccb0(BarLine) parent 0xb82cb80(Segment)
Measure::minWidth1: 23 8.290283
Measure::minWidth2: 21 8.290283
Measure::minWidth2: 22 8.290283
Measure::minWidth2: 23 8.290283
Score(0xb79c9b8)::addElement 0xb82d0b0(Segment) parent 0xb7bab18(Measure)
Score(0xb79c9b8)::addElement 0xb82ce88(BarLine) parent 0xb82d0b0(Segment)
Score(0xb79c9b8)::addElement 0xb82d2a8(Segment) parent 0xb7bab18(Measure)
Score(0xb79c9b8)::addElement 0xb82d198(Clef) parent 0xb82d2a8(Segment)
Measure::minWidth2: 24 13.348238
Score(0xb79c9b8)::addElement 0xb82d5a8(Segment) parent 0xb7bb0e0(Measure)
Score(0xb79c9b8)::addElement 0xb82d700(BarLine) parent 0xb82d5a8(Segment)
Measure::minWidth1: 25 8.290283
Score(0xb79c9b8)::addElement 0xb82d880(Segment) parent 0xb7bb6a8(Measure)
Score(0xb79c9b8)::addElement 0xb82d9d8(BarLine) parent 0xb82d880(Segment)
Measure::minWidth1: 26 8.290283
Score(0xb79c9b8)::addElement 0xb82dae0(Segment) parent 0xb7bbc70(Measure)
Score(0xb79c9b8)::addElement 0xb82dc10(BarLine) parent 0xb82dae0(Segment)
Measure::minWidth1: 27 8.290283
Measure::minWidth2: 25 8.290283
Measure::minWidth2: 26 8.290283
Measure::minWidth2: 27 8.290283
Score(0xb79c9b8)::addElement 0xb82e010(Segment) parent 0xb7bc6e8(Measure)
Score(0xb79c9b8)::addElement 0xb82dde8(BarLine) parent 0xb82e010(Segment)
Score(0xb79c9b8)::addElement 0xb82e208(Segment) parent 0xb7bc6e8(Measure)
Score(0xb79c9b8)::addElement 0xb82e0f8(Clef) parent 0xb82e208(Segment)
Measure::minWidth2: 28 13.348238
Score(0xb79c9b8)::addElement 0xb82e508(Segment) parent 0xb7bccb0(Measure)
Score(0xb79c9b8)::addElement 0xb82e660(BarLine) parent 0xb82e508(Segment)
Measure::minWidth1: 29 8.290283
Score(0xb79c9b8)::addElement 0xb82e7e0(Segment) parent 0xb7bd278(Measure)
Score(0xb79c9b8)::addElement 0xb82e938(BarLine) parent 0xb82e7e0(Segment)
Measure::minWidth1: 30 8.290283
Measure::minWidth1: 31 9.877784
Measure::minWidth2: 29 8.290283
Measure::minWidth2: 30 8.290283
Measure::minWidth2: 31 9.877784
Score(0xb79c9b8)::addElement 0xb82ec20(Text) parent 0xb7aa090(Measure)
Score(0xb79c9b8)::addElement 0xb82f8d8(Text) parent 0xb7abc58(Measure)
Score(0xb79c9b8)::addElement 0xb82f9c8(Text) parent 0xb7b57a8(Measure)
Score(0xb79c9b8)::addElement 0xb82fb80(Text) parent 0xb7b7378(Measure)
Score(0xb79c9b8)::addElement 0xb82fde8(Text) parent 0xb7b8f48(Measure)
Score(0xb79c9b8)::addElement 0xb830040(Text) parent 0xb7bab18(Measure)
Score(0xb79c9b8)::addElement 0xb830298(Text) parent 0xb7bc6e8(Measure)
Measure::minWidth2: 0 17.951990
Measure::minWidth1: 1 8.290283
Measure::minWidth1: 2 8.290283
Measure::minWidth1: 3 8.290283
Measure::minWidth2: 1 8.290283
Measure::minWidth2: 2 8.290283
Measure::minWidth2: 3 8.290283
Measure::minWidth2: 4 13.348238
Measure::minWidth1: 5 8.290283
Measure::minWidth1: 6 8.290283
Measure::minWidth1: 7 8.290283
Measure::minWidth2: 5 8.290283
Measure::minWidth2: 6 8.290283
Measure::minWidth2: 7 8.290283
Measure::minWidth2: 8 13.348238
Measure::minWidth1: 9 8.290283
Measure::minWidth1: 10 8.290283
Measure::minWidth1: 11 8.290283
Measure::minWidth2: 9 8.290283
Measure::minWidth2: 10 8.290283
Measure::minWidth2: 11 8.290283
Measure::minWidth2: 12 13.348238
Measure::minWidth1: 13 8.290283
Measure::minWidth1: 14 8.290283
Measure::minWidth1: 15 8.290283
Measure::minWidth2: 13 8.290283
Measure::minWidth2: 14 8.290283
Measure::minWidth2: 15 8.290283
Measure::minWidth2: 16 13.348238
Measure::minWidth1: 17 8.290283
Measure::minWidth1: 18 8.290283
Measure::minWidth1: 19 8.290283
Measure::minWidth2: 17 8.290283
Measure::minWidth2: 18 8.290283
Measure::minWidth2: 19 8.290283
Measure::minWidth2: 20 13.348238
Measure::minWidth1: 21 8.290283
Measure::minWidth1: 22 8.290283
Measure::minWidth1: 23 8.290283
Measure::minWidth2: 21 8.290283
Measure::minWidth2: 22 8.290283
Measure::minWidth2: 23 8.290283
Measure::minWidth2: 24 13.348238
Measure::minWidth1: 25 8.290283
Measure::minWidth1: 26 8.290283
Measure::minWidth1: 27 8.290283
Measure::minWidth2: 25 8.290283
Measure::minWidth2: 26 8.290283
Measure::minWidth2: 27 8.290283
Measure::minWidth2: 28 13.348238
Measure::minWidth1: 29 8.290283
Measure::minWidth1: 30 8.290283
Measure::minWidth1: 31 9.877784
Measure::minWidth2: 29 8.290283
Measure::minWidth2: 30 8.290283
Measure::minWidth2: 31 9.877784
MuseScore::changeState: STATE_NORMAL
disable synth control
MuseScore::changeState: STATE_NORMAL
disable synth control
preferences.checkUpdateStartup: 1
lastupdate: 19.06.2016 09:17:25.193
release type: stable
Can't open "/home/musetest/.local/share/data/MuseScore/MuseScore2/cookie_store.txt" to read cookies
QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
MuseScore::changeState: STATE_NORMAL
disable synth control
0xb832000 enterState <>
MuseScore::changeState: STATE_NORMAL
disable synth control
0xb832000 enterState <Normal>
MuseScore::changeState: STATE_NORMAL
disable synth control
MuseScore::changeState: STATE_NORMAL
disable synth control
/tmp/.mount_4kWq27/AppRun: line 18: 19259 Segmentation fault "${APPDIR}/bin/mscore-portable" "$@"/.local/share/data/MuseScore/MuseScore2/cookie_store.txt" to read cookies
QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
MuseScore::changeState: STATE_NORMAL
disable synth control
0xb832000 enterState <>
MuseScore::changeState: STATE_NORMAL
disable synth control
0xb832000 enterState
MuseScore::changeState: STATE_NORMAL
disable synth control
MuseScore::changeState: STATE_NORMAL
disable synth control
/tmp/.mount_4kWq27/AppRun: line 18: 19259 Segmentation fault "${APPDIR}/bin/mscore-portable" "$@"

==============
musetest@Opal:~/Documents/Executables$ id
uid=1004(musetest) gid=1004(musetest) groups=1004(musetest)

musetest@Opal:~/Documents/Executables$ ls -ls ~/Documents
total 8
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:08 Executables
4 drwxrwxr-x 8 musetest musetest 4096 Jun 19 09:17 MuseScore2

musetest@Opal:~/Documents/Executables$ ls -ls ~/Documents/Executables
total 70080
70080 -rwxrwxr-x 1 musetest musetest 71761920 Jun 19 09:08 MuseScore-2.0.3-i686.AppImage

musetest@Opal:~/Documents/Executables$ ls -lsR ~/Documents/MuseScore2
/home/musetest/Documents/MuseScore2:
total 24
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:17 Images
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:17 Plugins
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:17 Scores
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:17 Soundfonts
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:17 Styles
4 drwxrwxr-x 2 musetest musetest 4096 Jun 19 09:17 Templates

/home/musetest/Documents/MuseScore2/Images:
total 0

/home/musetest/Documents/MuseScore2/Plugins:
total 0

/home/musetest/Documents/MuseScore2/Scores:
total 0

/home/musetest/Documents/MuseScore2/Soundfonts:
total 0

/home/musetest/Documents/MuseScore2/Styles:
total 0

/home/musetest/Documents/MuseScore2/Templates:
total 0

======
musetest@Opal:~$ ls -lsa /tmp |grep musetest
0 -rw------- 1 musetest musetest 0 Jun 19 09:01 config-err-Vs7ESL
4 drwx------ 2 musetest musetest 4096 Jun 19 09:01 .esd-1004
4 drwx------ 2 musetest musetest 4096 Jun 19 09:07 mozilla_musetest0
0 srwxrwxr-x 1 musetest musetest 0 Jun 19 09:17 qtsingleapp-mscore-64b8-3ec
0 -rw-rw-r-- 1 musetest musetest 0 Jun 19 09:17 qtsingleapp-mscore-64b8-3ec-lockfile
4 drwx------ 3 musetest musetest 4096 Jun 19 09:01 sni-qt_python2.7_18703-CXWmE6

In reply to by RexC

Re: I've just downloaded a fresh AppImage from musescore.org, so there's absolutely no doubt about any file permissions.

Just to be clear, I was thinking about the permissions on the directories in the "home"/Documents folder, not the ...AppImage file. Anyway, you've listed that you are user "musetest" and you are the owner of all the files and directories under your "home"/Documents/MuseScore2 folder. Which is good, but doesn't advance the troubleshooting very much.

Another option is to run the MuseScore app with the -f command line flag. This resets the MuseScore setup back to defaults:

./MuseScore-2.0.3-i686.AppImage -f

I suppose there could be a problem with the file you were loading in your last debug run that causes the segmentation fault. It is possible that file was in play during earlier tests (MuseScore may be trying to load it automatically on startup). Although it seems unlikely it would try to do so on both of your machines?

Anyway, you could post it here and I could see how it works on my machine. I think the -f option will clear MuseScore from loading that file automatically.

In reply to by jim.weisgram

musetest2@Opal:~$ ./MuseScore-2.0.3-i686.AppImage -f
Unknown option 'f'.

I'm sorry, that doesn't work, but I can assure you it always crashes in default condition.

"I suppose there could be a problem with the file you were loading in your last debug run that causes the segmentation fault."
Do you mean an mscz file? There is no file to post. And in any case, prior activity is irrelevant. It segfaults the very first time it is run with the -d switch. The second time it is run, it asks whether to restore the previous session. After a few seconds the GUI still terminates, regardless of whether you respond to the dialog.

In short, it ALWAYS crashes with a segfault at line 18, unless it is run with sudo.

Musescore 2.0.2 is installed in the system. Although I don't think I have deliberately altered system-wide MuseScore options (I'm the only user), it's possible that there are some relevant options. I'll be happy to post any config files or excerpts.

What's in line 18? Does that give a clue? I think that's the first place I would look.

In reply to by RexC

See my other long winded post about line 18.

Regarding the - f option, darn. Just so you know, while you say there is no possibility of a file being referenced, I still think it is a possibility. MuseScore remembers things between sessions. Even if you uninstall the software and reinstall. The - f option is supposed to clean all that up and return you to a default state.

Your -d output makes me think Musescore is loading a score file before it crashes.

In reply to by jim.weisgram

FYI the -f command line option clears out settings that remain even if you remove and reinstall MuseScore.

In the note "you could post it here", the IT I am suggesting you attach is your MuseScore whatever_name.mscz file.

I dug around in my file system and "line 18" refers to a Linux shell script called AppRun. A shell script is a text file that can be executed by your Linux shell (the thing that runs your command line environment). It appears that this script launches the actual MuseScore compiled code after doing some set up work. I am guessing that the segmentation fault occurs while the MuseScore compiled executable starts up, but since it is launched from the script, you get an error message that points to the line 18 in the script.

It looks to me that when your AppImage file is executed, it extracts various components stored within itself, installs some of all of them to a temporary directory named /tmp/.mount_SomeRandomCharacters. After MuseScore terminates this folder is cleaned up. The next time MuseScore runs it does that all over again.

You could try another command from the terminal:

sudo ls -als /tmp | grep mount

It would be interesting if there is a .mount_blahblah directory in /tmp. If so, that might be involved. It should be gone after you exit MuseScore. But if MuseScore were to crash, it might leave that directory behind. If so I think t would be good to remove it.

It also may be a red herring; I'd suspect running MuseScore again will create a new .mount_blahblahVerison2 directory and ignore the previous one, but you never know until you check.

Or the programmer takes pity on us and just tells us.

In reply to by jim.weisgram

And I just saw a YouTube video about the Musescore appimage. You can actually install the application from the appimage file. You would need to add the option install after the appimage command that you use. It will be as if you use your software install tool to install from the Ubuntu repository. You would find Musescore in your desktop's application menus.

It is possible that doing this will make a difference. You do lose the appimage convenience, of course.

In reply to by jim.weisgram

Once again, there _is_ no mscz file to mount, unless it's internal to the AppImage. Remember that this is a completely new account. There is also no hidden recovery file in any place that I can find. MS2 does not try to recover any file.

MS does create /tmp/.mount_SomeRandomCharacters , but it is removed before the crash. Once I did see some persistent MS lock files in /tmp/, but I can't reproduce that. Of course, the system cleaned them up on logoff.

As a workaround, I'm not inclined to install a program that's segfaulting. I don't need the workaround that badly, and uninstalling it might be a concern. If someone attests that that will provide key diagnostic information, I do have a system I can try it on.

In reply to by RexC

Re: Once again, there _is_ no mscz file to mount, unless it's internal to the AppImage.

I was thinking about the "my first score", that automatically comes up in a new install. Not that there has to be something wrong with that file, something else could be causing the crash. Unfortunately I don't have a 32 bit system to test on.

Having a new account *should* give you a cleaner starting point, but I thought it would best to do all the normal testing steps to be certain.

That fact that another user reports the same segfault crash points to a deeper problem. Ditto for crashing WITH the - F option.

Have you tried running 2.0.2 under your new account? Does it run ok?

In reply to by RexC

Re: (I had to remove all the brackets (<>) because otherwise the forum refuses to display the output.)

Yes, these forum pages are rendered as web pages in HTML format. Your browser tries to interpret anything in between pairs of < and > as formatting commands or other HTML tags.

I got around that in my earlier post by pasting my terminal output to a text editor, changing all < characters to &lt; and all > characters to &gt;

I doubt many other people would bother to do that, and I'm not suggesting you do it. Just an interesting tidbit (to me).

If you look at the bottom of the screen while you are entering your text you can see useful formatting options as HTML tags. What they don't say is that if you turn bold on with <b>, you have to turn it off at some point with </b>. Ditto for the other tags that are shown.

I'm also getting segfaults with AppImage on Ubuntu 12.04 LTS. It crashes just after the splash screen every time. I really, really, wanted AppImage to work because 12.04 libraries are too old to build musescore from source. Here's my output:

dschaller@molly:~/Downloads$ ./MuseScore-2.0.3-x86_64.AppImage -d
global share:
configured localeName
real localeName
load translator
load translator
load translator failed
load translator from
load translator failed
read shortcuts from <:/data/shortcuts.xml>
initScoreFonts 0x2c67260
DPI 72.000000
Information for screen: "DVI-I-1"
Available geometry: 53 24 1227 x 1000
Available size: 1227 x 1000
Available virtual geometry: 53 24 1227 x 1000
Available virtual size: 1227 x 1000
Depth: 24 bits
Geometry: 0 0 1280 x 1024
Logical DPI: 96
Logical DPI X: 96
Logical DPI Y: 96
Physical DPI: 86.4394
Physical DPI X: 86.4681
Physical DPI Y: 86.4106
Physical size: 376 x 301 mm
Refresh rate: 60 Hz
Size: 1280 x 1024
Virtual geometry: 0 0 1280 x 1024
Virtual size: 1280 x 1024
LibraryPath:
LibraryPath:
/tmp/.mount_3uz5N2/AppRun: line 18: 9315 Segmentation fault (core dumped) "${APPDIR}/bin/mscore-portable" "$@"

(Sorry, I can't figure out how to keep the forum from stripping out some of this.)

New ideas on AppImage Crash

running the AppImage file with -h reveals some new command line options available only in the AppImage package.

install
does a full application install
remove or uninstall
removes the full application install
check-depends
Intended for developers.
checks dependencies for all the files packed into the AppImage
You could run that and post the results. If you ran that and it works,
we could compare to my results.

My check-depends results are attached in a text file.

If having the option to remove means you are willing to try the install option, that is another choice.

You can run ...AppImage man

for a Linux man page on the AppImage.

You asked about what configuration files exist for MuseScore. These are

~/.config/MuseScore/MuseScore2.ini
Main MuseScore preference file.

~/.local/share/data/MuseScore/MuseScore2/
Directory for all other preferences and session data.
(Autosaves, palettes, locale, plugin data, etc.)

Note these configuration files are saved in your home directory, so as you've been saying, a new account *should* give you all new settings.

However I've seen some indications on Linux that make me believe there are other items that remained on my system after an uninstall. I am not certain what.

Attachment Size
check-depends.txt 6.04 KB

I have installed a 32-bit copy of Ubuntu 14.04 myself and confirmed this issue. Before releasing the AppImage I had tested inside a 32-bit chroot for 14.04 and had no problems so I assumed it was ok, but I was running as root inside the chroot hence the problem did not arise. I am in the process of trying to rebuild the AppImage in case one of the libraries is corrupted and will let you know if I succeed.

In reply to by shoogle

There is at least one more side effect. Running 2.0.3 under sudo changes some files to root ownership. Consequently, the user cannot save keystroke shortcuts when running version 2.0.2. The remedy I used for Ubuntu is
sudo chown -R :group ~/.local/share/data/MuseScore

where is my user name (entered my user name without brackets).

*** Correction: The side effect occurs under certain conditions. For example, I think changing keystroke shortcuts will do it. ***

At this point I don't see any other critical files that are owned by root, but I will let you know if I do.

Thanks for the PPA. Will investigate once the smoke has cleared.

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