the error occurs with --foreground too, can i run gdb and get backtrace??

Paul Alfille escreveu:
> I've never had success with gdb and threaded programs. I just out 
> printf and run in foreground.
>
> On 9/25/06, *Roberto Spadim* < [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     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]>
>     > <mailto:[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> <http://127.0.0.1:1234>
>     >          |      |                   |     `-php <= my read thread
>     >     127.0.0.1:1234 <http://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>
>     >    
>     <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]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     https://lists.sourceforge.net/lists/listinfo/owfs-developers
>     <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
>     
> <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
>     
> <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

Reply via email to