Bug 1429 - hangs when quitting
Summary: hangs when quitting
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: parted (show other bugs)
Version: unstable
Hardware: all Linux
: P5 major
Assignee: umka
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-19 18:56 MSD by imz
Modified: 2005-08-30 14:16 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imz 2002-10-19 18:56:58 MSD
Quite often parted hangs after the \'quit\' command (before this,the command sequence for parted was:

print
mkpart logical ext2 14000 15000
print
quit).

SIGQUIT makes it stop.
---

---
parted-1.5.6-alt2
kernel24-up-2.4.19-alt0.2

Here is what strace attached to the hanging process reports:

close(3)                                = 0
open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
ioctl(3, BLKFLSBUF, 0)                  = -1 EBADF (Bad file descriptor)
open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
ioctl(3, BLKFLSBUF, 0)                  = -1 EBADF (Bad file descriptor)
open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
ioctl(3, BLKFLSBUF, 0)                  = -1 EBADF (Bad file descriptor)
open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
ioctl(3, BLKFLSBUF, 0)                  = -1 EBADF (Bad file descriptor)
open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
.....

ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
ioctl(3, BLKFLSBUF, 0)                  = -1 EBADF (Bad file descriptor)
open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb6\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb7\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb8\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb9\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb10\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb11\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb12\", O_WRONLY|O_LARGEFILE) = 3
ioctl(3, BLKFLSBUF, 0)                  = 0
close(3)                                = 0
open(\"/dev/sdb13\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb14\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb15\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
ioctl(3, BLKFLSBUF, 0)                  = -1 EBADF (Bad file descriptor)
open(\"/dev/sdb0\", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open(\"/dev/sdb1\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb2\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb3\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb4\", O_WRONLY|O_LARGEFILE) = -1 ENXIO (No such device or address)
open(\"/dev/sdb5\", O_WRONLY|O_LARGEFILE) = 3
--- SIGQUIT (Quit) ---


Comment 1 inger@altlinux.org 2004-06-17 16:08:52 MSD
на последнем не воспроизводится