Am 22.09.2015 um 08:50 schrieb Sven Giermann:
>
> What about trying to patch the fake adapter or maybe any other to always
> return -EINVAL - does owserver crash as well?
> 
As you siggested, I have patched FS_read_fake_single() so that it always
returns -EINVAL. If I specify

/opt/owfs/bin/owserver --debug --fake=FC.67C6697351FF

and then do

/opt/owfs/bin/owget uncached/FC.67C6697351FF/version

or

tclsh <<<'package require ow ; ow open -s localhost:4304 --debug ; puts
[ow get uncached/FC.67C6697351FF/version]'

it's all okay, I get the -EINVAL in the client program.



However, if I start the owserver with

/opt/owfs/bin/owserver --debug --fake=FC.67C6697351FF --external
--configuration=owexternal-test.conf

instead, it crashes upon reading the same node, with both programs.


So, maybe some memory leak while parsing the config file?

Kind regards

        Jan



------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to