Bug 448081 - crash on big file open
Summary: crash on big file open
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-23 12:19 UTC by Alexey Kuznetsov
Modified: 2015-03-03 22:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-15 08:26:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
hans.patch (11.56 KB, text/plain)
2008-10-18 18:24 UTC, Alexey Kuznetsov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 536614 0 None None None Never

Description Alexey Kuznetsov 2008-05-23 12:19:19 UTC
Description of problem:
mount private folder on samba server (fedora 9 too), try to open 40gb file.

May 23 16:17:36 axet-laptop kernel: gvfs-fuse-daemo[2725]: segfault at 3 ip
003d1d28 sp b7688e38 error 4 in libc-2.8.so[362000+163000]

Comment 1 Alexey Kuznetsov 2008-05-23 12:26:38 UTC
more details:
Places/Connect to server
for windows share:
  * server: mini.tax.local
  * folder: axet
  * username: axet

Run VirtualBox 1.6.0
 Ctrl+D  
 add hdd image ~/.gvfs/axet on mini.tax.local/sda.vdi

crash...

[axet@axet-laptop ~]$ ls -aZ ~ |grep fs
ls: cannot access /home/axet/.gvfs: Transport endpoint is not connected
?---------  ? ?                                  .gvfs


Comment 2 Tomáš Bžatek 2008-06-06 14:48:30 UTC
I haven't been able to reproduce this issue on my system. However new gvfs
package contains many FUSE fixes. 

Could you please take gvfs-0.2.4-1 from testing and try if the issue is gone?

Similar issue from upstream: http://bugzilla.gnome.org/show_bug.cgi?id=536614

Comment 3 Fedora Update System 2008-06-06 14:49:37 UTC
gvfs-0.2.4-1.fc9 has been submitted as an update for Fedora 9

Comment 4 Alexey Kuznetsov 2008-06-06 19:57:59 UTC
somting going wrong.

- one time gvfs was crashed on mounting hdd.
- unable to create hdd on .gvfs/axet on mini/ folder
- unable to copy sda.vdi by cp command to gvfs folder


[axet@axet-laptop VDI]$ cp ~/.VirtualBox/VDI/sda.vdi .
cp: writing `./sda.vdi': Operation not supported

[axet@axet-laptop VDI]$ ll ~/.VirtualBox/VDI/ .
.:
total 0
-rwx------ 1 axet axet     167936 2008-06-06 23:55 sda.vdi
-rwx------ 1 axet axet 2218828288 2008-06-06 23:53 Windows XP.vdi

/home/axet/.VirtualBox/VDI/:
total 176
-rw------- 1 axet axet 1212928 2008-06-06 23:53 sda.vdi
[axet@axet-laptop VDI]$ 


Comment 5 Fedora Update System 2008-06-10 03:13:50 UTC
gvfs-0.2.4-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gvfs'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5124

Comment 6 Alexey Kuznetsov 2008-06-10 03:27:13 UTC
Comment #4 about gvfs-0.2.4-1.fc9

Comment 7 Alexey Kuznetsov 2008-08-23 19:26:44 UTC
Listening music from samba server with Amarok.

gvfs-fuse-daemo[21084]: segfault at 8 ip b6ff1b46 sp b5dff020 error 4 in libgvfsdbus.so[b6fe2000+24000]

Comment 8 Alexey Kuznetsov 2008-10-05 16:06:05 UTC
amarok + fuse samba share.

catch it up with gdb+debuginfo

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb626db90 (LWP 3787)]
0x00120b46 in run_sync_state_machine (file=0xa01a560, iterator=0x11f000 <iterate_seek_state_machine>, data=0xb626d05c, cancellable=0x0, error=0xb626d174)
    at gdaemonfileinputstream.c:450
450		      g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
(gdb) bt
#0  0x00120b46 in run_sync_state_machine (file=0xa01a560, iterator=0x11f000 <iterate_seek_state_machine>, data=0xb626d05c, cancellable=0x0, error=0xb626d174)
    at gdaemonfileinputstream.c:450
#1  0x00120db9 in g_daemon_file_input_stream_seek (stream=0xa01a560, offset=245760, type=G_SEEK_SET, cancellable=0x0, error=0xb626d174) at gdaemonfileinputstream.c:1223
#2  0x05915418 in g_file_input_stream_seekable_seek (seekable=<value optimized out>, offset=<value optimized out>, type=<value optimized out>, 
    cancellable=<value optimized out>, error=<value optimized out>) at gfileinputstream.c:346
#3  0x05922197 in IA__g_seekable_seek (seekable=<value optimized out>, offset=<value optimized out>, type=Could not find the frame base for "IA__g_seekable_seek".
) at gseekable.c:152
#4  0x0804be94 in vfs_read (path=0xa014a20 "/www on mini.local/music/Prodigy - The Fat Of The Land (1997) (MP3-EAC-320 kBs)/08 - The Prodigy - Firestarter.mp3", 
    buf=0xa02ad00 "\226)c9\022e�3��*\024��ÿ?\224'�\0031�p��\024P�n\204�w\225mj\t���U\222����WSX\212�eU\036��;^\237,�\221�-\213\032Hn;\b�K�\003\021�;ae�'\204�,�'\201��\t;\211\203|\tZK$\003�ǰ\026\213\225)\226N\225\225\022)\2248L&4�PP��7\036�#R\227\026�'M", size=131072, offset=245760, fi=0xb626d28c) at gvfsfusedaemon.c:1108
#5  0x00c4f66e in fuse_fs_read (fs=<value optimized out>, path=Could not find the frame base for "fuse_fs_read".
) at fuse.c:852
#6  0x00c554b1 in fuse_lib_read (req=<value optimized out>, ino=<value optimized out>, size=<value optimized out>, off=<value optimized out>, fi=<value optimized out>)
    at fuse.c:1959
#7  0x00c5a86a in do_read (req=<value optimized out>, nodeid=Could not find the frame base for "do_read".
) at fuse_lowlevel.c:623
#8  0x00c59099 in fuse_ll_process (data=<value optimized out>, buf=<value optimized out>, len=Could not find the frame base for "fuse_ll_process".
) at fuse_lowlevel.c:1182
#9  0x00c5bbf6 in fuse_session_process (se=Could not find the frame base for "fuse_session_process".
) at fuse_session.c:90
#10 0x00c57b89 in fuse_do_work (data=<value optimized out>) at fuse_loop_mt.c:100
#11 0x00c8232f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00bbd20e in clone () from /lib/libc.so.6
(gdb)

Comment 9 Tomáš Bžatek 2008-10-06 09:21:37 UTC
Upstream discussion in the mailing list: http://mail.gnome.org/archives/gvfs-list/2008-October/msg00001.html

Comment 10 Alexey Kuznetsov 2008-10-18 18:24:43 UTC
Created attachment 320764 [details]
hans.patch

work's forme.. applied on 0.2.5

Comment 11 Alexey Kuznetsov 2008-12-18 18:15:14 UTC
works fine under f10

Comment 12 Bug Zapper 2009-06-10 01:06:43 UTC
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 13 Bug Zapper 2009-07-15 08:26:40 UTC
Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.