Opened 9 months ago

Last modified 9 months ago

#69301 new defect

macports 2.9.1 appears to be broken on Rosetta: tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x600940: pointer being freed was not allocated

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: base Version: 2.9.1
Keywords: rosetta Cc: catap (Kirill A. Korinsky)
Port:

Description

macmini:~ svacchanda$ sudo port -v sync
Password:
--->  Updating the ports tree
Synchronizing local ports tree from file:///opt/PPCSnowLeopardPorts
Creating port index in /opt/PPCSnowLeopardPorts

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	210

Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done
./

sent 68 bytes  received 99 bytes  30.36 bytes/sec
total size is 125509120  speedup is 751551.62

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... rsync: change_dir "/release/tarballs/PortIndex_darwin_10_powerpc" (in macports) failed: No such file or directory (2)
done

sent 50 bytes  received 9 bytes  23.60 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-40/rsync/main.c(1400) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after --include=/PortIndex.rmd160 --include=/PortIndex --exclude=* rsync://rsync.macports.org/macports/release/tarballs/PortIndex_darwin_10_powerpc/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
Exit code: 23
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Adding port R/R-AER
Adding port R/R-CVXR
Adding port R/R-Boom
Adding port R/R-DescTools
Adding port R/R-DiagrammeR
Adding port R/R-GPArotation
Adding port R/R-PWEXP
Adding port R/R-R2WinBUGS
Adding port R/R-R2jags
Adding port R/R-RALSA
Adding port R/R-RSQLite
Adding port R/R-RQuantLib
Adding port R/R-RcppHNSW
Adding port R/R-TeXCheckR
Adding port R/R-ao
Adding port R/R-atime
Adding port R/R-cobs
Adding port R/R-cpfa
Adding port R/R-cramer
Adding port R/R-dbarts
Adding port R/R-devEMF
Adding port R/R-dsem
Adding port R/R-dynamite
Adding port R/R-expectreg
Adding port R/R-extRemes
Adding port R/R-fGarch
Adding port R/R-fracdiff
Adding port R/R-gasmodel
Adding port R/R-geepack
Adding port R/R-genlogis
Adding port R/R-ggeffects
Adding port R/R-gplots
Adding port R/R-groundhog
Adding port R/R-hardhat
Adding port R/R-ichimoku
Adding port R/R-hstats
Adding port R/R-intergraph
Adding port R/R-limSolve
Adding port R/R-marginaleffects
Adding port R/R-matsindf
Adding port R/R-misty
Adding port R/R-mirai
Adding port R/R-mlVAR
Adding port R/R-mlflow
Adding port R/R-multicool
Adding port R/R-nc
Adding port R/R-nanoarrow
Adding port R/R-nnlib2Rcpp
Adding port R/R-oeli
Adding port R/R-officer
Adding port R/R-optimizeR
Adding port R/R-parameters
Adding port R/R-readODS
Adding port R/R-penaltyLearning
Adding port R/R-reclin2
Adding port R/R-rgraph6
Adding port R/R-robust
Adding port R/R-rrcovHD
Adding port R/R-secretbase
Adding port R/R-sfsmisc
Adding port R/R-sharp
Adding port R/R-sirt
Adding port R/R-tsDyn
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x600940: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x80a05a90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x2109080: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x2107d90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x502220: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x501d40: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x5300b90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x80a05a00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x80a05a00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x501d40: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x6009c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x2109080: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x80a05a00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x501d40: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x80a05a90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x80a05a00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x6008f0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x501330: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x502020: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x10e070: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x6002a0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x210a6b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x2108220: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x501330: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x501370: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x600290: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x5300b90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x600250: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x5300b90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x6002d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x5300c20: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x5300c20: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x10e140: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x10e140: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x6002d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Adding port R/R-yahoofinancer
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x502020: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x210b4d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x80a05ba0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x501370: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x80a05c80: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x5300cf0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x80a05ba0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x80a05c80: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x10e140: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x210bbc0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x80a05ba0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x502590: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x503ec0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0429000) malloc: *** error for object 0x5300c70: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Adding port R/R-mlr3misc
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x10e0b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0x802fc540) malloc: *** error for object 0x210b6d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x503180: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x80a05c80: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x503180: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x10e970: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x600340: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x80a05ae0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb02a3000) malloc: *** error for object 0x80a05c80: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb03a7000) malloc: *** error for object 0x6003c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb02a3000) malloc: *** error for object 0x5031c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x5300ca0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0325000) malloc: *** error for object 0x600440: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
tclsh8.6(1491,0xb0221000) malloc: *** error for object 0x5300ce0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Adding port aqua/qt6
Adding port audio/libsndfile
Adding port aqua/wezterm
Command failed: /opt/local/bin/portindex /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Killed by signal: 10
Error: updating PortIndex for rsync://rsync.macports.org/macports/release/tarballs/ports.tar failed

Notice, this only happens on Rosetta, AFAICT. Neither 10.6 PPC (native) nor 10.5.8 nor 10.4.11 exhibited this behavior. I also get no errors on 10A190 i386 (which is the same developer build as 10.6 PPC).

(So please, do not classify this as related to an unreleased developer build, it is not.)

  1. S. Kirill, you have a Rosetta setup, could you please check? (I have Macports built for powerpc target in Rosetta, not sure how it is set up with you.)

Change History (3)

comment:1 Changed 9 months ago by barracuda156

Rebuilding Macports did not help, same thing:

macmini:~ svacchanda$ sudo port -v sync
--->  Updating the ports tree
Synchronizing local ports tree from file:///opt/PPCSnowLeopardPorts
Creating port index in /opt/PPCSnowLeopardPorts

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	210

tclsh8.6(25618,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
tclsh8.6(25618,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
Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar

comment:2 Changed 9 months ago by barracuda156

UPD. 2.8.1 works perfectly fine on the same system. Well, now it is just a matter of bisect to find a breaking commit.

comment:3 Changed 9 months ago by barracuda156

UPD2. Building Macports 2.9.1 for x86_64 but setting universal_archs to ppc i386 x86_64 (i.e. just adding in ppc) solves the problem, but creates another: since os.arch is x86_64 now, multiple ports get broken for ppc. For example:

macmini:~ svacchanda$ sudo port -v upgrade hypre

Error: Cannot install mpich-gcc12 for the arch 'ppc' because
Error: its dependency clang-9.0 only supports the archs 'i386 x86_64'.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

Again, this is not relevant for pre-release 10.6 ppc, only for 10.6.8 Rosetta.

Last edited 9 months ago by barracuda156 (previous) (diff)
Note: See TracTickets for help on using tickets.