Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 74439
Status: stalled
Priority: 0/
Queue: Tk

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

Bug Information
Severity: Normal
Broken in: 804.030
Fixed in: (no value)



Subject: make test errors in Tk-804.030 on Linux: t/create.t TextEdit
Several test failures: in this report t/create.t Some compilation warnings (below) ~> uname -prsv Linux 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 ~> perl -version This is perl 5, version 14, subversion 2 (v5.14.2) built for arch-thread-multi ... ok 490 # TextEdit update Use of uninitialized value in subroutine entry at /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/TextEdit.pm line 189. XS_Tk__Callback_Call error:Undefined subroutine &main:: called at /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/TextEdit.pm line 189. Tk::Error: Undefined subroutine &main:: called at /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/TextEdit.pm line 189. Tk::After::once at /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/After.pm line 90 [once,[{},after#496,300,once,[\&Tk::TextEdit::__ANON__]]] ("after" script) ok 491 Debugging: Tk-804.030> perl -d -Mblib t/create.t ... DB<1> b 100 $class eq 'TextEdit' DB<2> c ... DB<2> b 189 DB<3> c ... 189: &{$arr_ref->[$arr_ind]}; DB<3> x $arr_ind, $arr_ref->[$arr_ind] 0 0 1 undef DB<4> p $w Tk::TextEdit=HASH(0x1f78da8) DB<5> x keys %{$w} 0 '_Destroy_' 1 'WINDOW_PLUS_AND_MINUS_VALUE' 2 'LINE_COMMENT_STRING' 3 'INDENT_STRING' 4 'UPDATE_WIDGET_PERIOD' 5 'GUI_CALLBACK_ARRAY_INDEX' 6 '_After_' 7 'UPDATE_WIDGET_AFTER_REFERENCE' 8 '_TkValue_' 9 'HIGHLIGHT_PAIR_DESCRIPTOR_HASH_REF' One of every kind of warnings: imgBMP.c:242: warning: pointer targets in passing argument 2 of 'ImgRead' differ in signedness imgWindow.c:215: warning: 'cdata.red_mask' may be used uninitialized in this function Event.xs:385: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' Event.xs:1138: warning: comparison of distinct pointer types lacks a cast Event.xs:1140: warning: assignment from incompatible pointer type Marc
Sorry... this was not an error after all? I submit the other ones in separate reports.
On 2012-01-27 03:51:32, MGI wrote: Show quoted text
> Several test failures: in this report t/create.t > Some compilation warnings (below)
Hello Marc, do you see the errors also with Tk 804.031 or 804.031_500? Regards, Slaven Show quoted text
> ~> uname -prsv > Linux 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 > ~> perl -version > > This is perl 5, version 14, subversion 2 (v5.14.2) built for > arch-thread-multi > ... > > > ok 490 > # TextEdit update > Use of uninitialized value in subroutine entry at > /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/TextEdit.pm line 189. > XS_Tk__Callback_Call error:Undefined subroutine &main:: called at > /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/TextEdit.pm line 189. > > Tk::Error: Undefined subroutine &main:: called at > /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/TextEdit.pm line 189. > Tk::After::once at /home/emagiro/tmp/Tk-804.030/blib/lib/Tk/After.pm > line 90 > [once,[{},after#496,300,once,[\&Tk::TextEdit::__ANON__]]] > ("after" script) > ok 491 > > Debugging: > > Tk-804.030> perl -d -Mblib t/create.t > ... > DB<1> b 100 $class eq 'TextEdit' > DB<2> c > ... > DB<2> b 189 > DB<3> c > ... > 189: &{$arr_ref->[$arr_ind]}; > DB<3> x $arr_ind, $arr_ref->[$arr_ind] > 0 0 > 1 undef > DB<4> p $w > Tk::TextEdit=HASH(0x1f78da8) > DB<5> x keys %{$w} > 0 '_Destroy_' > 1 'WINDOW_PLUS_AND_MINUS_VALUE' > 2 'LINE_COMMENT_STRING' > 3 'INDENT_STRING' > 4 'UPDATE_WIDGET_PERIOD' > 5 'GUI_CALLBACK_ARRAY_INDEX' > 6 '_After_' > 7 'UPDATE_WIDGET_AFTER_REFERENCE' > 8 '_TkValue_' > 9 'HIGHLIGHT_PAIR_DESCRIPTOR_HASH_REF' > > > > One of every kind of warnings: > > imgBMP.c:242: warning: pointer targets in passing argument 2 of > 'ImgRead' differ in signedness > imgWindow.c:215: warning: 'cdata.red_mask' may be used uninitialized in > this function > Event.xs:385: warning: format '%d' expects type 'int', but argument 3 > has type 'size_t' > Event.xs:1138: warning: comparison of distinct pointer types lacks a cast > Event.xs:1140: warning: assignment from incompatible pointer type > > Marc