MS SQL: the application GPFs after writing to a table that has a trigger (Reported, not reproduced)

Applies to: Clarion 6 with MS SQL, as reported. No server version is named.

Problem as reported

Since moving from TPS to MS SQL the application GPFs unexpectedly, usually after writing data, sometimes after a trigger, sometimes after an insert. The last trace lines were five Binding ? n for input with C type CHAR as 12 lines, then Executing prepared Statement, then Fetching Row from Statement ... Return Code: 0. Nothing followed. Later the poster narrowed it to an update on one table that has a trigger, inside Logout/Commit.

What the thread found

  • One poster suspected, without proof, a bug in the ODBC drivers; he could not reproduce it but saw GPFs.
  • A third-party GPF reporter tool was suggested to capture the crash location. The original poster did not say whether it helped.
  • The original poster asked whether Logout/Commit could conflict with the trigger. Nobody answered.

Caveats

  • The cause was not found and no fix was posted.
  • The trace stops after a successful fetch, so the crash is after the last logged call.
  • The first reply assumed Clarion 8; the poster was on Clarion 6.

Today (2026)

Not reproduced. This entry records a 2013 report. A reader on a current build who sees a GPF after a trigger-firing update is asked to confirm or close it.

Sources: Antonio D. (Jul 2013, the question), Sean H., Russ E. (Jul 2013) in softvelocity.clarion.databasedrivers.