#51 ✓resolved
Berkus

64bit ifuse crashes in libiphone when mounting

Reported by Berkus | June 12th, 2009 @ 03:32 PM

ArchLinux 64-bit. Installed latest released tarballs via AUR. When mounting iPod Touch either via konqueror or manually, libiphone crashes somewhere with the following backtrace:

mount.fuse.ifuse /dev/usbdev1.11_ep83

glibc detected mount.fuse.ifuse: double free or corruption (fasttop): 0x000000000251a490 *** ======= Backtrace: ========= /lib/libc.so.6[0x7fe10d51fa76] /lib/libc.so.6[0x7fe10d52514b] /lib/libc.so.6(realloc+0xf0)[0x7fe10d525580] /usr/lib/libgnutls.so.26(gnutls_ext_register+0x52)[0x7fe10dfb36b2] /usr/lib/libgnutls.so.26[0x7fe10dfb3778] /usr/lib/libgnutls.so.26(gnutls_global_init+0x131)[0x7fe10dfb9a11] /usr/lib/libiphone.so.0(get_keys_and_certs+0x7e)[0x7fe10e84a4ee] /usr/lib/libiphone.so.0(lockdownd_gen_pair_cert+0x2c8)[0x7fe10e8461e1] /usr/lib/libiphone.so.0(lockdownd_pair_device+0xb2)[0x7fe10e846bc0] /usr/lib/libiphone.so.0(iphone_lckd_new_client+0xec)[0x7fe10e847c7d] mount.fuse.ifuse[0x40152e]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fe10d4cc9ed] mount.fuse.ifuse[0x4013b9]
======= Memory map: ======== 00400000-00403000 r-xp 00000000 08:03 142522 /sbin/mount.fuse.ifuse
00602000-00603000 rw-p 00002000 08:03 142522 /sbin/mount.fuse.ifuse
024ec000-02546000 rw-p 024ec000 00:00 0 [heap]
7fe108000000-7fe108021000 rw-p 7fe108000000 00:00 0
7fe108021000-7fe10c000000 ---p 7fe108021000 00:00 0
7fe10c54b000-7fe10c561000 r-xp 00000000 08:03 65376 /usr/lib/libgcc_s.so.1
7fe10c561000-7fe10c760000 ---p 00016000 08:03 65376 /usr/lib/libgcc_s.so.1
7fe10c760000-7fe10c761000 rw-p 00015000 08:03 65376 /usr/lib/libgcc_s.so.1
7fe10c761000-7fe10c76c000 r-xp 00000000 08:03 236179 /lib/libnss_files-2.10.1.so
7fe10c76c000-7fe10c96c000 ---p 0000b000 08:03 236179 /lib/libnss_files-2.10.1.so
7fe10c96c000-7fe10c96d000 r--p 0000b000 08:03 236179 /lib/libnss_files-2.10.1.so
7fe10c96d000-7fe10c96e000 rw-p 0000c000 08:03 236179 /lib/libnss_files-2.10.1.so
7fe10c96e000-7fe10c971000 r-xp 00000000 08:03 68659 /usr/lib/libgpg-error.so.0.4.0
7fe10c971000-7fe10cb70000 ---p 00003000 08:03 68659 /usr/lib/libgpg-error.so.0.4.0
7fe10cb70000-7fe10cb71000 rw-p 00002000 08:03 68659 /usr/lib/libgpg-error.so.0.4.0
7fe10cb71000-7fe10cbf2000 r-xp 00000000 08:03 236421 /lib/libm-2.10.1.so
7fe10cbf2000-7fe10cdf1000 ---p 00081000 08:03 236421 /lib/libm-2.10.1.so
7fe10cdf1000-7fe10cdf2000 r--p 00080000 08:03 236421 /lib/libm-2.10.1.so
7fe10cdf2000-7fe10cdf3000 rw-p 00081000 08:03 236421 /lib/libm-2.10.1.so
7fe10cdf3000-7fe10ce66000 r-xp 00000000 08:03 65765 /usr/lib/libgcrypt.so.11.5.2
7fe10ce66000-7fe10d065000 ---p 00073000 08:03 65765 /usr/lib/libgcrypt.so.11.5.2
7fe10d065000-7fe10d069000 rw-p 00072000 08:03 65765 /usr/lib/libgcrypt.so.11.5.2
7fe10d069000-7fe10d07e000 r-xp 00000000 08:03 68700 /usr/lib/libz.so.1.2.3.3
7fe10d07e000-7fe10d27d000 ---p 00015000 08:03 68700 /usr/lib/libz.so.1.2.3.3
7fe10d27d000-7fe10d27e000 rw-p 00014000 08:03 68700 /usr/lib/libz.so.1.2.3.3
7fe10d27e000-7fe10d2ae000 r-xp 00000000 08:03 236284 /lib/libpcre.so.0.0.1
7fe10d2ae000-7fe10d4ad000 ---p 00030000 08:03 236284 /lib/libpcre.so.0.0.1
7fe10d4ad000-7fe10d4ae000 rw-p 0002f000 08:03 236284 /lib/libpcre.so.0.0.1
7fe10d4ae000-7fe10d5f9000 r-xp 00000000 08:03 237720 /lib/libc-2.10.1.so
7fe10d5f9000-7fe10d7f9000 ---p 0014b000 08:03 237720 /lib/libc-2.10.1.so
7fe10d7f9000-7fe10d7fd000 r--p 0014b000 08:03 237720 /lib/libc-2.10.1.so
7fe10d7fd000-7fe10d7fe000 rw-p 0014f000 08:03 237720 /lib/libc-2.10.1.so
7fe10d7fe000-7fe10d803000 rw-p 7fe10d7fe000 00:00 0
7fe10d803000-7fe10d819000 r-xp 00000000 08:03 237719 /lib/libpthread-2.10.1.so
7fe10d819000-7fe10da19000 ---p 00016000 08:03 237719 /lib/libpthread-2.10.1.so
7fe10da19000-7fe10da1a000 r--p 00016000 08:03 237719 /lib/libpthread-2.10.1.so
7fe10da1a000-7fe10da1b000 rw-p 00017000 08:03 237719 /lib/libpthread-2.10.1.so
7fe10da1b000-7fe10da1f000 rw-p 7fe10da1b000 00:00 0
7fe10da1f000-7fe10db72000 r-xp 00000000 08:03 16378 /usr/lib/libxml2.so.2.7.3
7fe10db72000-7fe10dd71000 ---p 00153000 08:03 16378 /usr/lib/libxml2.so.2.7.3
7fe10dd71000-7fe10dd7b000 rw-p 00152000 08:03 16378 /usr/lib/libxml2.so.2.7.3
7fe10dd7b000-7fe10dd7c000 rw-p 7fe10dd7b000 00:00 0
7fe10dd7c000-7fe10dd8c000 r-xp 00000000 08:03 16759 /usr/lib/libtasn1.so.3.1.5
7fe10dd8c000-7fe10df8b000 ---p 00010000 08:03 16759 /usr/lib/libtasn1.so.3.1.5
7fe10df8b000-7fe10df8c000 rw-p 0000f000 08:03 16759 /usr/lib/libtasn1.so.3.1.5
7fe10df8c000-7fe10e027000 r-xp 00000000 08:03 16773 /usr/lib/libgnutls.so.26.14.7
7fe10e027000-7fe10e227000 ---p 0009b000 08:03 16773 /usr/lib/libgnutls.so.26.14.7
7fe10e227000-7fe10e22e000 rw-p 0009b000 08:03 16773 /usr/lib/libgnutls.so.26.14.7
7fe10e22e000-7fe10e232000 r-xp 00000000 08:03 16367 /usr/lib/libgthread-2.0.so.0.2000.2
7fe10e232000-7fe10e431000 ---p 00004000 08:03 16367 /usr/lib/libgthread-2.0.so.0.2000.2
7fe10e431000-7fe10e432000 rw-p 00003000 08:03 16367 /usr/lib/libgthread-2.0.so.0.2000.2
7fe10e432000-7fe10e438000 r-xp 00000000 08:03 69618 /usr/lib/libusb-0.1.so.4.4.4
7fe10e438000-7fe10e638000 ---p 00006000 08:03 69618 /usr/lib/libusb-0.1.so.4.4.4
7fe10e638000-7fe10e63a000 rw-p 00006000 08:03 69618 /usr/lib/libusb-0.1.so.4.4.4
7fe10e63a000-7fe10e640000 r-xp 00000000 08:03 266728 /usr/lib/libplist.so.0.0.12
7fe10e640000-7fe10e83f000 ---p 00006000 08:03 266728 /usr/lib/libplist.so.0.0.12
7fe10e83f000-7fe10e840000 rw-p 00005000 08:03 266728 /usr/lib/libplist.so.0.0.12
7fe10e840000-7fe10e84f000 r-xp 00000000 08:03 266737 /usr/lib/libiphone.so.0.0.0
7fe10e84f000-7fe10ea4e000 ---p 0000f000 08:03 266737 /usr/lib/libiphone.so.0.0.0
7fe10ea4e000-7fe10ea4f000 rw-p 0000e000 08:03 266737 /usr/lib/libiphone.so.0.0.0
7fe10ea4f000-7fe10ea51000 r-xp 00000000 08:03 236180 /lib/libdl-2.10.1.so
7fe10ea51000-7fe10ec51000 ---p 00002000 08:03 236180 /lib/libdl-2.10.1.so
7fe10ec51000-7fe10ec52000 r--p 00002000 08:03 236180 /lib/libdl-2.10.1.so
7fe10ec52000-7fe10ec53000 rw-p 00003000 08:03 236180 /lib/libdl-2.10.1.so
7fe10ec53000-7fe10ec5a000 r-xp 00000000 08:03 236191 /lib/librt-2.10.1.so
7fe10ec5a000-7fe10ee59000 ---p 00007000 08:03 236191 /lib/librt-2.10.1.so
7fe10ee59000-7fe10ee5a000 r--p 00006000 08:03 236191 /lib/librt-2.10.1.so
7fe10ee5a000-7fe10ee5b000 rw-p 00007000 08:03 236191 /lib/librt-2.10.1.so
7fe10ee5b000-7fe10ee7a000 r-xp 00000000 08:03 237862 /lib/libfuse.so.2.7.4
7fe10ee7a000-7fe10f07a000 ---p 0001f000 08:03 237862 /lib/libfuse.so.2.7.4
7fe10f07a000-7fe10f07c000 rw-p 0001f000 08:03 237862 /lib/libfuse.so.2.7.4
7fe10f07c000-7fe10f13f000 r-xp 00000000 08:03 16365 /usr/lib/libglib-2.0.so.0.2000.2
7fe10f13f000-7fe10f33e000 ---p 000c3000 08:03 16365 /usr/lib/libglib-2.0.so.0.2000.2
7fe10f33e000-7fe10f340000 rw-p 000c2000 08:03 16365 /usr/lib/libglib-2.0.so.0.2000.2
7fe10f340000-7fe10f35d000 r-xp 00000000 08:03 236183 /lib/ld-2.10.1.so
7fe10f528000-7fe10f531000 rw-p 7fe10f528000 00:00 0
7fe10f55b000-7fe10f55c000 rw-p 7fe10f55b000 00:00 0
7fe10f55c000-7fe10f55d000 r--p 0001c000 08:03 236183 /lib/ld-2.10.1.so
7fe10f55d000-7fe10f55e000 rw-p 0001d000 08:03 236183 /lib/ld-2.10.1.so
7fff17549000-7fff1755e000 rw-p 7ffffffea000 00:00 0 [stack]
7fff175ff000-7fff17600000 r-xp 7fff175ff000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
bash-3.2#

Comments and changes to this ticket

  • Martin S.

    Martin S. June 12th, 2009 @ 05:05 PM

    • Tag changed from 65bit, ifuse, libiphone, mount, segfault, x86_64 to 64bit, ifuse, libiphone, mount, segfault, x86_64

    Please supply your gnutls, libiphone and ifuse version.
    What is the full mount command you use to get this error?

  • Martin S.

    Martin S. July 1st, 2009 @ 12:21 PM

    • State changed from “new” to “hold”

    Please verify with latest release, otherwise the ticket will be closed as resolve soon.

  • Nikias Bassen

    Nikias Bassen December 6th, 2009 @ 05:18 PM

    • State changed from “hold” to “resolved”

    This ticket is too old now. Setting as resolved as the latest release definitely does not have this error.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Referenced by

Pages