Debian Bug report logs - #104143
segfaults when gpm is stopped

version graph

Package: gpm; Maintainer for gpm is Axel Beckert <abe@debian.org>; Source for gpm is src:gpm (PTS, buildd, popcon).

Reported by: kraai@ftbfs.org

Date: Tue, 10 Jul 2001 04:33:01 UTC

Severity: normal

Tags: patch

Fixed in version gpm/1.19.6-14

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#104143; Package w3m. (full text, mbox, link).


Acknowledgement sent to Matt Kraai <kraai@debian.org>:
New Bug report received and forwarded. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matt Kraai <kraai@debian.org>
To: submit@bugs.debian.org
Subject: segfaults when gpm is stopped
Date: Mon, 9 Jul 2001 21:23:55 -0700
Package: w3m
Version: 0.2.1-4

w3m segfaults when gpm is stopped.  To reproduce, visit a page
with w3m and then stop gpm (/etc/init.d/gpm stop).

Matt



Bug reassigned from package `w3m' to `gpm'. Request was from Fumitoshi UKAI <ukai@debian.or.jp> to control@bugs.debian.org. (full text, mbox, link).


Tags added: patch Request was from Fumitoshi UKAI <ukai@debian.or.jp> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug submitter from Matt Kraai <kraai@debian.org> to kraai@ftbfs.org. Request was from Matt Kraai <kraai@ftbfs.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, warp@debian.org (Zephaniah E. Hull):
Bug#104143; Package gpm. (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to warp@debian.org (Zephaniah E. Hull). (full text, mbox, link).


Message #16 received at 104143@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 104143@bugs.debian.org
Subject: libgpmg1: Gpm_Wgetch segfaults when gpm_fd = -1 in the loop
Date: Sat, 20 Mar 2004 10:10:55 +0100
[Message part 1 (text/plain, inline)]
Hi,

If gpm_fd is externally closed while in the middle of the loop on
Gpm_Wgetch() it segfaults trying to FD_SET with a negative number.

I've debugged and got a patch, it's the same thing that is done on
Gpm_Getc in liblow.c.

I've seen then that there was another patch filed, but it didn't
reach you because it was sent to control@.

I've seen this problem with new aumix versions.

regards,
guillem
[gpm-1.19.6-12.1_gpm_fd_notclosed.patch (text/plain, attachment)]

Tags added: pending Request was from Guillem Jover <guillem@zulo.hadrons.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to kraai@ftbfs.org:
Bug acknowledged by developer. (full text, mbox, link).


Message #23 received at 104143-close@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 104143-close@bugs.debian.org
Subject: Bug#104143: fixed in gpm 1.19.6-14
Date: Wed, 18 Aug 2004 06:17:07 -0400
Source: gpm
Source-Version: 1.19.6-14

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

gpm_1.19.6-14.diff.gz
  to pool/main/g/gpm/gpm_1.19.6-14.diff.gz
gpm_1.19.6-14.dsc
  to pool/main/g/gpm/gpm_1.19.6-14.dsc
gpm_1.19.6-14_i386.deb
  to pool/main/g/gpm/gpm_1.19.6-14_i386.deb
libgpmg1-dev_1.19.6-14_i386.deb
  to pool/main/g/gpm/libgpmg1-dev_1.19.6-14_i386.deb
libgpmg1_1.19.6-14_i386.deb
  to pool/main/g/gpm/libgpmg1_1.19.6-14_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 104143@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated gpm 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Wed, 18 Aug 2004 11:44:54 +0200
Source: gpm
Binary: libgpmg1 gpm libgpmg1-dev
Architecture: source i386
Version: 1.19.6-14
Distribution: unstable
Urgency: low
Maintainer: Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description: 
 gpm        - General Purpose Mouse Interface
 libgpmg1   - General Purpose Mouse - shared library
 libgpmg1-dev - General Purpose Mouse - development files
