Re: [Owfs-developers] 2.9p3 exits after 1 request?

2014-04-02 Thread Johan Ström
Hi, good to know I was partly correct! The thought occured to me after sending the previous mail, that Linux may just ignore errenous destroy calls. Far more likely reason than nobody using owserver.. :) >From FreeBSD manpage: The pthread_mutex_destroy() function will fail if: [EINVAL]

Re: [Owfs-developers] 2.9p3 exits after 1 request?

2014-04-02 Thread Paul Alfille
Nice sleuthing! Thank you! You're right, the mutex should be initialized only once, in handler.c And destroyed there as well. The mutex is correctly used in multiple locations, however. I wonder if the double destroy is handled differently in FreeBSD? owserver didn't crash under linux. I'm tempt

[Owfs-developers] DS2482-800: problem with long wire and DS18B20

2014-04-02 Thread Jan Sennesael
As suggested in an earlier thread, i changed my setup from a tree, to a bus. To make it myself easier, i bought a 9bus board from pridopia (1 DS2482-100 and a DS2482-800) I am not using the DS2482-100, but the first 5 channels from the DS2482-800. All the sensors are connectes as a bus Everything w

Re: [Owfs-developers] 2.9p3 exits after 1 request?

2014-04-02 Thread Johan Ström
Hello again, did some more debugging now and I have found the problem! Or at least I think? From what I gather, everyone running 2.9p3 owserver would have this crash... Which I would hope is at least some part of some release test process? :) It took some time to find the option --fatal_debug,

Re: [Owfs-developers] 2.9p3 exits after 1 request?

2014-04-02 Thread Paul Alfille
Are you running 2 different versions on the same machine? The libraries will conflict if you are. In fact, the library will stay in memory until all the programs using it are closed. Otherwise, I don't have an obvious culprit. While BSD wasn't tested specifically, there weren't recent changes that