Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
1.3.0
-
None
-
Process: qbs [62129]
Path: /usr/local/bin/qbs
Parent Process: qbs [62119]
Date/Time: 2014-04-06 23:29:04.379 +0400
OS Version: Mac OS X 10.9.2 (13C64)
Description
qbs hangs when building project using multiple cores. At the hanging moment, 2 qbs process are spawned and 0 compiler\linker child processes.
Here's stack trace of the child qbs process:
Call graph: 2634 Thread_8781753: Main Thread DispatchQueue_<multiple> 2634 thread_start (in libsystem_pthread.dylib) + 13 [0x7fff88ceffc9] 2634 _pthread_start (in libsystem_pthread.dylib) + 137 [0x7fff88ceb72a] 2634 _pthread_body (in libsystem_pthread.dylib) + 138 [0x7fff88ceb899] 2634 QThreadPrivate::start(void*) (in QtCore) + 338 [0x100311392] 2634 QThread::exec() (in QtCore) + 126 [0x10030d6de] 2634 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in QtCore) + 397 [0x1004f764d] 2634 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in QtCore) + 62 [0x10054a42e] 2634 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in QtCore) + 631 [0x1004fac07] 2634 QCoreApplication::notify(QObject*, QEvent*) (in QtCore) + 185 [0x1004fa199] 2634 QObject::event(QEvent*) (in QtCore) + 747 [0x100523f4b] 2634 qbs::Internal::Executor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in libqbscore.1.3.0.dylib) + 431 [0x100196bdf] 2634 qbs::Internal::Executor::onProcessSuccess() (in libqbscore.1.3.0.dylib) + 54 [0x1000b3b66] 2634 qbs::Internal::Executor::finishJob(qbs::Internal::ExecutorJob*, bool) (in libqbscore.1.3.0.dylib) + 857 [0x1000b13b9] 2634 qbs::Internal::Executor::scheduleJobs() (in libqbscore.1.3.0.dylib) + 443 [0x1000ad56b] 2634 non-virtual thunk to qbs::Internal::Artifact::accept(qbs::Internal::BuildGraphVisitor*) (in libqbscore.1.3.0.dylib) + 28 [0x10008462c] 2634 non-virtual thunk to qbs::Internal::Executor::visit(qbs::Internal::Artifact*) (in libqbscore.1.3.0.dylib) + 13 [0x1000b3c0d] 2634 qbs::Internal::Executor::buildArtifact(qbs::Internal::Artifact*) (in libqbscore.1.3.0.dylib) + 258 [0x1000aeba2] 2634 qbs::Internal::Executor::potentiallyRunTransformer(QSharedPointer<qbs::Internal::Transformer> const&) (in libqbscore.1.3.0.dylib) + 1177 [0x1000af519] 2634 qbs::Internal::Executor::runTransformer(QSharedPointer<qbs::Internal::Transformer> const&) (in libqbscore.1.3.0.dylib) + 746 [0x1000b388a] 2634 qbs::Internal::ExecutorJob::run(qbs::Internal::Transformer*) (in libqbscore.1.3.0.dylib) + 293 [0x1000b6e25] 2634 qbs::Internal::ExecutorJob::runNextCommand() (in libqbscore.1.3.0.dylib) + 135 [0x1000b6ef7] 2634 qbs::Internal::AbstractCommandExecutor::start(qbs::Internal::Transformer*, qbs::Internal::AbstractCommand const*) (in libqbscore.1.3.0.dylib) + 434 [0x100083ce2] 2634 qbs::Internal::ProcessCommandExecutor::doStart() (in libqbscore.1.3.0.dylib) + 3698 [0x1000c0672] 2634 QProcess::start(QString const&, QStringList const&, QFlags<QIODevice::OpenModeFlag>) (in QtCore) + 181 [0x10044d115] 2634 QProcessPrivate::start(QFlags<QIODevice::OpenModeFlag>) (in QtCore) + 256 [0x10044d230] 2634 QProcessPrivate::startProcess() (in QtCore) + 6336 [0x10049db80] 2634 QProcessPrivate::execChild(char const*, char**, char**, char**) (in QtCore) + 175 [0x10049e09f] 2634 fileno (in libsystem_c.dylib) + 15 [0x7fff8297ce74] 2634 flockfile (in libsystem_c.dylib) + 37 [0x7fff8297bedd] 2634 _pthread_mutex_lock (in libsystem_pthread.dylib) + 372 [0x7fff88cee779] 2634 __psynch_mutexwait (in libsystem_kernel.dylib) + 10 [0x7fff8a8f4746]
Attachments
Issue Links
- is replaced by
-
QTBUG-37306 QProcess in a thread can cause a hang on OS X 10.9
- Closed