Your message dated Thu, 29 Jul 2010 15:51:44 +0100
with message-id <1280415104.13192.273.ca...@localhost>
and subject line Re: Bug#539147: libgphoto2-2: does not install: segfault while 
configuring
has caused the Debian Bug report #539147,
regarding libgphoto2-2: does not install: segfault while configuring
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
539147: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539147
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgphoto2-2
Version: 2.4.6-1
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-486
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgphoto2-2 depends on:
ii  adduser                       3.110      add and remove users and groups
ii  libc6                         2.9-12     GNU C Library: Shared libraries
ii  libexif12                     0.6.17-1   library to parse EXIF files
ii  libgphoto2-port0              2.4.6-1    gphoto2 digital camera port librar
ii  libjpeg62                     6b-14      The Independent JPEG Group's JPEG 
ii  libltdl7                      2.2.6a-4   A system independent dlopen wrappe

Versions of packages libgphoto2-2 recommends:
ii  udev                          0.141-1    /dev/ and hotplug management daemo

Versions of packages libgphoto2-2 suggests:
ii  gphoto2                       2.4.5-2    The gphoto2 digital camera command

-- no debconf information


When I try to install i get the following message:

jacq...@debian ~ % sudo dpkg --configure libgphoto2-2
Richte libgphoto2-2 ein (2.4.6-1) ...
Segmentation fault
dpkg: Fehler beim Bearbeiten von libgphoto2-2 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert
139 zurück
Fehler traten auf beim Bearbeiten von:
 libgphoto2-2



--- End Message ---
--- Begin Message ---
On Tue, 2009-12-01 at 11:16 +0100, Dominic Osterried wrote:
> "/usr/lib/libgphoto2/print-camera-list hal-fdi" segfaults as
> well.
> The output of the following is:
> jacq...@debian ~ % gdb /usr/lib/libgphoto2/print-camera-list
> GNU gdb (GDB) 7.0-debian
> Copyright (C) 2009 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 "i486-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/lib/libgphoto2/print-camera-list...(no debugging 
> symbols found)...done.
> (gdb) r hal-fdi
> Starting program: /usr/lib/libgphoto2/print-camera-list hal-fdi
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x6c2f6c61 in ?? ()
> (gdb) bt
> #0  0x6c2f6c61 in ?? ()
> #1  0xb7f4602b in try_dlopen (phandle=0xbfff6858, filename=0x804d090 
> "dlopen.a", ext=0x804d0a6 ".a", advise=0x0)
>     at ltdl.c:1430

try_dlopen() calls a per-library-type function via the lt_module_open
pointer in the following structure.  We see that the function pointer is
invalid and corresponds to the text "al/l", hence I suspect that a
library path beginning "/usr/local/lib/" has been written over an
instance of this structure, or the pointer to the structure was itself
invalid:

typedef struct {
  const char *          name;          // "/usr"
  const char *          sym_prefix;    // "/loc"
  lt_module_open *      module_open;   // "al/l"
  lt_module_close *     module_close;  // ...
  lt_find_sym *         find_sym;
  lt_dlloader_init *    dlloader_init;
  lt_dlloader_exit *    dlloader_exit;
  lt_user_data          dlloader_data;
  lt_dlloader_priority  priority;
} lt_dlvtable;

I also note that gdb showed debug information for libltdl although
Debian doesn't provide a debug information package for it.  Therefore I
suspect that this bug was in a local version of libltdl and not in
libgphoto2.  Since it has proved to be unreproducible elsewhere, I am
closing this bug.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to