Advertisement
Guest User

Untitled

a guest
Aug 20th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.42 KB | None | 0 0
  1. valgrind --tool=memcheck --leak-check=full ./rt
  2. ==62975== Memcheck, a memory error detector
  3. ==62975== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
  4. ==62975== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
  5. ==62975== Command: ./rt
  6. ==62975==
  7. --62975-- run: /usr/bin/dsymutil "./rt"
  8. warning: no debug symbols in executable (-arch x86_64)
  9. ==62975== Conditional jump or move depends on uninitialised value(s)
  10. ==62975== at 0x7FFF5FC23DC7: bcmp (in /usr/lib/dyld)
  11. ==62975== by 0x7FFF5FC11AF4: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  12. ==62975== 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)
  13. ==62975== 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)
  14. ==62975== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  15. ==62975== 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)
  16. ==62975== 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)
  17. ==62975== 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)
  18. ==62975== 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)
  19. ==62975== 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)
  20. ==62975== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  21. ==62975== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  22. ==62975==
  23. ==62975== Use of uninitialised value of size 8
  24. ==62975== at 0x7FFF5FC23DDF: bcmp (in /usr/lib/dyld)
  25. ==62975== by 0x7FFF5FC11AF4: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  26. ==62975== 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)
  27. ==62975== 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)
  28. ==62975== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  29. ==62975== 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)
  30. ==62975== 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)
  31. ==62975== 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)
  32. ==62975== 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)
  33. ==62975== 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)
  34. ==62975== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  35. ==62975== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  36. ==62975==
  37. ==62975== Use of uninitialised value of size 8
  38. ==62975== at 0x7FFF5FC23DE4: bcmp (in /usr/lib/dyld)
  39. ==62975== by 0x7FFF5FC11AF4: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  40. ==62975== 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)
  41. ==62975== 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)
  42. ==62975== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  43. ==62975== 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)
  44. ==62975== 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)
  45. ==62975== 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)
  46. ==62975== 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)
  47. ==62975== 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)
  48. ==62975== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  49. ==62975== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  50. ==62975==
  51. ==62975== Conditional jump or move depends on uninitialised value(s)
  52. ==62975== at 0x7FFF5FC11AF7: ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  53. ==62975== 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)
  54. ==62975== 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)
  55. ==62975== by 0x7FFF5FC038C2: dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  56. ==62975== 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)
  57. ==62975== 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)
  58. ==62975== 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)
  59. ==62975== 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)
  60. ==62975== 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)
  61. ==62975== by 0x7FFF5FC0315E: dyld::load(char const*, dyld::LoadContext const&) (in /usr/lib/dyld)
  62. ==62975== by 0x7FFF5FC088F9: dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*) (in /usr/lib/dyld)
  63. ==62975== by 0x7FFF5FC0EA4D: ImageLoader::recursiveLoadLibraries(ImageLoader::LinkContext const&, bool, ImageLoader::RPathChain const&) (in /usr/lib/dyld)
  64. ==62975==
  65. Rendering ...
  66.  
  67. --62975-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
  68. --62975-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
  69. --62975-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
  70. --62975-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
  71.  
  72. 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.
  73.  
  74. host stacktrace:
  75. ==62975== at 0x238040B6C: ???
  76. ==62975== by 0x238040F77: ???
  77. ==62975== by 0x238040F5A: ???
  78. ==62975== by 0x2380DFCD9: ???
  79.  
  80. sched status:
  81. running_tid=0
  82.  
  83. Thread 1: status = VgTs_WaitSys (lwpid 2567)
  84. ==62975== at 0x105836F72: mach_msg_trap (in /usr/lib/system/libsystem_kernel.dylib)
  85. ==62975== by 0x1058363B2: mach_msg (in /usr/lib/system/libsystem_kernel.dylib)
  86. ==62975== by 0x105831540: semaphore_create (in /usr/lib/system/libsystem_kernel.dylib)
  87. ==62975== by 0x105642763: _dispatch_semaphore_create_port (in /usr/lib/system/libdispatch.dylib)
  88. ==62975== by 0x105642613: _dispatch_group_wait_slow (in /usr/lib/system/libdispatch.dylib)
  89. ==62975== by 0x101566EED: CFPREFERENCES_IS_WAITING_FOR_CFPREFSD (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  90. ==62975== by 0x101566947: -[CFPrefsSearchListSource generationCountFromListOfSources:count:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  91. ==62975== by 0x101566213: -[CFPrefsSearchListSource alreadylocked_copyDictionary] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  92. ==62975== by 0x101565E5B: -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  93. ==62975== by 0x101565DEB: ___CFPreferencesCopyAppValueWithContainer_block_invoke (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  94. ==62975== by 0x10155DB0F: +[CFPrefsSearchListSource withSearchListForIdentifier:container:perform:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  95. ==62975== by 0x10155D866: _CFPreferencesCopyAppValueWithContainer (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
  96. ==62975== by 0x101C20857: -[NSUserDefaults(NSUserDefaults) init] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
  97. ==62975== by 0x101C20239: +[NSUserDefaults(NSUserDefaults) standardUserDefaults] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
  98. ==62975== by 0x10004B273: +[NSApplication initialize] (in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
  99. ==62975== by 0x1022063C7: call_load_methods (in /usr/lib/libobjc.A.dylib)
  100. ==62975== by 0x102205D07: NXMapRemove (in /usr/lib/libobjc.A.dylib)
  101. ==62975== by 0x102200590: objc_msgSend (in /usr/lib/libobjc.A.dylib)
  102. ==62975== by 0x100007A19: mlx_init (in ./rt)
  103. ==62975== by 0x1000044E0: ft_data_window (in ./rt)
  104. ==62975== by 0x100001F56: main (in ./rt)
  105.  
  106. Thread 2: status = VgTs_WaitSys (lwpid 4099)
  107. ==62975== at 0x10583D5E2: __workq_kernreturn (in /usr/lib/system/libsystem_kernel.dylib)
  108. ==62975== by 0x105994577: _pthread_wqthread (in /usr/lib/system/libsystem_pthread.dylib)
  109. ==62975== by 0x105992340: start_wqthread (in /usr/lib/system/libsystem_pthread.dylib)
  110.  
  111. Thread 3: status = VgTs_Yielding (lwpid 5635)
  112. ==62975== at 0x10583DEF0: kevent_qos (in /usr/lib/system/libsystem_kernel.dylib)
  113. ==62975== by 0x10563FDCC: _dispatch_mgr_thread (in /usr/lib/system/libdispatch.dylib)
  114.  
  115. Thread 4: status = VgTs_WaitSys (lwpid 5383)
  116. ==62975== at 0x10583D5E2: __workq_kernreturn (in /usr/lib/system/libsystem_kernel.dylib)
  117. ==62975== by 0x2380DFCD9: ???
  118. ==62975== by 0x2382081AF: ???
  119. ==62975== by 0x2DF: ???
  120. ==62975== by 0x700000397D9F: ???
  121.  
  122.  
  123. Note: see also the FAQ in the source distribution.
  124. It contains workarounds to several common problems.
  125. In particular, if Valgrind aborted or crashed after
  126. identifying problems in your program, there's a good chance
  127. that fixing those problems will prevent Valgrind aborting or
  128. crashing, especially if it happened in m_mallocfree.c.
  129.  
  130. If that doesn't help, please report this bug to: www.valgrind.org
  131.  
  132. In the bug report, send all the above text, the valgrind
  133. version, and what OS and version you are using. Thanks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement