Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#12611 closed defect (worksforme)

Segfault when staging into destroot for several packages

Reported by: dave@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.5.2
Keywords: Cc:
Port:

Description (last modified by jmpp@…)

Several packages I've tried to install segfault when staging into destroot. Notably tiff and cmake. The end of the output from cmake is:

-- Installing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/destroot/opt/local/share/man/man1/ccmake.1
-- Install configuration: ""
-- Install configuration: ""
DEBUG: Executing proc-post-org.macports.destroot-destroot-0
xinstall: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.4.7/Docs/cmake-mode.el -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_deve
Segmentation fault

Change History (8)

comment:1 Changed 13 years ago by dave@…

I'm currently getting output like:

sudo port install tiff ---> Staging zlib into destroot tclsh(5479) malloc: * error for object 0x312050: double free tclsh(5479) malloc: * set a breakpoint in szone_error to debug tclsh(5479) malloc: * error for object 0x312050: double free tclsh(5479) malloc: * set a breakpoint in szone_error to debug tclsh(5479) malloc: * error for object 0x312050: double free tclsh(5479) malloc: * set a breakpoint in szone_error to debug ---> Installing zlib 1.2.3_1 tclsh(5479) malloc: * error for object 0x312910: double free tclsh(5479) malloc: * set a breakpoint in szone_error to debug Segmentation fault

I've tried using a different tclsh, but no change - perhaps port has its own built-in version?

comment:2 Changed 13 years ago by jmpp@…

Description: modified (diff)
Milestone: MacPorts base bugs

Can you please provide more information about the problem you're experiencing? Are you still seeing it? What platform are you on? What version of Tcl are you using (any other than the one provided by the stock OS)? Do you have any third party software under /usr/local? Fink?

-jmpp

comment:3 Changed 13 years ago by mark.kharitonov@…

I have the similar problems. I am quite new to macports, but I have already stumbled upon this problem - most of the packages fail the staging always with the same error - segmentation fault. Observe: ======================================================= mark:~ >l /sw ls: /sw: No such file or directory mark:~ >l /usr/local ls: /usr/local: No such file or directory mark:~ >uname -a Darwin Nebula.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 mark:~ >sudo port selfupdate Password:

MacPorts base version 1.600 installed

Downloaded MacPorts base version 1.600

The MacPorts installation is not outdated and so was not updated selfupdate done! mark:~ >sudo port -dv install libogg DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/libogg DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/libogg DEBUG: Requested variant powerpc is not provided by port libogg. DEBUG: Requested variant darwin is not provided by port libogg. DEBUG: Requested variant macosx is not provided by port libogg. DEBUG: Skipping completed org.macports.main (libogg) DEBUG: Skipping completed org.macports.fetch (libogg) DEBUG: Skipping completed org.macports.checksum (libogg) DEBUG: Skipping completed org.macports.extract (libogg) DEBUG: Skipping completed org.macports.patch (libogg) DEBUG: Skipping completed org.macports.configure (libogg) DEBUG: Skipping completed org.macports.build (libogg) ---> Staging libogg into destroot . changed

user expected 0 found 501 modified

usr changed

user expected 0 found 501 modified

. missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) . changed

user expected 0 found 501 modified

bin changed

user expected 0 found 501 modified

etc changed

user expected 0 found 501 modified

include changed

user expected 0 found 501 modified

lib changed

user expected 0 found 501 modified

libexec changed

user expected 0 found 501 modified

sbin changed

user expected 0 found 501 modified

share changed

user expected 0 found 501 modified

share/info changed

user expected 0 found 501 modified

share/man changed

user expected 0 found 501 modified

share/man/cat1 changed

user expected 0 found 501 modified

share/man/cat2 changed

user expected 0 found 501 modified

share/man/cat3 changed

user expected 0 found 501 modified

share/man/cat4 changed

user expected 0 found 501 modified

share/man/cat5 changed

user expected 0 found 501 modified

share/man/cat6 changed

user expected 0 found 501 modified

share/man/cat7 changed

user expected 0 found 501 modified

share/man/cat8 changed

user expected 0 found 501 modified

share/man/cat9 changed

user expected 0 found 501 modified

share/man/catl changed

user expected 0 found 501 modified

share/man/catn changed

user expected 0 found 501 modified

share/man/man1 changed

user expected 0 found 501 modified

share/man/man2 changed

user expected 0 found 501 modified

share/man/man3 changed

user expected 0 found 501 modified

share/man/man4 changed

user expected 0 found 501 modified

share/man/man5 changed

user expected 0 found 501 modified

share/man/man6 changed

user expected 0 found 501 modified

share/man/man7 changed

user expected 0 found 501 modified

share/man/man8 changed

user expected 0 found 501 modified

share/man/man9 changed

user expected 0 found 501 modified

share/man/manl changed

user expected 0 found 501 modified

share/man/mann changed

user expected 0 found 501 modified

share/nls changed

user expected 0 found 501 modified

share/nls/af_ZA.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/af_ZA.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/bg_BG.CP1251 changed

user expected 0 found 501 modified

share/nls/C changed

user expected 0 found 501 modified

share/nls/cs_CZ.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/da_DK.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/da_DK.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/de_AT.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/de_AT.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/de_CH.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/de_CH.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/de_DE.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/de_DE.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/el_GR.ISO8859-7 changed

user expected 0 found 501 modified

share/nls/en_AU.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/en_AU.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/en_AU.US-ASCII changed

user expected 0 found 501 modified

