Advertisement
Guest User

Untitled

a guest
Aug 20th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.32 KB | None | 0 0
  1. ==69736== Memcheck, a memory error detector
  2. ==69736== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
  3. ==69736== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
  4. ==69736== Command: ./rt
  5. ==69736==
  6. --69736-- run: /usr/bin/dsymutil "./rt"
  7. ==69736== Conditional jump or move depends on uninitialised value(s)
  8. ==69736== at 0x7FFF5FC23DC7: bcmp (in /usr/lib/dyld)
  9. ==69736== by 0x7FFF5FC11AF4: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  10. ==69736== by 0x7FFF5FC16D6A: ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  11. ==69736== by 0x7FFF5FC10C5E: ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  12. ==69736== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  13. ==69736== by 0x7FFF5FC085BF: dyld::loadPhase5(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  14. ==69736== by 0x7FFF5FC082DF: dyld::loadPhase4(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  15. ==69736== by 0x7FFF5FC08044: dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  16. ==69736== by 0x7FFF5FC07799: dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  17. ==69736== by 0x7FFF5FC0347A: dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  18. ==69736== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  19. ==69736== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  20. ==69736==
  21. ==69736== Use of uninitialised value of size 8
  22. ==69736== at 0x7FFF5FC23DDF: bcmp (in /usr/lib/dyld)
  23. ==69736== by 0x7FFF5FC11AF4: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  24. ==69736== by 0x7FFF5FC16D6A: ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  25. ==69736== by 0x7FFF5FC10C5E: ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  26. ==69736== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  27. ==69736== by 0x7FFF5FC085BF: dyld::loadPhase5(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  28. ==69736== by 0x7FFF5FC082DF: dyld::loadPhase4(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  29. ==69736== by 0x7FFF5FC08044: dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  30. ==69736== by 0x7FFF5FC07799: dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  31. ==69736== by 0x7FFF5FC0347A: dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  32. ==69736== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  33. ==69736== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  34. ==69736==
  35. ==69736== Use of uninitialised value of size 8
  36. ==69736== at 0x7FFF5FC23DE4: bcmp (in /usr/lib/dyld)
  37. ==69736== by 0x7FFF5FC11AF4: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  38. ==69736== by 0x7FFF5FC16D6A: ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  39. ==69736== by 0x7FFF5FC10C5E: ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  40. ==69736== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  41. ==69736== by 0x7FFF5FC085BF: dyld::loadPhase5(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  42. ==69736== by 0x7FFF5FC082DF: dyld::loadPhase4(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  43. ==69736== by 0x7FFF5FC08044: dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  44. ==69736== by 0x7FFF5FC07799: dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  45. ==69736== by 0x7FFF5FC0347A: dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  46. ==69736== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  47. ==69736== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  48. ==69736==
  49. ==69736== Conditional jump or move depends on uninitialised value(s)
  50. ==69736== at 0x7FFF5FC11AF7: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  51. ==69736== by 0x7FFF5FC16D6A: ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  52. ==69736== by 0x7FFF5FC10C5E: ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  53. ==69736== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  54. ==69736== by 0x7FFF5FC085BF: dyld::loadPhase5(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  55. ==69736== by 0x7FFF5FC082DF: dyld::loadPhase4(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  56. ==69736== by 0x7FFF5FC08044: dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  57. ==69736== by 0x7FFF5FC07799: dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  58. ==69736== by 0x7FFF5FC0347A: dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  59. ==69736== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  60. ==69736== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  61. ==69736== by 0x7FFF5FC0EA4D: ImageLoader::recursiveLoadLibraries(ImageLoader::LinkContext const&, bool, ImageLoader::RPathChain const&) (in /usr/lib/dyld)
  62. ==69736==
  63. Rendering ...
  64.  
  65. --69736-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
  66. --69736-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
  67. --69736-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
  68. --69736-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
  69.  
  70. valgrind: m_syswrap/syswrap-amd64-darwin.c:507 (void wqthread_hijack(Addr, Addr, Addr, Addr, Int, Addr)): Assertion 'tst->os_state.pthread - magic_delta == self' failed.
  71.  
  72. host stacktrace:
  73. ==69736== at 0x238040B6C: ???
  74. ==69736== by 0x238040F77: ???
  75. ==69736== by 0x238040F5A: ???
  76. ==69736== by 0x2380DFCD9: ???
  77.  
  78. sched status:
  79. running_tid=0
  80.  
  81. Thread 1: status = VgTs_WaitSys (lwpid 2567)
  82. ==69736== at 0x105839F72: mach_msg_trap (in /usr/lib/system/libsystem_kernel.dylib)
  83. ==69736== by 0x1058393B2: mach_msg (in /usr/lib/system/libsystem_kernel.dylib)
  84. ==69736== by 0x105834540: semaphore_create (in /usr/lib/system/libsystem_kernel.dylib)
  85. ==69736== by 0x105645763: _dispatch_semaphore_create_port (in /usr/lib/system/libdispatch.dylib)
  86. ==69736== by 0x105645613: _dispatch_group_wait_slow (in /usr/lib/system/libdispatch.dylib)
  87. ==69736== by 0x101569EED: CFPREFERENCES_IS_WAITING_FOR_CFPREFSD (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  88. ==69736== by 0x101569947: -[CFPrefsSearchListSource generationCountFromListOfSources:count:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  89. ==69736== by 0x101569213: -[CFPrefsSearchListSource alreadylocked_copyDictionary] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  90. ==69736== by 0x101568E5B: -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  91. ==69736== by 0x101568DEB: ___CFPreferencesCopyAppValueWithContainer_block_invoke (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  92. ==69736== by 0x101560B0F: +[CFPrefsSearchListSource withSearchListForIdentifier:container:perform:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  93. ==69736== by 0x101560866: _CFPreferencesCopyAppValueWithContainer (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  94. ==69736== by 0x101C23857: -[NSUserDefaults(NSUserDefaults) init] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
  95. ==69736== by 0x101C23239: +[NSUserDefaults(NSUserDefaults) standardUserDefaults] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
  96. ==69736== by 0x10004E273: +[NSApplication initialize] (in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
  97. ==69736== by 0x1022093C7: call_load_methods (in /usr/lib/libobjc.A.dylib)
  98. ==69736== by 0x102208D07: NXMapRemove (in /usr/lib/libobjc.A.dylib)
  99. ==69736== by 0x102203590: objc_msgSend (in /usr/lib/libobjc.A.dylib)
  100. ==69736== by 0x100007A29: mlx_init (in ./rt)
  101. ==69736== by 0x1000044F0: ft_data_window (img.c:49)
  102. ==69736== by 0x100001F66: main (main.c:207)
  103.  
  104. Thread 2: status = VgTs_WaitSys (lwpid 4099)
  105. ==69736== at 0x1058405E2: __workq_kernreturn (in /usr/lib/system/libsystem_kernel.dylib)
  106. ==69736== by 0x105997577: _pthread_wqthread (in /usr/lib/system/libsystem_pthread.dylib)
  107. ==69736== by 0x105995340: start_wqthread (in /usr/lib/system/libsystem_pthread.dylib)
  108.  
  109. Thread 3: status = VgTs_Yielding (lwpid 5635)
  110. ==69736== at 0x10583A7B5: __error (in /usr/lib/system/libsystem_kernel.dylib)
  111. ==69736== by 0x105642DCC: _dispatch_mgr_thread (in /usr/lib/system/libdispatch.dylib)
  112.  
  113. Thread 4: status = VgTs_WaitSys (lwpid 5383)
  114. ==69736== at 0x1058405E2: __workq_kernreturn (in /usr/lib/system/libsystem_kernel.dylib)
  115. ==69736== by 0x2380DFCD9: ???
  116. ==69736== by 0x2382081AF: ???
  117. ==69736== by 0x2DF: ???
  118. ==69736== by 0x700000397D9F: ???
  119.  
  120.  
  121. Note: see also the FAQ in the source distribution.
  122. It contains workarounds to several common problems.
  123. In particular, if Valgrind aborted or crashed after
  124. identifying problems in your program, there's a good chance
  125. that fixing those problems will prevent Valgrind aborting or
  126. crashing, especially if it happened in m_mallocfree.c.
  127.  
  128. If that doesn't help, please report this bug to: www.valgrind.org
  129.  
  130. In the bug report, send all the above text, the valgrind
  131. version, and what OS and version you are using. Thanks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement