Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.4.0-beta1
-
None
Description
0052ee5c 59c746cd Qt5Cored!qt_message_fatal(QtMsgType __formal = QtFatalMsg (0n3), class QMessageLogContext * context = 0x0052eebc, class QString * message = 0x0052ee8c)+0xa1 [c:\users\aportale\dev\qt5\qtbase\src\corelib\global\qlogging.cpp @ 1557] 0052eea0 59c6b684 Qt5Cored!QMessageLogger::fatal(char * msg = 0x5a0c0d70 "ASSERT: "%s" in file %s, line %d")+0xad [c:\users\aportale\dev\qt5\qtbase\src\corelib\global\qlogging.cpp @ 770] 0052eed0 5e85c678 Qt5Cored!qt_assert(char * assertion = 0x5e8c0a7c "ok", char * file = 0x5e8c0a60 "mimetypes\mimemagicrule.cpp", int line = 0n254)+0x34 [c:\users\aportale\dev\qt5\qtbase\src\corelib\global\qglobal.cpp @ 2870] 0052ef48 59423abb Utilsd!Utils::Internal::MimeMagicRule::MimeMagicRule(Utils::Internal::MimeMagicRule::Type theType = Byte (0n8), class QByteArray * theValue = 0x0052f128, int theStartPos = 0n0, int theEndPos = 0n0, class QByteArray * theMask = 0x0052f0bc)+0x198 [c:\users\aportale\dev\qtcreator-super\qtcreator\src\libs\utils\mimetypes\mimemagicrule.cpp @ 254] 0052f158 59420f9c Cored!Core::Internal::MimeTypeSettingsPrivate::readUserModifiedMimeTypes(void)+0x60b [c:\users\aportale\dev\qtcreator-super\qtcreator\src\plugins\coreplugin\mimetypesettings.cpp @ 605] 0052f178 593159f4 Cored!Core::Internal::MimeTypeSettings::restoreSettings(void)+0x2c [c:\users\aportale\dev\qtcreator-super\qtcreator\src\plugins\coreplugin\mimetypesettings.cpp @ 708] 0052f1c0 593bd42a Cored!Core::Internal::MainWindow::extensionsInitialized(void)+0x34 [c:\users\aportale\dev\qtcreator-super\qtcreator\src\plugins\coreplugin\mainwindow.cpp @ 335] 0052f1cc 686dbc74 Cored!Core::Internal::CorePlugin::extensionsInitialized(void)+0x4a [c:\users\aportale\dev\qtcreator-super\qtcreator\src\plugins\coreplugin\coreplugin.cpp @ 219] 0052f1e8 686cd0ca ExtensionSystemd!ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions(void)+0xd4 [c:\users\aportale\dev\qtcreator-super\qtcreator\src\libs\extensionsystem\pluginspec.cpp @ 1012] 0052f294 686ccae9 ExtensionSystemd!ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(class ExtensionSystem::PluginSpec * spec = 0x02473208, ExtensionSystem::PluginSpec::State destState = Running (0n5))+0x9a [c:\users\aportale\dev\qtcreator-super\qtcreator\src\libs\extensionsystem\pluginmanager.cpp @ 1297] 0052f300 686caf1e ExtensionSystemd!ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins(void)+0x169 [c:\users\aportale\dev\qtcreator-super\qtcreator\src\libs\extensionsystem\pluginmanager.cpp @ 1176] 0052f308 002a939c ExtensionSystemd!ExtensionSystem::PluginManager::loadPlugins(void)+0xe [c:\users\aportale\dev\qtcreator-super\qtcreator\src\libs\extensionsystem\pluginmanager.cpp @ 368] 0052f870 002ad689 qtcreator!main(int argc = 0n1, char ** argv = 0x006d9e10)+0x23cc [c:\users\aportale\dev\qtcreator-super\qtcreator\src\app\main.cpp @ 490] 0052f8c0 002ad7cd qtcreator!__tmainCRTStartup(void)+0x199 [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c @ 626] 0052f8c8 753f919f qtcreator!mainCRTStartup(void)+0xd [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c @ 466] 0052f8d4 774db5af KERNEL32!BaseThreadInitThunk+0xe 0052f91c 774db57a ntdll!__RtlUserThreadStart+0x2f 0052f92c 00000000 ntdll!_RtlUserThreadStart+0x1b
I have this modifiedmimetypes.xml:
<?xml version="1.0" encoding="UTF-8"?> <mime-info> <mime-type type="application/javascript" pattern="*.js;*.qs;*.qtt"> <match value="dsfgsdfgsdfg" type="string" offset="0:0" priority="50"/> </mime-type> <mime-type type="application/octet-stream" pattern="*.a;*.dll;*.exe;*.lib;*.o;*.obj;*.out;*.so"> <match value="\0x3f\0x45\0x4c\0x46" type="byte" offset="0:0" priority="99"/> <match value="sdfgsdfgdsfgeeee" type="string" offset="0:0" priority="50"/> <match value="eeee" type="string" offset="0:0" priority="50"/> </mime-type> </mime-info>