Version: 3.7 SVN OS: OS X uname -a = Darwin boombox.private 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 Reproducible: Always Steps to Reproduce: Build from svn source, configure using --enable-only32bit; sudo make install valgrind --dsymutil=yes /path/to/some/application.app Actual Results: boombox:valgrind siegel$ valgrind --dsymutil=yes ~/Library/Developer/Xcode/DerivedData/BBEdit-ghcgmprtzmzjklcjgeqweupxzdwg/Build/Products/Debug/BBEdit.app ==40003== Memcheck, a memory error detector ==40003== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==40003== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info ==40003== Command: /Users/siegel/Library/Developer/Xcode/DerivedData/BBEdit-ghcgmprtzmzjklcjgeqweupxzdwg/Build/Products/Debug/BBEdit.app/Contents/MacOS/BBEdit ==40003== --40003-- run: /usr/bin/dsymutil "/Users/siegel/Library/Developer/Xcode/DerivedData/BBEdit-ghcgmprtzmzjklcjgeqweupxzdwg/Build/Products/Debug/BBEdit.app/Contents/Frameworks/Growl.framework/Versions/A/Growl" dyld: could not load inserted library: /usr/local/lib/valgrind/vgpreload_core-x86-darwin.so --40003-- run: /usr/bin/dsymutil "/Users/siegel/Library/Developer/Xcode/DerivedData/BBEdit-ghcgmprtzmzjklcjgeqweupxzdwg/Build/Products/Debug/BBEdit.app/Contents/Frameworks/UpdateKit.framework/Versions/A/UpdateKit" dyld: could not load inserted library: /usr/local/lib/valgrind/vgpreload_core-x86-darwin.so valgrind: m_syswrap/syswrap-x86-darwin.c:500 (wqthread_hijack): the 'impossible' happened. ==40003== at 0x3802B932: ??? ==40003== by 0x3802BBFE: ??? ==40003== by 0x38099A26: ??? sched status: running_tid=3 Thread 1: status = VgTs_WaitSys ==40003== at 0x2941AFA: mach_msg_trap (in /usr/lib/libSystem.B.dylib) ==40003== by 0x2965784: mach_port_type (in /usr/lib/libSystem.B.dylib) ==40003== by 0x2CBB3D4: CFMachPortIsValid (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C645C1: _CFMachPortCreateWithPort2 (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C6C17B: CFMachPortCreate (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C6BF98: _CFXNotificationCenterCreate (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C6BE35: _CFXNotificationGetHostCenter (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C71801: __CFXPreferencesGetSourceForTriplet (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C70A7C: __CFXPreferencesGetSearchListForBundleID (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C70924: CFPreferencesCopyAppValue (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C7E269: _CFBundleCopyUserLanguages (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C7D7EB: _CFBundleAddPreferredLprojNamesInDirectory (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C7D22F: _CFBundleGetLanguageSearchList (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2C7D079: CFBundleCopyResourceURL (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2CBFD50: _CFBundleCopyResourceForkURLMayBeLocal (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2CBF9E9: CFBundleOpenBundleResourceFiles (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x2CBF8CD: CFBundleOpenBundleResourceMap (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==40003== by 0x510F8FE: INIT_ResourceManager (in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore) ==40003== by 0x510F6F7: StandardEntry (in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore) ==40003== by 0x510F58E: GetResourceCommon (in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore) ==40003== by 0x510F54B: GetResource (in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore) ==40003== by 0x51B3E62: GetIndString (in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore) ==40003== by 0x5E803F: CFStringCreateFromStringListResource(__CFAllocator const*, short, short) (CFString-Extensions.mm:990) ==40003== by 0x970F6F: __cxx_global_var_init (in /Users/siegel/Library/Developer/Xcode/DerivedData/BBEdit-ghcgmprtzmzjklcjgeqweupxzdwg/Build/Products/Debug/BBEdit.app/Contents/MacOS/BBEdit) ==40003== by 0x970F8A: global constructors keyed to a (in /Users/siegel/Library/Developer/Xcode/DerivedData/BBEdit-ghcgmprtzmzjklcjgeqweupxzdwg/Build/Products/Debug/BBEdit.app/Contents/MacOS/BBEdit) ==40003== by 0x8FE0ED6C: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld) ==40003== by 0x8FE0D31D: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) (in /usr/lib/dyld) ==40003== by 0x8FE0D3D0: ImageLoader::runInitializers(ImageLoader::LinkContext const&) (in /usr/lib/dyld) ==40003== by 0x8FE024A8: dyld::initializeMainExecutable() (in /usr/lib/dyld) ==40003== by 0x8FE0794F: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**) (in /usr/lib/dyld) ==40003== by 0x8FE018B0: dyldbootstrap::start(macho_header const*, int, char const**, long) (in /usr/lib/dyld) ==40003== by 0x8FE01056: _dyld_start (in /usr/lib/dyld) ==40003== by 0xFFF: ??? Thread 2: status = VgTs_WaitSys ==40003== at 0x2968382: kevent (in /usr/lib/libSystem.B.dylib) ==40003== by 0x2967F58: _dispatch_queue_invoke (in /usr/lib/libSystem.B.dylib) ==40003== by 0x2967CFD: _dispatch_worker_thread2 (in /usr/lib/libSystem.B.dylib) ==40003== by 0x2967780: _pthread_wqthread (in /usr/lib/libSystem.B.dylib) ==40003== by 0x29675C5: start_wqthread (in /usr/lib/libSystem.B.dylib) Thread 3: status = VgTs_Runnable ==40003== at 0x29675A8: start_wqthread (in /usr/lib/libSystem.B.dylib) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks. Expected Results: Expected normal startup and debugging.
What version of MacOSX is this for? 10.7.1, or something else?
This is on Mac OS X 10.6.8, build 10K549. (It's Mac OS X Server, if it matters.) The developer tools install is "Xcode 4.1 for Snow Leopard", "gcc --version" reports: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Does this still happen with the svn trunk?
Actually, let's just close as a dup of the OSX 10.7 support bug. If the trunk is still broken in this way, pls reopen. *** This bug has been marked as a duplicate of bug 275168 ***