[Thread -1260221520 (LWP 28782) exited]
[Thread -1243436112 (LWP 28779) exited]
[New Thread -1260221520 (LWP 28784)]
   CALL: owserver: parse path=/10.E8C1C9000800/temperature
   CALL: PARSENAME path=[/10.E8C1C9000800/temperature]
  DEBUG: Get from cache sn 10 E8 C1 C9 00 08 00 40 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=29 sm->size=12 sm->offset=0
  DEBUG: READ_POSTPARSE /10.E8C1C9000800/temperature
  DEBUG: READ_POSTPOSTPARSE /10.E8C1C9000800/temperature
  DEBUG: READSEEK
  DEBUG: Get from cache sn 10 E8 C1 C9 00 08 00 40 in=0xb7fd6bac index=0 
size=-1260223940
  DEBUG: Found in cache
  DEBUG: READSEEK3 pid=-1260221520 cached found
  DEBUG: READ_POSTPOSTPARSE: /10.E8C1C9000800/temperature return 12
  DEBUG: READ_POSTPARSE /10.E8C1C9000800/temperature return 12
  DEBUG: Read message done retbuffer=0x804c918
  DEBUG: ParsedName_destroy /10.E8C1C9000800/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=12
  DEBUG: RealHandler: done
[Thread -1260221520 (LWP 28784) exited]
[New Thread -1226650704 (LWP 28785)]
  DEBUG:   Transaction select = 0
  DEBUG: Add to cache sn 05 A2 20 2A 00 00 00 68 in=0xb7fda240 index=0 
size=4
  DEBUG: ParsedName_destroy /uncached/05.A2202A000000/PIO
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
[Thread -1277006928 (LWP 28780) exited]
[Thread -1235043408 (LWP 28777) exited]
[Thread -1218258000 (LWP 28781) exited]
[New Thread -1243436112 (LWP 28786)]
[New Thread -1251828816 (LWP 28787)]
   CALL: owserver: parse path=/10.6FC4C9000800/temperature
   CALL: PARSENAME path=[/10.6FC4C9000800/temperature]
  DEBUG: Get from cache sn 10 6F C4 C9 00 08 00 FD in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=29 sm->size=12 sm->offset=0
  DEBUG: READ_POSTPARSE /10.6FC4C9000800/temperature
  DEBUG: READ_POSTPOSTPARSE /10.6FC4C9000800/temperature
  DEBUG: READSEEK
  DEBUG: Get from cache sn 10 6F C4 C9 00 08 00 FD in=0xb7fd6bac index=0 
size=-1243438532
  DEBUG: Found in cache
  DEBUG: READSEEK3 pid=-1243436112 cached found
  DEBUG: READ_POSTPOSTPARSE: /10.6FC4C9000800/temperature return 12
  DEBUG: READ_POSTPARSE /10.6FC4C9000800/temperature return 12
  DEBUG: Read message done retbuffer=0x804cce0
  DEBUG: ParsedName_destroy /10.6FC4C9000800/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=12
  DEBUG: RealHandler: done
[Thread -1243436112 (LWP 28786) exited]
[Thread -1209861200 (LWP 28783) exited]
[New Thread -1218258000 (LWP 28788)]
[New Thread -1235043408 (LWP 28789)]
   CALL: owserver: parse path=/uncached/05.A2202A000000/PIO
   CALL: PARSENAME path=[/uncached/05.A2202A000000/PIO]
  DEBUG: Get from cache sn 05 A2 20 2A 00 00 00 68 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Write message
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
[New Thread -1209861200 (LWP 28790)]
   CALL: owserver: parse path=/10.54FDED000800/temperature
   CALL: PARSENAME path=[/10.54FDED000800/temperature]
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=29 sm->size=12 sm->offset=0
  DEBUG: READ_POSTPARSE /10.54FDED000800/temperature
  DEBUG: READ_POSTPOSTPARSE /10.54FDED000800/temperature
  DEBUG: READSEEK
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=0xb7fd6bac index=0 
size=-1209863620
  DEBUG: Found in cache
  DEBUG: Expired in cache
  DEBUG: READSEEK2 pid=23233 not found in cache
   CALL: FS_r_single: format=11 s=12 offset=0
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=0xb7fc846b 
index=-2 size=-1209864228
  DEBUG: Found in cache
  DEBUG: Get from cache sn 00 00 00 00 00 00 00 00 in=0xb7fc8fe6 
