Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2006 closed defect (fixed)

portindex command hangs on x86

Reported by: IOOI-SqAR Owned by: IOOI-SqAR
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

DarwinPorts where installed like this:

localhost:~ root# ftp http://darwinports.opendarwin.org/darwinports-nightly-cvs-snapshot.tar.gz Requesting http://darwinports.opendarwin.org/darwinports-nightly-cvs-snapshot.tar.gz 100% |*| 3373 KB 7.69 KB/s 00:00 ETA localhost:~ root# gunzip darwinports-nightly-cvs-snapshot.tar.gz localhost:~ root# tar -xf darwinports-nightly-cvs-snapshot.tar localhost:~ root# cd darwinports/base/ localhost:~/darwinports/base root# ./configure checking build system type... i686-apple-darwin7.2.1 checking host system type... i686-apple-darwin7.2.1 checking target system type... i686-apple-darwin7.2.1 . . . localhost:~/darwinports/base root# make localhost:~/darwinports/base root# make install

then I added /opt/local/bin to PATH in /etc/csh.login and /etc/profile and logged out and in again.

after that I did the following:

localhost:~ root# cd darwinports/dports/ localhost:~/darwinports/dports root# portindex

which resulted in:

Creating software index in /private/var/root/darwinports/dports Adding port adium Adding port Affiche . . . Adding port flawfinder Adding port flex

here it hangs forever. the process that hangs is:

2764 tclsh8.4 98.0% 9:33.83 2 29 92 3.16M 7.54M 5.21M 34.8M

Change History (6)

comment:1 Changed 20 years ago by IOOI-SqAR

Then I attached gdb to this process:

localhost:~ root# gdb GNU gdb 5.3-20030128 (Apple version gdb-292) (Fri Jun 11 02:59:05 UTC 2004) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin". (gdb) attach 2731 Attaching to process 2731. Reading symbols for shared libraries . done Reading symbols for shared libraries ....... done 0x002dc359 in strtod ()

and did a backtrace:

(gdb) bt #0 0x002dc359 in strtod () #1 0x0a04d66b in SetBooleanFromAny () #2 0x0a04d324 in Tcl_GetBooleanFromObj () #3 0x0a01e57c in TclCompileIfCmd () #4 0x0a02427e in TclCompileScript () #5 0x0a023bd3 in TclSetByteCodeFromAny () #6 0x0a023d40 in SetByteCodeFromAny () #7 0x0a0559eb in TclProcCompileProc () #8 0x0a0555bc in TclObjInterpProc () #9 0x0a00c9ed in TclEvalObjvInternal () #10 0x0a00d23e in Tcl_EvalEx () #11 0x0a0431a6 in Tcl_FSEvalFile () #12 0x0a017f09 in Tcl_SourceObjCmd () #13 0x0a00c9ed in TclEvalObjvInternal () #14 0x0a02cd3b in TclExecuteByteCode () #15 0x0a02c29b in TclCompEvalObj () #16 0x0a00d704 in Tcl_EvalObjEx () #17 0x0a039933 in SlaveEval () #18 0x0a039706 in SlaveObjCmd () #19 0x0a00c9ed in TclEvalObjvInternal () #20 0x0a02cd3b in TclExecuteByteCode () #21 0x0a02c29b in TclCompEvalObj () #22 0x0a05589c in TclObjInterpProc () #23 0x0a00c9ed in TclEvalObjvInternal () #24 0x0a02cd3b in TclExecuteByteCode () #25 0x0a02c29b in TclCompEvalObj () #26 0x0a05589c in TclObjInterpProc () #27 0x0a00c9ed in TclEvalObjvInternal () #28 0x0a02cd3b in TclExecuteByteCode () #29 0x0a02c29b in TclCompEvalObj () #30 0x0a05589c in TclObjInterpProc () #31 0x0a00c9ed in TclEvalObjvInternal () #32 0x0a00d23e in Tcl_EvalEx () #33 0x0a0431a6 in Tcl_FSEvalFile () #34 0x0a048d06 in Tcl_Main () #35 0x00001d0d in ?? () #36 0x00001b06 in ?? () #37 0x000019fd in ?? ()

after this I tried stepping:

(gdb) stepi C Program received signal SIGINT, Interrupt. 0x002dc359 in strtod () (gdb) stepi C Program received signal SIGINT, Interrupt. 0x002dc359 in strtod () (gdb) disas Dump of assembler code for function strtod: 0x002dc320 <strtod+0>: Cannot access memory at address 0x2dc320

Hope this helps.

regards, Lars

comment:2 Changed 20 years ago by IOOI-SqAR

if you need ssh access to my machine, drop me a line: lars DOT sonchocky DASH helldorf AT hamburg DOT de

comment:3 Changed 20 years ago by ssen@…

This is a bug in Darwin x86, not DarwinPorts.

comment:4 Changed 20 years ago by ssen@…

Please try this again on OpenDarwin 7.2.1

comment:5 Changed 20 years ago by ssen@…

Owner: changed from darwinports-bugs@… to lars.sonchocky-helldorf@…

comment:6 Changed 20 years ago by IOOI-SqAR

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.