Closes: 37331 43691 48459 56350 57023 60841 61998 63779 66877 70835 72337 98051 104143 117900 121481 121657 122210 129070 129812 133653 133654 134747 142911 148921 154535 170339 170886 177175 185053 195176 196879 213825 218526 234624 258749 259485 264287
Changes: 
 gpm (1.19.6-14) unstable; urgency=low
 .
   * New maintainer team.
 .
   [ Joshua Kwan ]
   * Change Section for libgpmg1-dev to libdevel.
   * Removed unused Build-Depends on automake and libtool. (Closes: #177175)
   * Reworded the debconf template for clarity.
 .
   [ Guillem Jover]
   * Fixed build failure due to mismatched parentheses on documentation.
     - debian/patches/007_doc_fix_000: Added fix. (Closes: #259485)
       Thanks to Matt Kraai <kraai@ftbfs.org>.
   * Fixed segfault when trying to FD_SET gpm_fd with a negative number.
     - debian/patches/030_fd_set_negative_int.patch: New file. (Closes: #104143)
   * Fixed build failure when /bin/sh != /bin/bash.
     (Closes: #195176, #213825, #264287)
     Thanks to Matthew Bell <m.bell@bvrh.co.uk>.
   * Fixed build failure when using gcc-3.4. (Closes: #258749)
     Thanks to Andreas Jochens <aj@andaco.de>.
   * Fixed wrong use of hyhpens on gpmconfig manpage.
   * Added debconf support. (Closes: #37331, #48459, #129070, #218526)
     - As a side effect preserve restart value across upgrades. (Closes: #66877)
     - Deprecate gpmconfig. (Closes: #148921, #134747)
     Thanks to Kevin Turner <kevin@freegeek.org> for the main part
     and Sean Finney <seanius@seanius.net> for some details.
   * Remove config file on purge. (Closes: #57023, #117900)
     Thanks to Josip Rodin <joy@cibalia.gkvk.hr>.
   * Fixed documentation having additional spaces after -A and -V options.
     (Closes: #60841, #61998)
     Thanks to Robert Woodcock <rcw@debian.org>.
   * Fixed a spelling error in the info documentation. (Closes: #63779)
   * Fixed missleading -t option information in the documentation.
     (Closes: #196879)
   * Removed references to non-existent man pages. (Closes: #133653)
   * Clarify the -r option usage in the info documentation. (Closes: #170886)
     Thanks to Peter Jay Salzman <p@dirac.org>.
   * Do not list /etc/init.d/gpm twice as a conffile.
     - debian/conffiles: Remove redundant file. (Closes: #133654)
   * Use debhelper compatibility version 4.
   * Include missing documentation. (Closes: #121657, #234624)
   * Give error message when gpm fails to start or stop from init and proper
     exit code. (Closes: #72337, #170339)
     Thanks to Yotam Rubin <yotamr@bezeqint.net>.
   * Removed GNU awk extensions so now Build-Depends on "awk | mawk".
     (Closes: #154535)
     Thanks to Alexander Viro <viro@math.psu.edu>.
   * Use invoke-rc.d instead of directly calling the init script.
     (Closes: #185053)
   * Change Priority for libgpmg1 to standard.
   * Use sensible-pager instead of more in gpmconfig. (Closes: #98051)
   * Add niceness config variable. (Closes: #121481)
     Thanks to Chip Salzenberg <chip@debian.org>
   * Reworded note about restarting gpm while using X. (Closes: #70835)
   * Allow two mouse sources on the config file. (Closes: #129812, #142911)
     Thanks to Derrick Hudson <dman@dman.ddts.net>.
   * Add emacs support as an example. (Closes: #43691, #56350)
   * Remove leftover /etc/gpm-root.conf from an old release. (Closes: #122210)
   * Fix compilation warning on gpm_has_mouse_control.c.
   * Cleaned debian/rules.
     - Do not use dh_undocumented anymore.
   * Cleaned debian/copyright.
   * Added a watch file.
   * Improve a bit package descriptions.
   * Reinclude mev binary, supposedly lost while removing gpm-root.
   * Converted debian/changelog and debian/copyright to UTF-8.
   * Use dh_md5sums.
   * Do not create /usr/doc symlink.
   * Fixed gpm-mouse-test section so it matches the path where it's installed.
   * Honour DEB_BUILD_OPTIONS.
   * Make libgpmg1-dev depend on the virtual package libc-dev as well.
   * Now using Standards-Version 3.6.1.
 .
   [ Peter Samuelson ]
   * Reorder and reword the debconf help screen for mouse types.
     Now it's ordered by general mouse type and roughly by popularity.
Files: 
 f9d2dd680b6a856ac7e64ac36095f294 774 misc optional gpm_1.19.6-14.dsc
 6df5c98966ee92b31cd35b2f73aa0aaa 54911 misc optional gpm_1.19.6-14.diff.gz
 5e8e02d62a3707713043d5cd00718693 187672 misc optional gpm_1.19.6-14_i386.deb
 f5145986c6e368af4ba38eba13a7e272 47616 libs standard libgpmg1_1.19.6-14_i386.deb
 242a66f69f30a2b151f351550610151e 49872 libdevel optional libgpmg1-dev_1.19.6-14_i386.deb

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

iD8DBQFBIyjJuW9ciZ2SjJsRAgDBAKD5jj6MmGBgnrqXkV/Qrb5mJGxHQwCg2W1m
Lx0hwyzkh6zEWgXkAMjtOiQ=
=XC83
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Oct 26 16:58:41 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.