[MacPorts] #20512: bse segfaults when cleaning previous state

MacPorts noreply at macports.org
Sat Aug 1 10:35:11 PDT 2009


#20512: bse segfaults when cleaning previous state
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  High                   |   Milestone:  MacPorts 1.8.0                       
Component:  base                   |     Version:  1.8.0                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 {{{

 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);


 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20512>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list