Looks like you get some strange signal and pause() ends in ow_net.c. I have changed the behavior of the SIGHUP handling... The function which handled that signal contained a wrong format string, and I think it's better to just ignore the signal totally.
Try the latest cvs now and add all debug output to syslog instead. owserver --error_level=9 -p 3000 -d /dev/ttyS1 strace -f -p <pid> owdir -s 3000 tail -50 /var/log/messages Does the syslog say anything of interest? /Christian > -----Ursprungligt meddelande----- > Från: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] För Bo Hedberg > Skickat: den 9 november 2006 21:43 > Till: owfs-developers@lists.sourceforge.net > Ämne: Re: [Owfs-developers] Problems > > Hello, I'd just like to report that I'm seeing exactly the same problem > so the cause for it is not some strange settings. > I did this (also using owfs 2.5p6) on a Debian 3.1 with kernel 2.6.8-3- > 686. > > start up the server: > > [EMAIL PROTECTED]:~/owfs-2.5p6$ owserver -p 3000 -d /dev/ttyS1 > > trace the server process: > > [EMAIL PROTECTED]:~/owfs-2.5p6$ ps ww | grep owserver > 32403 ttyS1 Ss+ 0:00 owserver -p 3000 -d /dev/ttyS1 > 32409 pts/2 R+ 0:00 grep owserver > [EMAIL PROTECTED]:~/owfs-2.5p6$ strace -p 32403 > Process 32403 attached - interrupt to quit > pause( > > issue some client command in another terminal: > > [EMAIL PROTECTED]:~$ owdir -s 3000 > bus.0 > settings > system > statistics > /10.FA5C13000000 > /12.C2CF05000000 > /12.ED9602000000 > > after that I get this in the first terminal: > > ) = ? ERESTARTNOHAND (To be restarted) > PANIC: attached pid 32403 exited > > > The system is a plain vanilla installation, owfs is so far the only part > compiled from source on it. > > > On 11/9/06, Matt <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Paul, > > > > > > > > I had another recent install of Debian Sarge (kernel-image-2.6.8-3-386) > on > > different hardware. > > > > The only extra packages installed are : > > > > Apache2, snmp, mc, ssh, autoconf, gcc, g++, make > > > > > > > > I downloaded owfs 2.5p6 > > > > It compiles without issue and I used the same LINK device, but different > > sensors. > > > > > > > > Compile-time options: > > > > Caching is enabled > > > > USB is DISABLED > > > > I2C is enabled > > > > HA7Net is enabled > > > > Multithreading is enabled > > > > Parallel port DS1410E is enabled > > > > TAI8570 barometer is enabled > > > > Thermocouple is enabled > > > > Debug-output is enabled > > > > Profiling is DISABLED > > > > > > > > Module configuration: > > > > owfs is DISABLED > > > > owhttpd is enabled > > > > owftpd is enabled > > > > owserver is enabled > > > > owcapi is enabled > > > > swig is DISABLED > > > > owperl is DISABLED > > > > owphp is DISABLED > > > > owpython is DISABLED > > > > owtcl is DISABLED > > > > > > > > I ran the same tests as before.. > > > > > > > > owserver in background owdir reads once then fails > > > > owserver in foreground owdir succeeds repeatedly > > > > owserver (foreground) + owserver (background) - owdir succeeds > repeatedly > > for both servers > > > > > > > > Here's what's running > > > > > > > > 1 ? 00:00:00 init > > > > 2 ? 00:00:00 ksoftirqd/0 > > > > 3 ? 00:00:03 events/0 > > > > 4 ? 00:00:00 khelper > > > > 5 ? 00:00:00 kacpid > > > > 34 ? 00:00:00 kblockd/0 > > > > 44 ? 00:00:00 pdflush > > > > 45 ? 00:00:00 pdflush > > > > 47 ? 00:00:00 aio/0 > > > > 46 ? 00:00:00 kswapd0 > > > > 189 ? 00:00:00 kseriod > > > > 293 ? 00:00:00 kjournald > > > > 748 ? 00:00:00 khubd > > > > 956 ? 00:00:00 pciehpd_event > > > > 976 ? 00:00:00 shpchpd_event > > > > 1591 ? 00:00:00 dhclient > > > > 1946 ? 00:00:00 syslogd > > > > 1949 ? 00:00:00 klogd > > > > 1981 ? 00:00:00 exim4 > > > > 1987 ? 00:00:00 inetd > > > > 1994 ? 00:00:00 sshd > > > > 1997 ? 00:00:00 atd > > > > 2000 ? 00:00:00 cron > > > > 2005 ? 00:00:00 apache2 > > > > 2006 ? 00:00:00 apache2 > > > > 2008 ? 00:00:00 apache2 > > > > 2015 ? 00:00:00 apache2 > > > > 2078 tty1 00:00:00 getty > > > > 2084 tty2 00:00:00 getty > > > > 2085 tty3 00:00:00 getty > > > > 2086 tty4 00:00:00 getty > > > > 2087 tty5 00:00:00 getty > > > > 2088 tty6 00:00:00 getty > > > > 26330 ? 00:00:00 sshd > > > > 26333 ? 00:00:00 sshd > > > > 26334 pts/0 00:00:00 bash > > > > 26339 pts/0 00:00:00 bash > > > > 26350 ? 00:00:00 sshd > > > > 26353 ? 00:00:00 sshd > > > > 26354 pts/1 00:00:00 bash > > > > 26360 pts/1 00:00:00 bash > > > > 2606 pts/0 00:00:00 ps > > > > > > > > > > > > Thanks for your attention. > > > > > > > > Matt > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Paul Alfille > > Sent: Thursday, 9 November 2006 1:26 PM > > To: owfs-developers@lists.sourceforge.net > > Subject: Re: [Owfs-developers] Problems > > > > > > > > Matt, > > > > I tried a similar test here, and can't crash the system. > > > > Can you check that your links are pointing to current versions? And > there > > is no running OWFS program pinning libow in ram? > > > > My test isn't on debian, or taht particular kernel, but should be > similar > > enough. > > > > Paul > > > > > > On 11/8/06, Matt <[EMAIL PROTECTED]> wrote: > > > > > > > > That is correct. > > > > > > > > ________________________________ > > > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Alfille, Paul H.,M.D. > > Sent: Thursday, 9 November 2006 1:47 AM > > > > > > > > To: owfs-developers@lists.sourceforge.net > > Subject: Re: [Owfs-developers] Problems > > > > > > > > > > > > So Matt, > > > > > > > > > > > > Let's review. > > > > > > You are running OWFS 2.5p6 as root. > > > > > > You compiled the programs from source. > > > > > > Trying to connect to a serial adapter. > > > > > > You eventual goal is Nagios support, but the current testing doesn't > > invlolve Nagios. > > > > > > Platform is Debian. > > > > > > > > > > > > Background owserver works if not connecting to the serial port. > > > > > > Forground owserver works connected to serial port. > > > > > > > > > > > > Did I summarize correctly? > > > > > > > > > > > > Paul > > > > > > ------------------------------------------------------------------------ > - > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > Owfs-developers mailing list > > Owfs-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers