clipper f/r locking failure

Yassen Damyanov
2004-01-26T13:47:25Z

hi all,

I've been trying for quite some time to run a clipper accounting
application within DOSEMU/FreeDOS (also within DOSEMU/MS-DOS 7). The
thing runs just fine until time comes to do the clipper file and record
locking (flock, rlock). In this case, when running two DOSEMU instances
on one and the same machine, and files are shared via lredir, one of two
clients hangs. (If you wonder how two clients operate on one machine at
the same time, they are remote X terminals).

DOSEMU leaves a message like this after terminating the hang client:

"ERROR: SS selector invalid: 0x6A22, type=0 np=1"

The linux version is 2.4.20; the DOSEMU is 1.1.99. I tried with the
FreeDOS shipped together with the binary distro of DOSEMU; also with
MS-DOS 7 as I said already (which shows me that the problem, ot at leats
part of it, is not in the DOS but in the emulator). The clipper version
is 5.3b and uses standard clipper locking functions (flock, rlock). If
any other information is needed, just let me know.

Please help me somehow to solve this. I was fighting quite a long time
with this sole trouble. If I succeed, a well known accounting software
in my country will get a reliable and legal open source platform to run
on! Would be REALLY GREAT! Many people know of the experiment and often
ask me how are things going on... I would like DOSEMU to win this case
:-) Hope it will.

--

What I intend to try last (after trying so many options, like sharing a
disk image or a real vfat partion (yes, bad ideas, but I tried these to
see what happens), is to activate networking on each DOSEMU session and
try to mount to a samba share somewhere on the local net.

Any comments and suggestions are more than welcome.
I would appreciate any help -- thanks in advance!

Regards,
Yassen