Ticket #538 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

Earthworm reconfigure failure

Reported by: stefan Owned by: et
Priority: blocker Milestone: Linux
Component: startstop Version: 7.9
Keywords: Cc:

Description

On Linux, if the " Class/Priority?" line is missing after the Process line, reconfigure crashes Startstop. Other Earthworm processes continue to run, but Startstop is dead and will no longer respond to 'status' requests, etc.

(In my case I did a reconfigure with a missing "Class/Priority?" and I _think_ it worked... but then later I added another line properly, with "Class/Priority?", but when I did a reconfigure at this time, starstop cratered as described above

Change History

comment:1 Changed 3 years ago by et

  • Owner changed from somebody to et
  • Status changed from new to assigned
  • Version set to 7.9

comment:2 Changed 3 years ago by et

Implemented changes below and successfully tested fix:

libsrc/util/startstop_unix_generic.c, include/startstop_unix_generic.h: Modified 'GetConfig()' function so it returns 'EXIT' instead of calling 'exit()' on error.

http://earthworm.isti.com/trac/earthworm/changeset/6808

--ET

Note: See TracTickets for help on using tickets.