Opened 12 years ago

Closed 9 years ago

#1579 closed defect (fixed)

wingrass: errors while a DB is open results in a zombie dbf.exe

Reported by: hamish Owned by: grass-dev@…
Priority: major Milestone: 6.4.2
Component: Database Version: svn-releasebranch64
Keywords: wingrass, db_driver, dbf Cc:
CPU: x86-32 Platform: MSWindows XP

Description

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

Change History (6)

comment:1 by neteler, 12 years ago

A few DBMI related backports have happened over the past few days, still an issue? How to test it?

comment:2 by neteler, 12 years ago

Priority: criticalmajor

Apparently no longer an issue? Downgrading priority.

comment:3 by neteler, 11 years ago

Keywords: dbf added
Resolution: fixed
Status: newclosed

No response, closing. Feel free to reopen.

in reply to:  3 ; comment:4 by mmetz, 11 years ago

Resolution: fixed
Status: closedreopened

Replying to neteler:

No response, closing. Feel free to reopen.

Reopened because the fundamental problem persists: subprocesses remain open after the parent process was terminated. Applies to all branches.

in reply to:  4 ; comment:5 by mmetz, 9 years ago

Replying to mmetz:

Replying to neteler:

No response, closing. Feel free to reopen.

Reopened because the fundamental problem persists: subprocesses remain open after the parent process was terminated. Applies to all branches.

Fixed in r62679-82 (all branches).

in reply to:  5 comment:6 by martinl, 9 years ago

Resolution: fixed
Status: reopenedclosed

Replying to mmetz:

Replying to mmetz:

Replying to neteler:

No response, closing. Feel free to reopen.

Reopened because the fundamental problem persists: subprocesses remain open after the parent process was terminated. Applies to all branches.

Fixed in r62679-82 (all branches).

Taking liberty to close the ticket. Feel free to reopen if needed.

Note: See TracTickets for help on using tickets.