Hi,
I'm currently packaging owfs for openSUSE and got a bug report that in the 
package with systemd enabled owfs crashes as soon as one browses the /run/owfs 
folder with dolphin (KDE file manager).
Browsing the folder with ls works just fine.

To reproduce this I started owfs with the following parameters:
/usr/bin/owfs -u --server=127.0.0.1 --allow_other /run/owfs

The Backtrace looks like the following:
------------------------------------------------------------------------------------------------------------------------------------------------
[New Thread 0x7ffff658c700 (LWP 20156)]
[New Thread 0x7ffff5d8b700 (LWP 20158)]
1413624377 DEFAULT: ow_parsename.c:(316) debug_crash 1413624377.190662

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff658c700 (LWP 20156)]
0x00007ffff7b684d3 in FS_ParsedName_setup (pn=0x7ffff6588b60, 
path=0x7ffff0000af0 
"/", pp=0x7ffff6587ae0) at ow_parsename.c:316
316             CONNIN_RLOCK;
(gdb) bt
#0  0x00007ffff7b684d3 in FS_ParsedName_setup (pn=0x7ffff6588b60, 
path=0x7ffff0000af0 "/", pp=0x7ffff6587ae0) at ow_parsename.c:316
#1  FS_ParsedName_anywhere (path=0x7ffff0000af0 "/", 
remote_status=remote_status@entry=parse_pass_pre_remote, 
pn=pn@entry=0x7ffff6588b60) at ow_parsename.c:104
#2  0x00007ffff7b68cea in FS_ParsedName (path=<optimized out>, 
pn=pn@entry=0x7ffff6588b60) at ow_parsename.c:81
#3  0x00007ffff7b5ba3c in FS_fstat (path=<optimized out>, stbuf=0x7ffff658bc30) 
at 
ow_fstat.c:25
#4  0x00007ffff78a197d in ?? () from /lib64/libfuse.so.2
#5  0x00007ffff78ab895 in ?? () from /lib64/libfuse.so.2
#6  0x00007ffff78abdd6 in ?? () from /lib64/libfuse.so.2
#7  0x00007ffff78a8be9 in ?? () from /lib64/libfuse.so.2
#8  0x00007ffff767f0db in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff73b058d in clone () from /lib64/libc.so.6
(gdb) l
311             /* -- be added by Browse so  -- */
312             /* -- a reader/writer lock is - */
313             /* -- held until ParsedNameDestroy */
314             /* ---------------------------- */
315
316             CONNIN_RLOCK;
317             pn->selected_connection = NO_CONNECTION ; // Default bus 
assignment
318
319             return 0 ; // success
320     }
(gdb) p *pp
$2 = {pathcpy = '\000' <repeats 3448 times>..., pathnow = 0x0, pathnext = 
0x7ffff6587ae0 "", pathlast = 0x0}
(gdb) p *path
$3 = 47 '/'
(gdb) p *pn
$4 = {path = "/", '\000' <repeats 8192 times>, path_to_server = "/", '\000' 
<repeats 4096 times>, device_name = 0x0, known_bus = 0x0, type = ePN_root, 
state = ePS_normal, 
  sn = "\000\000\000\000\000\000\000", selected_device = 0x0, selected_filetype 
= 0x0, extension = 0, sparse_name = 0x0, subdir = 0x0, dirlength = 1, 
ds2409_depth = 0, bp = 0x0, 
  selected_connection = 0x0, control_flags = 330, lock = 0x0, return_code = 0, 
detail_flag = 0, tokens = 0, tokenstring = 0x0}

----------------------------------------------------------------------------------------------------------------------------------------------

It's compiled with the following options:

----------------------------------------------------------------------------------------------------------------------------------------------
./configure \
        --prefix=/usr \
        --libdir=/usr/lib64 \
        --disable-static \
        --enable-usb \
        --enable-owfs \
        --enable-owhttpd \
        --enable-owcapi \
        --enable-ownetlib \
        --enable-owftpd \
        --enable-owserver \
        --enable-owtap \
        --enable-owmon \
        --enable-owperl \
        --enable-owpython \
        --enable-owphp \
        --enable-owtcl \
        --with-systemdsystemunitdir=/usr/lib/systemd/system
----------------------------------------------------------------------------------------------------------------------------------------------

The package can be found here:
https://build.opensuse.org/package/show/home:Heinervdm:branches:home:Heinervdm:BGO-OD/owfs

If any further information is needed, i saved a core dump so that I can try to 
provide them.

Greetings,
Thomas


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to