[MacPorts] #65612: nqp & rakudo 2022.07 on Rosetta: incorrect checksum for freed object - object was probably modified after being freed

MacPorts noreply at macports.org
Thu Aug 4 15:03:37 UTC 2022


#65612: nqp & rakudo 2022.07 on Rosetta: incorrect checksum for freed object -
object was probably modified after being freed
-------------------------------------------+-------------------------------
 Reporter:  barracuda156                   |      Owner:  mojca
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.2
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  nqp, rakudo,
                                           |  MoarVM
-------------------------------------------+-------------------------------
 On 10.6.8 Rosetta I get the following errors, though the build still
 succeeds (and apparently binaries work, otherwise I could not get anywhere
 further from `MoarVM`).

 When building `nqp`:
 {{{
 +++ Compiling   gen/moar/stage2/NQPP6QRegex.moarvm
 moar(36849,0x802fc540) malloc: *** error for object 0x80a02af4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 moar(36849,0x802fc540) malloc: *** error for object 0x80a02af0: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 +++ Creating    stage 2 NQP
 }}}

 When building `rakudo`:
 {{{
 --->  Building rakudo
 Executing:  cd
 "/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_rakudo/rakudo/work/rakudo-2022.07"
 && /usr/bin/make -j6 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_rakudo/rakudo/work/rakudo-2022.07'
 +++ Checking for moar NQP version
 +++ Expanding   gen/moar/main-version.nqp
 fatal: not in a git directory
 fatal: not in a git directory
 +++ Generating  gen/moar/rakudo.nqp
 +++ Generating  gen/moar/Grammar.nqp
 +++ Generating  gen/moar/World.nqp
 +++ Generating  gen/moar/ModuleLoader.nqp
 nqp-m(37184,0x802fc540) malloc: *** error for object 0x80a02af4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37184,0x802fc540) malloc: *** error for object 0x80a02af0: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 +++ Compiling   blib/Perl6/ModuleLoader.moarvm
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02af0: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02ae4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02ae0: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02ab4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02ab0: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02a74: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02a70: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02a54: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02a50: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02a14: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02784: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02744: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02724: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a026e4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a026c4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02684: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02664: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02624: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02604: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a025c4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a025a4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a02564: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 nqp-m(37193,0x802fc540) malloc: *** error for object 0x80a022d4: incorrect
 checksum for freed object - object was probably modified after being
 freed.
 *** set a breakpoint in malloc_error_break to debug
 }}}

 Also `gcc12` does not recognize `-Wno-logical-op-parentheses` flag, though
 does not err out on it:
 {{{
 cc1: note: unrecognized command-line option '-Wno-logical-op-parentheses'
 may have been intended to silence earlier diagnostics
 }}}

 Yet:
 {{{
 10:~ svacchanda$ port -v installed MoarVM
 The following ports are currently installed:
   MoarVM @2022.07_0 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-08-04T20:16:30+0545'
 10:~ svacchanda$ port -v installed nqp
 The following ports are currently installed:
   nqp @2022.07_0 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-08-04T20:24:01+0545'
 10:~ svacchanda$ port -v installed rakudo
 The following ports are currently installed:
   rakudo @2022.07_0 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-08-04T20:43:36+0545'
 }}}

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


More information about the macports-tickets mailing list