• Current message pointer corrupted for user?

    From Khelair@VERT/TINFOIL to All on Sun May 31 16:26:10 2015
    So I've run into an interesting problem lately. Something that I've done hasãcompletely hosed the msg_area.scan_ptr, potentially in multiple message areas. ãI'm not sure what's caused it but I'm pretty sure that I've got rid of it. ã'Course either way I still need to be able to reset it to a 'sane' value soãthat I can resume testing this software with this login, or be able to recoverãa different login should I start using it.ã Here's a little dump of the debug information that I've got. Please noteãthat sBoard is a msg_area object and mBase is a MsgBase object.ãã-=-=-=-=-=-ããBabble> Using node #: 1ãRead backwardãEntered scanSub(); forward = false user.cursub: topegrpbabbleãsBoard.code: topegrpbabbleãOpened: topegrpbabble allegedly . . .ãmBase.error:ãsBoard.scan_ptr = 2060051968ãmBase.first_msg = 1ãmBase.total_msgs = 13ãmBase.last_msg = 13ãInc: -1 based on forwardãIn main scanSub() loop tmpPtr: 2060051969 total_msgs: 13 is_open: yesãDEBUG: Next MsgãEnd of scanSub() main loopãtmpPtr: 2060051968 inc: -1ãrcChoice() called w/base: topegrpbabble ndx: 2060051968ãUsing node #: 1ãReopened topegrpbabble to check for updatesãã[Babble> msg #2060051969 (-2060051955 remaining)] Read cmd -> ãã-=-=-=-=-=-ã If anybody has any ideas on how to reset that number easily (other than inãcode, I'm hoping) to something sane (ie in this case 1-13), I would very muchãappreciate it. I think at one point I just didn't have the edge case definedãwell enough and it ran off to the negative overflow area of a long when I wasãdoing a backwards message scan.ã Any ideas appreciated. Thanks for your time.ãã -D/Kãã---ãBorg Burgers: We do it our way; your way is irrelevant.ã þ Synchronet þ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.netã
  • From Digital Man@VERT to Khelair on Mon Jun 1 02:28:08 2015
    Re: Current message pointer corrupted for user?ã By: Khelair to All on Sun May 31 2015 04:26 pmãã > So I've run into an interesting problem lately. Something that I've doneã > has completely hosed the msg_area.scan_ptr, potentially in multiple messageã > areas. I'm not sure what's caused it but I'm pretty sure that I've got ridã > of it. 'Course either way I still need to be able to reset it to a 'sane'ã > value so that I can resume testing this software with this login, or be ableã > to recover a different login should I start using it.ã > Here's a little dump of the debug information that I've got. Please noteã > that sBoard is a msg_area object and mBase is a MsgBase object.ã >ã > -=-=-=-=-=-ã >ã > Babble> Using node #: 1ã > Read backwardã > Entered scanSub(); forward = false user.cursub: topegrpbabbleã > sBoard.code: topegrpbabbleã > Opened: topegrpbabble allegedly . . .ã > mBase.error:ã > sBoard.scan_ptr = 2060051968ã > mBase.first_msg = 1ã > mBase.total_msgs = 13ã > mBase.last_msg = 13ã > Inc: -1 based on forwardã > In main scanSub() loop tmpPtr: 2060051969 total_msgs: 13 is_open: yesã > DEBUG: Next Msgã > End of scanSub() main loopã > tmpPtr: 2060051968 inc: -1ã > rcChoice() called w/base: topegrpbabble ndx: 2060051968ã > Using node #: 1ã > Reopened topegrpbabble to check for updatesã >ã > [Babble> msg #2060051969 (-2060051955 remaining)] Read cmd ->ã >ã > -=-=-=-=-=-ã > If anybody has any ideas on how to reset that number easily (other than inã > code, I'm hoping) to something sane (ie in this case 1-13), I would veryã > much appreciate it.ããThat message number *could* be valid. Each message imported into the message ãbase or posted gets a unique number. So just because you currently have 13 ãmessages does not mean their message numbers (for internal use) would be 1 ãthrough 13.ãã > I think at one point I just didn't have the edge caseã > defined well enough and it ran off to the negative overflow area of a longã > when I was doing a backwards message scan.ã > Any ideas appreciated. Thanks for your time.ããYou can use the &P command from the main menu of the default command shell to ãset/reset your msg scan pointers.ãã digital manããSynchronet "Real Fact" #61:ãName of Synchronet PCMS compiler/language "Baja" was coined by Michael Swindell.ãNorco, CA WX: 57.2øF, 94.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã