|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
want to help do some debugingHello everybody,
I am new to this list, so i would like to thank everybody for there hard work on the fuse system. I am a heavy user of sshfs, and would like to include it as a service to our thick clients as remote storage/sharing option. I have been testing its stability for the last year intensive and I got some major problems like, lost connections, freezing sshfs mounts, requiring to killall ssh and sshfs or complete reboots. Freezing ssh servers behaving as some firewall block because something a sshfs mount is doing. The problems mostly accure when using sshfs heavy with multiple programs -> playing dvd, ogg files, writing data to the remote share. So loads of issues and no real bug reports to define the behind problems. I would like to help create some good bug reports. I use debian sid and use the following command to mount the root file-system. ssh -x -a -oClearAllForwardings=yes -2 user@... -s sftp /usr/bin/sshfs -s -o allow_root -o sshfs_sync user@...:/ /mnt/domain-server-user/root/ The command runs in the background and is started when a network connections comes up (if-up) system. How can I create an automatic logfile that the developers can use for debugging? Tanks in advance, Jelle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingOn Tue, Jul 15, 2008 at 3:49 PM, Jelle de Jong
<jelledejong@...> wrote: > > How can I create an automatic logfile that the developers can use for > debugging? Yepp, same issues here, and I'd also like to make a logfile to aid developers in debugging. I use sshfs everyday here in FreeBSD. =) [ simon.cpu ] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingJelle de Jong wrote:
> Hello everybody, > > I am new to this list, so i would like to thank everybody for there hard > work on the fuse system. > > I am a heavy user of sshfs, and would like to include it as a service to > our thick clients as remote storage/sharing option. I have been testing > its stability for the last year intensive and I got some major problems > like, lost connections, freezing sshfs mounts, requiring to killall ssh > and sshfs or complete reboots. Freezing ssh servers behaving as some > firewall block because something a sshfs mount is doing. The problems > mostly accure when using sshfs heavy with multiple programs -> playing > dvd, ogg files, writing data to the remote share. > > So loads of issues and no real bug reports to define the behind > problems. I would like to help create some good bug reports. > > I use debian sid and use the following command to mount the root > file-system. > > ssh -x -a -oClearAllForwardings=yes -2 user@... -s sftp > > /usr/bin/sshfs -s -o allow_root -o sshfs_sync user@...:/ > /mnt/domain-server-user/root/ > > The command runs in the background and is started when a network > connections comes up (if-up) system. > > How can I create an automatic logfile that the developers can use for > debugging? > > Tanks in advance, > I really want to create some good bugreports and find the problems that are causing our instable sshfs. I have really painful freezing client sshfs systems that drag down a complete healthy server that is connecting the client! I really want to help, can somebody tell me how to make full automatic bug reports so i can save them when a crash surfaces. Thanks in advance, Jelle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingJelle de Jong <jelledejong@...> writes:
> I really want to help, can somebody tell me how to make full automatic > bug reports so i can save them when a crash surfaces. You cannot make automatic bug reports. The following might be helpful as a basis for a *manual* bug report though: - compile sshfs with debugging symbols - use the -dfs parameters when starting gdb and save the output - when it crashes, create a backtrace as described on https://wiki.ubuntu.com/Backtrace Best, -Nikolaus -- »It is not worth an intelligent man's time to be in the majority. By definition, there are already enough people to do that.« -J.H. Hardy PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingNikolaus Rath wrote:
> Jelle de Jong <jelledejong@...> writes: >> I really want to help, can somebody tell me how to make full automatic >> bug reports so i can save them when a crash surfaces. > > You cannot make automatic bug reports. The following might be helpful > as a basis for a *manual* bug report though: > > - compile sshfs with debugging symbols > - use the -dfs parameters when starting gdb and save the output > - when it crashes, create a backtrace as described on > https://wiki.ubuntu.com/Backtrace > > > Best, > > -Nikolaus > Thank you Nikolaus for answering my mail. I downloaded the sshfs-fuse source package for my distribution Debian sid and did a configure --help to see what options i sould use to compile sshfs with debugging symbols. However I did not found any info in the output regarding debugging? Can you tell me with what options I should use to compile sshfs with debugging support? I want to create a sshfs-fuse-debug package for Debian sid. CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-sshnodelay Kind regards, Jelle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingJelle de Jong <jelledejong@...> writes:
> Nikolaus Rath wrote: >> Jelle de Jong <jelledejong@...> writes: >>> I really want to help, can somebody tell me how to make full automatic >>> bug reports so i can save them when a crash surfaces. >> >> You cannot make automatic bug reports. The following might be helpful >> as a basis for a *manual* bug report though: >> >> - compile sshfs with debugging symbols >> - use the -dfs parameters when starting gdb and save the output >> - when it crashes, create a backtrace as described on >> https://wiki.ubuntu.com/Backtrace > > Thank you Nikolaus for answering my mail. > > I downloaded the sshfs-fuse source package for my distribution Debian > sid and did a configure --help to see what options i sould use to > compile sshfs with debugging symbols. However I did not found any info > in the output regarding debugging? You should be able to build a debian package with debugging symbols as follows: # export DEB_BUILD_OPTIONS="debug nostrip noopt" # sudo apt-get install devscripts fakeroot # sudo apt-get build-dep sshfs-fuse # fakeroot apt-get source -b sshfs-fuse HTH, -Nikolaus -- »It is not worth an intelligent man's time to be in the majority. By definition, there are already enough people to do that.« -J.H. Hardy PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingJelle de Jong wrote:
> Nikolaus Rath wrote: >> Jelle de Jong <jelledejong@...> writes: >>> I really want to help, can somebody tell me how to make full automatic >>> bug reports so i can save them when a crash surfaces. >> You cannot make automatic bug reports. The following might be helpful >> as a basis for a *manual* bug report though: >> >> - compile sshfs with debugging symbols >> - use the -dfs parameters when starting gdb and save the output >> - when it crashes, create a backtrace as described on >> https://wiki.ubuntu.com/Backtrace >> >> >> Best, >> >> -Nikolaus >> > > Thank you Nikolaus for answering my mail. > > I downloaded the sshfs-fuse source package for my distribution Debian > sid and did a configure --help to see what options i sould use to > compile sshfs with debugging symbols. However I did not found any info > in the output regarding debugging? > > Can you tell me with what options I should use to compile sshfs with > debugging support? I want to create a sshfs-fuse-debug package for > Debian sid. > > CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) > --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr > --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info > --disable-sshnodelay > Or where you referring to the gcc -g flag for debugging? In that case the debian sid package is already build with debugging support? This is a part of the debian/rules file: CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-sshnodelay Kind regards, Jelle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingOn Tue, 15 Jul 2008, Jelle de Jong wrote:
> I am a heavy user of sshfs, and would like to include it as a service to > our thick clients as remote storage/sharing option. I have been testing > its stability for the last year intensive and I got some major problems > like, lost connections, freezing sshfs mounts, requiring to killall ssh > and sshfs or complete reboots. Freezing ssh servers behaving as some > firewall block because something a sshfs mount is doing. The problems > mostly accure when using sshfs heavy with multiple programs -> playing > dvd, ogg files, writing data to the remote share. Which version? Quite serious bugs have been fixed in sshfs during the last year, so first of all you should try upgrading to the latest version, and see if these mysterious problems are still present. Thanks, Miklos ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingMiklos Szeredi wrote:
> On Tue, 15 Jul 2008, Jelle de Jong wrote: >> I am a heavy user of sshfs, and would like to include it as a service to >> our thick clients as remote storage/sharing option. I have been testing >> its stability for the last year intensive and I got some major problems >> like, lost connections, freezing sshfs mounts, requiring to killall ssh >> and sshfs or complete reboots. Freezing ssh servers behaving as some >> firewall block because something a sshfs mount is doing. The problems >> mostly accure when using sshfs heavy with multiple programs -> playing >> dvd, ogg files, writing data to the remote share. > > Which version? Quite serious bugs have been fixed in sshfs during the > last year, so first of all you should try upgrading to the latest > version, and see if these mysterious problems are still present. > > Thanks, > Miklos Thanks you for your response, Yesterday i put a lot of work in the creation of new debug packages for debian sid, i hope they will be accepted soon. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491210 I attached deb files in the report. This is my current version sshfs --version SSHFS version 2.0 FUSE library version: 2.7.3 fusermount version: 2.7.3 using FUSE kernel interface version 7.8 With standard user file open save close operations. I don't have real issues, but with heavy load like caching video it seems to go wrong. I have the idea it may have something to do with the -s option i use in sshfs. But more testing is nessesary. Now i created the sshf-fuse-dbg package, i have to find a workable way to backtrace sshfs process while playing multimedia trough a sshfs system. (hints welcome) Kind regards, And thanks for all the hard work, Jelle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingJelle de Jong <jelledejong@...> writes:
> Now i created the sshf-fuse-dbg package, i have to find a workable way > to backtrace sshfs process while playing multimedia trough a sshfs > system. (hints welcome) Start gdb and attach it to the running sshfs process, as explained on the ubuntu wiki. Best, -Nikolaus -- »It is not worth an intelligent man's time to be in the majority. By definition, there are already enough people to do that.« -J.H. Hardy PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingNikolaus Rath wrote:
> Jelle de Jong <jelledejong@...> writes: >> Now i created the sshf-fuse-dbg package, i have to find a workable way >> to backtrace sshfs process while playing multimedia trough a sshfs >> system. (hints welcome) > > Start gdb and attach it to the running sshfs process, as explained on > the ubuntu wiki. > > Best, > > -Nikolaus > Yesterday I did a debug session, loaded gdb and attached sshfs and continued the process (see attachment). I start watching a dvd over my sshfs connection and after 16 minutes the player froze unrecoverable. I did a killall -9 totem-xine. Then i tried to access my sshfs mount but this one was also completely frozen hanging my thunar file-manager. So i did a killall -9 sshfs. This made my system working again. I did a back-trace with gdb but no info came out of it. I remounted my sshfs and watched the rest of the dvd without problems. Any idea's how to provide more debug info? Thanks in advance, Jelle GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) attach 2312 Attaching to process 2312 Reading symbols from /usr/bin/sshfs...Reading symbols from /usr/lib/debug/usr/bin/sshfs...done. done. Reading symbols from /usr/lib/libfuse.so.2...done. Loaded symbols for /usr/lib/libfuse.so.2 Reading symbols from /lib/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/i686/cmov/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/i686/cmov/librt.so.1...done. Loaded symbols for /lib/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0xb7d36960 (LWP 2312)] [New Thread 0xb7d13b90 (LWP 2313)] Loaded symbols for /lib/i686/cmov/libpthread.so.0 Reading symbols from /lib/i686/cmov/libc.so.6...done. Loaded symbols for /lib/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libselinux.so.1...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 0xb7fde424 in __kernel_vsyscall () (gdb) continue Continuing. Program terminated with signal SIGKILL, Killed. The program no longer exists. (gdb) backtrace full No stack. (gdb) info registers The program has no registers now. (gdb) thread apply all backtrace No registers. (gdb) quit ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingJelle de Jong <jelledejong@...> writes:
> Nikolaus Rath wrote: >> Jelle de Jong <jelledejong@...> writes: >>> Now i created the sshf-fuse-dbg package, i have to find a workable way >>> to backtrace sshfs process while playing multimedia trough a sshfs >>> system. (hints welcome) >> >> Start gdb and attach it to the running sshfs process, as explained on >> the ubuntu wiki. > > Yesterday I did a debug session, loaded gdb and attached sshfs and > continued the process (see attachment). > > I start watching a dvd over my sshfs connection and after 16 minutes > the player froze unrecoverable. I did a killall -9 totem-xine. Then i > tried to access my sshfs mount but this one was also completely frozen > hanging my thunar file-manager. So i did a killall -9 sshfs. This made > my system working again. I did a back-trace with gdb but no info came > out of it. I remounted my sshfs and watched the rest of the dvd > without problems. > > Any idea's how to provide more debug info? Yeah, you need to do the backtrace *before* killing the process. Otherwise there is nothing left that gdb could do any work on. So *before* you do any killall calls, create the backtraces. Best, -Nikolaus -- »It is not worth an intelligent man's time to be in the majority. By definition, there are already enough people to do that.« -J.H. Hardy PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debugingNikolaus Rath wrote:
> Jelle de Jong <jelledejong@...> writes: >> Nikolaus Rath wrote: >>> Jelle de Jong <jelledejong@...> writes: >>>> Now i created the sshf-fuse-dbg package, i have to find a workable way >>>> to backtrace sshfs process while playing multimedia trough a sshfs >>>> system. (hints welcome) >>> Start gdb and attach it to the running sshfs process, as explained on >>> the ubuntu wiki. >> Yesterday I did a debug session, loaded gdb and attached sshfs and >> continued the process (see attachment). >> >> I start watching a dvd over my sshfs connection and after 16 minutes >> the player froze unrecoverable. I did a killall -9 totem-xine. Then i >> tried to access my sshfs mount but this one was also completely frozen >> hanging my thunar file-manager. So i did a killall -9 sshfs. This made >> my system working again. I did a back-trace with gdb but no info came >> out of it. I remounted my sshfs and watched the rest of the dvd >> without problems. >> >> Any idea's how to provide more debug info? > > Yeah, you need to do the backtrace *before* killing the process. > Otherwise there is nothing left that gdb could do any work on. > > So *before* you do any killall calls, create the backtraces. > Last to days I gathered three backtrace reports after three sshfs freezes. I attached the reports as attachments. Is this information that you can use to find the problem? Best regards, Jelle GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) attach 3990 Attaching to process 3990 Reading symbols from /usr/bin/sshfs...Reading symbols from /usr/lib/debug/usr/bin/sshfs...done. done. Reading symbols from /usr/lib/libfuse.so.2...done. Loaded symbols for /usr/lib/libfuse.so.2 Reading symbols from /lib/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/i686/cmov/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/i686/cmov/librt.so.1...done. Loaded symbols for /lib/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0xb7cc6960 (LWP 3990)] [New Thread 0xb7ca3b90 (LWP 3991)] Loaded symbols for /lib/i686/cmov/libpthread.so.0 Reading symbols from /lib/i686/cmov/libc.so.6...done. Loaded symbols for /lib/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libselinux.so.1...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 0xb7f6e424 in __kernel_vsyscall () (gdb) continue Continuing. Program received signal SIGTERM, Terminated. [Switching to Thread 0xb7cc6960 (LWP 3990)] 0xb7f6e424 in __kernel_vsyscall () (gdb) backtrace full #0 0xb7f6e424 in __kernel_vsyscall () No symbol table info available. #1 0xb7e713a5 in sem_wait@@GLIBC_2.1 () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #2 0x0804b2c8 in sftp_request_wait (req=0xfffffe00, type=5 '\005', expect_type=103 'g', outbuf=0xbff8a0d8) at sshfs.c:1616 err = <value optimized out> #3 0x0804c28a in sftp_request_iov (type=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, expect_type=103 'g', outbuf=0xbff8a0d8) at sshfs.c:1735 req = (struct request *) 0x975d530 #4 0x0804c2cf in sftp_request (type=0 '\0', buf=<value optimized out>, expect_type=<value optimized out>, outbuf=0xbff8a0d8) at sshfs.c:1744 iov = {iov_base = 0x975d008, iov_len = 20} #5 0x0804f9ef in sshfs_read (path=0x9758bf0 "/home/user/media/series/DVD/DVD_S05/DVD_S05D05B.iso", rbuf=0x9768ad0 "", size=65536, offset=263749632, fi=0xbff8a20c) at sshfs.c:2268 sf = (struct sshfs_file *) 0x9759320 #6 0xb7f4c26e in fuse_fs_read () from /usr/lib/libfuse.so.2 No symbol table info available. #7 0xb7f50a13 in ?? () from /usr/lib/libfuse.so.2 No symbol table info available. #8 0x097325a0 in ?? () No symbol table info available. #9 0x09758bf0 in ?? () No symbol table info available. #10 0x09768ad0 in ?? () No symbol table info available. #11 0x00010000 in ?? () No symbol table info available. #12 0x0fb88000 in ?? () No symbol table info available. #13 0x00000000 in ?? () No symbol table info available. (gdb) info registers eax 0xfffffe00 -512 ecx 0x80 128 edx 0x0 0 ebx 0x975d534 158717236 esp 0xbff89fe0 0xbff89fe0 ebp 0xbff8a038 0xbff8a038 esi 0x0 0 edi 0x67 103 eip 0xb7f6e424 0xb7f6e424 <__kernel_vsyscall+16> eflags 0x246 [ PF ZF IF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) thread apply all backtrace Thread 2 (Thread 0xb7ca3b90 (LWP 3991)): #0 0xb7f6e424 in __kernel_vsyscall () #1 0xb7e7209b in read () from /lib/i686/cmov/libpthread.so.0 #2 0x08049fa9 in do_read (buf=<value optimized out>) at sshfs.c:1111 #3 0x0804a9a2 in sftp_read (type=0xb7ca3367 "g", buf=0xb7ca334c) at sshfs.c:1142 #4 0x0804aac1 in process_requests (data_=0x0) at sshfs.c:1202 #5 0xb7e6b4b0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb7dea38e in clone () from /lib/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7cc6960 (LWP 3990)): #0 0xb7f6e424 in __kernel_vsyscall () #1 0xb7e713a5 in sem_wait@@GLIBC_2.1 () from /lib/i686/cmov/libpthread.so.0 #2 0x0804b2c8 in sftp_request_wait (req=0xfffffe00, type=5 '\005', expect_type=103 'g', outbuf=0xbff8a0d8) at sshfs.c:1616 #3 0x0804c28a in sftp_request_iov (type=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, expect_type=103 'g', outbuf=0xbff8a0d8) at sshfs.c:1735 #4 0x0804c2cf in sftp_request (type=0 '\0', buf=<value optimized out>, expect_type=<value optimized out>, outbuf=0xbff8a0d8) at sshfs.c:1744 #5 0x0804f9ef in sshfs_read (path=0x9758bf0 "/home/user/media/series/DVD/DVD_S05/DVD_S05D05B.iso", rbuf=0x9768ad0 "", size=65536, offset=263749632, fi=0xbff8a20c) at sshfs.c:2268 #6 0xb7f4c26e in fuse_fs_read () from /usr/lib/libfuse.so.2 #7 0xb7f50a13 in ?? () from /usr/lib/libfuse.so.2 #8 0x097325a0 in ?? () #9 0x09758bf0 in ?? () #10 0x09768ad0 in ?? () #11 0x00010000 in ?? () #12 0x0fb88000 in ?? () #13 0x00000000 in ?? () (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: /usr/bin/sshfs, process 3990 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) attach 2132 Attaching to process 2132 Reading symbols from /usr/bin/sshfs...Reading symbols from /usr/lib/debug/usr/bin/sshfs...done. done. Reading symbols from /usr/lib/libfuse.so.2...done. Loaded symbols for /usr/lib/libfuse.so.2 Reading symbols from /lib/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/i686/cmov/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/i686/cmov/librt.so.1...done. Loaded symbols for /lib/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0xb7c65960 (LWP 2132)] [New Thread 0xb7c42b90 (LWP 2133)] Loaded symbols for /lib/i686/cmov/libpthread.so.0 Reading symbols from /lib/i686/cmov/libc.so.6...done. Loaded symbols for /lib/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libselinux.so.1...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 0xb7f0d424 in __kernel_vsyscall () (gdb) continue Continuing. Program received signal SIGTERM, Terminated. [Switching to Thread 0xb7c65960 (LWP 2132)] 0xb7f0d424 in __kernel_vsyscall () (gdb) backtrace full #0 0xb7f0d424 in __kernel_vsyscall () No symbol table info available. #1 0xb7e103a5 in sem_wait@@GLIBC_2.1 () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #2 0x0804b2c8 in sftp_request_wait (req=0xfffffe00, type=5 '\005', expect_type=103 'g', outbuf=0xbf926a78) at sshfs.c:1616 err = <value optimized out> #3 0x0804c28a in sftp_request_iov (type=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, expect_type=103 'g', outbuf=0xbf926a78) at sshfs.c:1735 req = (struct request *) 0x86b6ad0 #4 0x0804c2cf in sftp_request (type=0 '\0', buf=<value optimized out>, expect_type=<value optimized out>, outbuf=0xbf926a78) at sshfs.c:1744 iov = {iov_base = 0x86b7f88, iov_len = 20} #5 0x0804f9ef in sshfs_read (path=0x86b7990 "/home/user/media/series/DVD/DVD_S05/DVD_S05D05B.iso", rbuf=0x86b9310 "", size=65536, offset=1189826560, fi=0xbf926bac) at sshfs.c:2268 sf = (struct sshfs_file *) 0x86b5660 #6 0xb7eeb26e in fuse_fs_read () from /usr/lib/libfuse.so.2 No symbol table info available. #7 0xb7eefa13 in ?? () from /usr/lib/libfuse.so.2 No symbol table info available. #8 0x086955a0 in ?? () No symbol table info available. #9 0x086b7990 in ?? () No symbol table info available. #10 0x086b9310 in ?? () No symbol table info available. #11 0x00010000 in ?? () No symbol table info available. #12 0x46eb5000 in ?? () No symbol table info available. #13 0x00000000 in ?? () No symbol table info available. (gdb) info registers eax 0xfffffe00 -512 ecx 0x80 128 edx 0x0 0 ebx 0x86b6ad4 141257428 esp 0xbf926980 0xbf926980 ebp 0xbf9269d8 0xbf9269d8 esi 0x0 0 edi 0x67 103 eip 0xb7f0d424 0xb7f0d424 <__kernel_vsyscall+16> eflags 0x246 [ PF ZF IF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) thread apply all backtrace Thread 2 (Thread 0xb7c42b90 (LWP 2133)): #0 0xb7f0d424 in __kernel_vsyscall () #1 0xb7e1109b in read () from /lib/i686/cmov/libpthread.so.0 #2 0x08049fa9 in do_read (buf=<value optimized out>) at sshfs.c:1111 #3 0x0804a9a2 in sftp_read (type=0xb7c42367 "g", buf=0xb7c4234c) at sshfs.c:1142 #4 0x0804aac1 in process_requests (data_=0x0) at sshfs.c:1202 #5 0xb7e0a4b0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb7d8938e in clone () from /lib/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7c65960 (LWP 2132)): #0 0xb7f0d424 in __kernel_vsyscall () #1 0xb7e103a5 in sem_wait@@GLIBC_2.1 () from /lib/i686/cmov/libpthread.so.0 #2 0x0804b2c8 in sftp_request_wait (req=0xfffffe00, type=5 '\005', expect_type=103 'g', outbuf=0xbf926a78) at sshfs.c:1616 #3 0x0804c28a in sftp_request_iov (type=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, expect_type=103 'g', outbuf=0xbf926a78) at sshfs.c:1735 #4 0x0804c2cf in sftp_request (type=0 '\0', buf=<value optimized out>, expect_type=<value optimized out>, outbuf=0xbf926a78) at sshfs.c:1744 #5 0x0804f9ef in sshfs_read (path=0x86b7990 "/home/user/media/series/DVD/DVD_S05/DVD_S05D05B.iso", rbuf=0x86b9310 "", size=65536, offset=1189826560, fi=0xbf926bac) at sshfs.c:2268 #6 0xb7eeb26e in fuse_fs_read () from /usr/lib/libfuse.so.2 #7 0xb7eefa13 in ?? () from /usr/lib/libfuse.so.2 #8 0x086955a0 in ?? () #9 0x086b7990 in ?? () #10 0x086b9310 in ?? () #11 0x00010000 in ?? () #12 0x46eb5000 in ?? () #13 0x00000000 in ?? () (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: /usr/bin/sshfs, process 2132 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) attach 1973 Attaching to process 1973 Reading symbols from /usr/bin/sshfs...Reading symbols from /usr/lib/debug/usr/bin/sshfs...done. done. Reading symbols from /usr/lib/libfuse.so.2...done. Loaded symbols for /usr/lib/libfuse.so.2 Reading symbols from /lib/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/i686/cmov/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/i686/cmov/librt.so.1...done. Loaded symbols for /lib/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0xb7c72960 (LWP 1973)] [New Thread 0xb7c4fb90 (LWP 1974)] Loaded symbols for /lib/i686/cmov/libpthread.so.0 Reading symbols from /lib/i686/cmov/libc.so.6...done. Loaded symbols for /lib/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libselinux.so.1...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 0xb7f1a424 in __kernel_vsyscall () (gdb) continue Continuing. Program received signal SIGTERM, Terminated. [Switching to Thread 0xb7c72960 (LWP 1973)] 0xb7f1a424 in __kernel_vsyscall () (gdb) backtrace full #0 0xb7f1a424 in __kernel_vsyscall () No symbol table info available. #1 0xb7e1d3a5 in sem_wait@@GLIBC_2.1 () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #2 0x0804b2c8 in sftp_request_wait (req=0xfffffe00, type=5 '\005', expect_type=103 'g', outbuf=0xbfb36488) at sshfs.c:1616 err = <value optimized out> #3 0x0804c28a in sftp_request_iov (type=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, expect_type=103 'g', outbuf=0xbfb36488) at sshfs.c:1735 req = (struct request *) 0xb7306f90 #4 0x0804c2cf in sftp_request (type=0 '\0', buf=<value optimized out>, expect_type=<value optimized out>, outbuf=0xbfb36488) at sshfs.c:1744 iov = {iov_base = 0xb730acb0, iov_len = 20} #5 0x0804f9ef in sshfs_read (path=0xb730b0d0 "/home/user/media/series/DVD/DVD_S05/DVD_S05D05B.iso", rbuf=0xb731f6f8 "", size=65536, offset=6602395648, fi=0xbfb365bc) at sshfs.c:2268 sf = (struct sshfs_file *) 0xb73012e0 #6 0xb7ef826e in fuse_fs_read () from /usr/lib/libfuse.so.2 No symbol table info available. #7 0xb7efca13 in ?? () from /usr/lib/libfuse.so.2 No symbol table info available. #8 0x098485a0 in ?? () No symbol table info available. #9 0xb730b0d0 in ?? () No symbol table info available. #10 0xb731f6f8 in ?? () No symbol table info available. #11 0x00010000 in ?? () No symbol table info available. #12 0x89889000 in ?? () No symbol table info available. #13 0x00000001 in ?? () No symbol table info available. #14 0xbfb365bc in ?? () No symbol table info available. #15 0x00000000 in ?? () No symbol table info available. (gdb) info registers eax 0xfffffe00 -512 ecx 0x80 128 edx 0x0 0 ebx 0xb7306f94 -1221562476 esp 0xbfb36390 0xbfb36390 ebp 0xbfb363e8 0xbfb363e8 esi 0x0 0 edi 0x67 103 eip 0xb7f1a424 0xb7f1a424 <__kernel_vsyscall+16> eflags 0x246 [ PF ZF IF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) thread apply all backtrace Thread 2 (Thread 0xb7c4fb90 (LWP 1974)): #0 0xb7f1a424 in __kernel_vsyscall () #1 0xb7e1e09b in read () from /lib/i686/cmov/libpthread.so.0 #2 0x08049fa9 in do_read (buf=<value optimized out>) at sshfs.c:1111 #3 0x0804a9a2 in sftp_read (type=0xb7c4f367 "g", buf=0xb7c4f34c) at sshfs.c:1142 #4 0x0804aac1 in process_requests (data_=0x0) at sshfs.c:1202 #5 0xb7e174b0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb7d9638e in clone () from /lib/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7c72960 (LWP 1973)): #0 0xb7f1a424 in __kernel_vsyscall () #1 0xb7e1d3a5 in sem_wait@@GLIBC_2.1 () from /lib/i686/cmov/libpthread.so.0 #2 0x0804b2c8 in sftp_request_wait (req=0xfffffe00, type=5 '\005', expect_type=103 'g', outbuf=0xbfb36488) at sshfs.c:1616 #3 0x0804c28a in sftp_request_iov (type=<value optimized out>, iov=<value optimized out>, count=<value optimized out>, expect_type=103 'g', outbuf=0xbfb36488) at sshfs.c:1735 #4 0x0804c2cf in sftp_request (type=0 '\0', buf=<value optimized out>, expect_type=<value optimized out>, outbuf=0xbfb36488) at sshfs.c:1744 #5 0x0804f9ef in sshfs_read (path=0xb730b0d0 "/home/user/download/usenet/series/DVD/DVD_S05/DVD_S05D05B.iso", rbuf=0xb731f6f8 "", size=65536, offset=6602395648, fi=0xbfb365bc) at sshfs.c:2268 #6 0xb7ef826e in fuse_fs_read () from /usr/lib/libfuse.so.2 #7 0xb7efca13 in ?? () from /usr/lib/libfuse.so.2 #8 0x098485a0 in ?? () #9 0xb730b0d0 in ?? () #10 0xb731f6f8 in ?? () #11 0x00010000 in ?? () #12 0x89889000 in ?? () #13 0x00000001 in ?? () #14 0xbfb365bc in ?? () #15 0x00000000 in ?? () (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: /usr/bin/sshfs, process 1973 /usr/bin/sshfs -s -o allow_root -o sshfs_sync user@...:/ /mnt/domain-server-user/root/ ssh -x -a -oClearAllForwardings=yes -2 jelle@... -s sftp steps to reproduce: 1: mount the sshfs mount with the sshfs mount command 2: go to directory with video dvd iso images 3: mounted the dvd in the same directory 4: loaded the video_ts direcorty in totem-xine 5: start waching the movie 6: *sometimes* the sshfs just freezes and does not respond anymore 7: i have to kill sshfs and when possible remount the sshfs or reboot the client computer ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: want to help do some debuging |