I think this is fixed in my current code.

I've run into a problem...
sourceforge CVS repository was dopwn for a week. In that time, my computer died.
I have the fixed code, but can't test because my current machine is Ubuntu and I
can't figure out how to get OWFS to compile.

Now that I look at it, it looks like sourceforge isn't serving the most current
code at the time of it's crash. 

Hopefully, someone has a hint, and we'll get everything back on track.

Paul Alfille



-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Jan Bertelsen
Sent: Fri 4/7/2006 8:42 AM
To: [email protected]
Subject: [Owfs-developers] owfs seg-fault
 
Hello,

Has anyone seen the following seg fault in owfs? It happens when I run a

        ls /mnt/1-wire

or the like, using file-completion to get to the right device. 
If I cat a device directly like

        cat /mnt/1-wire/10.321DC6000800/temperature

I get the temperature.

gdb output from two situations is included at the bottom.

My setup is: Fedora Core 5 with SELinux enabled (don't know if this
matter) and fuse and owfs fresh from CVS. It worked with Fedora Core 4...

Am I missing something?

Regards,

Jan



[EMAIL PROTECTED] owfs]$ gdb /opt/owfs/bin/owfs
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/libthread_db.so.1".

(gdb)  run  -d /dev/ttyS0 /mnt/1-wire/ --foreground
Starting program: /opt/owfs/bin/owfs -d /dev/ttyS0 /mnt/1-wire/
--foreground
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x21a000
[Thread debugging using libthread_db enabled]
[New Thread -1208498512 (LWP 24771)]
0
1
2
3
4
5
6
7
8
9
10
Detaching after fork from child process 24774.
[New Thread 23030688 (LWP 24775)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208498512 (LWP 24771)]
0x00bd1224 in FS_dir (dirfunc=0xbfa8e334, pn=0xbfa8e2d4) at ow_dir.c:110
110                             dirfunc( &pn2 ) ;
(gdb)


And another one:

[EMAIL PROTECTED] owfs]$ gdb /opt/owfs/bin/owfs
<...>
Detaching after fork from child process 24808.
[New Thread 22920096 (LWP 24809)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208785232 (LWP 24805)]
0x0028b6f4 in FS_devdir (dirfunc=0xbfb47a64, pn2=0xbfb4798c) at ow_dir.c:385
385                 dirfunc( pn2 ) ;
(gdb)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

<<winmail.dat>>

Reply via email to