Your message dated Thu, 28 Dec 2006 15:40:35 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#369158: fixed in libgpod 0.4.0-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libgpod0
Version: 0.3.2-1
Severity: important

When I connect my iPod (original series) and run a program linked with
libgpod0 I get a segmentation fault.

Example:

 $ gtkpod
 Segmentation fault
 $

(If I run Rhythmbox, it dies as well).

I think it is due to the fact that the SysInfo-file on my iPod does
not have a "ModelNumStr"-line:

,----[ SysInfo ]
| pszBoardHwName: iPod P68 Prod
| pszSerialNumber: U22080PLLG6
| pu8FirewireGuid: 0x0002DBB0
| buildID: 0x01218000 (1.2.1)
| boardHwRev: 0x00000000 (0.0 0)
| boardHwSwInterfaceRev: 0x00010000 (0.0.1 0)
| bootLoaderImageRev: 0x00010000 (0.0.1 0)
| diskModeImageRev: 0x00000000 (0.0 0)
| diagImageRev: 0x00000000 (0.0 0)
| osImageRev: 0x00000000 (0.0 0)
| 
| 
| 
`----

The call to sysinfo_arr_get_dup() in line 1029 of src/ipod-device.c
results in the segmentation fault - because the function accesses a
non-initialized string in field_values[].

I've tried this, perhaps crude, patch to remedy the situation:

*** libgpod-0.3.2/src/ipod-device.c     Fri Mar  3 12:55:15 2006
--- libgpod-0.3.2-fixed/src/ipod-device.c       Sun Jun 18 23:11:37 2006
***************
*** 1002,1008 ****
                g_free(path);
                return FALSE;
        }
! 
        while(fgets(buf, sizeof(buf), fd)) {
                buf[strlen(buf) - 1] = '\0';
  
--- 1002,1013 ----
                g_free(path);
                return FALSE;
        }
! 
!       /* Initialize field_values: */
!       for (i=0; sysinfo_field_names[i] != NULL; i++) {
!               field_values[i]=g_strdup("");
!       }
! 
        while(fgets(buf, sizeof(buf), fd)) {
                buf[strlen(buf) - 1] = '\0';
  

I don't know if it is the correct way to fix the problem, but it does
help on my system - I can start gtkpod now.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-asjo-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libgpod0 depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libglib2.0-0                  2.10.3-1   The GLib library of C routines
ii  libgtk2.0-0                   2.8.18-1   The GTK+ graphical user interface 

Versions of packages libgpod0 recommends:
pn  libgpod-common                <none>     (no description available)

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: libgpod
Source-Version: 0.4.0-1

We believe that the bug you reported is fixed in the latest version of
libgpod, which is due to be installed in the Debian FTP archive:

libgpod-common_0.4.0-1_all.deb
  to pool/main/libg/libgpod/libgpod-common_0.4.0-1_all.deb
libgpod-dev_0.4.0-1_i386.deb
  to pool/main/libg/libgpod/libgpod-dev_0.4.0-1_i386.deb
libgpod0.4.0_0.4.0-1_i386.deb
  to pool/main/libg/libgpod/libgpod0.4.0_0.4.0-1_i386.deb
libgpod_0.4.0-1.diff.gz
  to pool/main/libg/libgpod/libgpod_0.4.0-1.diff.gz
libgpod_0.4.0-1.dsc
  to pool/main/libg/libgpod/libgpod_0.4.0-1.dsc
libgpod_0.4.0.orig.tar.gz
  to pool/main/libg/libgpod/libgpod_0.4.0.orig.tar.gz
python-gpod_0.4.0-1_i386.deb
  to pool/main/libg/libgpod/python-gpod_0.4.0-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <[EMAIL PROTECTED]> (supplier of updated libgpod package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 22 Dec 2006 18:38:47 +0100
Source: libgpod
Binary: libgpod-common libgpod-dev python-gpod libgpod0.4.0
Architecture: source i386 all
Version: 0.4.0-1
Distribution: experimental
Urgency: low
Maintainer: Frank Lichtenheld <[EMAIL PROTECTED]>
Changed-By: Frank Lichtenheld <[EMAIL PROTECTED]>
Description: 
 libgpod-common - a library to read and write songs and artwork to an iPod
 libgpod-dev - a library to read and write songs and artwork to an iPod
 libgpod0.4.0 - a library to read and write songs and artwork to an iPod
 python-gpod - a library to read and write songs and artwork to an iPod
Closes: 369158 374091 374356 389704 391556
Changes: 
 libgpod (0.4.0-1) experimental; urgency=low
 .
   * New upstream release (Closes: #389704)
     + Since this breaks the ABI without changing the soname
       but I want to upload this to experimental until a
       fixed upstream is available, rename libgpod0 to
       libgpod0.4.0 for the time being and conflict with
       libgpod0.
     + Add python-eyed3 (>= 0.6.6) to build-depends
       (Closes: #391556)
     + Adapt python-gpod to new python bindings build system
       (Closes: #374091)
     + Should fix reported segfaults (Closes: #369158, #374356)
     + Update copyright file
   * Bump pycompat to 2 (and bump build-depends accordingly)
   * Install the test scripts to libgpod-common as examples
   * Add Vcs-Svn information to control
   * Bump Standards-Version to 3.7.2 (no changes)
Files: 
 d87079b4a103009f2a16e46ced659d9c 870 libs optional libgpod_0.4.0-1.dsc
 e427e0409b0cb2d7e76b17915b1396fa 596066 libs optional libgpod_0.4.0.orig.tar.gz
 a03d9eaf3fb5832cf9f0b1265d5e825e 3701 libs optional libgpod_0.4.0-1.diff.gz
 b7aaaff09c1923e159187df5887a14ce 71174 libs optional 
libgpod-common_0.4.0-1_all.deb
 7e1388b92b702c585181feaedd041dcf 98318 libdevel optional 
libgpod-dev_0.4.0-1_i386.deb
 35b19bb2d8a567b2e590c3e05f9734f2 75682 libs optional 
libgpod0.4.0_0.4.0-1_i386.deb
 656ff2b1f271e763f89ee31ba4b3dbab 105950 python optional 
python-gpod_0.4.0-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFjBrTQbn06FtxPfARArGfAJ0cQhnHVwsLcE5FT0HxuOyoOWtFZACcDBP0
bHsSQEa1HLuFP5AKTQHgHP8=
=LEFS
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to