URL: <http://savannah.gnu.org/bugs/?32755>
Summary: tmpfs crashes on filling an empty file Project: The GNU Hurd Submitted by: None Submitted on: sam. 12 mars 2011 12:03:39 UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Reproducibility: None Size (loc): None Planned Release: None Effort: 0.00 Wiki-like text discussion box: _______________________________________________________ Details: 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 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?32755> _______________________________________________ Message posté via/par Savannah http://savannah.gnu.org/