Bug#898757: musescore: Backtrace for crash on startup

2018-05-17 Thread Giovanni Mascellani
Hi,

Il 17/05/2018 17:36, Thorsten Glaser ha scritto:
> I removed all configuration and cache files, then started musescore
> with the default empty score, hit ‘P’ to display the piano, exited
> musescore, and started it again; this does indeed trigger the crash.
> 
> I’ll analyse it and/or give it for upstream to deal with.
> 
> In the meantime, you can start MuseScore again by editing the file
> ~/.config/MuseScore/MuseScore2.ini and setting the showPianoKeyboard
> entry in the [MainWindow] section to “false”. (Note that, when you
> start MuseScore again, the piano will be once again active, so after
> exiting it will set this back to “true” so you’ll have to disable the
> piano before exiting.)

I can confirm everything. Actually, probably I had not really deleted
the configuration file, because now if I delete it, musescore starts
properly.

Thanks, Giovanni.
-- 
Giovanni Mascellani 
Postdoc researcher - Université Libre de Bruxelles



Processed: Re: Bug#898757: musescore: Backtrace for crash on startup

2018-05-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 898757 - moreinfo
Bug #898757 [musescore] musescore: crash on startup
Removed tag(s) moreinfo.
> tags 898757 + confirmed
Bug #898757 [musescore] musescore: crash on startup
Added tag(s) confirmed.
> severity 898757 important
Bug #898757 [musescore] musescore: crash on startup
Severity set to 'important' from 'normal'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
898757: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898757
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#898757: musescore: Backtrace for crash on startup

2018-05-17 Thread Thorsten Glaser
tags 898757 - moreinfo
tags 898757 + confirmed
severity 898757 important
thanks

Giovanni Mascellani dixit:

>Here you have a backtrace of the startup crash, which I guess is the
>same of the original poster.

It’s on amd64, but thanks anyway, this helps.

>Removing configuration and cache files does not seem to help.

I wasn’t able to reproduce this even *with* removing them, but I
found out the cause by looking at your stack trace.

I removed all configuration and cache files, then started musescore
with the default empty score, hit ‘P’ to display the piano, exited
musescore, and started it again; this does indeed trigger the crash.

I’ll analyse it and/or give it for upstream to deal with.

In the meantime, you can start MuseScore again by editing the file
~/.config/MuseScore/MuseScore2.ini and setting the showPianoKeyboard
entry in the [MainWindow] section to “false”. (Note that, when you
start MuseScore again, the piano will be once again active, so after
exiting it will set this back to “true” so you’ll have to disable the
piano before exiting.)

Thanks for the extra information,
//mirabilos
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.  -- Coywolf Qi Hunt



Bug#898757: musescore: Backtrace

2018-05-17 Thread Giovanni Mascellani
Package: musescore
Version: 2.2.1+dfsg1-4
Followup-For: Bug #898757

Dear Maintainer,

Here you have a backtrace of the startup crash, which I guess is the
same of the original poster. 

Removing configuration and cache files does not seem to help.

$ gdb musescore
GNU gdb (Debian 7.12-6+b2) 7.12.0.20161007-git
Copyright (C) 2016 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 musescore...Reading symbols from 
/usr/lib/debug/.build-id/c3/aab9a5137d6ce6382a767c70058d95ee8a3e13.debug...done.
done.
(gdb) run
Starting program: /usr/bin/musescore
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe2886700 (LWP 6571)]
[New Thread 0x7fffdef43700 (LWP 6573)]
[New Thread 0x7fffd5cf7700 (LWP 6575)]
[New Thread 0x7fffd54f6700 (LWP 6576)]
initScoreFonts 0x571306d0
[New Thread 0x7fffc3ff1700 (LWP 6578)]
[New Thread 0x7fffc37f0700 (LWP 6580)]
[New Thread 0x7fffc2748700 (LWP 6581)]

Thread 1 "musescore" received signal SIGSEGV, Segmentation fault.
0x559d2150 in Ms::Selection::Selection (this=0x7fffdac0) at 
./libmscore/select.h:122
122 ./libmscore/select.h: File o directory non esistente.
(gdb) bt
#0  0x559d2150 in Ms::Selection::Selection(Ms::Selection const&) 
(this=0x7fffdac0) at ./libmscore/select.h:122
#1  0x559d2150 in Ms::MuseScore::showPianoKeyboard(bool) 
(this=, on=) at ./mscore/musescore.cpp:3904
#2  0x559ddf25 in Ms::MuseScore::readSettings() (this=0x575df2e0) 
at ./mscore/musescore.cpp:3094
#3  0x5589adf8 in main(int, char**) (argc=, 
av=) at ./mscore/musescore.cpp:5852
(gdb) quit
A debugging session is active.

Inferior 1 [process 6556] will be killed.

Quit anyway? (y or n) y

Thanks, Giovanni.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), 
LANGUAGE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages musescore depends on:
ii  desktop-file-utils   0.23-3
ii  libasound2   1.1.6-1
ii  libc62.27-3
ii  libfreetype6 2.8.1-2
ii  libgcc1  1:8.1.0-3
ii  libportaudio219.6.0-1
ii  libportmidi0 1:217-6
ii  libpulse011.1-5
ii  libqt5core5a 5.10.1+dfsg-6+b1
ii  libqt5gui5   5.10.1+dfsg-6+b1
ii  libqt5help5  5.10.1-2
ii  libqt5network5   5.10.1+dfsg-6+b1
ii  libqt5printsupport5  5.10.1+dfsg-6+b1
ii  libqt5qml5   5.10.1-4
ii  libqt5quick5 5.10.1-4
ii  libqt5sql5-sqlite5.10.1+dfsg-6+b1
ii  libqt5svg5   5.10.1-2
ii  libqt5webkit55.212.0~alpha2-9+b1
ii  libqt5widgets5   5.10.1+dfsg-6+b1
ii  libqt5xml5   5.10.1+dfsg-6+b1
ii  libqt5xmlpatterns5   5.10.1-2
ii  libsndfile1  1.0.28-4
ii  libstdc++6   8.1.0-3
ii  libvorbisfile3   1.3.6-1
ii  musescore-common 2.2.1+dfsg1-4
ii  qml-module-qtquick-controls  5.10.1-2
ii  qml-module-qtquick-dialogs   5.10.1-2
ii  qml-module-qtquick-layouts   5.10.1-4
ii  qml-module-qtquick2  5.10.1-4
ii  shared-mime-info 1.9-2
ii  xdg-utils1.1.2-2
ii  zlib1g   1:1.2.11.dfsg-1

Versions of packages musescore recommends:
ii  libmp3lame0   3.100-2+b1
ii  pulseaudio-utils  11.1-5

Versions of packages musescore suggests:
ii  fluid-soundfont-gm  3.1-5.1
pn  timgm6mb-soundfont  

-- no debconf information