AFAIK lasconic noticed that crash on startup on Mac (and on Mac only, for
some strange reason) but haven't jet found the time to investigate, due to
the musescore.com changes that needed his full attentuin in the past couple
days.

Most likely culprit is
https://github.com/musescore/MuseScore/commit/0b1aea952f9f870ef79f39899f8ec1
2cc2b60fa6, as per 'git blame'.

Bye, Jojo

-----Original Message-----
From: rumpu-jussi [mailto:[email protected]] 
Sent: Saturday, January 14, 2017 11:25 AM
To: [email protected]
Subject: [Mscore-developer] Heads up: an array of structs initialisation in
style.cpp

Hi,

I just git pulled the most recent code to my Mac and compiled the app. The
result: MuseScore crashes on startup. After poking around the code, I found
the culprit: the styleTypes-array initialisation in style.cpp

style.cpp:50
static const StyleType styleTypes[] {
      { StyleIdx::staffUpperBorder,        "staffUpperBorder",       
Spatium(7.0)  },
      ...

The precomputeValues-function loops through the styleTypes-array, and while
debugging, I noticed that only _idx-property is set. StyleType's _name is
null, and it seems that the _defaultValue QVariant is empty as well.





--
View this message in context:
http://dev-list.musescore.org/Heads-up-an-array-of-structs-initialisation-in
-style-cpp-tp7580121.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon
Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to