Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16321 closed defect (duplicate)

XviD 1.1.3 staging error - tclsh segmentation fault

Reported by: c.cox@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: xvid ffmpeg Cc: nox@…, vincent-opdarw@…
Port:

Description

XviD port fails to install, reporting a segmentation fault in tclsh during staging. Problem noted under OSX 10.4.11 / MacPorts 1.6.0 with both ActiveTcl 8.5.3.0 and TclTkAquaBI-8.4.10.0. Currently prevents installation of '+xvid' variant of 'ffmpeg' port.

--->  Fetching XviD
--->  Verifying checksum(s) for XviD
--->  Extracting XviD
--->  Applying patches to XviD
--->  Configuring XviD
--->  Building XviD with target all
--->  Staging XviD into destroot
tclsh(5279,0xa000eca0) malloc: *** error for object 0x313c20: double free
tclsh(5279,0xa000eca0) malloc: *** set a breakpoint in szone_error to debug
tclsh(5279,0xa000eca0) malloc: *** error for object 0x313c20: double free
tclsh(5279,0xa000eca0) malloc: *** set a breakpoint in szone_error to debug
tclsh(5279,0xa000eca0) malloc: *** error for object 0x313c20: double free
tclsh(5279,0xa000eca0) malloc: *** set a breakpoint in szone_error to debug
Segmentation fault

Running 'sudo port -v install xvid +universal' produces the following output during staging after a successful compile. The same behaviour is observed for the non-universal variant, as well:

--->  Staging XviD into destroot
. changed
        gid expected 0 found 80 modified
./usr missing (created)
. missing (directory not created: File exists)
./Applications missing (created)
./Developer missing (created)
./Library missing (created)
. changed
        gid expected 80 found 0 modified
./bin missing (created)
./etc missing (created)
./include missing (created)
./lib missing (created)
./libexec missing (created)
./sbin missing (created)
./share missing (created)
./share/info missing (created)
./share/man missing (created)
./share/man/cat1 missing (created)
./share/man/cat2 missing (created)
./share/man/cat3 missing (created)
./share/man/cat4 missing (created)
./share/man/cat5 missing (created)
./share/man/cat6 missing (created)
./share/man/cat7 missing (created)
./share/man/cat8 missing (created)
./share/man/cat9 missing (created)
./share/man/catl missing (created)
./share/man/catn missing (created)
./share/man/man1 missing (created)
./share/man/man2 missing (created)
./share/man/man3 missing (created)
./share/man/man4 missing (created)
./share/man/man5 missing (created)
./share/man/man6 missing (created)
./share/man/man7 missing (created)
./share/man/man8 missing (created)
./share/man/man9 missing (created)
./share/man/manl missing (created)
./share/man/mann missing (created)
./share/nls missing (created)
./share/nls/C missing (created)
./share/nls/af_ZA.ISO8859-1 missing (created)
./share/nls/af_ZA.ISO8859-15 missing (created)
./share/nls/bg_BG.CP1251 missing (created)
...
./share/nls/uk_UA.KOI8-U missing (created)
./share/nls/zh_CN.eucCN missing (created)
./share/nls/zh_TW.Big5 missing (created)
./share/skel missing (created)
./src missing (created)
./var missing (created)
./var/macports missing (created)
./var/macports/distfiles missing (created)
./var/macports/receipts missing (created)
./var/macports/registry missing (created)
./www missing (created)
  D: /opt/local/lib
  I: /opt/local/lib/libxvidcore.4.dylib
  I: /opt/local/lib/libxvidcore.a
  D: /opt/local/include
  I: /opt/local/include/xvid.h
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_XviD/work/destroot/opt/local/share/doc
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_XviD/work/destroot/opt/local/share/doc/XviD-1.1.3
xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_XviD/work/xvidcore-1.1.3/build/generic/../..)
xinstall: AUTHORS -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_XviD/work/destroot/opt/local/share/doc/XviD-1.1.3/AUTHORS
Segmentation fault

Change History (5)

comment:1 Changed 16 years ago by c.cox@…

Update: this may be a more general problem with the MacPorts installation on the machine in question, rather than a problem with the XviD port in particular: running 'sudo port upgrade install' produces the same problem with the 'texinfo' port (which it tries to install), reporting a malloc(1) segfault in tclsh during staging:

--->  Staging texinfo into destroot
tclsh(6806,0xa000eca0) malloc: *** error for object 0x317580: double free
tclsh(6806,0xa000eca0) malloc: *** set a breakpoint in szone_error to debug

While some other packages appear affected (e.g. 'x264 +universal'), others don't: 'faac +universal' installs without any trouble, as does 'lzmautils'. For what it's worth, the current MacPorts installation (1.6.0) was updated with the binary package -- this might not explain the current crashes, but then again, I'm not sure what does. Suggestions would be very welcome!

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: nox@… vincent-opdarw@… added
Component: portsbase
Milestone: Port BugsMacPorts base bugs

Reclassified as a base bug, and Cc XviD and texinfo maintainers.

comment:3 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #12611.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.