[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

Reply via email to