index=-2 size=-520091648
  DEBUG: Not found in cache
[New Thread -1260221520 (LWP 28791)]
  DEBUG:   Transaction verify = 1
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction verify = 0
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction select = 0
  DEBUG: Add to cache sn 05 A2 20 2A 00 00 00 68 in=0xb7fda240 index=0 
size=9
  DEBUG: ParsedName_destroy /uncached/05.A2202A000000/PIO
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
  DEBUG: Selecting a path (and device) path=/10.54FDED000800/temperature 
SN=10 54 FD ED 00 08 00 E1 last path=00 00 00 00 00 00 00 00
[Thread -1218258000 (LWP 28788) exited]
[New Thread -1243436112 (LWP 28792)]
[New Thread -1277006928 (LWP 28793)]
[Thread -1226650704 (LWP 28785) exited]
   CALL: owserver: parse path=/uncached/05.A2202A000000/PIO
   CALL: PARSENAME path=[/uncached/05.A2202A000000/PIO]
  DEBUG: Get from cache sn 05 A2 20 2A 00 00 00 68 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Write message
  DEBUG:   Transaction select = 0
  DEBUG:   Transaction send = 0
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction verify = 0
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction select = 0
  DEBUG: Add to cache sn 05 A2 20 2A 00 00 00 68 in=0xb7fda240 index=0 
size=1
  DEBUG: ParsedName_destroy /uncached/05.A2202A000000/PIO
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
[Thread -1243436112 (LWP 28792) exited]
[New Thread -1226650704 (LWP 28794)]
[New Thread -1218258000 (LWP 28795)]
[Thread -1235043408 (LWP 28789) exited]
   CALL: owserver: parse path=/uncached/05.A2202A000000/PIO
   CALL: PARSENAME path=[/uncached/05.A2202A000000/PIO]
  DEBUG: Get from cache sn 05 A2 20 2A 00 00 00 68 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Write message
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction verify = 1
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction verify = 0
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG:   Transaction select = 0
  DEBUG: Add to cache sn 05 A2 20 2A 00 00 00 68 in=0xb7fda240 index=0 
size=9
  DEBUG: ParsedName_destroy /uncached/05.A2202A000000/PIO
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
[Thread -1226650704 (LWP 28794) exited]
[New Thread -1235043408 (LWP 28796)]
[New Thread -1243436112 (LWP 28797)]
[Thread -1260221520 (LWP 28791) exited]
   CALL: owserver: parse path=/uncached/05.A2202A000000/PIO
   CALL: PARSENAME path=[/uncached/05.A2202A000000/PIO]
  DEBUG: Get from cache sn 05 A2 20 2A 00 00 00 68 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Write message
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
[New Thread -1260221520 (LWP 28798)]
[New Thread -1226650704 (LWP 28799)]
   CALL: owserver: parse path=/10.54FDED000800/temperature
   CALL: PARSENAME path=[/10.54FDED000800/temperature]
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Presence message on /10.54FDED000800/temperature bus_nr=0
  DEBUG: ParsedName_destroy /10.54FDED000800/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
[Thread -1260221520 (LWP 28798) exited]
[New Thread -1268614224 (LWP 28800)]
[New Thread -1285399632 (LWP 28801)]
  DEBUG:   Transaction verify = 0
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
   CALL: owserver: parse path=/10.54FDED000800/temperature
   CALL: PARSENAME path=[/10.54FDED000800/temperature]
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=29 sm->size=12 sm->offset=0
  DEBUG: READ_POSTPARSE /10.54FDED000800/temperature
  DEBUG: READ_POSTPOSTPARSE /10.54FDED000800/temperature
  DEBUG: READSEEK
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=0xb7fd6bac index=0 
size=-1268616644
  DEBUG: Found in cache
  DEBUG: Expired in cache
  DEBUG: READSEEK2 pid=23233 not found in cache
