[MacPorts] #40387: Valgrind fails running on large project
MacPorts
noreply at macports.org
Thu Sep 5 05:11:58 PDT 2013
#40387: Valgrind fails running on large project
---------------------+--------------------------------
Reporter: barto@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: | Port: valgrind
---------------------+--------------------------------
Valgrind on Linux (without the dsymutil=yes line) runs successfully.
Running valgrind with:
{{{
valgrind --tool=memcheck \
--leak-check=full \
--leak-resolution=high \
--read-var-info=yes \
--track-origins=yes \
--dsymutil=yes \
host/ui3/ui3 -j
}}}
generates the following error.
{{{
UNKNOWN workq_ops option 32
valgrind: m_syswrap/syswrap-amd64-darwin.c:460 (void wqthread_hijack(Addr,
Addr, Addr, Addr, Int, Addr)): Assertion 'VG_(is_valid_tid)(tid)' failed.
==92625== at 0x238034A9C: ???
==92625== by 0x238034A50: ???
==92625== by 0x2380BDD4E: ???
sched status:
running_tid=0
Thread 1: status = VgTs_WaitSys
==92625== at 0x11E93686: mach_msg_trap (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x15CF5C24: _scsclient_FindService (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF5AF7: SCClientSession::createService(char const*,
unsigned int) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF59D3: SCSession::findOrCreateService(char const*,
unsigned int) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF51D7: scCreateSystemServiceVersion (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF8AE6: FileIDTreeGetCachedPort (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF8938: FSNodeStorageGetAndLockCurrentUniverse (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF87C8: FileIDTreeGetAndLockVolumeEntryForDeviceID (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CFC413: FSMount::FSMount(unsigned int,
FSMountNumberType, short*, unsigned int const*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CFADE7: PathGetObjectInfo(char const*, unsigned int,
unsigned int, short*, unsigned int*, unsigned int*, char*, unsigned int*,
unsigned char*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CFAC2C: FSPathMakeRefInternal(unsigned char const*,
unsigned int, unsigned int, FSRef*, unsigned char*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x13AA9AD1: _CFGetFSRefFromURL (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==92625== by 0x13AA99D8: CFURLGetFSRef (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==92625== by 0x13AB1B06:
_CFBundleCopyInfoDictionaryInResourceForkWithAllocator (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
==92625== by 0x15CF6185: GetBugsForOurBundleIDFromCoreservicesd (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15CF5EFB: _CSCheckFix (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15D09F5B: _Gestalt_SystemVersion (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x15D09D53: Gestalt (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore)
==92625== by 0x1229CB55: global constructors keyed to qVersion() (in
/opt/local/QtSDK/Desktop/Qt/4.8.3/gcc/lib/QtCore.framework/Versions/4/QtCore)
==92625== by 0x7FFF5FC13377:
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in
/usr/lib/dyld)
==92625== by 0x7FFF5FC13761:
ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in
/usr/lib/dyld)
==92625== by 0x7FFF5FC1006D:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&,
unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==92625== by 0x7FFF5FC0FFC3:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&,
unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==92625== by 0x7FFF5FC0FFC3:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&,
unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==92625== by 0x7FFF5FC0FEB9:
ImageLoader::runInitializers(ImageLoader::LinkContext const&,
ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==92625== by 0x7FFF5FC01FBF: dyld::initializeMainExecutable() (in
/usr/lib/dyld)
==92625== by 0x7FFF5FC05B03: dyld::_main(macho_header const*, unsigned
long, int, char const**, char const**, char const**, unsigned long*) (in
/usr/lib/dyld)
==92625== by 0x7FFF5FC01396: dyldbootstrap::start(macho_header const*,
int, char const**, long, macho_header const*, unsigned long*) (in
/usr/lib/dyld)
==92625== by 0x7FFF5FC0105D: _dyld_start (in /usr/lib/dyld)
==92625== by 0x1: ???
==92625== by 0x10556A206: ???
==92625== by 0x10556A213: ???
Thread 2: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 3: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 4: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 5: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 6: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 7: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 8: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 9: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 10: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 11: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 12: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 13: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 14: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
Thread 15: status = VgTs_WaitSys
==92625== at 0x11E950FA: __psynch_cvwait (in
/usr/lib/system/libsystem_kernel.dylib)
==92625== by 0x11AF9FEB:
std::condition_variable::wait(std::unique_lock<std::mutex>&) (in
/opt/local/lib/gcc48/libstdc++.6.dylib)
==92625== by 0x11D2C7A1: _pthread_start (in
/usr/lib/system/libsystem_c.dylib)
==92625== by 0x11D191E0: thread_start (in
/usr/lib/system/libsystem_c.dylib)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40387>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list