Author Topic: Stack on reload  (Read 1165 times)


  • Senior Community Member
  • Posts: 1902
  • Hero Points: 185
  • Text
Stack on reload
« on: July 25, 2016, 05:01:32 pm »
I'm making changes to tbfilelist.e.

Sometimes, when I reload it I get:

stack[2016-07-22T17:36:59Z] Slick-C STACK TRACE ****************************** stack[2016-07-22T17:36:59Z] Created on 7/22/2016 at 17:36:59 (544 ms) stack[2016-07-22T17:36:59Z] SlickEdit Pro Version Copyright 1988-2016 SlickEdit Inc. stack[2016-07-22T17:36:59Z] Edit module and type "st -f <offset>" to get the stack[2016-07-22T17:36:59Z] run-time error position stack[2016-07-22T17:36:59Z] stack[2016-07-22T17:36:59Z] error code=-3084 stack[2016-07-22T17:36:59Z] Invalid function pointer stack[2016-07-22T17:36:59Z]
I've seen this happen in other modules as well.


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5178
  • Hero Points: 429
Re: Stack on reload
« Reply #1 on: July 25, 2016, 07:54:08 pm »
This is a known limitation with SlickEdit timer callbacks. If the callback is static (module scope), when you reload the macro, you may get a Slick-C stack because the offset of the static function changed.

We doing development, we temporarily sometimes make static timer callbacks global.