[Thread -1218258000 (LWP 28795) exited]
  DEBUG:   Transaction select = 0
  DEBUG: Add to cache sn 05 A2 20 2A 00 00 00 68 in=0xb7fda240 index=0 
size=9
  DEBUG: ParsedName_destroy /uncached/05.A2202A000000/PIO
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
  DEBUG: Selecting a path (and device) path=/10.54FDED000800/temperature 
SN=10 54 FD ED 00 08 00 E1 last path=00 00 00 00 00 00 00 00
[Thread -1235043408 (LWP 28796) exited]
[New Thread -1260221520 (LWP 28803)]
[Thread -1277006928 (LWP 28793) exited]
[New Thread -1218258000 (LWP 28802)]
   CALL: owserver: parse path=/uncached/05.A2202A000000/PIO
   CALL: PARSENAME path=[/uncached/05.A2202A000000/PIO]
  DEBUG: Get from cache sn 05 A2 20 2A 00 00 00 68 in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Write message
  DEBUG:   Transaction select = 0
  DEBUG:   Transaction send = 0
  DEBUG:   Transaction readin = 0
  DEBUG: Selecting a path (and device) 
path=/uncached/05.A2202A000000/PIO SN=05 A2 20 2A 00 00 00 68 last 
path=00 00 00 00 00 00 00 00
  DEBUG: FS_r_single: (temperature) 3.125
  DEBUG: Add to cache sn 10 54 FD ED 00 08 00 E1 in=0xb7fd6bac index=0 
size=12
   CALL: FS_r_single: format=11 s=12 offset=0
  DEBUG: Get from cache sn 10 54 FD ED 00 08 00 E1 in=0xb7fc846b 
index=-2 size=0
  DEBUG: Found in cache
  DEBUG: Get from cache sn 00 00 00 00 00 00 00 00 in=0xb7fc8fe6 
index=-2 size=-520091648
  DEBUG: Not found in cache
  DEBUG: READ_POSTPOSTPARSE: /10.54FDED000800/temperature return 12
  DEBUG: READ_POSTPARSE /10.54FDED000800/temperature return 12
  DEBUG: Read message done retbuffer=0x804cce0
  DEBUG: ParsedName_destroy /10.54FDED000800/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=12

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1209861200 (LWP 28790)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ee82d4 in do_writev () from /lib/tls/libc.so.6
#2  0xb7ee839b in writev () from /lib/tls/libc.so.6
#3  0x08048f89 in ToClient (fd=9, cm=0xb7e2f400, data=0xb7e2f360 "") at 
owserver.c:231
#4  0x08049510 in RealHandler (v=0xb56293ac) at owserver.c:399
#5  0xb7f5d2b0 in start_thread () from /lib/tls/libpthread.so.0
#6  0xb7eef7ce in clone () from /lib/tls/libc.so.6
(gdb)


:) crash :D well i'm 12 hours with out it :)

