Crash when click on craete new track and/or from template

• Dec 7, 2014 - 13:23
Type
Functional
Severity
S4 - Minor
Status
closed
Project

hi,
i'm using e76f2c7 on kxstudio 14.04 (kubuntu 14.04).

Steps :
1-open musescore
2- click on "Create new score" (also produce with just clicking on the new score icon in main menu bar)
3- musescore crashes.

here is the gdb backtrace :

07/12/2014 14:18:48 [~/MuseScore/build.release/mscore]
daeavelwyn@StudioCorei5 ->gdb mscore
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mscore...done.
(gdb) run
Starting program: /home/daeavelwyn/MuseScore/build.release/mscore/mscore
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe624e700 (LWP 5947)]
[New Thread 0x7fffda9df700 (LWP 5948)]
Alsa_driver: buffer size requested 3342 got 3343
[New Thread 0x7fffd814f700 (LWP 5949)]
[New Thread 0x7fffd72e0700 (LWP 5950)]
Alsa_driver: full buffer not available at start.
[New Thread 0x7fffd6adf700 (LWP 5951)]
[New Thread 0x7fffd5abf700 (LWP 5952)]
[New Thread 0x7fffd52be700 (LWP 5953)]
[New Thread 0x7fffd4abd700 (LWP 5954)]
[New Thread 0x7fff87ffd700 (LWP 5955)]
Alsa_driver: stat = 00, xrun of at least 241.437 ms
Alsa_driver: full buffer not available at start.
pcmStart failed
[New Thread 0x7fff86ad3700 (LWP 5956)]
[New Thread 0x7fff862d2700 (LWP 5957)]
[New Thread 0x7fff84881700 (LWP 5958)]
[New Thread 0x7fff6ffff700 (LWP 5959)]
Alsa_driver: stat = 00, xrun of at least 1553.771 ms
Alsa_driver: full buffer not available at start.
pcmStart failed
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
remove keysig c at tick 0
obsolete: Staff::read staffTypeIdx 0
obsolete: Staff::read staffTypeIdx 1
SUB: chord does not contain degree 913(0):
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found
tick2measure 0 (max -1) not found

Program received signal SIGSEGV, Segmentation fault.
Ms::Segment::tick (this=0x0) at /home/daeavelwyn/MuseScore/libmscore/segment.cpp:725
725 {
(gdb)


Comments

Do yu have old incompatible templates leftover from a previous installation>? Clean out both of your templates folder (MuseScore's and yours) and retry.

Sorry, i omited to mention i've removed my .config/MuseScore and .local/data/MuseScore before doing my test.
And I never use templates with musescore, so I have no templates. But perhaps I also should remove musescore templates and try to pull / compile once more ?

No need to recompile. Just remove the contents of the folder. I guess do another "make install" to repopulate it. There are probably old templates leftover from incompatible earlier builds.

Status (old) needs info fixed

ok, finaly it seems the problem comes from templates. Removing /usr/local/share/mscore-2.0/templates solve this issue.