[GRASS-dev] [GRASS GIS] #1579: wingrass: errors while a DB is open
results in a zombie dbf.exe
GRASS GIS
trac at osgeo.org
Thu Feb 16 03:26:23 EST 2012
#1579: wingrass: errors while a DB is open results in a zombie dbf.exe
---------------------------------+------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 6.4.2
Component: Database | Version: svn-releasebranch64
Keywords: wingrass, db_driver | Platform: MSWindows XP
Cpu: x86-32 |
---------------------------------+------------------------------------------
Hi, moving this here from the later comments in #1276.
a G_fatal_error() while a db_driver is open, such as you get when you typo
the name of an attribute column, does not close the db driver, which is
left behind as a zombie process (along with a dependent cmd.exe). This is
a problem as the db driver may be holding a file open, blocking anything
else from working on it or removing it.
db_close_database_shutdown_driver() seems to shut it down properly.
work-around: ctrl-alt-del to the task manager and kill any dbf.exe
processes. the cmd.exe ones will then go away.
maybe this program helps: (lsof for Windows)
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs
/en-us/openfiles.mspx
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1579>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list