Christian Magnusson escreveu:
> [EMAIL PROTECTED] ~]# gdb /opt/owfs/bin/owserver 
>  (gdb) run --fake 10 -p 5555 --foreground
> Starting program: /usr/opt/owfs/bin/owserver --fake 10 -p 5555 --foreground
> [Thread debugging using libthread_db enabled]
> [New Thread -1085201760 (LWP 30601)]
> [New Thread 24677296 (LWP 30610)]
> [New Thread 35167152 (LWP 30611)]
>
> (Application crashes...)
>
> (gdb) thread apply all bt
>
> This will show you a backtrace of all threads... and you can probably see
> where it crashed 
>
> /Christian
>
>
>
>
>
>   
>> -----Ursprungligt meddelande-----
>> Från: [EMAIL PROTECTED] [mailto:owfs-
>> [EMAIL PROTECTED] För Roberto Spadim
>> Skickat: den 26 september 2006 04:51
>> Till: [email protected]
>> Ämne: Re: [Owfs-developers] bug
>>
>> i can't execure the error consistently
>> now i stoped and started owserver again and the error stoped, how could
>> i run gdb to get backtrace??? i don't work with gdb very well.. :(
>>
>> Paul Alfille escreveu:
>>     
>>> 1. is the error reproducable?
>>> 2. in your example program, what happens of you take out the
>>> temperature lines (i.e. just bang away at the DS2405)?
>>>
>>> If you can reproduce the error consistently, we can add debugging code
>>> to narrow down the location.
>>>
>>> Paul Alfille
>>>
>>> On 9/23/06, *Roberto Spadim* <[EMAIL PROTECTED]
>>> <mailto:[EMAIL PROTECTED]>> wrote:
>>>
>>>     i'm not using zeroconf or profiling on ./configure everyothers is
>>>     ENABLED
>>>     owserver starts with:
>>>     ServerAddr: [(null)] [1234]
>>>
>>>
>>>     pstree:
>>>
>>>
>>>
>>>     init-+-agetty
>>>          |-agetty
>>>          |-agetty
>>>          |-agetty
>>>          |-agetty
>>>          |-agetty
>>>          |-crond
>>>          |-cupsd
>>>          |-devfsd
>>>          |-events/0-+-aio/0
>>>          |          |-ata/0
>>>          |          |-kblockd/0
>>>          |          |-kcryptd/0
>>>          |          |-khelper
>>>          |          |-kmirrord/0
>>>          |          |-pdflush
>>>          |          |-pdflush
>>>          |          |-reiserfs/0
>>>          |          |-xfsdatad/0
>>>          |          `-xfslogd/0
>>>          |-httpd-+-httpd  <= i'm playing with apache :)
>>>          |       |-httpd
>>>          |       |-httpd
>>>          |       |-httpd
>>>          |       |-httpd
>>>          |       `-httpd
>>>          |-jfsCommit
>>>          |-jfsIO
>>>          |-jfsSync
>>>          |-kapmd
>>>          |-khubd
>>>          |-kseriod
>>>          |-ksoftirqd/0
>>>          |-kswapd0
>>>          |-migration/0
>>>          |-nmbd---nmbd
>>>          |-owhttpd-+-{owhttpd}
>>>          |         `-{owhttpd}      <= i was conected :)
>>>          |-owserver-+-{owserver}
>>>          |          |-{owserver}      <= many owserver?? maybe my
>>>     threads :)
>>>     and owhttpd right?
>>>          |          |-{owserver}
>>>          |          |-{owserver}
>>>          |          |-{owserver}
>>>          |          `-{owserver}
>>>          |-php
>>>          |-php
>>>          |-smbd-+-smbd
>>>          |      `-smbd
>>>          |-sshd-+-sshd---bash---php-+-php
>>>          |      |                   |-php    <= pic bus on /dev/ttyS1
>>>          |      |                   |-php  <= an email parse to change
>>>     values and send to database :) and write to pic or owserver
>>>          |      |                   |-php <= email thread to help me :)
>>>          |      |                   |-php-+-php <=my write thread on
>>>     127.0.0.1:1234 <http://127.0.0.1:1234>
>>>          |      |                   |     `-php <= my read thread
>>>     127.0.0.1:1234 <http://127.0.0.1:1234>
>>>          |      |                   `-php <= pic bus on /dev/ttyS2
>>>          |      `-sshd---bash---pstree <= i'm using ssh :D
>>>          |-syslog-ng
>>>          |-udevd
>>>          `-xfsbufd
>>>
>>>
>>>     --------------------------------------------------------------------
>>>       
>> -----
>>     
>>>     Take Surveys. Earn Cash. Influence the Future of IT
>>>     Join SourceForge.net's Techsay panel and you'll get the chance to
>>>     share your
>>>     opinions on IT & business topics through brief surveys -- and earn
>>>     cash
>>>
>>>       
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>     
>> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>     
>>>     _______________________________________________
>>>     Owfs-developers mailing list
>>>     [email protected]
>>>     <mailto:[email protected]>
>>>     https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------
>>>       
>> -
>>     
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>       
>> your
>>     
>>> opinions on IT & business topics through brief surveys -- and earn cash
>>>
>>>       
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>     
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>       
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>     
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to