Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.6.1, 5.6.2, 5.8, 5.11.0, 5.15.0, 6.2.0 Beta3
-
Ubuntu 16.10 LTS 64 bit
g++ 6.2.0
Description
moc segfaults when run on the attached malformed file:
/home/qtrob/dev/g++-6.2.0/qt-5.6.2/qtbase/bin/moc /tmp/crashmoc.h Speicherzugriffsfehler
It's clear that moc can't generate something useful from this file but still it should not crash. Qt 4.8.7 finished safely with an error message:
/home/qtrob/dev/g++-5.3.1/qt-4.8.7/bin/moc /tmp/crashmoc.h /tmp/crashmoc.h:0: Note: No relevant classes found. No output generated.