Bug 1429 - hangs when quitting
: hangs when quitting
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/parted)
: unstable
: all Linux
: P5 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2002-10-19 18:56 by
Modified: 2005-08-30 14:16 (History)


Attachments


Note

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


Description From 2002-10-19 18:56:58
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 From 2004-06-17 16:08:52 -------
на последнем не воспроизводится