Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1015

ASSERT when passing "run qtcreator release" to qbs command line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.6.1
    • 1.6.1
    • General
    • None
    • 3a51a17d72f49647449eab949ae30d7c09ced3ef

    Description

      $ qbs --version
      1.6.1
      $ qbs run qtcreator release
      ASSERT: "command == BuildCommandType || command == InstallCommandType" in file /home/kakoehne/dev/qbs/1.6/src/app/qbs/parser/commandlineoption.cpp, line 458
      Aborted (core dumped)
      

      Stack trace

      #0  0x00007faf3f1420c7 in raise () from /lib64/libc.so.6
      #1  0x00007faf3f143478 in abort () from /lib64/libc.so.6
      #2  0x00007faf40026e10 in qt_message_fatal (context=..., message=...) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/global/qlogging.cpp:1648
      #3  0x00007faf40023348 in QMessageLogger::fatal (this=0x7fffa26ad150, msg=0x7faf40350f10 "ASSERT: \"%s\" in file %s, line %d") at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/global/qlogging.cpp:790
      #4  0x00007faf4001c58e in qt_assert (assertion=0x4374f8 "command == BuildCommandType || command == InstallCommandType", file=0x4374b0 "/home/kakoehne/dev/qbs/1.6/src/app/qbs/parser/commandlineoption.cpp", line=458)
          at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/global/qglobal.cpp:3018
      #5  0x00000000004270f0 in qbs::BuildNonDefaultOption::description (this=0x1837dd0, command=qbs::RunCommandType) at /home/kakoehne/dev/qbs/1.6/src/app/qbs/parser/commandlineoption.cpp:458
      #6  0x000000000041fa4b in qbs::Command::supportedOptionsDescription (this=0x182e460) at /home/kakoehne/dev/qbs/1.6/src/app/qbs/parser/command.cpp:143
      #7  0x0000000000420fdd in qbs::RunCommand::longDescription (this=0x182e460) at /home/kakoehne/dev/qbs/1.6/src/app/qbs/parser/command.cpp:342
      #8  0x000000000042c2ea in qbs::CommandLineParser::commandDescription (this=0x7fffa26ae170) at /home/kakoehne/dev/qbs/1.6/src/app/qbs/parser/commandlineparser.cpp:277
      #9  0x000000000040b752 in qbs::CommandLineFrontend::start (this=0x7fffa26ae0f0) at /home/kakoehne/dev/qbs/1.6/src/app/qbs/commandlinefrontend.cpp:117
      #10 0x000000000041868a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (qbs::CommandLineFrontend::*)()>::call(void (qbs::CommandLineFrontend::*)(), qbs::CommandLineFrontend*, void**) (
          f=(void (qbs::CommandLineFrontend::*)(qbs::CommandLineFrontend * const)) 0x40b448 <qbs::CommandLineFrontend::start()>, o=0x7fffa26ae0f0, arg=0x7fffa26ada00)
          at /home/kakoehne/dev/qt/5.6/gcc-4.8/qtbase/include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobjectdefs_impl.h:501
      #11 0x0000000000418056 in QtPrivate::FunctionPointer<void (qbs::CommandLineFrontend::*)()>::call<QtPrivate::List<>, void>(void (qbs::CommandLineFrontend::*)(), qbs::CommandLineFrontend*, void**) (
          f=(void (qbs::CommandLineFrontend::*)(qbs::CommandLineFrontend * const)) 0x40b448 <qbs::CommandLineFrontend::start()>, o=0x7fffa26ae0f0, arg=0x7fffa26ada00)
          at /home/kakoehne/dev/qt/5.6/gcc-4.8/qtbase/include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobjectdefs_impl.h:520
      #12 0x0000000000416f83 in QtPrivate::QSlotObject<void (qbs::CommandLineFrontend::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1832ee0, r=0x7fffa26ae0f0, 
          a=0x7fffa26ada00, ret=0x0) at /home/kakoehne/dev/qt/5.6/gcc-4.8/qtbase/include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobject_impl.h:143
      #13 0x00007faf402aedff in QtPrivate::QSlotObjectBase::call (this=0x1832ee0, r=0x7fffa26ae0f0, a=0x7fffa26ada00) at ../../include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobject_impl.h:124
      #14 0x00007faf402b83bd in QSingleShotTimer::timerEvent (this=0x1836540) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qtimer.cpp:310
      #15 0x00007faf402a5310 in QObject::event (this=0x1836540, e=0x7fffa26add40) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qobject.cpp:1237
      #16 0x00007faf4026bd47 in QCoreApplicationPrivate::notify_helper (receiver=0x1836540, event=0x7fffa26add40) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1149
      #17 0x00007faf4026b9cd in doNotify (receiver=0x1836540, event=0x7fffa26add40) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1090
      #18 0x00007faf4026b940 in QCoreApplication::notify (this=0x7fffa26ae0d0, receiver=0x1836540, event=0x7fffa26add40) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1076
      #19 0x00007faf4026b8d0 in QCoreApplication::notifyInternal2 (receiver=0x1836540, event=0x7fffa26add40) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1015
      #20 0x00007faf4026f8a8 in QCoreApplication::sendEvent (receiver=0x1836540, event=0x7fffa26add40) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qcoreapplication.h:225
      #21 0x00007faf402e33ae in QTimerInfoList::activateTimers (this=0x182c720) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:637
      #22 0x00007faf402e46b6 in timerSourceDispatch (source=0x182c6c0) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:176
      #23 0x00007faf3d3f3c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
      #24 0x00007faf3d3f3ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
      #25 0x00007faf3d3f3f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
      #26 0x00007faf402e5047 in QEventDispatcherGlib::processEvents (this=0x182b730, flags=...) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417
      #27 0x00007faf4026831a in QEventLoop::processEvents (this=0x7fffa26ae030, flags=...) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qeventloop.cpp:128
      #28 0x00007faf402685fb in QEventLoop::exec (this=0x7fffa26ae030, flags=...) at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qeventloop.cpp:206
      #29 0x00007faf4026c013 in QCoreApplication::exec () at /home/kakoehne/dev/qt/5.6/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1285
      #30 0x0000000000419607 in main (argc=4, argv=0x7fffa26ae318) at /home/kakoehne/dev/qbs/1.6/src/app/qbs/main.cpp:82
      

      qbs was compiled from git sha 696292719b75bd33d2cad0f6dbb9d2c1c123df5c

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes