Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638850 - >=dev-tex/biber-2.8-r1: runs forever in t/encoding.t : Use of uninitialized value in subroutine entry at ... /lib/Biber/Utils.pm line 1190
Summary: >=dev-tex/biber-2.8-r1: runs forever in t/encoding.t : Use of uninitialized v...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hendrik v. Raven
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-11-26 07:00 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2020-04-07 07:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
biber-2.12 build log (biber-2.12:20200407-074326.log.gz,30.81 KB, application/gzip)
2020-04-07 07:50 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-11-26 07:00:20 UTC
The test suite enters an infinite loop in t/encoding.t, and needs manual killing. However, the origin of that infinite death loop indicates its probably broken at runtime too.

>>> Test phase: dev-tex/biber-2.8-r1
 * Test::Harness Jobs=3
t/bcfvalidation.t ......... ok                                          
t/annotations.t ........... ok                                          
t/biblatexml.t ............ ok                                          
t/bibtex-aliases.t ........ ok                                          
t/bibtex-output.t ......... ok                                          
t/configfile.t ............ ok                                          
t/crossrefs.t ............. ok                                          
t/datalists.t ............. ok                                          
t/dm-constraints.t ........ ok                                          
t/dateformats.t ........... ok                                          
===(     224;9  16/69   0/10  0/? )=====================================Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of unini>>> Test phase: dev-tex/biber-2.8-r1
 * Test::Harness Jobs=3
t/bcfvalidation.t ......... ok                                          
t/annotations.t ........... ok                                          
t/biblatexml.t ............ ok                                          
t/bibtex-aliases.t ........ ok                                          
t/bibtex-output.t ......... ok                                          
t/configfile.t ............ ok                                          
t/crossrefs.t ............. ok                                          
t/datalists.t ............. ok                                          
t/dm-constraints.t ........ ok                                          
t/dateformats.t ........... ok                                          
===(     224;9  16/69   0/10  0/? )=====================================Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.tialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/blib/lib/Biber/Utils.pm line 1190.

Line 1190 is:

  1190    print $fh NFC($string);# Unicode NFC boundary


NFC is likely an X-Sub and thus $string is probably undef.

Further poking gives me this backtrace:

Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/lib/Biber/Utils.pm line 1190.

Biber::Utils::out(IO::File=GLOB(0x55bea008dba0), "    \\entry{testS\x{30c}}{book}{}\x{a}      \\name{author}{1}{}{%\x{a}       "...) called at /var/tmp/portage/dev-tex/biber-2.8-r1/work/biber-2.8/lib/Biber/Output/test.pm line 400

Biber::Output::test::output(Biber::Output::test=HASH(0x55be9fe5fcb8)) called at t/encoding.t line 231


Temporarily nuking the encoding test makes other tests pass however.

I really don't know what's going on here though, and there's no point in attaching a build log ( it will just fill disk: 

du -sh /var/log/portage-build/build/dev-tex/biber-2.8*
20K     /var/log/portage-build/build/dev-tex/biber-2.8:20171118-220234.log
1.9G    /var/log/portage-build/build/dev-tex/biber-2.8:20171118-220425.log
20K     /var/log/portage-build/build/dev-tex/biber-2.8-r1:20171122-221944.log
5.2G    /var/log/portage-build/build/dev-tex/biber-2.8-r1:20171122-222137.log
20K     /var/log/portage-build/build/dev-tex/biber-2.8-r1:20171126-004255.log
3.0G    /var/log/portage-build/build/dev-tex/biber-2.8-r1:20171126-004508.log

And literally nothing interesting happens before running tests.
Comment 1 Hendrik v. Raven 2017-11-30 16:12:26 UTC
I am not able to reproduce this test error. Could you try whether it is still present in the just bumped 2.9?
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-12-05 00:50:53 UTC
(In reply to Hendrik v. Raven from comment #1)
> I am not able to reproduce this test error. Could you try whether it is
> still present in the just bumped 2.9?

Still present in 2.9

5.1G    /var/log/portage-build/build/dev-tex/biber-2.9:20171203-133009.log

>>> Test phase: dev-tex/biber-2.9
 * Test::Harness Jobs=3
t/bcfvalidation.t ......... ok                                          
t/annotations.t ........... ok                                          
t/bibtex-aliases.t ........ ok                                          
t/biblatexml.t ............ ok                                          
t/configfile.t ............ ok                                          
t/bibtex-output.t ......... ok                                          
t/crossrefs.t ............. ok                                          
t/datalists.t ............. ok                                          
t/dm-constraints.t ........ ok                                          
t/dateformats.t ........... ok                                          
===(     223;9  15/69   0/10 )==========================================Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.9/work/biber-2.9/blib/lib/Biber/Utils.pm line 1190.
Use of uninitialized value in subroutine entry at /var/tmp/portage/dev-tex/biber-2.9/work/biber-2.9/blib/lib/Biber/Utils.pm line 1190.
Comment 3 Hendrik v. Raven 2018-08-08 19:24:02 UTC
Sorry for ignoring this for so long. Could you check again with 2.10 and also which versions of dev-lang/perl and dev-perl/Text-BibTeX you are using?
Comment 4 Jonas Stein gentoo-dev 2020-04-07 01:50:52 UTC
No answer yet.
dev-tex/biber-2.8-r1 is no longer in the tree.
Please test and report back with dev-tex/biber-2.12.
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-07 07:50:45 UTC
Created attachment 631076 [details]
biber-2.12 build log

I can't actually replicate this right now for other reasons:

Namely, the test suite fails prolifically for me now, which will have to be fixed in order to see if the "run forever" part still happens.

That is to say: It is far more broken than it was when I tested it last.