[Owfs-developers] Found memory leak

2005-07-06 Thread Christian Magnusson

I finally found the memory leak which has bothered me some time now.
There were some missing calls to FS_ParsedNameDestroy() which has to
be called even if FS_ParsedName() fails, like it does when a 1-wire
device isn't found during a presence check. Both owserver, ownfsd
and owhttpd were effected.


-- 
Christian Magnusson [EMAIL PROTECTED]



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] More on Hanging Problems

2005-07-06 Thread Jan Kandziora
Am Donnerstag, 30. Juni 2005 15:41 schrieb Christian Magnusson:
 Have you succeeded to use the latest cvs-version yet?  Just wondering...

Now I had the time to test a bit. I have to say: unfortunately not.
$ /opt/owfs/bin/owserver -u1 -p19160 --foreground --error_level=9   
 

...

INFO: PARSENAME path=12.86973600/PIO.A

INFO: PARSENAME path=12.86973600/PIO.A

INFO: PARSENAME path=12.86973600/PIO.A

... Now doing something naughty ...

ERR: Release interface failed ret=-19
: No such device
ERR: Closed USB DS9490 adapter at 001/002. ret=0
: No such device
ERR: Opened USB DS9490 adapter at 001/004.
: Permission denied
ERR: Couldn't find correct ds1420 chip on this adapter [001/004]
: Resource temporarily unavailable
ERR: Closed USB DS9490 adapter at 001/002. ret=0
: Resource temporarily unavailable
ERR: BUS_selection_error returned error = -5
: Resource temporarily unavailable
INFO: PARSENAME path=12.86973600/PIO.A

ERR: Opened USB DS9490 adapter at 001/004.
: No data available
ERR: Couldn't find correct ds1420 chip on this adapter [001/004]
: Resource temporarily unavailable
ERR: Closed USB DS9490 adapter at 001/002. ret=0
: Resource temporarily unavailable
ERR: Opened USB DS9490 adapter at 001/004.
: No data available
ERR: Couldn't find correct ds1420 chip on this adapter [001/004]
: Resource temporarily unavailable
ERR: Closed USB DS9490 adapter at 001/002. ret=0
: Resource temporarily unavailable
ERR: BUS_selection_error returned error = -5
: Resource temporarily unavailable
INFO: PARSENAME path=12.86973600/PIO.A

ERR: Opened USB DS9490 adapter at 001/004.
: No data available
ERR: Couldn't find correct ds1420 chip on this adapter [001/004]
: Resource temporarily unavailable
ERR: Closed USB DS9490 adapter at 001/002. ret=0
: Resource temporarily unavailable
ERR: Opened USB DS9490 adapter at 001/004.
: No data available
ERR: Couldn't find correct ds1420 chip on this adapter [001/004]
: Resource temporarily unavailable
ERR: Closed USB DS9490 adapter at 001/002. ret=0
: Resource temporarily unavailable
ERR: BUS_selection_error returned error = -5
: Resource temporarily unavailable
INFO: PARSENAME path=12.86973600/PIO.A


$ dmesg says
usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using uhci_hcd and address 4
0: addr=81, size=32, dir=IN, type=3
1: addr=2, size=16, dir=OUT, type=2
2: addr=83, size=16, dir=IN, type=2


I'd say, we are on the right way but there is some little thing wrong. Which?

Kind regards

Jan


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] cannot configure 2.1

2005-07-06 Thread Morris Walton

Hi,

I'm trying to build the owfs-2.1p0RC from sourceforge, but run into


config.status: creating module/swig/Makefile
config.status: creating module/swig/perl5/Makefile
config.status: error: cannot find input file: module/swig/perl5/Makefile.in



when trying to configure the build.  It looks like the Makefile.in is in 
module/swig, but not in the perl5 dir  Has anybody seen or can 
comment on this?


I apologize if the developers mailer is the wrong place for this 
question, but I didn't see any other active lists - could you recommend one?


Thanks,

Morris



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] cannot configure 2.1

2005-07-06 Thread Paul Alfille
On Wednesday 06 July 2005 10:11 pm, Morris Walton wrote:
 Hi,

 I'm trying to build the owfs-2.1p0RC from sourceforge, but run into


 config.status: creating module/swig/Makefile
 config.status: creating module/swig/perl5/Makefile
 config.status: error: cannot find input file: module/swig/perl5/Makefile.in


My Makefile.am is at the end.

 when trying to configure the build.  It looks like the Makefile.in is in
 module/swig, but not in the perl5 dir  Has anybody seen or can
 comment on this?

 I apologize if the developers mailer is the wrong place for this
 question, but I didn't see any other active lists - could you recommend
 one?

Perfectly appropriate place.
 Thanks,

 Morris


# $Id: Makefile.am,v 1.2 2005/01/18 17:03:12 alfille Exp $

bin_PROGRAMS = OW.pm

if ENABLE_CACHE
CACHE_FLAG = -DOW_CACHE
endif

if ENABLE_USB
USB_FLAG = -DOW_USB
endif

if ENABLE_MT
MT_FLAG = -DOW_MT
endif

AM_CFLAGS = -I../include \
 -fexceptions \
 -Wall \
 -W \
 -Wundef \
 -Wshadow \
 -Wpointer-arith \
 -Wcast-qual \
 -Wcast-align \
 -Wconversion \
 -Wstrict-prototypes \
 -Wredundant-decls \
 -D_FILE_OFFSET_BITS=64 \
 ${CACHE_FLAG} \
 ${MT_FLAG} \
 ${USB_FLAG}

#noinst_DATA = .made_mod

#.made_mod: owperl_wrap.c Makefile.perl
#   $(MAKE) -fMakefile.perl
#   touch $@

ow_wrap.c: ../ow.i Makefile.perl
$(SWIG) -perl5 -o $@ ../ow.i

Makefile.perl: Makefile.PL
$(PERL) $ MAKEFILE=$@

OW.pm: ow_wrap.c
$(MAKE) -fMakefile.perl

install-data-local:
$(MAKE) -fMakefile.perl PREFIX=$(prefix) install

#CLEANFILES = *~ .made_mod  owperl.c OW.pm
CLEANFILES = *~ *.o ow_wrap.c OW.pm *.PL Makefile.in

clean-local:
if test -f Makefile.perl; then $(MAKE) -fMakefile.perl realclean; fi
rm -f Makefile.perl Makefile.perl.old

clean-generic:

@RM@ -f *~ .*~


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers