[prev in list] [next in list] [prev in thread] [next in thread]
List: owfs-developers
Subject: Re: [Owfs-developers] owhttp segfault
From: Roberto Spadim <roberto () spadim ! com ! br>
Date: 2011-04-13 5:13:12
Message-ID: BANLkTi=F7v6n9Lid5qqT2yCRD_+VTOs_gg () mail ! gmail ! com
[Download RAW message or body]
GDB information:
[root@spadim1 abs]# gdb owhttpd
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/owhttpd...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/owhttpd
[Thread debugging using libthread_db enabled]
Program exited normally.
(gdb) run --help
Starting program: /usr/bin/owhttpd --help
[Thread debugging using libthread_db enabled]
1-WIRE access programs by Paul H Alfille and others.
Syntax: /usr/bin/owhttpd [options] device clientport
Help resources:
/usr/bin/owhttpd --help This page
/usr/bin/owhttpd --help=device Bus master device options
/usr/bin/owhttpd --help=program Program services (mountpoint, port)
/usr/bin/owhttpd --help=cache Cache and communication timing
/usr/bin/owhttpd --help=job Job control and debugging
/usr/bin/owhttpd --help=temperature Temperature scale and device
format options
man /usr/bin/owhttpd man page for this program
and man pages for individual 1-wire devices e.g. 'man DS2409'
Copyright 2003-8 GPLv2 by Paul Alfille. See http://www.owfs.org for
support, downloads
Program exited normally.
(gdb) run -d /dev/ttyUSB0 -p 80 --debug
Starting program: /usr/bin/owhttpd -d /dev/ttyUSB0 -p 80 --debug
[Thread debugging using libthread_db enabled]
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(75) Avahi support:
libavahi-client loaded successfully
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(77) Avahi library
function found: avahi_client_errno
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(78) Avahi library
function found: avahi_client_free
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(79) Avahi library
function found: avahi_client_new
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(80) Avahi library
function found: avahi_client_get_domain_name
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(81) Avahi library
function found: avahi_entry_group_add_service
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(82) Avahi library
function found: avahi_entry_group_commit
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(83) Avahi library
function found: avahi_entry_group_is_empty
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(84) Avahi library
function found: avahi_entry_group_new
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(85) Avahi library
function found: avahi_entry_group_reset
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(87) Avahi library
function found: avahi_service_resolver_free
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(88) Avahi library
function found: avahi_service_resolver_new
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(89) Avahi library
function found: avahi_service_browser_free
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(90) Avahi library
function found: avahi_service_browser_new
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(102) Avahi support:
libavahi-common loaded successfully.
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(104) Avahi library
function found: avahi_simple_poll_free
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(105) Avahi library
function found: avahi_simple_poll_get
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(106) Avahi library
function found: avahi_simple_poll_loop
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(107) Avahi library
function found: avahi_simple_poll_new
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(108) Avahi library
function found: avahi_simple_poll_quit
DEBUG: ow_avahi_link.c:OW_Load_avahi_library(109) Avahi library
function found: avahi_strerror
CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C
100C (for simulated adapters)
DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(265) Attempt #0 to
initialize the DS9097U
DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(354) Send the initial
reset to the bus master.
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
[New Thread 0x7ffff6076700 (LWP 18519)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6076700 (LWP 18519)]
0x0000000000608420 in avahi_client_free ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 18406] will be killed.
Quit anyway? (y or n) y
dmesg:
owhttpd[1335]: segfault at 608420 ip 0000000000608420 sp
00007fe3935cfe28 error 15
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic