I tried to replicate tis error on Ubuntu 10.4 using a private mlocate
database:

updatedb -l 0 -o db_file -U 1wire

But it completes successfully. Indeed, I've run an (older) version of owfs
and updatedb for years at a time.

There are clearly differences in our setup.

For starters, can you give:

owfs invocation command line
A directory listing of your 1wire directory.
/opt/owfs/bin/owfs -V
updatedb -V

Thanks,

Paul Alfille

On Thu, Aug 26, 2010 at 10:03 AM, Eloy Paris <[email protected]> wrote:

> Hello,
>
> The owfs process is crashing for me everyday at 6:25 AM. Turns out that
> the crash is triggered by updatedb, which gets kicked off daily around
> 6:25 AM by cron to update the locate database.
>
> I've worked around the problem by telling updatedb not to go into the
> owfs-mounted directory but I thought I'd report the problem in case
> someone wants to tackle the root cause to prevent the crash in the first
> place.
>
> I am including below a backtrace, and I am happy to run further tests or
> try any possible fixes. This is completely reproducible for me, though.
>
> Cheers,
>
> Eloy Paris.-
>
> ------------------------------------------------------
>
> (gdb) where
> #0  0x00000000 in ?? ()
> #1  0xb76af543 in BUS_reset (pn=0xb5a12098) at ow_reset.c:23
> #2  0xb76b3b90 in BUS_select_closing (pn=<value optimized out>) at
> ow_select.c:154
> #3  0xb76b3f7f in BUS_select (pn=0xb5a12098) at ow_select.c:78
> #4  0xb76b7b98 in BUS_transaction_single (t=<value optimized out>,
> pn=0x0) at ow_transaction.c:83
> #5  0xb76b827c in BUS_transaction_nolock (tl=0xb6c21938, pn=0xb5a12098)
> at ow_transaction.c:68
> #6  0xb76b84b0 in BUS_transaction (tl=0xb6c21938, pn=0xb5a12098) at
> ow_transaction.c:51
> #7  0xb768902d in OW_type (owq=0xb5a12080) at ow_bae.c:769
> #8  FS_type_state (owq=0xb5a12080) at ow_bae.c:524
> #9  0xb76acc71 in FS_read_lump (owq=0xb5a12080) at ow_read.c:512
> #10 0xb76ad34d in FS_r_local (owq=0xb5a12080) at ow_read.c:460
> #11 0xb76b4b4a in FS_r_sibling_U (U=0xb6c21c5c, sibling=0xb76c32c6
> "typestate", owq=0xb5a12008)
>     at ow_sibling_uint.c:54
> #12 0xb7689cca in FS_type_device (owq=0xb5a12008) at ow_bae.c:548
> #13 0xb76acc71 in FS_read_lump (owq=0xb5a12008) at ow_read.c:512
> #14 0xb76ad34d in FS_r_local (owq=0xb5a12008) at ow_read.c:460
> #15 0xb76b4b4a in FS_r_sibling_U (U=0xb6c21f28, sibling=0xb76c32dd
> "device_type", owq=0xb5a11f18)
>     at ow_sibling_uint.c:54
> #16 0xb7689e11 in VISIBLE_BAE (pn=0xb6c220c0) at ow_bae.c:296
> #17 VISIBLE_910 (pn=0xb6c220c0) at ow_bae.c:318
> #18 0xb7692c30 in FS_devdir (dirfunc=<value optimized out>, v=<value
> optimized out>, pn_raw_directory=0xb6c220c0,
>     flags=0xb6c2206c) at ow_dir.c:376
> #19 FS_dir_both (dirfunc=<value optimized out>, v=<value optimized out>,
> pn_raw_directory=0xb6c220c0,
>     flags=0xb6c2206c) at ow_dir.c:124
> #20 0xb769368f in FS_dir (dirfunc=0x80496d0 <FS_getdir_callback>,
> v=0xb6c220b8, pn_directory=0xb6c220c0)
>     at ow_dir.c:65
> #21 0x0804966b in FS_getdir (path=0xb5a14138 "/structure/FC/910",
> h=0xb6c22168, filler=0xb762f6d0)
>     at owfs_callback.c:186
> #22 0xb762c3d0 in fuse_fs_readdir () from /lib/libfuse.so.2
> #23 0xb7632d26 in ?? () from /lib/libfuse.so.2
> #24 0xb7638e67 in ?? () from /lib/libfuse.so.2
> #25 0xb76377ba in ?? () from /lib/libfuse.so.2
> ---Type <return> to continue, or q <return> to quit---
> #26 0xb763a976 in fuse_session_process () from /lib/libfuse.so.2
> #27 0xb7635dd3 in ?? () from /lib/libfuse.so.2
> #28 0xb75d596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> #29 0xb7542a4e in clone () from /lib/tls/i686/cmov/libc.so.6
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to