bugThe GNU Hurd - Bugs: bug #32755, tmpfs crashes on filling an empty...

 
 

bug #32755: tmpfs crashes on filling an empty file

Submitter:  None
Submitted:  Sat 12 Mar 2011 12:03:39 PM UTC
   
 
Category:  Hurd Servers Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  mplaneta Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Closed
Reproducibility:  None Size (loc):  None
Planned Release:  None Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 03 Mar 2013 08:32:19 PM UTC, comment #4: 

As per Maksym's comments, this has been fixed some time ago.

Pino Toscano <pinotree>
Group Member
Fri 25 Nov 2011 05:37:10 AM UTC, comment #3: 

Thomas, exactly filling of empty file works. But I'm going to close this bug when all errors I find in tmpfs will be fixed. Just to not open new bugs.

Maksym Planeta <mplaneta>
Group Member
Thu 24 Nov 2011 08:38:31 AM UTC, comment #2: 

Maksym, is this fixed already?  If yes, please set to Status: Fixed, and Open/Closed: Closed.

Thomas Schwinge <tschwinge>
Group administrator
Sat 12 Mar 2011 12:11:59 PM UTC, comment #1: 

More importantly, that makes the defpager crash:

/hurd/mach-defpager: panic: memory_object_lock_request: 268435459

(EMACH_SEND_INVALID_DEST)

Anonymous
Sat 12 Mar 2011 12:03:39 PM UTC, original submission:  

Hello,

$ settrans -c foo /hurd/tmpfs 1M
$ cd foo
$ touch bar
$ echo baz > bar
Resource lost

gdb shows:

#7  0x01127011 in __assert_perror_fail (errnum=17,
    file=0x804df88 "/home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./tmpfs/node.c", line=519, function=0x804df1f "diskfs_get_filemap")
    at assert-perr.c:80
#8  0x0804afa6 in diskfs_get_filemap (np=0x80577b8, prot=1)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./tmpfs/node.c:519
#9  0x0105d247 in _diskfs_rdwr_internal (np=0x80577b8, data=0x134deac "",
    offset=<value optimized out>, amt=0x134bd60, dir=0, notime=0)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libdiskfs/rdwr-internal.c:56
#10 0x01057ba5 in diskfs_S_io_read (cred=0x8051400, data=0x134bd5c,
    datalen=0x134bd60, offset=-1, maxread=2)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libdiskfs/io-read.c:95
#11 0x0105a4b5 in _Xio_read (InHeadP=0x134be70, OutHeadP=0x134de80)
    at ioServer.c:234
#12 0x01058baf in diskfs_io_server (InHeadP=0x1f, OutHeadP=0xffffffe7)
    at ioServer.c:2005
#13 0x010489dc in diskfs_demuxer (inp=0x134be70, outp=0x134de80)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libdiskfs/demuxer.c:33
#14 0x010c0163 in internal_demuxer (inp=0x134be70, outheadp=0x134de80)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libports/manage-multithread.c:101
#15 0x010efe16 in __mach_msg_server_timeout (demux=0x134ff38, max_size=8192,
    rcv_name=20, option=2048, timeout=0) at msgserver.c:109
#16 0x010bfeb0 in thread_function (master=1)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libports/manage-multithread.c:136
#17 0x010bffc7 in ports_manage_port_operations_multithread (bucket=0x8050050,
    demuxer=0x804a038 <diskfs_demuxer@plt>, hook=0)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libports/manage-multithread.c:164
#18 0x01056236 in master_thread_function (demuxer=0x804a038)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libdiskfs/init-first.c:37
#19 0x010bb058 in cthread_body (self=0x80502b0)
    at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libthreads/cthreads.c:300

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mplaneta (Posted a comment)
  • -email is unavailable- added by tschwinge (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-03-03 pinotree CategoryNone Hurd Servers
        Open/ClosedOpen Closed
    2012-04-09 mplaneta StatusIn Progress Fixed
    2011-11-24 tschwinge StatusNone In Progress
        Assigned toNone mplaneta

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code