V4RB Windows VarChar Error 351

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Feb 1 14:49:13 CST 2004


on 2/1/04 11:35 AM, Cindy Brown at cindy at kowhaiprogramming.com wrote:

Hi Cindy,

> I've been struggling all week trying to solve these issues I'm having with
> sending data over TCP/IP across to my server program. Some of the problems
> appeared to be related to windows double-sending pockets across so I have
> managed to solve these.
> 
> The latest issue, though, is still related to error 351 which is a varchar
> error. All I am sending in each packet is a single record as a text field.
> This record contains a mix of string, short, varchar fields, etc.
> 
> Sending from Mac to Mac - no problem. The program comes up with no errors at
> all and works consistently over 100's of records. Working directly on my PC
> without sending to the server works with no problems. The records save with
> no errors at all.
> 
> But, sending from either Mac to PC or PC to PC using the same program and
> the same dataset, after a few records go across, the server program brings
> up an error 351 with the assessment database being corrupt. This is not on a
> single record - it is on a random record and can occur at any time - after
> 10 records have been sent across or maybe 15 or whatever. I cannot see any
> reason for this to occur at all. I am using the same download for V4RB for
> both Mac and Windows. All I am doing is getting the text to go into the
> field, setting the string with that text and adding or updating the record
> depending on whether I am adding or editing.
> 
> I'm not sure where to go from here. I have checked every record as it is
> going through and seen what is going in the assessments database varchar
> field (there is only 1 varchar field in this database) and they are all
> perfectly fine. Yet the database continues to corrupt. I have tried this
> with the standard 1.10 plugin, the windows 1.10 plugin and the 1.9 plugin as
> well. I feel that there is a problem somewhere in the varchar field in the
> windows version as this problem does not occur at all in the Macintosh
> version.
> 
> Any help would be much appreciated.

1) I doubt this is bug in kernel.

You self say that you have TEST your app on the same PC.
And it works fine, yes?

IF bug is in kernel, then this variant also should produce problems.
Agree?


2) then the only source of problems -- how you have made your server.
    -- threading   
    -- networking
    -- user handling

I wonder, do you use in REALbasic any semaphores/mutexes
To wrap access to Valentina?


3) am I right that you get problems even when send info from ONE client
connected to YOUR server?
Strange.

Cindy, when you say:
    working directly on PC
What you mean?

Client and your server both on the same computer and use use localhost
As point of connect?

In any case I think problem NOT in kernel.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list