Bug 19738

Summary: mscore can't run
Product: Mageia Reporter: Bernard SIAUD <liste>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, fri, inktvis75, laidlaws
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: http://musescore.org
Whiteboard:
Source RPM: mscore-2.0.2-6.mga6.src.rpm CVE:
Status comment:

Description Bernard SIAUD 2016-11-08 17:50:38 CET
Description of problem: I have just installed mscore and I can't run it.


Version-Release number of selected component (if applicable):


How reproducible: all time


Steps to Reproduce:
run mscore :
# mscore 
initScoreFonts 0x2d64350
init Help from: </usr/share/mscore-2.0/manual/doc_fr_FR.qhc>
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
cannot setup data for help engine: Cannot load sqlite database driver.
Creating interface for ScoreView object
Ignore SSL error: 6 The certificate has expired
QObject::startTimer: QTimer can only be used with threads started with QThread

(mscore:22719): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'

(mscore:22719): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(mscore:22719): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Erreur de segmentation (core dumped)
Rémi Verschelde 2016-11-09 13:58:19 CET

Assignee: bugsquad => rverschelde

Comment 1 Doug Laidlaw 2017-08-10 16:10:40 CEST
I am having problems with mscore as well.  At the moment I am seeing identical messages to Bernard, but earlier, there was a problem with a version of the GDK3 library.  It affected both the RPM and the downloaded appimage.  (Does that suggest something external?)  As I write, I can get a GUI up, but it is buggy.  I could select one measure a moment ago, but not two.  Now I can't select any.

From the latest crash, dmesg gives:

mscore[1495]: segfault at 18 ip 00007f4b882bfe10 sp 00007ffde0a0aed8 error 4 in libgdk-3.so.0.2200.16[7f4b8828b000+eb000]

That looks like what I saw in an Xterm.

CC: (none) => laidlaws

Comment 2 Frederik Vos 2017-10-09 12:33:36 CEST
Install qt5ct

Add to /etc/environment:

QT_STYLE_OVERRIDE=gtk
QT_STYLE_OVERRIDE=gtk2
QT_QPA_PLATFORMTHEME=qt5ct

Reboot or in a terminal:

source /etc/environment
musescore

Note: it works, but this package need an urgent update to 2.1, because that fixes other stability issues !
If you package the 2.1 version, make sure that qt5ct is a dependency and add a script with the same content as described above and put it in the /etc/profile.d directory, or update /etc/environment.

CC: (none) => inktvis75

Comment 3 Doug Laidlaw 2017-10-09 12:48:52 CEST
I can get it to work as it stands, but not very reliably.  The appimage is affected as well, and as I understand, it creates its own environment.
Comment 4 Frederik Vos 2017-10-09 12:57:23 CEST
I created the appimage and an updated rpm myself,
it fixes almost every problem, it crashes only if i do an undo operation while a rest is selected (no idea why)
The appimage of the website doesn't work for me.
Comment 5 Doug Laidlaw 2017-10-09 13:08:08 CEST
> it crashes only if i do an undo operation while a rest is selected (no idea why)

That wouldn't be very often. :)

I was running the 2.1 appimage from the website.  It worked for me until the RPM failed, so it must need the same arrangement.  The mscore Web site now tells us to download the mscore RPM from our Mageia repos.  I may be able to build my own RPM, but I am not an authorized developer.  I need mscore only occasionally, but when I do, I get minimal notice.
Comment 6 Doug Laidlaw 2017-10-17 13:55:29 CEST
Your fix worked for me.  The idea of mscore altering a file created by another RPM sounds dangerous to me.  I would go for the script.
Comment 7 Morgan Leijström 2020-03-17 19:06:39 CET
Hi. What is the current status in mga7 ?

CC: (none) => fri

Comment 8 Dave Hodgins 2020-03-17 20:40:51 CET
Just tried it for the first time, installed from Mageia repo. Appears to work
ok. Closing as old. Please reopen if problems recur, or open a new report.

Resolution: (none) => OLD
CC: (none) => davidwhodgins
Status: NEW => RESOLVED

Comment 9 Doug Laidlaw 2020-03-17 20:42:59 CET
I thought that this bug was well and truly history.  I have retired from playing, mainly for health reasons, and I have pretty well forgotten what the bug is all about.  I will check it out and report back.
Comment 10 Doug Laidlaw 2020-03-17 20:44:54 CET
A mid-air collision, Dave.  Unless I find a reason, I will take no further action.