-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Some projects saved with 1.2 beta versions will always fail to crash.
Affected projects trigger this assertion:
void Song::restoreControllerStates( const QDomElement & element )
{
QDomNode node = element.firstChild();
while( !node.isNull() && !isCancelled() )
{
Controller * c = Controller::create( node.toElement(), this );
Q_ASSERT( c != NULL );
addController( c );
node = node.nextSibling();
}
}
backtrace
QtXmlWrapper::loadXMLfile(): empty data
ASSERT: "c != NULL" in file /home/ubuntu/Desktop/lmms/src/core/Song.cpp, line 1292
Program received signal SIGABRT, Aborted.
0x00007ffff3fb6c37 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
The bug is OS-independent.
These are two affected projects:
crashing project.zip
By unpacking "pentatonica emitonica-01.mmpz" using this tool you can see that a peakcontroller is present but no peakcontrollereffect is found, as opposed to a good project that will show both the controller and the fx.
Here are the xml of one of the affected project, along with a sample .mmp file with peak controller present
goodvsbad.zip