TIP: Click on subject to list as thread! ANSI
echo: artware
to: All
from: andrew clarke
date: 2003-02-22 13:36:44
subject: msgbase corruption

Sat 2003-02-22 13:30, andrew clarke (3:633/267) wrote to All:

 ac> Don't toss mail in the background while you're writing a message!

 ac> To be fixed soon...

Turns out I can run Scott Dudley's sqinfo.exe in the DOS emulator that
comes with FreeBSD:

13:31 fidonet{at}blizzard [~/msg/local]doscmd ~/bin/sqinfo.exe test.sqd

SQINFO  SquishMail Database Diagnostic Utility, Version 1.11.
Copyright 1990, 1996 by Lanius Corporation.  All rights reserved.


=======================================

Global data for test:

len=         256
num_msg=     2
high_msg=    2
uid=         10
base=      
begin_frame= 0x00000477
last_frame=  0x000006df
last_free_fr=0x0000026d
free_frame=  0x00000100
end_frame=   0x000096e4
sz_sqhdr=    28
max_msg=     0
skip_msg=    0
keep_days=   0
high_water=  5


=======================================

message frame at 0x00000477: (#1)

idxofs=       0x00000477 (OK)
umsgid=       0x00000008
id=           0xafae4453 (OK)
prev_frame=   0000000000 (OK)
next_frame=   0x000006df (OK)
frame_length= 588 (OK)
msg_length=   489 (OK)
clen=         86
type=         Stored msg

=======================================

message frame at 0x000006df: (#2)

idxofs=       0000000000 (should be 000006df!)
umsgid=       0xffffffff
id=           0xafae4453 (OK)
prev_frame=   0x00000477 (OK)
next_frame=   0000000000 (OK)
frame_length= 648 (OK)
msg_length=   415 (OK)
clen=         45
type=         Stored msg
Problem in test.

13:32 fidonet{at}blizzard [~/msg/local]hd test.sqi
00000000  77 04 00 00 08 00 00 00  2c 68 00 00 00 00 00 00  |w.......,h......|
00000010  ff ff ff ff ff ff ff ff                           |........|

#1 is the tossed message.  #2 is the message saved by timEd.  So the
problem seems to be that the .SQI file isn't being re-checked before the
message is being saved...

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.a5
* Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.