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

Bug#277060: marked as done (libgtk1.2: segfault from gtk_signal_remove_emission_hook())



Your message dated Sun, 29 May 2005 23:02:27 -0400
with message-id <E1DcaXr-0005sH-00@newraff.debian.org>
and subject line Bug#277060: fixed in toshutils 2.0.1-12
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; 18 Oct 2004 10:35:53 +0000
>From dparsons@emerall.com Mon Oct 18 03:35:53 2004
Return-path: <dparsons@emerall.com>
Received: from pug.anu.edu.au (strider) [150.203.181.71] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CJUrp-0007SH-00; Mon, 18 Oct 2004 03:35:53 -0700
Received: from drew by strider with local (Exim 4.34)
	id 1CJUkI-0001lh-2f; Mon, 18 Oct 2004 20:28:06 +1000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Drew Parsons <dparsons@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libgtk1.2: segfault from gtk_signal_remove_emission_hook()
X-Mailer: reportbug 2.99.6
Date: Mon, 18 Oct 2004 20:28:04 +1000
Message-Id: <E1CJUkI-0001lh-2f@strider>
Sender: Drew Parsons <dparsons@emerall.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Package: libgtk1.2
Version: 1.2.10-17
Severity: important

tuxtime-conf, from older versions of toshutils (2.0.1-5, 2.0.1-6), now fails
to work, complaining that it caught a signal 11 (SEGV, segfault).  The crash
is quite recent, I think toshutils 2.0.1-6 did not crash when I uploaded it
early in September.  You since uploaded a revision of libgtk1.2, in October,
which may explain the difference in behaviour.

When I enable debugging symbols in toshutils (configure --enable-debug),
then the segfault no longer occurs, so there is a limit to how easily I can
debug the problem.

Running through ddd (gdb), I get this extra information, that the segfault
is occuring in gtk_signal_remove_emission_hook() from
/usr/lib/libgtk-1.2.so.0.  tuxtime-conf does not use
gtk_signal_remove_emission_hook() directly. 

Using libgtk1.2-dbg as well and running tuxtime-conf through ddd
confirms that gtksignal.c (l.1953) is involved:
Program received signal SIGSEGV, Segmentation fault.
0x40106678 in gtk_handlers_run (handlers=0x807a038, signal=Cannot access
memory at address 0xc
) at gtksignal.c:1953
  in gtksignal.c

This is gtksignal.c in libgtk1.2, of course, it's not in toshutils.

Debugging by hand with printf statements places the bug at l.1789 in
AddSystemPage() in src/machine.c in toshutils.  But this line just says
    gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(disable), TRUE);
disable is defined, it's not clear how this is related to the segfault or
the gtk_handlers.

Curiously, an strace of the program places the bug at the point where it is
checking the device files:

open("/dev/misc/toshiba", O_RDWR)       = -1 ENOENT (No such file or directory)
open("/dev/toshiba", O_RDWR)            = 4
ioctl(4, TOSH_SMM, 0xbfffed70)          = 0
close(4)                                = 0
open("/dev/misc/toshiba", O_RDWR)       = -1 ENOENT (No such file or directory)
open("/dev/toshiba", O_RDWR)            = 4
ioctl(4, TOSH_SMM, 0xbfffed40)          = 0
close(4)                                = 0
--- SIGSEGV (Segmentation fault) ---
write(2, "tuxtime-conf: caught signal 11, "..., 47) = 47

But /dev/toshiba does exist, and is used properly when debugging is enabled.

I have uploaded toshutils 2.0.1-7 with --enable-debug to work around the
problem.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8

Versions of packages libgtk1.2 depends on:
ii  dpkg                      1.10.23        Package maintenance system for Deb
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libglib1.2                1.2.10-9       The GLib library of C routines
ii  libgtk1.2-common          1.2.10-17      Common files for the GTK+ library
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii  libxi6                    4.3.0.dfsg.1-8 X Window System Input extension li
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m

-- no debconf information

---------------------------------------
Received: (at 277060-close) by bugs.debian.org; 30 May 2005 03:08:03 +0000
>From katie@ftp-master.debian.org Sun May 29 20:08:03 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DcadH-0006kw-00; Sun, 29 May 2005 20:08:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DcaXr-0005sH-00; Sun, 29 May 2005 23:02:27 -0400
From: roberto@familiasanchez.net (Roberto C. Sanchez)
To: 277060-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#277060: fixed in toshutils 2.0.1-12
Message-Id: <E1DcaXr-0005sH-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 29 May 2005 23:02:27 -0400
Delivered-To: 277060-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: toshutils
Source-Version: 2.0.1-12

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

toshutils_2.0.1-12.diff.gz
  to pool/main/t/toshutils/toshutils_2.0.1-12.diff.gz
toshutils_2.0.1-12.dsc
  to pool/main/t/toshutils/toshutils_2.0.1-12.dsc
toshutils_2.0.1-12_i386.deb
  to pool/main/t/toshutils/toshutils_2.0.1-12_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 277060@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roberto C. Sanchez <roberto@familiasanchez.net> (supplier of updated toshutils 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: Sun, 29 May 2005 15:14:12 -0400
Source: toshutils
Binary: toshutils
Architecture: source i386
Version: 2.0.1-12
Distribution: unstable
Urgency: low
Maintainer: Roberto C. Sanchez <roberto@familiasanchez.net>
Changed-By: Roberto C. Sanchez <roberto@familiasanchez.net>
Description: 
 toshutils  - Toshiba laptop utilities
Closes: 277060 296706 304160
Changes: 
 toshutils (2.0.1-12) unstable; urgency=low
 .
   * Added Build-Depend on autotools-dev to get newer config.guess and
     config.sub.
   * Removed unnecessary Conflict.
 .
 toshutils (2.0.1-11) unstable; urgency=low
 .
   * Added Build-Depend on dpatch.  Allows the source to actually build.  Oops!
 
  -- Roberto C. Sanchez <roberto@familiasanchez.net>  Sun, 29 May 2005 07:30:24 -0400
 .
 toshutils (2.0.1-10) unstable; urgency=low
 .
   * Assume maintainership from Drew Parsons (closes: #304160,#296706).
   * General cleanup and maintenance of the files in the debian/ directory.
   * Removed obsolete information from the README.Debian file.
   * Incorporated a patch that provides support for GTK2.  The patch came from
     here: http://altlinux.org/index.php?module=sisyphus&package=toshutils
     (closes: #277060)
   * Created and added patches that fixed compiler warnings for implicit
     declaration of strcmp() and exit() functions.
 .
Files: 
 fbc826572d28a5cfb658cc0c7e81d0c9 673 utils extra toshutils_2.0.1-12.dsc
 eed4bce35176e5c50c529712c33e86dc 9094 utils extra toshutils_2.0.1-12.diff.gz
 0ecf0fd4ffff798481368570b5a012a3 111948 utils extra toshutils_2.0.1-12_i386.deb

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

iD8DBQFCmn6DgY5NIXPNpFURAip2AJ9t5VL492YJ6J95vr5mcc3gbjH35gCgmjxP
uIypdWuPuuE0e49i55ooSk4=
=mfu2
-----END PGP SIGNATURE-----



Reply to: