[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#291869: marked as done (xlibs 4.1.0-16woody5_i386 (libXpm.so.4.11) segfaults fvwm)



Your message dated Tue, 8 Nov 2005 10:01:51 +0100 (MET)
with message-id <27220167.1131440511224.JavaMail.root@cps3>
and subject line Bug#291869: xlibs 4.1.0-16woody5_i386 (libXpm.so.4.11) segfaults fvwm
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Jan 2005 18:13:28 +0000
>From Michael.Paoli@cal.berkeley.edu Sun Jan 23 10:13:28 2005
Return-path: <Michael.Paoli@cal.berkeley.edu>
Received: from (blackie.creasys.berkeley.ca.us) [198.144.194.234] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CsmEq-0007bO-00; Sun, 23 Jan 2005 10:13:28 -0800
From: Michael Paoli <Michael.Paoli@cal.berkeley.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xlibs 4.1.0-16woody5_i386 (libXpm.so.4.11) segfaults fvwm
X-Mailer: reportbug 1.50
Date: Sun, 23 Jan 2005 10:13:27 -0800
Bcc: Michael Paoli <Michael.Paoli@cal.berkeley.edu>
Message-Id: <E1CsmEq-0007bO-00@spohr.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: xlibs
Version: 4.1.0-16woody5
Severity: important



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux blackie.creasys.berkeley.ca.us 2.4.27 #1 Mon Sep 13 19:20:37 PDT 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages xlibs depends on:
ii  libc6                     2.3.2.ds1-20   GNU C Library: Shared libraries an
ii  libfreetype6              2.0.9-1        FreeType 2 font engine, shared lib
ii  xfree86-common            4.1.0-16woody5 X Window System (XFree86) infrastr
ii  xlibs                     4.1.0-16woody5 X Window System client libraries

// I add my comments on lines starting with two slashes (//)
// The bug/error itself may not necessarily be in the xlibs package, 
// however I've isolated to the point that fvwm works with xlibs 
// version 4.1.0-16woody4, but fvwm fails (segfaults) with xlibs 
// version 4.1.0-16woody5
// The behavior appears specifically related to 
// /usr/X11R6/lib/libXpm.so.4.11 (downgrading xlibs to version 
// 4.1.0-16woody4 or replacing /usr/X11R6/lib/libXpm.so.4.11 with the 
// version in xlibs version 4.1.0-16woody4 causes this bug to go away).
// First, with xlibs 4.1.0-16woody4 (and dependent xlibs-dev version
// 4.1.0-16woody4), all seems fine, at least with regard to this bug.
$ dpkg -l xlibs xlibs-dev fvwm fvwm2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  xlibs          4.1.0-16woody4 X Window System client libraries
ii  xlibs-dev      4.1.0-16woody4 X Window System client library development f
ii  fvwm           2.4.6-2        F(?) Virtual Window Manager, version 2.4
ii  fvwm2          2.3            F(?) Virtual Window Manager, version 2.xx.
$ md5sum *woody[45]*.deb
45797e82f46ea429ad2ad42bfd2f7349  xlibs-dev_4.1.0-16woody4_i386.deb
0908b4e877020972907c125e9ac0f614  xlibs-dev_4.1.0-16woody5_i386.deb
e500282dfb1c1bfc40b6a18e526f307a  xlibs_4.1.0-16woody4_i386.deb
0de4891834c9fa5814ef746c55c61400  xlibs_4.1.0-16woody5_i386.deb
$ ls -l core
ls: core: No such file or directory
$ ulimit -S -c unlimited
$ type fvwm
fvwm is /usr/bin/fvwm
$ ls -l /usr/bin/fvwm
lrwxrwxrwx    1 root     root           22 Jul 20  2003 /usr/bin/fvwm -> /etc/alternatives/fvwm
$ ls -l /etc/alternatives/fvwm
lrwxrwxrwx    1 root     root           14 Dec 30 01:46 /etc/alternatives/fvwm -> /usr/bin/fvwm2
$ ls -l /usr/bin/fvwm2
-rwxr-xr-x    1 root     root       350344 Apr  8  2002 /usr/bin/fvwm2
// I successfully launch fvwm, and exit it via its menu
$ fvwm; echo $?; ls -l core*
[FVWM][GetFontSetOrFixed]: WARNING -- can't get fontset 'fixed', trying '-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*'
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from /usr/share/pixmaps/ebicon.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from /usr/share/pixmaps/gnome-cardgame.xpm
0
ls: core*: No such file or directory
// Now I upgrade xlibs and xlibs-dev from 4.1.0-16woody4 to 4.1.0-16woody5
$ sudo sh -c 'umask 022 && dpkg -i *woody5*.deb'
(Reading database ... 118529 files and directories currently installed.)
Preparing to replace xlibs-dev 4.1.0-16woody4 (using xlibs-dev_4.1.0-16woody5_i386.deb) ...
Unpacking replacement xlibs-dev ...
Preparing to replace xlibs 4.1.0-16woody4 (using xlibs_4.1.0-16woody5_i386.deb) ...
Unpacking replacement xlibs ...
Setting up xlibs (4.1.0-16woody5) ...

Setting up xlibs-dev (4.1.0-16woody5) ...

// With 4.1.0-16woody5 version of xlibs (and xlibs-dev) installed, fvwm
// segfaults
$ fvwm; echo $?; ls -l core
[FVWM][GetFontSetOrFixed]: WARNING -- can't get fontset 'fixed', trying '-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*'
Segmentation fault (core dumped)
139
-rw-------    1 michael  users      315392 Jan 23 07:58 core
$ gdb -c core /usr/bin/fvwm2
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...

warning: core file may not match specified executable file.
Core was generated by `    '.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/lib/libstroke.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libstroke.so.0
Reading symbols from /usr/X11R6/lib/libSM.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x4002859a in xpm_znormalizeimagebits () from /usr/X11R6/lib/libXpm.so.4
(gdb) backtrace
#0  0x4002859a in xpm_znormalizeimagebits () from /usr/X11R6/lib/libXpm.so.4
#1  0x00000001 in ?? ()
Cannot access memory at address 0x70000
(gdb) quit
// gdb suggests problem may be around /usr/X11R6/lib/libXpm.so.4
$ ls -l /usr/X11R6/lib/libXpm.so.4
lrwxrwxrwx    1 root     root           14 Jan 23 07:57 /usr/X11R6/lib/libXpm.so.4 -> libXpm.so.4.11
$ ls -l /usr/X11R6/lib/libXpm.so.4.11
-rw-r--r--    1 root     root        55132 Dec  4 17:57 /usr/X11R6/lib/libXpm.so.4.11
// /usr/X11R6/lib/libXpm.so.4 symlinks to /usr/X11R6/lib/libXpm.so.4.11
$ dpkg -S /usr/X11R6/lib/libXpm.so.4.11
xlibs: /usr/X11R6/lib/libXpm.so.4.11
// /usr/X11R6/lib/libXpm.so.4.11 provided by xlibs
$ md5sum /usr/X11R6/lib/libXpm.so.4.11; ls -l /usr/X11R6/lib/libXpm.so.4.11
3c63d0d72bc141f6182fe88f735ca6ff  /usr/X11R6/lib/libXpm.so.4.11
-rw-r--r--    1 root     root        55132 Dec  4 17:57 /usr/X11R6/lib/libXpm.so.4.11
$ ls -l core*
-rw-------    1 michael  users      315392 Jan 23 07:58 core
// I rename the core to avoid potential unintended overwrite
$ mv core core.xlibs_4.1.0-16woody5_i386
// What happens if we restore the old /usr/X11R6/lib/libXpm.so.4.11 from
// version 4.1.0-16woody4 ?
$ ar p xlibs_4.1.0-16woody4_i386.deb data.tar.gz | gzip -d | sudo sh -c 'umask 022 && cd / && tar -xf - ./usr/X11R6/lib/libXpm.so.4.11'
$ md5sum /usr/X11R6/lib/libXpm.so.4.11; ls -l /usr/X11R6/lib/libXpm.so.4.11
c3fc2daff9e4bf8b1555be452aa7694a  /usr/X11R6/lib/libXpm.so.4.11
-rw-------    1 root     root        53524 Sep 23 05:44 usr/X11R6/lib/libXpm.so.4.11
$ fvwm; echo $?; ls -l core
[FVWM][GetFontSetOrFixed]: WARNING -- can't get fontset 'fixed', trying '-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*'
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from /usr/share/pixmaps/ebicon.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from /usr/share/pixmaps/gnome-cardgame.xpm
0
ls: core: No such file or directory
// With the old /usr/X11R6/lib/libXpm.so.4.11 from version
// 4.1.0-16woody4 in place, all seems fine, at least with regard to this
// bug - I successfully launch fvwm, and exit it via its menu
// I put the /usr/X11R6/lib/libXpm.so.4.11 from xlibs version
// 4.1.0-16woody5 back in place, to see if the bug returns
$ ar p xlibs_4.1.0-16woody5_i386.deb data.tar.gz | gzip -d | sudo sh -c 'umask 022 && cd / && tar -xf - ./usr/X11R6/lib/libXpm.so.4.11'
$ md5sum /usr/X11R6/lib/libXpm.so.4.11; ls -l /usr/X11R6/lib/libXpm.so.4.11
3c63d0d72bc141f6182fe88f735ca6ff  /usr/X11R6/lib/libXpm.so.4.11
-rw-r--r--    1 root     root        55132 Dec  4 17:57 /usr/X11R6/lib/libXpm.so.4.11
$ ls -ld core; fvwm; echo $?; ls -l core
ls: core: No such file or directory
[FVWM][GetFontSetOrFixed]: WARNING -- can't get fontset 'fixed', trying '-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*'
Segmentation fault (core dumped)
139
-rw-------    1 michael  users      315392 Jan 23 08:19 core
// With the /usr/X11R6/lib/libXpm.so.4.11 from xlibs version
// 4.1.0-16woody5 back in place again, bug apparently returns
$ gdb -c core /usr/bin/fvwm2
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...

warning: core file may not match specified executable file.
Core was generated by `    '.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/lib/libstroke.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libstroke.so.0
Reading symbols from /usr/X11R6/lib/libSM.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x4002859a in xpm_znormalizeimagebits () from /usr/X11R6/lib/libXpm.so.4
(gdb) quit
// gdb seems to imply the same problem
$ cmp -l core* | wc -l
     93
// the core files are relatively similar
$ 
// Downgrading xlibs (and dependent xlibs-dev) from version
// 4.1.0-16woody5 to version 4.1.0-16woody4 seems sufficient to work
// around the problem and allow fvwm to function again.  Alternatively,
// just substituting the /usr/X11R6/lib/libXpm.so.4.11 file from xlibs
// version 4.1.0-16woody4 also seems to work.

--
Michael.Paoli@cal.berkeley.edu


---------------------------------------
Received: (at 291869-done) by bugs.debian.org; 8 Nov 2005 09:01:52 +0000
>From ROBERTOJIMENOCA@terra.es Tue Nov 08 01:01:52 2005
Return-path: <ROBERTOJIMENOCA@terra.es>
Received: from webmail.terra.es (csmtpout4.frontal.correo) [213.4.149.12] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EZPMW-0007pu-00; Tue, 08 Nov 2005 01:01:52 -0800
Received: from cps3 (213.4.149.20) by csmtpout4.frontal.correo (7.2.056.5)
        id 4342667D001B78A2 for 291869-done@bugs.debian.org; Tue, 8 Nov 2005 10:01:50 +0100
Received: from [213.4.149.214] by correo6.terra.es with HTTP
        (authenticated as robertojimenoca@terra.es); Tue, 8 Nov 2005 10:01:51 +0100
Message-ID: <27220167.1131440511224.JavaMail.root@cps3>
Date: Tue, 8 Nov 2005 10:01:51 +0100 (MET)
From: "ROBERTOJIMENOCA@terra.es" <ROBERTOJIMENOCA@terra.es>
Reply-To: ROBERTOJIMENOCA@terra.es
To: 291869-done@bugs.debian.org
Subject: Re: Bug#291869: xlibs 4.1.0-16woody5_i386 (libXpm.so.4.11) segfaults fvwm
Mime-Version: 1.0
Content-Type: text/plain;charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Disposition-Notification-To: ROBERTOJIMENOCA@terra.es
Delivered-To: 291869-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-1.5 required=4.0 tests=BAYES_44,BLANK_LINES_70_80,
	HAS_BUG_NUMBER,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS,ROBERTOJIMENOCA 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This bug should be fixed. Reopen otherwise.



Prueba el Nuevo Correo Terra; Seguro, R=C3=A1pido, Fiable.



Reply to: