Public bug reported:

When attempting to mount an E01 file with affuse, it fails with:

$ sudo affuse test.E01 /mnt/tmp
Can't open image file: Success

Rerunning with strace to see what's going on, I see that affuse never
even tries to open test.E01, but dies before getting that far. Here are
the last 9 lines output in the strace log:

dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fe8af4d7000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "Can't open image file: Success\n", 31) = 31
close(3)                                = 0
munmap(0x7fe8af4d7000, 4096)            = 0
exit_group(1)                           = ?

So it apparently tries to lseek() to the current offset(!) in file
descriptor 3, which is a duplicate of file descriptor 2, which is
STDERR.

As far as I know, this was a bug in Ubuntu 11.10 as well, but worked
fine in Ubuntu 11.04.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: afflib-tools 3.6.6-1.1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Wed May  9 16:35:01 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: afflib
UpgradeStatus: Upgraded to precise on 2012-05-09 (0 days ago)

** Affects: afflib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/997145

Title:
  affuse fails when mounting E01 files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/afflib/+bug/997145/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to