share/nls/en_CA.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/en_CA.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/en_CA.US-ASCII changed

user expected 0 found 501 modified

share/nls/en_GB.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/en_GB.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/en_GB.US-ASCII changed

user expected 0 found 501 modified

share/nls/en_NZ.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/en_NZ.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/en_NZ.US-ASCII changed

user expected 0 found 501 modified

share/nls/en_US.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/en_US.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/es_ES.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/es_ES.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/et_EE.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/fi_FI.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/fi_FI.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/fr_BE.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/fr_BE.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/fr_CA.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/fr_CA.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/fr_CH.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/fr_CH.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/fr_FR.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/fr_FR.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/hi_IN.ISCII-DEV changed

user expected 0 found 501 modified

share/nls/hr_HR.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/hu_HU.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/is_IS.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/is_IS.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/it_CH.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/it_CH.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/it_IT.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/it_IT.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/ja_JP.eucJP changed

user expected 0 found 501 modified

share/nls/ja_JP.SJIS changed

user expected 0 found 501 modified

share/nls/ko_KR.eucKR changed

user expected 0 found 501 modified

share/nls/la_LN.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/la_LN.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/la_LN.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/la_LN.ISO8859-4 changed

user expected 0 found 501 modified

share/nls/la_LN.US-ASCII changed

user expected 0 found 501 modified

share/nls/lt_LT.ISO8859-4 changed

user expected 0 found 501 modified

share/nls/nl_BE.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/nl_BE.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/nl_NL.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/nl_NL.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/no_NO.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/no_NO.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/pl_PL.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/pt_BR.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/pt_PT.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/pt_PT.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/ro_RO.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/ru_RU.CP866 changed

user expected 0 found 501 modified

share/nls/ru_RU.ISO8859-5 changed

user expected 0 found 501 modified

share/nls/ru_RU.KOI8-R changed

user expected 0 found 501 modified

share/nls/sk_SK.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/sl_SI.ISO8859-2 changed

user expected 0 found 501 modified

share/nls/sv_SE.ISO8859-1 changed

user expected 0 found 501 modified

share/nls/sv_SE.ISO8859-15 changed

user expected 0 found 501 modified

share/nls/tr_TR.ISO8859-9 changed

user expected 0 found 501 modified

share/nls/uk_UA.ISO8859-5 changed

user expected 0 found 501 modified

share/nls/uk_UA.KOI8-U changed

user expected 0 found 501 modified

share/nls/zh_CN.eucCN changed

user expected 0 found 501 modified

share/nls/zh_TW.Big5 changed

user expected 0 found 501 modified

share/skel changed

user expected 0 found 501 modified

src changed

user expected 0 found 501 modified

var changed

user expected 0 found 501 modified

var/macports changed

user expected 0 found 501 modified

var/macports/distfiles changed

user expected 0 found 501 modified

var/macports/receipts changed

user expected 0 found 501 modified

var/macports/registry changed

user expected 0 found 501 modified

www changed

user expected 0 found 501 modified

DEBUG: Executing org.macports.destroot (libogg) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot' Making install in src

test -z "/opt/local/lib"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib"

/bin/sh ../libtool --mode=install /usr/bin/install 'libogg.la' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/libogg.la'

/usr/bin/install .libs/libogg.0.5.3.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/libogg.0.5.3.dylib (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib && rm -f libogg.0.dylib && ln -s libogg.0.5.3.dylib libogg.0.dylib) (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib && rm -f libogg.dylib && ln -s libogg.0.5.3.dylib libogg.dylib) /usr/bin/install .libs/libogg.lai /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/libogg.la /usr/bin/install .libs/libogg.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/libogg.a ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/libogg.a chmod 644 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/libogg.a libtool: install: warning: remember to run `libtool --finish /opt/local/lib' make[2]: Nothing to be done for `install-data-am'. Making install in include Making install in ogg make[3]: Nothing to be done for `install-exec-am'.

test -z "/opt/local/include/ogg"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/include/ogg"

/usr/bin/install -m 644 'config_types.h' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/include/ogg/config_types.h'

test -z "/opt/local/include/ogg"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/include/ogg"

/usr/bin/install -m 644 'ogg.h' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/include/ogg/ogg.h' /usr/bin/install -m 644 'os_types.h' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/include/ogg/os_types.h'

make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in doc make[1]: Nothing to be done for `install'. Making install in win32 make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Nothing to be done for `install-exec-am'.

test -z "/opt/local/share/aclocal"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/share/aclocal"

/usr/bin/install -m 644 'ogg.m4' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/share/aclocal/ogg.m4'

test -z "/opt/local/lib/pkgconfig"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/pkgconfig"

/usr/bin/install -m 644 'ogg.pc' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/lib/pkgconfig/ogg.pc'

DEBUG: Executing proc-post-org.macports.destroot-destroot-0 xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/libogg-1.1.3) xinstall: AUTHORS -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libogg/work/destroot/opt/local/share/doc/libogg-1.1.3/AUTHORS Segmentation fault mark:~ > ======================================================= Any help is appreciated. Thanks.

comment:4 Changed 13 years ago by tpievila@…

Also having problems with this. Even after having reinstalled (as per the instructions in the faq) I can't install almost anything. Completely blocks the use of Macports.

comment:5 Changed 12 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:6 Changed 12 years ago by tobypeterson

Do we even have a crash log for this?

comment:7 Changed 11 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No recent reports, and more importantly, no crash log.

comment:8 Changed 11 years ago by jmroot (Joshua Root)

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