idevicebackup crashed with SIGSEGV in fwrite()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Libimobiledevice |
Invalid
|
Undecided
|
Unassigned | ||
libimobiledevice (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
In this case, "foo" was a file, not a directory.
Crashed on start:
$ idevicebackup backup foo
Backup directory is "foo"
Started "com.apple.
Starting backup...
Creating Info.plist for new backup.
Segmentation fault (core dumped)
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: libimobiledevic
ProcVersionSign
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Mar 25 23:10:36 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
ProcCmdline: idevicebackup backup foo
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SegvAnalysis:
Segfault happened at: 0x7fe16781a654 <fwrite+52>: mov (%rcx),%eax
PC (0x7fe16781a654) ok
source "(%rcx)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: libimobiledevice
StacktraceTop:
fwrite () from /lib/x86_
?? ()
?? ()
?? ()
__libc_start_main () from /lib/x86_
Title: idevicebackup crashed with SIGSEGV in fwrite()
UpgradeStatus: Upgraded to natty on 2011-03-20 (5 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare video
visibility: | private → public |
StacktraceTop: write_to_ filename (filename=<value optimized out>, buffer=0x1125a00 "<?xml version=\"1.0\" encoding= \"UTF-8\ "?>\n<! DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http:// www.apple. com/DTDs/ PropertyList- 1.0.dtd\">\n<plist version= \"1.0\" >\n<dict> \n\t<key> Build Version<"..., length=969) at idevicebackup.c:258 write_to_ filename (plist=<value optimized out>, filename=0x10f4d70 "foo/Info.plist", format=<value optimized out>) at idevicebackup.c:302
_IO_fwrite (buf=0x1125a00, size=1, count=969, fp=0x0) at iofwrite.c:43
buffer_
plist_
main (argc=<value optimized out>, argv=<value optimized out>) at idevicebackup.c:936