[apport] perl crashed with SIGSEGV in wnck_screen_get_default()

Bug #104687 reported by Michael Robinson
2
Affects Status Importance Assigned to Milestone
libgnome2-wnck-perl (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: libgnome2-wnck-perl

The following program crashes on a reasonably up-to-date Feisty system:

#!/usr/bin/perl
use Gnome2::Wnck;
$screen = Gnome2::Wnck::Screen->get_default();
$screen->signal_connect(
    active_window_changed => sub {
        print $screen->get_active_window()->get_name();
    }
);
gtk_main();

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Mon Apr 9 19:51:49 2007
Dependencies:
 tzdata 2007b-0ubuntu1
 belocs-locales-bin 2.4-2ubuntu2
 locales 2.3.23
 libc6 2.5-0ubuntu12
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/perl
Package: perl-base 5.8.8-7build1
PackageArchitecture: i386
ProcCmdline: perl t.pl
ProcCwd: /home/michaelr
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/michaelr/bea/jdk142_11/bin:/home/michaelr/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LC_COLLATE=C
 LANG=en_NZ.UTF-8
 LANGUAGE=en_NZ:en_US:en_GB:en
Signal: 11
SourcePackage: perl
StacktraceTop:
 wnck_screen_get_default () from /usr/lib/libwnck-1.so.18
 XS_Gnome2__Wnck__Screen_get_default ()
 Perl_pp_entersub ()
 Perl_runops_standard ()
 perl_run ()
Uname: Linux michaelrlt 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip disk floppy lpadmin plugdev scanner src video

Revision history for this message
Michael Robinson (michael-livia) wrote :
Changed in libgnome2-wnck-perl:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
?? ()
?? ()
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Michael Robinson (michael-livia) wrote :

Note that this is a very low priority bug, and probably should be for upstream; the program is incorrect in how it uses the API, and should throw an error regardless (no initialization of Gtk2 has been done). A core dump does seem to be a bit severe, however.

Changed in libgnome2-wnck-perl:
assignee: desktop-bugs → nobody
importance: Medium → Low
status: Unconfirmed → Confirmed
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.