Skip Menu |

This queue is for tickets about the Gtk2-Ex-ListModelConcat CPAN distribution.

Report information
The Basics
Id: 108274
Status: resolved
Priority: 0/
Queue: Gtk2-Ex-ListModelConcat

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 10
Fixed in: (no value)



Subject: perl 5.23.4 error: panic: stack_grow() negative count (-1)
t/ListModelConcat.t fails with perl 5.23.4 with the following output: Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/bbbike/perl-5.23.4/bin/perl5.23.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Perl-Gtk2 version 1.2496 # Perl-Glib version 1.307 # Compiled against Glib version 2.32.4. # Running on Glib version 2.32.4. # Compiled against Gtk version 2.24.10. # Running on Gtk version 2.24.10. # append # move_after() no change # move_after() within submodel, upwards # move_after() within submodel, downwards # move_after() across submodel, downwards panic: stack_grow() negative count (-1) at /tmpfs/.cpan-build/2015103106/Gtk2-Ex-ListModelConcat-10-4FBE0J/blib/lib/Gtk2/Ex/ListModelConcat.pm line 813. # Looks like you planned 248 tests but ran 137. # Looks like your test exited with 255 just after 137. t/ListModelConcat.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 111/248 subtests t/overload.t ......... ok t/test-weaken.t ...... skipped: due to Test::Weaken 2.000 and/or Test::Weaken::Gtk2 not available -- Can't locate Test/Weaken.pm in @INC (you may need to install the Test::Weaken module) (@INC contains: /tmpfs/.cpan-build/2015103106/Gtk2-Ex-ListModelConcat-10-4FBE0J/blib/lib /tmpfs/.cpan-build/2015103106/Gtk2-Ex-ListModelConcat-10-4FBE0J/blib/arch /opt/perl-5.23.4/lib/site_perl/5.23.4/x86_64-linux /opt/perl-5.23.4/lib/site_perl/5.23.4 /opt/perl-5.23.4/lib/5.23.4/x86_64-linux /opt/perl-5.23.4/lib/5.23.4 .) at (eval 10) line 1.
On 2015-10-31 05:02:59, SREZIC wrote: Show quoted text
> t/ListModelConcat.t fails with perl 5.23.4 with the following output: > > Output from '/usr/bin/make test': > > PERL_DL_NONLAZY=1 "/bbbike/perl-5.23.4/bin/perl5.23.4" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > # Perl-Gtk2 version 1.2496 > # Perl-Glib version 1.307 > # Compiled against Glib version 2.32.4. > # Running on Glib version 2.32.4. > # Compiled against Gtk version 2.24.10. > # Running on Gtk version 2.24.10. > # append > # move_after() no change > # move_after() within submodel, upwards > # move_after() within submodel, downwards > # move_after() across submodel, downwards > panic: stack_grow() negative count (-1) at /tmpfs/.cpan- > build/2015103106/Gtk2-Ex-ListModelConcat-10- > 4FBE0J/blib/lib/Gtk2/Ex/ListModelConcat.pm line 813. > # Looks like you planned 248 tests but ran 137. > # Looks like your test exited with 255 just after 137. > t/ListModelConcat.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 111/248 subtests > t/overload.t ......... ok > t/test-weaken.t ...... skipped: due to Test::Weaken 2.000 and/or > Test::Weaken::Gtk2 not available -- Can't locate Test/Weaken.pm in > @INC (you may need to install the Test::Weaken module) (@INC contains: > /tmpfs/.cpan-build/2015103106/Gtk2-Ex-ListModelConcat-10- > 4FBE0J/blib/lib /tmpfs/.cpan-build/2015103106/Gtk2-Ex-ListModelConcat- > 10-4FBE0J/blib/arch /opt/perl-5.23.4/lib/site_perl/5.23.4/x86_64-linux > /opt/perl-5.23.4/lib/site_perl/5.23.4 /opt/perl- > 5.23.4/lib/5.23.4/x86_64-linux /opt/perl-5.23.4/lib/5.23.4 .) at (eval > 10) line 1.
Possibly related to https://rt.perl.org/Ticket/Display.html?id=126472
Subject: Re: [rt.cpan.org #108274] perl 5.23.4 error: panic: stack_grow() negative count (-1)
Date: Mon, 02 Nov 2015 19:16:36 +1100
To: "Slaven_Rezic via RT" <bug-Gtk2-Ex-ListModelConcat [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Slaven_Rezic via RT" <bug-Gtk2-Ex-ListModelConcat@rt.cpan.org> writes: Show quoted text
> > panic: stack_grow() negative count (-1) at /tmpfs/.cpan-build/2015103106/Gtk2-Ex-ListModelConcat-10-4FBE0J/blib/lib/Gtk2/Ex/ListModelConcat.pm line 813.
Hmm. I'm pure perl there and I think I'm doing the right thing. Could be something hairy hurting gtk2-perl. Could be its xs/GtkTreeModel.xs gtk_tree_model_get() which does an EXTEND() which could be negative if there's more existing stack "items" than the intended" list of return values ("n_columns). SPAGAIN; EXTEND (SP, n_columns - items); SP += n_columns - items; PUTBACK; Does that sound likely? Is EXTEND() meant to do nothing on small negatives? Presumably it has done up to now. (I can understand disallowing wild negatives, but would it permit negatives which don't go below current "items"?) -- These prestigious wrought-iron security gates are bullet-proof, bomb-proof, and battering-ram resistant.
Subject: Re: [rt.cpan.org #108274] perl 5.23.4 error: panic: stack_grow() negative count (-1)
Date: Sat, 28 Nov 2015 19:03:47 +1100
To: "Kevin Ryde via RT" <bug-Gtk2-Ex-ListModelConcat [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
I wrote: Show quoted text
> > EXTEND (SP, n_columns - items);
This has been attacked in Perl-Gtk2. I'll think about a recommends in my package when it's a released version, but anyone get()ting a full row from a 1-column tree model is affected.