Skip Menu |
 

This queue is for tickets about the Gtk2 CPAN distribution.

Report information
The Basics
Id: 40903
Status: stalled
Priority: 0/
Queue: Gtk2

People
Owner: Nobody in particular
Requestors: nonsolosoft [...] diff.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.202
Fixed in: (no value)



Subject: some tests fails on dragonflybsd 2.1 with perl 5.10
Download (untitled) / with headers
text/plain 15.6k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 1.8k
On Thu Nov 13 15:38:58 2008, nonsolosoft@diff.org wrote: Show quoted text
> t/GtkFileChooserButton.............GLib-GObject-ERROR **: > g_type_plugin_*() invalidly modified type `GFileInfo' at > t/GtkFileChooserButton.t line 9. > t/GtkFileChooserButton............. Failed 9/9 subtests > t/GtkFileChooserDialog.............GLib-GObject-ERROR **: > g_type_plugin_*() invalidly modified type `GFileInfo' at > t/GtkFileChooserDialog.t line 10. > t/GtkFileChooserDialog............. Failed 6/6 subtests > t/GtkFileChooserWidget.............GLib-GObject-ERROR **: > g_type_plugin_*() invalidly modified type `GFileInfo' at > t/GtkFileChooserWidget.t line 10. > t/GtkFileChooserWidget............. Failed 6/6 subtests
These failures seem to suggest that is something wrong with your gtk+ installation. Do other gtk+ apps work properly when they use a file chooser? Show quoted text
> t/GtkSocket-GtkPlug................1/12 The program > 'GtkSocket-GtkPlug.t' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadWindow (invalid Window parameter)'. > (Details: serial 184 error_code 3 request_code 149 minor_code 1) > (Note to programmers: normally, X errors are reported > asynchronously; > that is, you will receive the error a while after causing it. > To debug your program, run it with the --sync command line > option to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() > function.) > t/GtkSocket-GtkPlug................ Dubious, test returned 1 (wstat > 256, > 0x100) > Failed 7/12 subtests > (less 2 skipped subtests: 3 okay)
We've seen multiple reports of this, but I cannot reproduce. Can you try to nail down the problem a bit? For example, how much of the test can you remove before the problem goes away? What happens if you follow the advice of the error message and run `perl t/GtkSocket-GtkPlug.t --sync`?
Subject: Re: [rt.cpan.org #40903] some tests fails on dragonflybsd 2.1 with perl 5.10
Date: Sat, 15 Nov 2008 18:54:06 +0100
To: bug-Gtk2 [...] rt.cpan.org
From: Ferruccio Zamuner <nonsolosoft [...] diff.org>
Torsten Schoenfeld via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=40903 > > > On Thu Nov 13 15:38:58 2008, nonsolosoft@diff.org wrote: >
>> t/GtkFileChooserButton.............GLib-GObject-ERROR **: >> g_type_plugin_*() invalidly modified type `GFileInfo' at >> t/GtkFileChooserButton.t line 9. >> t/GtkFileChooserButton............. Failed 9/9 subtests >> t/GtkFileChooserDialog.............GLib-GObject-ERROR **: >> g_type_plugin_*() invalidly modified type `GFileInfo' at >> t/GtkFileChooserDialog.t line 10. >> t/GtkFileChooserDialog............. Failed 6/6 subtests >> t/GtkFileChooserWidget.............GLib-GObject-ERROR **: >> g_type_plugin_*() invalidly modified type `GFileInfo' at >> t/GtkFileChooserWidget.t line 10. >> t/GtkFileChooserWidget............. Failed 6/6 subtests >>
> > These failures seem to suggest that is something wrong with your gtk+ > installation. Do other gtk+ apps work properly when they use a file > chooser? >
Yes, I've gimp, gnome-dia, gnumeric, and serveral other using file chooser dialog. Show quoted text
>> t/GtkSocket-GtkPlug................1/12 The program >> 'GtkSocket-GtkPlug.t' received an X Window System error. >> This probably reflects a bug in the program. >> The error was 'BadWindow (invalid Window parameter)'. >> (Details: serial 184 error_code 3 request_code 149 minor_code 1) >> (Note to programmers: normally, X errors are reported >> asynchronously; >> that is, you will receive the error a while after causing it. >> To debug your program, run it with the --sync command line >> option to change this behavior. You can then get a meaningful >> backtrace from your debugger if you break on the gdk_x_error() >> function.) >> t/GtkSocket-GtkPlug................ Dubious, test returned 1 (wstat >> 256, >> 0x100) >> Failed 7/12 subtests >> (less 2 skipped subtests: 3 okay) >>
> > We've seen multiple reports of this, but I cannot reproduce. Can you > try to nail down the problem a bit? For example, how much of the test > can you remove before the problem goes away? What happens if you follow > the advice of the error message and run `perl t/GtkSocket-GtkPlug.t --sync`? >
lap# perl -Iblib/lib -Iblib/arch t/GtkSocket-GtkPlug.t --sync 1..12 ok 1 ok 2 ok 3 ok 4 # skip new 2.14 stuff ok 5 # skip new 2.14 stuff ^C using --sync it doesn't return at least for some minutes. lap# perl -Iblib/lib -Iblib/arch t/GtkSocket-GtkPlug.t 1..12 ok 1 ok 2 ok 3 ok 4 # skip new 2.14 stuff ok 5 # skip new 2.14 stuff The program 'GtkSocket-GtkPlug.t' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 184 error_code 3 request_code 149 minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Thank you for your support. Bye, \fer
Subject: Re: [rt.cpan.org #40903] some tests fails on dragonflybsd 2.1 with perl 5.10
Date: Sun, 22 Feb 2009 15:19:45 +0100
To: bug-Gtk2 [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
Download (untitled) / with headers
text/plain 1.4k
nonsolosoft@diff.org via RT wrote: Show quoted text
>>> t/GtkFileChooserButton.............GLib-GObject-ERROR **: >>> g_type_plugin_*() invalidly modified type `GFileInfo' at >>> t/GtkFileChooserButton.t line 9. >>> t/GtkFileChooserButton............. Failed 9/9 subtests >>> t/GtkFileChooserDialog.............GLib-GObject-ERROR **: >>> g_type_plugin_*() invalidly modified type `GFileInfo' at >>> t/GtkFileChooserDialog.t line 10. >>> t/GtkFileChooserDialog............. Failed 6/6 subtests >>> t/GtkFileChooserWidget.............GLib-GObject-ERROR **: >>> g_type_plugin_*() invalidly modified type `GFileInfo' at >>> t/GtkFileChooserWidget.t line 10. >>> t/GtkFileChooserWidget............. Failed 6/6 subtests >>>
>> These failures seem to suggest that is something wrong with your gtk+ >> installation. Do other gtk+ apps work properly when they use a file >> chooser? >>
> Yes, I've gimp, gnome-dia, gnumeric, and serveral other using file > chooser dialog.
Strange. Please try the attached programs. Both open a file chooser dialog; just close it. No output should be printed and no error should occur. Compile the C program with $ gcc `pkg-config --libs --cflags gtk+-2.0` gtk-file-chooser-test.c -o gtk-file-chooser-test If the Perl variant fails while the C variant works, please also provide the output of $ ldd gtk-file-chooser-test and $ ldd `find <perl prefix> -name Gtk2.so` with <perl prefix> replaced by the installation prefix of the Gtk2 module.
#include <gtk/gtk.h> int main (int argc, char **argv) { GtkWidget *dialog; gtk_init (&argc, &argv); dialog = gtk_file_chooser_dialog_new ("Urgs", NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); return 0; }
#!/usr/bin/perl -w use strict; use Gtk2 -init; my $dialog = Gtk2::FileChooserDialog -> new("Urgs", undef, "open", "gtk-cancel" => "cancel", "gtk-ok" => "ok"); $dialog -> run();


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.