IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 21 years ago

#146 closed defect (fixed)

psTraceSetLevel() can call exit()

Reported by: rhl@… Owned by: robert.desonia@…
Priority: normal Milestone:
Component: sys Version: unspecified
Severity: normal Keywords:
Cc:

Description

The call

psTraceSetLevel("");

causes psLib to exit to the O/S.

rel2_2 of psLib.

Change History (6)

comment:1 by robert.desonia@…, 22 years ago

Owner: changed from robert.desonia@… to george.gusciora@…

comment:2 by gusciora@…, 22 years ago

Please specify the correct behavior for

psTraceSetLevel("");

Should psAbort(), or log a warning?

comment:3 by gusciora@…, 22 years ago

Resolution: worksforme
Status: newclosed

I set the behavior in the current CVS release to cause a psAbort() in this scenario.

comment:4 by robert.desonia@…, 22 years ago

Resolution: worksforme
Status: closedreopened

As we review the psError/psErrorMsg calls, I will review the use of psAbort and
exit. Should be completed by rel4.

In this particular case, an error, not abort, is probably appropriate.

comment:5 by robert.desonia@…, 22 years ago

Owner: changed from george.gusciora@… to robert.desonia@…
Status: reopenednew

comment:6 by robert.desonia@…, 22 years ago

Resolution: fixed
Status: newclosed

Current behaviour is that psTraceSetLevel("") will generate an non-fatal error
and not exit to the OS. This seems reasonable.

-rdd

Note: See TracTickets for help on using tickets.