crash when copying (^C)
System: Kubuntu 8.04
MuseScore: 0.9.4, Revision 1505
This morning the lates release came from http://ppa.launchpad.net/mscore-ubuntu/ubuntu hardy main.
In an existing File I copied an larger amount of notes (31 measures - deutsch: Takte). When pressing ^C mscore crahes with Segmentation fault (core dumped)
Core is attached.
Comments
since the corefile is 128MB it is available on request.
So, its improved now: the crash happens, when the range to copy extens a line break.
The log (produced with mscore -d) is:
/usr/bin/mscore: 27: list: not found
Using JACK for audio
global share:
configured localeName
real localeName
load translator
load translator from
no JACK server found
connect to midi input
DPI 1200.000000(1200) PDPI 96.000000(96) DPMM 47.244094
LibraryPath:
LibraryPath:
no segment for lyrics at 23280
no segment for lyrics at 23520
no segment for lyrics at 23760
no segment for lyrics at 24000
no segment for lyrics at 24240
no segment for lyrics at 24720
Register Plugin
Register Plugin
start event loop...
key key:1000020 modifiers:2000000 text:<>
key key:1000021 modifiers:4000000 text:<>
cmd
Segmentation fault (core dumped)
Hi, last question for today:
I checked out the lastes revison of mscore via svn (https://mscore.svn.sourceforge.net/svnroot/mscore/trunk) and have now rev 1528.
When running make debug I get the following error:
[ 6%] Generating moc_qscriptdebuggerlauncher.h
moc: qscriptdebuggerlauncher.h: No such file
Since I'm not familiar with qmake I need help.
BTW: make release produces
[ 9%] Building CXX object scriptdebug/CMakeFiles/qtscript_debug.dir/moc_qscriptdebuggerlauncher.o
/home/ulf/src/mscore/build/scriptdebug/moc_qscriptdebuggerlauncher.cxx: In member function »virtual int QScriptDebuggerLauncher::qt_metacall(QMetaObject::Call, int, void**)«:
/home/ulf/src/mscore/build/scriptdebug/moc_qscriptdebuggerlauncher.cxx:77: Fehler: invalid use of incomplete type »struct QScriptDebuggerLauncherPrivate«
/home/ulf/src/mscore/build/scriptdebug/../../mscore/scriptdebug/qscriptdebuggerlauncher.h:35: Fehler: forward declaration of »struct QScriptDebuggerLauncherPrivate«
/home/ulf/src/mscore/build/scriptdebug/moc_qscriptdebuggerlauncher.cxx:78: Fehler: invalid use of incomplete type »struct QScriptDebuggerLauncherPrivate«
/home/ulf/src/mscore/build/scriptdebug/../../mscore/scriptdebug/qscriptdebuggerlauncher.h:35: Fehler: forward declaration of »struct QScriptDebuggerLauncherPrivate«
/home/ulf/src/mscore/build/scriptdebug/moc_qscriptdebuggerlauncher.cxx:79: Fehler: invalid use of incomplete type »struct QScriptDebuggerLauncherPrivate«
/home/ulf/src/mscore/build/scriptdebug/../../mscore/scriptdebug/qscriptdebuggerlauncher.h:35: Fehler: forward declaration of »struct QScriptDebuggerLauncherPrivate«
make[3]: *** [scriptdebug/CMakeFiles/qtscript_debug.dir/moc_qscriptdebuggerlauncher.o] Fehler 1
make[3]: Verlasse Verzeichnis '/home/ulf/src/mscore/build'
make[2]: *** [scriptdebug/CMakeFiles/qtscript_debug.dir/all] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
Am I on the wrong release?
BTW: It's the same with https://mscore.svn.sourceforge.net/svnroot/mscore/tags/mscore-0.9.4/tru…
Thanks,
Ulf
In reply to compile problem by flusile
For a quick answer, the better seems to don't compile qtscript support. So in mscore/CMakeLists.txt put to FALSE :
BUILD_SCRIPT_INTERFACE
BUILD_SCRIPT_DEBUG
My second guess is that Qt installation does not have everything needed for qtscript support. But just a guess.
In reply to For a quick answer, the by [DELETED] 5
my qt is: -- Found Qt-Version 4.4.3
cmake has version 2.4.7
other moc_*-Files are generetad, but not the mentioned.
May be it depends on the cmake-version.
But with the to build-vars set to false I'm able to build.
Thanks
In reply to thanks, by flusile
Cmake version might be the problem indeed. I think 2.6 is required.
Hi,
in select.cpp ther ist at line 800 an loop:
foreach(Lyrics* l, *ll) {
l->write(xml);
}
The Lyrics-List ll seems to be empty, the ptr l is NULL.
Changing the line 801 to
if (l) l->write(xml);
prevents at least the crash.
But I don't know, if it's legal to have an empty list here.
In reply to reason found by flusile
good catch!. Its fixed now in rev. 1533. The empty list list is legal.