Le Wednesday 26 December 2007 11:34:09 Frederic Peters, vous avez écrit :
> Yves Caniou wrote:
> > During the post-install step, I obtain a segfault with the following
> > message:
> >
> > Paramétrage de libgphoto2-2 (2.4.0-8) ...
> > /var/lib/dpkg/info/libgphoto2-2.postinst: line 13: 20760 Erreur de
> > segmentation  /usr/lib/$PACKAGE/print-camera-list udev-rules version 0.98
> > mode 0664 group plugdev >/etc/udev/$PACKAGE.rules
>
> Could you reproduce the segmentation fault and get a backtrace ?
>
> /usr/lib/libgphoto2/print-camera-list udev-rules version 0.98 \
>         mode 0664 group plugdev
>
> If that's the case I'll get you a debug package.
>
>
> Regards,
>         Frederic

I can reproduce the segfault, but there is no information printed before it 
happens. I did a strace, here are the last lines:

open("/usr/local/lib/libgphoto2/2.3.1/sx330z.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \v\0\000"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=35419, ...}) = 0
mmap2(NULL, 8940, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f1d000
mmap2(0xb7f1f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x2) = 0xb7f1f000
close(3)                                = 0
mremap(0xb7a9d000, 2023424, 2027520, MREMAP_MAYMOVE) = 0xb7a9d000
mremap(0xb7a9d000, 2027520, 2031616, MREMAP_MAYMOVE) = 0xb7a9d000
mremap(0xb7a9d000, 2031616, 2035712, MREMAP_MAYMOVE) = 0xb7a9d000
mremap(0xb7a9d000, 2035712, 2039808, MREMAP_MAYMOVE) = 0xb7a9d000
mremap(0xb7a9d000, 2039808, 2043904, MREMAP_MAYMOVE) = 0xb7a9d000
mremap(0xb7a9d000, 2043904, 2048000, MREMAP_MAYMOVE) = 0xb7a9d000
mremap(0xb7a9d000, 2048000, 2052096, MREMAP_MAYMOVE) = 0xb7a9d000
munmap(0xb7f1d000, 8940)                = 0
open("/usr/local/lib/libgphoto2/2.3.1/toshiba_pdrm11.la", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=957, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f1f000
read(3, "# toshiba_pdrm11.la - a libtool "..., 4096) = 957
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f1f000, 4096)                = 0
open("/usr/local/lib/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=132404, ...}) = 0
mmap2(NULL, 132404, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eff000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/tls/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/i686/cmov/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/i686/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/lib/i486-linux-gnu/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/i486-linux-gnu/toshiba_pdrm11.a", O_RDONLY) = -1 ENOENT (No 
such file or directory)
munmap(0xb7eff000, 132404)              = 0
open("/usr/local/lib/libgphoto2/2.3.1/toshiba_pdrm11.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\7\0"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=31121, ...}) = 0
mmap2(NULL, 13644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f1c000
mmap2(0xb7f1f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x2) = 0xb7f1f000
close(3)                                = 0
mremap(0xb7a9d000, 2052096, 2056192, MREMAP_MAYMOVE) = 0xb78a7000
munmap(0xb7f1c000, 13644)               = 0
munmap(0xb7c92000, 266240)              = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 4302 detached


Hope it can help.

Best Regards.

.Yves.


Reply via email to