hi paul, the segfault occur with a serial device (i was thinking that this was occuring cause of tcp ser2net) check:
[root@spadim1 bin]# owhttpd -d /dev/ttyUSB0 -p 80 --debug 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 Falha de segmentação dmesg: usb 2-2: new full speed USB device using uhci_hcd and address 2 usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for ch341-uart ch341 2-2:1.0: ch341-uart converter detected usb 2-2: ch341-uart converter now attached to ttyUSB0 usbcore: registered new interface driver ch341 owhttpd[1335]: segfault at 608420 ip 0000000000608420 sp 00007fe3935cfe28 error 15 lsusb: [root@spadim1 bin]# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter [root@spadim1 bin]# ls /dev/ttyUSB* -l crw-rw---- 1 root uucp 188, 0 Abr 13 02:04 /dev/ttyUSB0 configure line: ./configure --prefix=/usr --with-python="/usr/bin/python2" --with-pythonconfig="/usr/bin/python2-config" make version: owfs-2.8p8.tar.gz md5: 56afd8857bf3ae51fadd7fce0c354b58 ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
