Giter Club home page Giter Club logo

Comments (7)

dolohow avatar dolohow commented on June 11, 2024
Thread 2 (Thread 0x7f641325c700 (LWP 15841)):
#0  0x00007f641270768d in pthread_join () from /usr/lib/libpthread.so.0
#1  0x00007f6412e4493b in fuse_join_worker (w=0x7f6408002a80, mt=0x7fff94bae900)
    at fuse_loop_mt.c:211
#2  fuse_session_loop_mt (se=0xaeed70) at fuse_loop_mt.c:251
#3  0x00007f6412e49fd7 in fuse_loop_mt (f=f@entry=0xaeef60) at fuse_mt.c:117
#4  0x0000000000403637 in main (argc=<optimized out>, argv=<optimized out>)
    at sshfs.c:4168

Thread 1 (Thread 0x7f6403fff700 (LWP 15849)):
#0  0x00007f64123e1446 in strlen () from /usr/lib/libc.so.6
#1  0x0000000000404897 in pty_expect_loop () at sshfs.c:1007
#2  0x0000000000405625 in sftp_init () at sshfs.c:1597
#3  connect_remote () at sshfs.c:1768
#4  0x00000000004070a1 in start_processing_thread () at sshfs.c:1789
#5  0x000000000040717e in sftp_request_send (type=type@entry=4 '\004', 
    iov=iov@entry=0x7f6403ffeb40, count=count@entry=1, begin_func=begin_func@entry=0x0, 
    end_func=end_func@entry=0x0, want_reply=want_reply@entry=0, data=0x0, 
    reqp=0x7f6403ffeaa0) at sshfs.c:1919
#6  0x0000000000407dbe in sftp_request_iov (type=type@entry=4 '\004', 
    iov=iov@entry=0x7f6403ffeb40, expect_type=expect_type@entry=0 '\000', 
    outbuf=outbuf@entry=0x0, count=1) at sshfs.c:1973
#7  0x000000000040bb2b in sftp_request (outbuf=0x0, expect_type=0 '\000', 
    buf=0x7f6403ffeb20, type=4 '\004') at sshfs.c:1987
#8  sshfs_getdir (path=<optimized out>, h=0x7f6403ffeba0, 
    filler=0x40c710 <cache_dirfill>) at sshfs.c:2247
#9  0x000000000040c972 in cache_getdir (path=0x7f63fc000990 "/storage/emulated/0/logs", 
    h=0x7f6403ffec00, filler=0x7f6412e3a630 <fill_dir_old>) at cache.c:330
#10 0x00007f6412e3fc73 in fuse_fs_readdir (fs=0xaef0c0, 
    path=0x7f63fc000990 "/storage/emulated/0/logs", buf=0x7f640c0042a0, 
    filler=0x7f6412e3a6a0 <fill_dir>, off=0, fi=0x7f6403ffec80) at fuse.c:2019
#11 0x00007f6412e3fdac in readdir_fill (fi=0x7f6403ffec80, dh=0x7f640c0042a0, off=0, 
    size=4096, ino=20, req=0x7f63fc0008c0, f=0xaeef60) at fuse.c:3467
#12 fuse_lib_readdir (req=0x7f63fc0008c0, ino=20, size=4096, off=0, 
    llfi=<optimized out>) at fuse.c:3493
#13 0x00007f6412e46936 in do_readdir (req=<optimized out>, nodeid=<optimized out>, 
    inarg=<optimized out>) at fuse_lowlevel.c:1390
#14 0x00007f6412e47f31 in fuse_ll_process_buf (data=0xaef250, buf=0x7f6403ffef00, 
    ch=<optimized out>) at fuse_lowlevel.c:2443
#15 0x00007f6412e446d8 in fuse_do_work (data=0x7f6408002a80) at fuse_loop_mt.c:117
#16 0x00007f6412706454 in start_thread () from /usr/lib/libpthread.so.0
#17 0x00007f64124497df in clone () from /usr/lib/libc.so.6

from sshfs.

Nikratio avatar Nikratio commented on June 11, 2024

Thanks for the report! I will take a look.

from sshfs.

Nikratio avatar Nikratio commented on June 11, 2024

Hm. The only way I can see for this to happen is fhe password buffer is unmapped and then re-used again. Are you able to reproduce this at will? Would you able to run sshfs under valgrind?

from sshfs.

dolohow avatar dolohow commented on June 11, 2024

Yes, I am. I will try, any special flags I should pass to it?

from sshfs.

Nikratio avatar Nikratio commented on June 11, 2024

Great! valgrind --log-file=valgrind.log -- sshfs -s -f <other opts> should be enough. If you can, recompile sshfs with make CFLAGS="-O0 -g" first.

from sshfs.

Nikratio avatar Nikratio commented on June 11, 2024

I'm closing this bug report for now. Please note that this isn't meant to imply that you haven't found a bug - you most likely have and I'm grateful that you took the time to report it. However, without additional information it is unlikely that anyone is going to be able to do anything but this, and I prefer to use the issue tracker as a tool to manage ongoing work (as opposed to a database of known/potential issues).

Please feel free to re-open this if you can provide the requested information!

from sshfs.

dolohow avatar dolohow commented on June 11, 2024

Sure I will, I just don't have this crash anymore since my equipment changed a bit.

from sshfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.