[Pkg-gtkpod-devel] Bug#745844: Bug#745844: libimobiledevice-utils: Segfault with iphone 3GS on many utilities

Jean-Christophe Dubacq jcdubacq1 at free.fr
Mon Apr 28 05:37:01 UTC 2014


On 28/04/2014 04:10, Chow Loong Jin wrote:
> On Fri, Apr 25, 2014 at 08:33:41PM +0200, Jean-Christophe Dubacq wrote:
>> Package: libimobiledevice-utils
>> Version: 1.1.6+dfsg-1
>> Severity: important
>>
>> Dear Maintainer,
>>
>> I work under the gnome-shell environment, with systemd, network-manager,
>> and every recommended package for this (batteries included).
>>
>> When plugging my iphone 3GS (under iOS 5, if I am not mistaken; definitely not
>> iOS 7), I get the following log trace:
> 
> Could you try installing libplist-dbg and libimobiledevice4-dbg and redoing the
> gdb step?
> 

I did. The results are below.
Remark that I have to plug twice the device before getting something
other than "No device found, is it plugged in?". It may not be new. It
may also be because when inserting the device, the udev machinery tries
to use some exec that segfaults (same as ideviceinfo).

root at fiona:/home/jcdubacq# gdb ideviceinfo
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ideviceinfo...Reading symbols from
/usr/lib/debug/.build-id/fc/9caf646af2806d98ca454939f1c582883ddaf9.debug...done.
done.
(gdb) run
Starting program: /usr/bin/ideviceinfo
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106	../sysdeps/x86_64/strlen.S: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff747081e in __GI___strdup (s=0x0) at strdup.c:41
#2  0x00007ffff7bd81da in plist_new_string (val=0x0) at plist.c:118
#3  0x00007ffff79be93c in pair_record_generate (pair_record=0x7fffffffe430,
    client=0x6498d0) at lockdown.c:879
#4  lockdownd_do_pair (client=0x6498d0, pair_record=pair_record at entry=0x0,
    verb=<optimized out>, verb at entry=0x7ffff79cae65 "Pair") at
lockdown.c:939
#5  0x00007ffff79bee2c in lockdownd_pair (client=<optimized out>,
    pair_record=pair_record at entry=0x0) at lockdown.c:1102
#6  0x00007ffff79bf403 in lockdownd_client_new_with_handshake (
    device=<optimized out>, client=client at entry=0x7fffffffe510,
    label=label at entry=0x401dbf "ideviceinfo") at lockdown.c:774
#7  0x0000000000401567 in main (argc=1, argv=<optimized out>)
    at ideviceinfo.c:363

The same device on a wheezy platform works fine, btw.

Sincerely,
-- 
Jean-Christophe Dubacq

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 242 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gtkpod-devel/attachments/20140428/b1423149/attachment.sig>


More information about the Pkg-gtkpod-devel mailing list