Your message dated Mon, 26 Jul 2010 01:47:06 +0000
with message-id <e1odcmy-0003vd...@franck.debian.org>
and subject line Bug#589443: fixed in cccd 0.3beta4-6.2
has caused the Debian Bug report #589443,
regarding Segfault when attemping to play any audio CD
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
589443: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589443
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cccd
Version: 0.3beta4-6.1
Severity: grave
Program received signal SIGSEGV, Segmentation fault.
0x00000000004034c7 in update_status_string () at cccd.c:940
940 sprintf(disp.status_string, "%s", "Error");
(gdb) bt
#0 0x00000000004034c7 in update_status_string () at cccd.c:940
#1 0x000000000040448f in play_callback (widget=0x6ac190, data=<value
optimized out>)
at cccd.c:455
#2 0x00007ffff5bad47e in IA__g_closure_invoke (closure=0x6ad3d0,
return_value=0x0,
n_param_values=1, param_values=0x6b42c0,
invocation_hint=0x7fffffffd540)
at /tmp/buildd/glib2.0-2.24.1/gobject/gclosure.c:767
#3 0x00007ffff5bc33f7 in signal_emit_unlocked_R (node=0x67a0a0,
detail=<value optimized out>, instance=<value optimized out>,
emission_return=<value optimized out>, instance_and_params=<value
optimized out>)
at /tmp/buildd/glib2.0-2.24.1/gobject/gsignal.c:3248
....
(gdb) p disp
$1 = {progress_bar = 0x6ac610, drawing_area = 0x6745f0, pixmap = 0x0,
gc = 0x0,
title_font = 0x0, status_font = 0x0, time_font = 0x0, cd_title =
0x0, track_title = 0x0,
status_string = 0x0, time_string = 0x0, mode_string = 0x0, timeout =
0,
timemode = ABS_DONE}
So it is trying to write to a NULL pointer....
Looking more deeply into this I noticed that the init_display() was
not being called. It turns out that GDK_STRUCTURE_MASK needs to be set
*explicitly* because it is off by default. The documentation says
regarding map-event and configure-event,
"To receive this signal, the GdkWindow associated to the widget needs
to enable the GDK_STRUCTURE_MASK mask. GDK will enable this mask
automatically for all new windows."
- http://library.gnome.org/devel/gtk/unstable/GtkWidget.html
So basically the patch is,
diff cccd-0.3beta4/cccd.c cccd-0.3beta4-new//cccd.c
275,277c275,276
< gtk_widget_set_events(disp.drawing_area,
< gtk_widget_get_events(disp.drawing_area) |
< GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK);
---
> gtk_widget_add_events(disp.drawing_area,
> GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK |
> GDK_STRUCTURE_MASK);
I've attached a unified patch.
If you don't have time to upload this, let me know and I'll NMU this
small patch.
- Adam
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cccd depends on:
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libpango1.0-0 1.28.0-1 Layout and rendering of internatio
cccd recommends no packages.
cccd suggests no packages.
-- no debconf information
Only in cccd-0.3beta4-new: cccd
diff -u cccd-0.3beta4/cccd.c cccd-0.3beta4-new/cccd.c
--- cccd-0.3beta4/cccd.c 2010-07-17 15:01:38.000000000 -0500
+++ cccd-0.3beta4-new/cccd.c 2010-07-17 15:14:40.020019400 -0500
@@ -272,9 +272,8 @@
/* area where all text appears */
disp.drawing_area = gtk_drawing_area_new();
gtk_drawing_area_size(GTK_DRAWING_AREA(disp.drawing_area), 120, 60);
- gtk_widget_set_events(disp.drawing_area,
- gtk_widget_get_events(disp.drawing_area) |
- GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK);
+ gtk_widget_add_events(disp.drawing_area,
+ GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK);
gtk_signal_connect(GTK_OBJECT(disp.drawing_area), "expose_event",
(GtkSignalFunc) expose_event, NULL);
gtk_signal_connect(GTK_OBJECT(disp.drawing_area), "configure_event",
Only in cccd-0.3beta4-new: cccd.o
Only in cccd-0.3beta4-new: cddb.o
Only in cccd-0.3beta4-new: cddbp.o
Only in cccd-0.3beta4-new: cd.o
Only in cccd-0.3beta4-new: core
Common subdirectories: cccd-0.3beta4/debian and cccd-0.3beta4-new/debian
Only in cccd-0.3beta4-new: info.o
Only in cccd-0.3beta4-new: misc.o
Only in cccd-0.3beta4-new: options.o
--- End Message ---
--- Begin Message ---
Source: cccd
Source-Version: 0.3beta4-6.2
We believe that the bug you reported is fixed in the latest version of
cccd, which is due to be installed in the Debian FTP archive:
cccd_0.3beta4-6.2.diff.gz
to main/c/cccd/cccd_0.3beta4-6.2.diff.gz
cccd_0.3beta4-6.2.dsc
to main/c/cccd/cccd_0.3beta4-6.2.dsc
cccd_0.3beta4-6.2_i386.deb
to main/c/cccd/cccd_0.3beta4-6.2_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 589...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <b...@decadent.org.uk> (supplier of updated cccd 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 26 Jul 2010 02:30:34 +0100
Source: cccd
Binary: cccd
Architecture: i386 source
Version: 0.3beta4-6.2
Distribution: unstable
Urgency: low
Maintainer: Uwe Hermann <u...@debian.org>
Changed-By: Ben Hutchings <b...@decadent.org.uk>
Closes: 589443
Description:
cccd - A small GTK+ CD player program
Changes:
cccd (0.3beta4-6.2) unstable; urgency=low
.
* Non-maintainer upload.
* Fix event mask for window, thanks to Adam Majer (Closes: #589443)
Checksums-Sha1:
8935048364f16b4d8b5952c49e6fbd02df94dea5 34044 cccd_0.3beta4-6.2_i386.deb
706b4a95853547e2ae417c82186ce3330309aae6 1586 cccd_0.3beta4-6.2.dsc
75824af624cde48ba885145896041657d09f47c1 6198 cccd_0.3beta4-6.2.diff.gz
Checksums-Sha256:
4f50be2487e548e5e88623da72ae6913cc6be0f62cf61955ca85aa0eec8af72c 34044
cccd_0.3beta4-6.2_i386.deb
a75a16171312caad7c88e9b36b4c6364a5379f92158371b3c8488a1df982f069 1586
cccd_0.3beta4-6.2.dsc
4e5ddd8e8882079509dfdedb67a20f2461b09f5bfbdc330979b776f0a9943d60 6198
cccd_0.3beta4-6.2.diff.gz
Files:
2c1d5a23f7d9816b15855548397fbd13 34044 sound extra cccd_0.3beta4-6.2_i386.deb
92273988ec8c95dad3a9062ac4d6fa4d 1586 sound extra cccd_0.3beta4-6.2.dsc
818bcf7c3a12f743b154085f191e6df9 6198 sound extra cccd_0.3beta4-6.2.diff.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBTEznFee/yOyVhhEJAQpSthAAmM6cXqtR+0z7ulHcmcSgPoflqMtrg39z
uuKLnehmKt0Or7h8GFv25QdfykOdUziVu3VQ0HWn/0VOjFU/mlblBpe6ypLgfXot
4I8i++Zbrjid8VMSsMDFhxNrHOHgv5iP49pfETPkdDIZB79c9cFe8ZhXh6X4Tz3m
/cn1BfjAqKpVff9qRHt9GF1KCO5dzlJiS5ydV5Nu0elNQKItnH0w2nj91NnJFJJ0
mTGoTCe29O/NiUFE0oCfr4vWyzJpiKTLvgl7WnMk7SC/lm629OOHW2R9ZDYMn850
lt3XfuPWbWjWKBuB59z69sL+8UkrizTyd2fqwVSIIQ5EgJia2hT3SQXDgkLUp6Gz
AnGdVGKz4vsoyIKXewwgSDt53ipB95KHu5M+OgosnW/hCCam7qDuLr88mNxu+DvJ
PzX15rsJYs3hzzY9RZSiGC8tMuTvVxRH6pQSh+I6j8/BTpr6Tsc/gA0HIE4AShYa
u73yEwo20LqjJ2vzbTPgJcKNc5Hlp/qYKpmoFtFNUQXq4IaFZp1YLCpxWEuIxHkI
2mbi/IzaIT9FOrXEOf0R5cwVDK6SESXi8Qr1naswjA2TIwxLXowmdZx5BGrwu9+I
9Lggh5SNCDQjAuJN0/RxjzxbRsfKCwEUxbOsLfxBKkem5zq3w07s1QySvRFN5bSa
R0j5Px72Ph0=
=Pccg
-----END PGP SIGNATURE-----
--- End Message ---