Package: gtkpod
Version: 0.99.4-1
Severity: important

On my dual-core Athlon64 machine, gtkpod 0.99.4 crashes with
SIGSEGV whenever the iPod is mounted at the directory specified in the
preferences file.  This occurs whether I have the iPod mounted when I
start gtkpod or if I plug the iPod in after starting gtkpod.

I have run gtkpod from the command line with ulimit -c unlimited
and strace.  

The strace shows that the problem occurs immediately after reading
the ${ipod}/iPod_Control/Device/SysInfo file:

6988  stat("/media/SPW\'s iPod/iPod_Control/iTunes/iTunesDB",
{st_mode=S_IFREG|0700, st_size=2463978, ...}) = 0
6988  stat("/media/SPW\'s iPod/iPod_Control/Music", {st_mode=S_IFDIR|0700, 
st_size=16384, ...}) = 0
6988  open("/media/SPW\'s iPod/iPod_Control/Device/SysInfo", O_RDONLY) = 6
6988  fstat(6, {st_mode=S_IFREG|0700, st_size=328, ...}) = 0
6988  mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaaaaab000
6988  read(6, "pszBoardHwName: iPod P97\npszSeri"..., 16384) = 328
6988  read(6, "", 16384)                = 0
6988  close(6)                          = 0
6988  munmap(0x2aaaaaaab000, 16384)     = 0
6988  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
6990  <... nanosleep resumed> 0)        = ? ERESTART_RESTARTBLOCK (To be 
restarted)
6990  +++ killed by SIGSEGV (core dumped) +++

The core file shows the following back-trace:

(gdb) where
#0  0x00002b03aa5104b0 in strlen () from /lib/libc.so.6
#1  0x00002b03aa11bff3 in g_strdup () from /usr/lib/libglib-2.0.so.0
#2  0x00002b03a9fd6e0e in itdb_device_debug () from
/usr/lib/libgpod.so.0
#3  0x00002b03a9c895c0 in g_object_newv () from
/usr/lib/libgobject-2.0.so.0
#4  0x00002b03a9c89c4f in g_object_new_valist () from
/usr/lib/libgobject-2.0.so.0
#5  0x00002b03a9c89df1 in g_object_new () from
/usr/lib/libgobject-2.0.so.0
#6  0x00002b03a9fd5bbf in itdb_device_new () from /usr/lib/libgpod.so.0
#7  0x00002b03a9fcdbd6 in itdb_set_mountpoint () from
/usr/lib/libgpod.so.0
#8  0x000000000042ea4e in init_data ()
#9  0x0000000000441c11 in main ()

Since the crash is inside functions from libgpod0.so.0, this bug may really
belong to libgpod0.  I can confirm that this crashing behavior of gtkpod-0.99-4
is the same with both libgpod0-0.3.0-0.0 (amd64 sarge) and libgpod-0.3.2-1
(amd64 testing/unstable).

For completeness, here is the contents of the SysInfo file:
pszBoardHwName: iPod P97
pszSerialNumber: U23120KJMMF
pu8FirewireGuid: 0x000B7F75
buildID: 0x01408000 (1.4)
boardHwRev: 0x00000000 (0.0 0)
boardHwSwInterfaceRev: 0x00020001 (0.0.2 1)
bootLoaderImageRev: 0x00010000 (0.0.1 0)
diskModeImageRev: 0x00000000 (0.0 0)
diagImageRev: 0x00000000 (0.0 0)
osImageRev: 0x00000000 (0.0 0)


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-amd64-k8-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gtkpod depends on:
ii  libatk1.0-0                1.11.4-2      The ATK accessibility toolkit
ii  libc6                      2.3.6-7       GNU C Library: Shared libraries
ii  libcairo2                  1.0.4-2       The Cairo 2D vector graphics libra
ii  libfontconfig1             2.3.2-5.1     generic font configuration library
ii  libglade2-0                1:2.5.1-2+b1  library to load .glade files at ru
ii  libglib2.0-0               2.10.2-1      The GLib library of C routines
ii  libgpod0                   0.3.2-1       a library to read and write songs
ii  libgtk2.0-0                2.8.17-2      The GTK+ graphical user interface
ii  libid3tag0                 0.15.1b-8     ID3 tag reading library from the M
ii  libpango1.0-0              1.12.1-2      Layout and rendering of internatio
ii  libx11-6                   2:1.0.0-6     X11 client-side library
ii  libxcursor1                1.1.5.2-5     X cursor management library
ii  libxext6                   1:1.0.0-4     X11 miscellaneous extension librar
ii  libxi6                     1:1.0.0-5     X11 Input extension library
ii  libxinerama1               1:1.0.1-4     X11 Xinerama extension library
ii  libxml2                    2.6.24.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-4   X11 RandR extension library
ii  libxrender1                1:0.9.0.2-4   X Rendering Extension client libra
ii  zlib1g                     1:1.2.3-11    compression library - runtime

gtkpod recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to