Opened 14 years ago

Last modified 13 years ago

#1184 closed defect

"d.vect display=attr" imply grass open process but doesn't close them. — at Version 5

Reported by: met Owned by: grass-dev@…
Priority: critical Milestone: 6.4.2
Component: wxGUI Version: 6.4.0
Keywords: wingrass, d.vect Cc: grass-dev@…
CPU: Unspecified Platform: MSWindows XP

Description (last modified by hamish)

Using version 6.4.0 or 6.4.0 RC7 the defect shows up, instead of RC6 in which not, operative system Windows XP professional.

When you are using a PAN or ZOOM command, or simply adding a layers, (looking from windows taskmanager)map display start a "cmd.exe" process. This process disappear after few seconds but if the option display=attr is active, doesn't shut down properly:

-at every zoom/pan on map the Map display open a new cmd.exe process that will never be closed.

-this trend (adding process) go ahead until the Grass doesn't work and stop following comand .

-even closing Grass before or after its block those process don't disappear.

-the only way in which a user could shut down those process is the windows task manager.

example: d.vect map=reteF display=shape,attr

type=point,area,centroid attrcol='id'

Change History (5)

comment:1 by hamish, 14 years ago

Component: DisplaywxGUI
Keywords: wingrass added; display=attr removed
Priority: blockercritical

Hi,

I can reproduce this using a brand new nightly build of wingrass 6.4 and 6.5 with the wxGUI and spearfish dataset.

  • ctrl-alt-del to open the process monitor, click the Image name column in the Processes tab to sort by process name.
  • in the wxgui layer manager add the roads vector map, then tick disp=attr and set attrcol to 'label' in the d.vect Labels tab.
  • then zoom, pan around and watch the number of cmd.exe and dbf.exe processes grow. exiting grass does not kill them, and they are not visible on the task bar.

in 6.4 it just leaves orphaned processes behind, in 6.5svn it is worse, using d.vect attrcol= locks the entire GUI and Windows XP taskbar until you type exit in the MSys rxvt terminal (which is still fully responsive).

cleanup: killing the dbf.exe processes makes the cmd.exe ones go away too.

Hamish

in reply to:  1 comment:2 by hellik, 14 years ago

Replying to hamish:

Hi,

I can reproduce this using a brand new nightly build of wingrass 6.4 and 6.5 with the wxGUI and spearfish dataset.

  • ctrl-alt-del to open the process monitor, click the Image name column in the Processes tab to sort by process name.
  • in the wxgui layer manager add the roads vector map, then tick disp=attr and set attrcol to 'label' in the d.vect Labels tab.
  • then zoom, pan around and watch the number of cmd.exe and dbf.exe processes grow. exiting grass does not kill them, and they are not visible on the task bar.

in 6.4 it just leaves orphaned processes behind, in 6.5svn it is worse, using d.vect attrcol= locks the entire GUI and Windows XP taskbar until you type exit in the MSys rxvt terminal (which is still fully responsive).

cleanup: killing the dbf.exe processes makes the cmd.exe ones go away too.

Hamish

still there in WinGRASS-6.4.SVN-r45671-1-Setup.exe

Helmut

comment:3 by met, 14 years ago

is this problem fixed in the new version? or the last 6.4.1 still has this bug?

in reply to:  3 comment:4 by hamish, 14 years ago

Milestone: 6.4.16.4.2

Replying to met:

is this problem fixed in the new version? or the last 6.4.1 still has this bug?

I haven't tested 6.4.1 WinGrass so can't say for sure, but AFAIK the bug remains. -> Do you see it?

Hamish

comment:5 by hamish, 13 years ago

Description: modified (diff)

dbf.exes still piling up in the process manager with latest 6.4.svn native wingrass nightly build. what's more if you select disp=attr attrcol=label the wxGUI locks up with an endless hourglass. the "this program is not responding" dialog helps you kill it and get back to the working msys prompt where you can restart it with g.gui. (but the dbf.exes remain running)

Hamish

Note: See TracTickets for help on using tickets.