Subj : MsgBase get_all_msg_headers issue
To : Nightfox
From : Digital Man
Date : Fri Mar 15 2019 12:57 pm
Re: MsgBase get_all_msg_headers issue
By: Nightfox to Digital Man on Fri Mar 15 2019 12:54 pm
> Re: MsgBase get_all_msg_headers issue
> By: Digital Man to Nightfox on Fri Mar 15 2019 12:13 am
>
> >> get_all_msg_headers():
>
> >> !JavaScript ../xtrn/DigDist/MsgReader/DDMsgReader.js line 1392:
> >> Error: index re
> >> ad (1062) failed
>
> DM> The problem I fixed in js_msgbase.c rev 1.230 (Mar-13-2019 UTC) was
> DM> introduced in rev 1.226 of js_msgbase.c (Feb-12-2019). Calling any JS
> DM> MsgBase method that read from the index file before calling the
> DM> get_all_msg_headers() method would cause the error. I confirmed the
> DM> error and the fix.
>
> >> Where it's failing in my script, I'm not calling that function twice,
> >> it's right after opening the messagebase.
>
> DM> That's weird. Calling get_msg_headers() right after opening the
> DM> messagebase did not cause any error for me, nor should it have (the
> DM> file pointer would be at the beginning the file by default). I wrote a
> DM> simple little script to executing JSexec to 1. reproduce the error and
> DM> 2. confirm the fix.
>
> It seems to be inconsistent - I'm not getting that error with every
> sub-board, only some of them. I'm not sure if I might have some sub-board
> corruption somehow..
What happens if you run chksmb on those sub-boards?
digital man
Synchronet "Real Fact" #101:
Alternate and loadable font support was added to Synchronet in February 2018.
Norco, CA WX: 67.3�F, 24.0% humidity, 10 mph ENE wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net