[MacPorts] #63551: gnuplot @5.4.2: locale-related free() errors on Tiger/PPC

MacPorts noreply at macports.org
Thu Sep 30 01:11:32 UTC 2021


#63551: gnuplot @5.4.2: locale-related free() errors on Tiger/PPC
---------------------------+----------------------
 Reporter:  evanmiller     |      Owner:  mojca
     Type:  defect         |     Status:  assigned
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.7.1
 Keywords:  tiger powerpc  |       Port:  gnuplot
---------------------------+----------------------
 On program launch I see errors like

 {{{
 gnuplot(12032) malloc: ***  Deallocation of a pointer not malloced:
 0xa4c3bac4; This could be a double free(), or free() called with the
 middle of an allocated block; Try setting environment variable MallocHelp
 to see tools to help debug
 gnuplot(12032) malloc: ***  Deallocation of a pointer not malloced:
 0xa4c3ba54; This could be a double free(), or free() called with the
 middle of an allocated block; Try setting environment variable MallocHelp
 to see tools to help debug
 }}}

 Setting {{{MallocBadFreeAbort=1}}} and backtracing in a debugger I see

 {{{
 #0  0x90047dac in kill ()
 #1  0x9012d7b4 in abort ()
 #2  0x900061f0 in free ()
 #3  0x94c372b0 in std::locale::_Impl::_M_install_facet ()
 #4  0x94c37598 in std::locale::_Impl::_Impl ()
 #5  0x94c37c10 in std::locale::_Impl::_Impl ()
 #6  0x90008598 in pthread_once ()
 #7  0x94c37c74 in std::locale::_Impl::_Impl ()
 #8  0x94c37df4 in std::locale::locale ()
 #9  0x94c364a0 in std::ios_base::_M_init ()
 #10 0x94c43a9c in std::basic_ios<char, std::char_traits<char> >::init ()
 #11 0x01a244f8 in std::ios_base::Init::Init ()
 #12 0x0180c92c in _GLOBAL__sub_I_configparam.cc ()
 #13 0x8fe15670 in
 __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE
 ()
 #14 0x8fe0babc in
 __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
 #15 0x8fe0ba4c in
 __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
 #16 0x8fe0ba4c in
 __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
 #17 0x8fe0ba4c in
 __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
 #18 0x8fe0d604 in
 __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
 #19 0x8fe02cb4 in __dyld__ZN4dyld24initializeMainExecutableEv ()
 #20 0x000068b4 in _start ()
 #21 0x00006780 in start ()
 }}}

 Does this look familiar to anyone?

-- 
Ticket URL: <https://trac.macports.org/ticket/63551>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list