Opened 12 years ago

Last modified 9 years ago

#1790 new defect

gui modeler: complete crash of gui when .gxm file modified in vi while modeler is active

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: wxGUI Version: svn-releasebranch64
Keywords: modeler Cc:
CPU: Unspecified Platform: Unspecified

Description

  • Open GUI modeler
  • Save the model (even just an empty model) to model file
  • Open model file in vi[1], and save the model file (no need to change anything)

I tried with gedit and nano and cannot reproduce. I don't know what vi does differently.

=> crash of the entire GUI

Moritz

Change History (5)

comment:1 by martinl, 12 years ago

Component: DefaultwxGUI
Keywords: modeler added

in reply to:  description comment:2 by neteler, 11 years ago

Milestone: 6.4.36.4.5
Version: unspecifiedsvn-releasebranch64

Replying to mlennert:

  • Open GUI modeler
  • Save the model (even just an empty model) to model file
  • Open model file in vi[1], and save the model file (no need to change anything)

I tried with gedit and nano and cannot reproduce. I don't know what vi does differently.

Perhaps a newline issue at file end:

Random link: http://stackoverflow.com/questions/3056740/gedit-adds-line-at-end-of-page

Guessing: the read function used to read the model file might react differently.

comment:3 by wenzeslaus, 11 years ago

The wc and cat commands can give you some idea what is in the file. diff, colordiff or meld can be helpful to compare the files.

comment:4 by martinl, 9 years ago

Milestone: 6.4.5

Ticket retargeted after milestone closed

comment:5 by martinl, 9 years ago

Milestone: 6.4.6
Note: See TracTickets for help on using tickets.