Bug #42 - Improper scripts can cause crash
Product:PageStream 5.0.1.36 (All Platforms)Reported By:Tim Doty
Severity:MajorAssigned To:Deron Kazmaier
Priority:Low sign in to watch (1 is watching)
Status:NewReported:2005-01-23 17:03:00
Category:ScriptingUpdated:2007-08-12 21:36:02
Summary:Improper scripts can cause crash
Keywords:script
Attached Files:No files attached.
 Sign In to add a file.

PgS may segfault if an incorrect script parameter is passed. For example, if InsertCellRow() is passed a dict for objectid instead of an int. E.g.,

cc_TableID = DrawTable(.75,.75,8.25,10.25)
InsertCellRow("After","ObjectID",cc_TableID,"CellIndex",1,1)

The script is in error because the second line should be:

InsertCellRow("After","ObjectID",cc_TableID['.result'],"CellIndex",1,1)

but PgS should not segfault.

Tim Doty wrote...2008-01-06 11:28:48

verified present in 5.0.3.4 (linux)

Add a Comment
Sign in to add a comment.

Bug #42 - Improper scripts can cause crash by Tim Doty   script
  created:2005-01-23 17:03:00   last updated:2007-08-12 21:36:02
  Copyright © 1985-2018 GrasshopperLLC. All Rights Reserved.


sign in to add a bug