Opened 15 years ago

Closed 15 years ago

#20512 closed defect (fixed)

base segfaults when cleaning previous state

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: macports-tickets@…
Priority: High Milestone: MacPorts 1.8.0
Component: base Version: 1.8.0
Keywords: Cc: jmroot (Joshua Root)
Port:

Description

If I manually rm -rf the build dir, port successfully builds, but it segfaults when trying to clean itself:

$ sudo port -v install
Portfile changed since last build; discarding previous state.
Segmentation fault (core dumped)

$ sudo gdb --core=/cores/core.83100 
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
Copyright 2004 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 "x86_64-apple-darwin".
Core was generated by `/usr/bin/tclsh'.
Reading symbols for shared libraries . done
Reading symbols for shared libraries ....................... done
#0  0x96e28104 in fts_read$INODE64 ()
(gdb) bt
#0  0x96e28104 in fts_read$INODE64 ()
#1  0x0016a3c0 in do_traverse (interp=0x132b210, flags=1, targets=0x201d90, varname=0x8834a0, body=0x8834b8) at fs-traverse.c:147
#2  0x00169f94 in FsTraverseCmd (clientData=0x0, interp=0x132b210, objc=1, objv=0x94e3f8) at fs-traverse.c:126
#3  0x00017977 in Tcl_CreateInterp ()
...
(gdb) frame 1
#1  0x0016a3c0 in do_traverse (interp=0x1015010, flags=1, targets=0x211860, varname=0x980db8, body=0x980dd0) at fs-traverse.c:147
147	    while ((ent = fts_read(root_fts)) != NULL) {
(gdb) frame 2
#2  0x00169f94 in FsTraverseCmd (clientData=0x0, interp=0x1015010, objc=1, objv=0xb819f8) at fs-traverse.c:126
126	        rval = do_traverse(interp, flags, entries, varname, body);


Change History (2)

comment:1 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: bse segfaults when cleaning previous statebase segfaults when cleaning previous state

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jmr@… added
Resolution: fixed
Status: newclosed

jmr fixed this shortly after reporting but forgot to close the ticket.

r54749

Note: See TracTickets for help on using tickets.