"Segmentation fault" on gqview startup

Bug #6859 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
tiff3g (Debian)
Fix Released
Unknown
tiff3g (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #238978
http://bugs.debian.org/238978

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1B4T6j-0002Dy-00@Arf>
Date: Fri, 19 Mar 2004 18:08:52 -0500
From: A Costa <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: "Segmentation fault" on gqview startup

Package: gqview
Version: 1.4.1-1
Severity: important

'gqview' used to work OK, but today:

 % gqview
 (Here the main screen pops up with the picture panel on the right
  blacked out, then it closes. -AC)
 Segmentation fault
 % echo $?
 139

Here's the 'tail' of an 'strace':

 % strace gqview 2>&1 | tail
 read(5, "\16 \341\242\1\201\302\16\207\f\7\33\n\200\t\262\302f\26"..., 512) = 512
 read(5, "r\30\354w\20\355\320\343\315\304p]\315\320\370\340x)\216"..., 512) = 512
 read(5, "\371Vn*\0&\313\33k\300\4\331a6\246\0&\313\33k\300\4\331"..., 512) = 512read(5, "\230\0\233,m\257\0\23e\204\332\230\0\233,\246\327\200\t"..., 512) = 512read(5, "\3\210\341LR\310\366HTy\236\327\235k\354\266\220\0M\226"..., 512) = 129read(5, "", 512) = 0
 old_mmap(NULL, 7397376, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40e2f000
 old_mmap(NULL, 233472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4153d000
 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 +++ killed by SIGSEGV +++

Hope this helps...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-1-686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

Versions of packages gqview depends on:
ii libatk1.0-0 1.4.1-1 The ATK accessibility toolkit
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libglib2.0-0 2.2.3-1 The GLib library of C routines
ii libgtk2.0-0 2.2.4-3 The GTK+ graphical user interface
ii libpango1.0-0 1.2.5-2.1 Layout and rendering of internatio
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii zlib1g 1:1.2.1-5 compression library - runtime

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 22 Apr 2004 21:33:13 -0700
From: Ryan Murray <email address hidden>
To: A Costa <email address hidden>, <email address hidden>
Subject: Re: Bug#238978: "Segmentation fault" on gqview startup

--xjyYRNSh/RebjC6o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 19, 2004 at 06:08:52PM -0500, A Costa wrote:
> Hope this helps...

What was the first image file in the directory? Was it a TIFF file?

--=20
Ryan Murray, Debian Developer (<email address hidden>, <email address hidden>)
The opinions expressed here are my own.

--xjyYRNSh/RebjC6o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAiJyIN2Dbz/1mRasRAkZsAJ9X2X2bhSGMhRmOjsgtRLxIX3SnTgCg/j6h
Vkz3pjYac1vgpxSQMitpBlQ=
=rQ3U
-----END PGP SIGNATURE-----

--xjyYRNSh/RebjC6o--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 22 Apr 2004 21:35:14 -0700
From: Ryan Murray <email address hidden>
To: <email address hidden>
Subject: tagging 200087, severity of 200087 is wishlist, tagging 225309,
 tagging 241734, tagging 240420 ... ... ... ...

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 200087 upstream
severity 200087 wishlist
tags 225309 upstream
tags 241734 upstream
tags 240420 upstream
tags 238978 upstream
severity 236505 important
merge 240420 241734 236505
tags 135588 upstream

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <40886F48.24318.B3029@localhost>
Date: Fri, 23 Apr 2004 01:20:08 -0400
From: "Alfie Costa" <email address hidden>
To: Ryan Murray <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#238978: "Segmentation fault" on gqview startup

On 22 Apr 2004, at 21:33, Ryan Murray <email address hidden> wrote:

> What was the first image file in the directory? Was it a TIFF file?

A TIFF was the second image file. The first three files from an 'ls' show:

 0615150326.log
 0615150509.001.png
 0615150509.001.tiff

...when I move "0615150509.001.tiff" to another dir, 'gqview' doesn't segfault.
Nor does it segfault in other TIFF free dirs.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 9 May 2004 00:42:33 -0700
From: Ryan Murray <email address hidden>
To: <email address hidden>
Subject: merging 236505 238978

# Automatically generated email from bts, devscripts version 2.7.95.1
merge 236505 238978

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 9 May 2004 03:23:48 -0700
From: Ryan Murray <email address hidden>
To: <email address hidden>
Subject: severity of 236505 is grave, reassign 236505 to libtiff3g,
 merging 236505 236247

# Automatically generated email from bts, devscripts version 2.7.95.1
severity 236505 grave
reassign 236505 libtiff3g
 # more libtiff crashes
merge 236505 236247

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 05 Jun 2004 23:37:22 +0200
From: Marc 'HE' Brockschmidt <email address hidden>
To: <email address hidden>
Subject: Reassigning...

--=-=-=

reassign 241736 libtiff3g
severity 241736 grave
merge 241736 236247
thanks

Hi,

IMHO this is yet another incarnation of the same libtiff3g bug. Please
give it back to us if it isn't...

Marc
--
BOFH #416:
We're out of slots on the server

--=-=-=
Content-Type: application/pgp-signature

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

iD8DBQBAwj0ZmO5zOp3h7rERArrZAJ4qwvwe+rKHjwWOOwYdtBtZPU5LQQCfR5QW
ak/erR5Nt91/q2pWNCWRI0c=
=ew3B
-----END PGP SIGNATURE-----
--=-=-=--

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug has been marked as a duplicate of bug 6850.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 30 Jun 2004 15:50:28 +0200
From: Jeroen van Wolffelaar <email address hidden>
To: <email address hidden>
Subject: Bug is not sid-specific

# Either sid & sarge have the same version, or the bug was reported
# against a version now in Sarge
tags 244299 - sid
tags 253802 - sid
tags 240531 - sid
tags 240538 - sid
tags 244169 - sid
tags 241270 - sid
tags 256074 - sid
tags 254428 - sid
tags 236247 - sid
tags 242279 - sid experimental
tags 234994 - sid
tags 238400 - sid
tags 241141 - sid
tags 252396 - sid
tags 250251 - sid
tags 253185 - sid
tags 254212 - sid
tags 254461 - sid
thanks

--
Jeroen van Wolffelaar
<email address hidden> (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (7.9 KiB)

Message-ID: <20040717155940.0251672159.qww314159@soup>
Date: Sat, 17 Jul 2004 15:59:44 -0400
From: Jay Berkenbilt <email address hidden>
To: <email address hidden>
CC: <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>
Subject: proposed resolution to release-critical libtiff3g bugs

Executive summary: there are compelling arguments in favor of closing
all these bugs and letting libtiff-3.6.1 go into sarge. The only
change required to this package is an update to README.Debian. We
have a bad situation now that's just going to get worse, so I hope my
suggestion will be considered and implemented. It shouldn't take long
to read through the rest of this message as I have made a strong
effort to lay out the arguments in a clear fashion. I've also
discussed this with upstream and have referenced that conversion in
this message. Thanks for your consideration!

----------------------------------------------------------------------

As established in bug 236247
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=236247> and
discussed upstream in the thread containing this summary
<http://www.asmail.be/msg0055065000.html>, all of these bugs have been
traced back to an accidental application binary interface (ABI) change
in libtiff3g. The change causes applications that use the
TIFFRGBAImage structure to crash or otherwise not work properly when
compiled with libtiff version 3.5.7 and run with version 3.6.1 or vice
versa. Upstream acknowledges that this was a mistake. Version 3.6.1
is the last version of libtiff that will be released as libtiff.so.3.
(To be complete: programs that only use the "TIFF" type, and not the
"TIFFRGBAImage" type, will most likely continue to work properly with
either version of the library. There are a few other minor changes,
but they may or may not impact the public ABI.)

I strongly believe that the right thing to do now is to let this into
sid anyway. I will explain my reasoning here. I hope you will find
my arguments compelling enough to accept my proposed solution so we
can get libtiff3g-3.6.1 into sarge. Please note: I fully understand
that forcing sid's libtiff.so.3 into sarge even though it is not fully
compatible with the existing libtiff.so.3 in sarge is a Bad Thing.
However, I am recommending this solution because I think it is better
than all the other alternatives. The rest of this message explains
why.

These bugs have been left open for many months now -- long enough that
the problems are mostly no longer reproducible in sid because the
applications or supporting libraries have long since been rebuilt with
the current version of libtif3g. Most notable among these would be
gdk-pixbuf, which is part of the libgtk2.0 (gtk+2.0) package (and also
libgdk-pixbuf2 for an older version). In fact, the situation has
flipped around so that, in some cases, a program may work in sid but
not in sarge. For example, gqview (which is the...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (30.9 KiB)

Message-ID: <email address hidden>
Date: Mon, 26 Jul 2004 00:13:37 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: TIFFs crash the library with version 3.6.1 (not 3.5.7)

--tDYGg60iReQ7u8wj
Content-Type: multipart/mixed; boundary="+278g007AL/ykmV8"
Content-Disposition: inline

--+278g007AL/ykmV8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 236247 +patch
thanks

Hello,

Please find attached the patch from the just-uploaded NMU for tiff.

Thanks,
--=20
Steve Langasek
postmodern programmer

--+278g007AL/ykmV8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="tiff-236247.diff"
Content-Transfer-Encoding: quoted-printable

diff -u tiff-3.6.1/configure tiff-3.6.1/configure
--- tiff-3.6.1/configure
+++ tiff-3.6.1/configure
@@ -1226,6 +1226,16 @@
     *-linux*|*-gnu*)
  DSOSUF=3Dso.${DIST_MAJOR}
  DSOSUF_VERSION=3D${DSOSUF}.${DIST_MINOR}.${DIST_POINT}
+
+ # Hack: force the soname of the library to differ from the
+ # software version to work around an ABI change. The next
+ # release of libtiff will handle shared library versions
+ # correctly; i.e., decouple them from the software version.
+ # This change was introduced in the debian version of the
+ # libtiff package.
+ DSOSUF=3Dso.4
+ DSOSUF_VERSION=3D${DSOSUF}.0.0
+
  LIBCOPTS=3D'-fPIC'
  DSOOPTS=3D'-shared'
  DSO=3DGNULD
diff -u tiff-3.6.1/html/Makefile.in tiff-3.6.1/html/Makefile.in
--- tiff-3.6.1/html/Makefile.in
+++ tiff-3.6.1/html/Makefile.in
@@ -86,7 +86,9 @@
  v3.5.5.html \
  v3.5.6-beta.html \
  v3.5.7.html \
- ${NULL}
+ v3.6.0.html \
+ v3.6.1.html \
+ ${NULL}
 IMAGES=3D\
  images/back.gif \
  images/bali.jpg \
diff -u tiff-3.6.1/debian/changelog tiff-3.6.1/debian/changelog
--- tiff-3.6.1/debian/changelog
+++ tiff-3.6.1/debian/changelog
@@ -1,3 +1,17 @@
+tiff (3.6.1-1.1) unstable; urgency=3Dmedium
+
+ * Non-maintainer upload; thanks to Jay Berkenbilt <email address hidden> for
+ preparing the patches
+ * Rename shared library and development packages to resolve accidental
+ upstream ABI change. Closes: #236247
+ * Include patch from upstream to fix multistrip g3 fax bug.
+ Closes: #243405
+ * Include LZW support. Closes: #260242, #248490
+ * Fix URL in copyright file. Closes: #261357
+ * Install missing documentation files. Closes: #261356
+
+ -- Steve Langasek <email address hidden> Sun, 25 Jul 2004 10:28:06 -0400
+
 tiff (3.6.1-1) unstable; urgency=3Dlow
=20
   * New upstream version, closes: #231977.
diff -u tiff-3.6.1/debian/control tiff-3.6.1/debian/control
--- tiff-3.6.1/debian/control
+++ tiff-3.6.1/debian/control
@@ -5,20 +5,19 @@
 Build-Depends: debhelper (>=3D 2), make (>=3D 3.77), libz-dev, libjpeg62-d=
ev
 Standards-Version: 3.6.1
=20
-Package: libtiff3g
+Package: libtiff4
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: libtiff3 (<< 3.4beta037-1)
 Description: Tag Image File Format library
  libtiff is a library providing support for the Tag Image File Format
  (TIFF), a widely used format for storing image data. Included is the
  shared library.
=20
-Package: libtiff3g-dev
+Packag...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 27 Jul 2004 17:24:30 -0400
From: Steve Langasek <email address hidden>
To: <email address hidden>
Cc: Steve Langasek <email address hidden>, Josip Rodin <email address hidden>
Subject: Fixed in NMU of tiff 3.6.1-1.1

tag 236247 + fixed
tag 243405 + fixed
tag 248490 + fixed
tag 260242 + fixed
tag 261356 + fixed
tag 261357 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

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

Format: 1.7
Date: Sun, 25 Jul 2004 10:28:06 -0400
Source: tiff
Binary: libtiff4 libtiff-tools libtiff4-dev
Architecture: source alpha i386
Version: 3.6.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Josip Rodin <email address hidden>
Changed-By: Steve Langasek <email address hidden>
Description:
 libtiff-tools - TIFF manipulation and conversion tools
 libtiff4 - Tag Image File Format library
 libtiff4-dev - Tag Image File Format library, development files
Closes: 236247 243405 248490 260242 261356 261357
Changes:
 tiff (3.6.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload; thanks to Jay Berkenbilt <email address hidden> for
     preparing the patches
   * Rename shared library and development packages to resolve accidental
     upstream ABI change. Closes: #236247
   * Include patch from upstream to fix multistrip g3 fax bug.
     Closes: #243405
   * Include LZW support. Closes: #260242, #248490
   * Fix URL in copyright file. Closes: #261357
   * Install missing documentation files. Closes: #261356
Files:
 f4dbaf0ec2274810149845ec4e4992cf 628 libs optional tiff_3.6.1-1.1.dsc
 bb88c963157da68c6545a090c59be006 13823 libs optional tiff_3.6.1-1.1.diff.gz
 9b8a707e5698ebbe549fd81209e111e6 128776 libs optional libtiff4_3.6.1-1.1_alpha.deb
 d25bed895031a47510895da31be82b9a 499272 devel optional libtiff4-dev_3.6.1-1.1_alpha.deb
 1268a503ccc6fe7af13d5996653a1a1b 196714 graphics optional libtiff-tools_3.6.1-1.1_alpha.deb
 ed59dc2ddc37109d8b1773933de636d1 102942 libs optional libtiff4_3.6.1-1.1_i386.deb
 4a19b974493cefec5c3df46fdc0110da 443014 devel optional libtiff4-dev_3.6.1-1.1_i386.deb
 6a54f4e656b0ea0a6e76f7c39fd6ab25 160962 graphics optional libtiff-tools_3.6.1-1.1_i386.deb

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

iD8DBQFBBKOlKN6ufymYLloRAkUxAJ9hTXfE5zbgq7H8RbMyN5GmzFd6NQCfYhdL
UFz7URVDEMixFUK3gOFtIUs=
=IltJ
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 26 Aug 2004 16:40:47 +0200
From: Adrian Bunk <email address hidden>
To: <email address hidden>
Subject: reassign these bugs to the correct package

reassign 183268 libtiff4
reassign 197449 libtiff4
reassign 238669 libtiff4
reassign 256657 libtiff4
reassign 81174 libtiff4
reassign 234765 libtiff4
reassign 248490 libtiff4
reassign 260242 libtiff4
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 1 Nov 2004 12:27:38 +0100
From: Josip Rodin <email address hidden>
To: <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>
Cc: Jay Berkenbilt <email address hidden>
Subject: fixed in latest libtiff in sarge/sid

Hi,

The bugs you reported are fixed in the latest libtiff* packages in
sarge/sid. The prospective new maintainer, Jay Berkenbilt, got this done, so
all credit goes to him.

Thanks for reporting.
--
     2. That which causes joy or happiness.

Changed in tiff3g:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.