After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533150 - during make test, Gtk2-1.182 fails at t/GtkIconView.t
during make test, Gtk2-1.182 fails at t/GtkIconView.t
Status: RESOLVED INCOMPLETE
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2008-05-14 17:06 UTC by Scott R. Godin
Modified: 2009-02-24 01:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Scott R. Godin 2008-05-14 17:06:54 UTC
Please describe the problem:
t/GtkIconView........................1/61 GLib-GObject-WARNING **: value "-48" of type `gint' is invalid or out of range for property `wrap-width' of type `gint' at /root/.cpan/build/Gtk2-1.182-pTQigb/blib/lib/Gtk2/TestHelper.pm line 84.
GLib-GObject-WARNING **: value "-48" of type `gint' is invalid or out of range for property `width' of type `gint' at /root/.cpan/build/Gtk2-1.182-pTQigb/blib/lib/Gtk2/TestHelper.pm line 84.


Steps to reproduce:
1. cpan
2. install Gtk2



Actual results:
fails during make test phase

Expected results:
pass

Does this happen every time?
yes

Other information:
there was one other failure during make test:
t/GtkIconTheme....................... Failed 5/15 subtests 

but it went unmentioned in the summary at the end:

Test Summary Report
-------------------
t/GtkIconTheme.t                 (Wstat: 139 Tests: 10 Failed: 0)
  Parse errors: Bad plan.  You planned 15 tests but ran 10.
Files=209, Tests=4410, 36 wallclock secs ( 1.77 usr  0.38 sys + 23.56 cusr  4.15 csys = 29.86 CPU)
Result: FAIL
Failed 1/209 test programs. 0/4410 subtests failed.


I am currently running on Fedora 8. Let me know whether I can provide any further details to assist
Comment 1 Torsten Schoenfeld 2008-06-01 14:44:30 UTC
The GtkIconView.t assertion is not a test failure.  The summary states that only GtkIconTheme.t failed.  Unfortunately, the output you provided isn't enough to know what went wrong.  Also, I think I recently fixed some test failures in that area.  So, can you try re-running with the latest release and if the failure persists, can you show the output of the following command?

  $ perl -Mblib -Iblib t/GtkIconTheme.t
Comment 2 Scott R. Godin 2008-06-04 18:16:22 UTC
2:08pm {6} localhost:/root/.cpan/build/Gtk2-1.183-VTEEPN># perl -Mblib -Iblib t/GtkIconTheme.t
1..15
ok 1 - The object isa Gtk2::IconTheme
ok 2 - The object isa Gtk2::IconTheme
ok 3 - The object isa Gtk2::IconTheme
ok 4
ok 5 - The object isa Gtk2::IconInfo
ok 6 - The object isa Gtk2::Gdk::Pixbuf
ok 7 - The object isa Gtk2::Gdk::Pixbuf
ok 8
ok 9
ok 10
Segmentation fault (core dumped)

well that explains a tiny bit.

here is a link to the coredump file in the hopes it will help. too large to attach to this bug. : http://www.webdragon.net/miscel/core.7717.bz2
Comment 3 Torsten Schoenfeld 2008-08-17 18:42:36 UTC
Sorry for taking so long to reply.  The coredump you provided doesn't work for me; gdb says: "core.7717" is not a core dump: File format not recognized.

Can you try to get a backtrace yourself?

  $ gdb perl
  gdb> r -Mblib -Iblib t/GtkIconTheme.t
  gdb> bt

And possibly valgrind output?

  $ valgrind --tool=memcheck --num-callers=100 perl -Mblib -Iblib t/GtkIconTheme.t
Comment 4 Tobias Mueller 2009-02-24 01:11:58 UTC
Scott, can you please provide the stacktrace, Torsten has asked for an reopen this issue? If you have any question, don't hesitate to ask. Thanks in advance!