You are not logged in.

#1 2016-02-29 21:00:50

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Partial Filesystem freeze when mounted cifs goes offline

Hi everybody,

When one of my cifs shares goes offline, I get a partial system freeze:
1) Any attempt to access the shares path will freeze the app (terminal or dolphin).
2) Any attempt to unmount (with umount) is also freezes the terminal.
3) Sometimes I get same symptoms as here:
http://lists.opensuse.org/opensuse-bugs … 02775.html
4) Restarting the cifs doesn't help.
5) Restarting the system does work.
6) Other parts of the system such as panels, and so on are also freezing after a while. So I have to restart.

umount crash log:

*** Error in `/bin/bash': free(): invalid pointer: 0x0000000000b25bc0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x6f364)[0x7f24308d8364]
/usr/lib/libc.so.6(+0x74d96)[0x7f24308ddd96]
/usr/lib/libc.so.6(+0x7557e)[0x7f24308de57e]
/usr/lib/libreadline.so.6(_rl_free_match_list+0x29)[0x7f243109a939]
/usr/lib/libreadline.so.6(rl_complete_internal+0x1f7)[0x7f243109ada7]
/usr/lib/libreadline.so.6(_rl_dispatch_subseq+0x260)[0x7f2431091fb0]
/usr/lib/libreadline.so.6(readline_internal_char+0x92)[0x7f2431092432]
/usr/lib/libreadline.so.6(readline+0x55)[0x7f2431092b65]
/bin/bash[0x41ad54]
/bin/bash[0x41ce69]
/bin/bash[0x41fb3a]
/bin/bash(yyparse+0x379)[0x423099]
/bin/bash(parse_command+0x5b)[0x41a69b]
/bin/bash(read_command+0x58)[0x41a768]
/bin/bash(reader_loop+0x119)[0x41a949]
/bin/bash(main+0xe66)[0x419446]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7f2430889710]
/bin/bash(_start+0x29)[0x419ba9]
======= Memory map: ========
00400000-004bd000 r-xp 00000000 08:02 4724938                            /usr/bin/bash
006bc000-006bd000 r--p 000bc000 08:02 4724938                            /usr/bin/bash
006bd000-006c1000 rw-p 000bd000 08:02 4724938                            /usr/bin/bash
006c1000-006cb000 rw-p 00000000 00:00 0 
00ad1000-00b34000 rw-p 00000000 00:00 0                                  [heap]
7f242c000000-7f242c021000 rw-p 00000000 00:00 0 
7f242c021000-7f2430000000 ---p 00000000 00:00 0 
7f2430400000-7f2430416000 r-xp 00000000 08:02 4722130                    /usr/lib/libgcc_s.so.1
7f2430416000-7f2430615000 ---p 00016000 08:02 4722130                    /usr/lib/libgcc_s.so.1
7f2430615000-7f2430616000 rw-p 00015000 08:02 4722130                    /usr/lib/libgcc_s.so.1
7f2430657000-7f2430662000 r-xp 00000000 08:02 4721852                    /usr/lib/libnss_files-2.23.so
7f2430662000-7f2430861000 ---p 0000b000 08:02 4721852                    /usr/lib/libnss_files-2.23.so
7f2430861000-7f2430862000 r--p 0000a000 08:02 4721852                    /usr/lib/libnss_files-2.23.so
7f2430862000-7f2430863000 rw-p 0000b000 08:02 4721852                    /usr/lib/libnss_files-2.23.so
7f2430863000-7f2430869000 rw-p 00000000 00:00 0 
7f2430869000-7f2430a01000 r-xp 00000000 08:02 4721799                    /usr/lib/libc-2.23.so
7f2430a01000-7f2430c00000 ---p 00198000 08:02 4721799                    /usr/lib/libc-2.23.so
7f2430c00000-7f2430c04000 r--p 00197000 08:02 4721799                    /usr/lib/libc-2.23.so
7f2430c04000-7f2430c06000 rw-p 0019b000 08:02 4721799                    /usr/lib/libc-2.23.so
7f2430c06000-7f2430c0a000 rw-p 00000000 00:00 0 
7f2430c0a000-7f2430c0c000 r-xp 00000000 08:02 4721856                    /usr/lib/libdl-2.23.so
7f2430c0c000-7f2430e0c000 ---p 00002000 08:02 4721856                    /usr/lib/libdl-2.23.so
7f2430e0c000-7f2430e0d000 r--p 00002000 08:02 4721856                    /usr/lib/libdl-2.23.so
7f2430e0d000-7f2430e0e000 rw-p 00003000 08:02 4721856                    /usr/lib/libdl-2.23.so
7f2430e0e000-7f2430e75000 r-xp 00000000 08:02 4722213                    /usr/lib/libncursesw.so.6.0
7f2430e75000-7f2431075000 ---p 00067000 08:02 4722213                    /usr/lib/libncursesw.so.6.0
7f2431075000-7f2431079000 r--p 00067000 08:02 4722213                    /usr/lib/libncursesw.so.6.0
7f2431079000-7f243107b000 rw-p 0006b000 08:02 4722213                    /usr/lib/libncursesw.so.6.0
7f243107b000-7f24310bc000 r-xp 00000000 08:02 4724860                    /usr/lib/libreadline.so.6.3
7f24310bc000-7f24312bb000 ---p 00041000 08:02 4724860                    /usr/lib/libreadline.so.6.3
7f24312bb000-7f24312bd000 r--p 00040000 08:02 4724860                    /usr/lib/libreadline.so.6.3
7f24312bd000-7f24312c3000 rw-p 00042000 08:02 4724860                    /usr/lib/libreadline.so.6.3
7f24312c3000-7f24312c5000 rw-p 00000000 00:00 0 
7f24312c5000-7f24312e8000 r-xp 00000000 08:02 4721798                    /usr/lib/ld-2.23.so
7f2431309000-7f24314a2000 r--p 00000000 08:02 4740143                    /usr/lib/locale/locale-archive
7f24314a2000-7f24314a7000 rw-p 00000000 00:00 0 
7f24314e7000-7f24314e8000 rw-p 00000000 00:00 0 
7f24314e8000-7f24314e9000 r--p 00023000 08:02 4721798                    /usr/lib/ld-2.23.so
7f24314e9000-7f24314ea000 rw-p 00024000 08:02 4721798                    /usr/lib/ld-2.23.so
7f24314ea000-7f24314eb000 rw-p 00000000 00:00 0 
7ffc7300f000-7ffc73030000 rw-p 00000000 00:00 0                          [stack]
7ffc731e0000-7ffc731e2000 r--p 00000000 00:00 0                          [vvar]
7ffc731e2000-7ffc731e4000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Warning: Program '/bin/bash' crashed.

After that the filesystem was unfrozen but the GUI wasn't. Had to restart. The system got frozen at the restart process ("A stop job....").

Any ideas?
Where do I find arch syslog?

Thanks

Last edited by Tharbad (2016-02-29 21:17:20)

Offline

#2 2016-03-01 09:30:32

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Partial Filesystem freeze when mounted cifs goes offline

Arch uses systemd which uses systemd-journald for logging. As for the problem at hand, how do you mount the share?

Moving to "Applications and Desktop Environments".

Offline

#3 2016-03-01 15:36:01

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: Partial Filesystem freeze when mounted cifs goes offline

x33a wrote:

Arch uses systemd which uses systemd-journald for logging. As for the problem at hand, how do you mount the share?

Moving to "Applications and Desktop Environments".

/etc/fstab

Offline

#4 2016-03-06 16:38:17

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: Partial Filesystem freeze when mounted cifs goes offline

Any other details needed?

Offline

#5 2016-03-06 16:50:53

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: Partial Filesystem freeze when mounted cifs goes offline

It's the same behavior I have with sshfs. So far, it seems that linux can't handle losing connection to filesystems gracefully.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#6 2016-03-06 19:03:19

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: Partial Filesystem freeze when mounted cifs goes offline

Any clue where in the kernel it should be handled? I'll try to open a ticket in the kernel development..

Offline

#7 2016-03-07 17:22:17

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: Partial Filesystem freeze when mounted cifs goes offline

No clue, sorry. I filed a bug against fuse/sshfs back then, but pretty much all I got out of that was "patches welcome" - understandable, but if I knew how/what to patch, I'd submit a patch and not open a bug report...


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#8 2016-04-02 09:28:02

Tharbad
Member
Registered: 2016-02-27
Posts: 333

Re: Partial Filesystem freeze when mounted cifs goes offline

I've added a workaround in the bug report.

Offline

Board footer

Powered by FluxBB