Skip Menu |

This queue is for tickets about the Thread-Queue-Any CPAN distribution.

Report information
The Basics
Id: 94178
Status: open
Priority: 0/
Queue: Thread-Queue-Any

People
Owner: Nobody in particular
Requestors: rvkreddy [...] gmail.com
Cc:
AdminCc:

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



Subject: Error while using CPAN Thread::Queues::Any
Date: Tue, 25 Mar 2014 17:15:31 +0530
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: "rvkreddy ." <rvkreddy [...] gmail.com>
Am seeing this below error while using this CPAN undefined subroutine &main:: called at Any.pm line 52 Pls let me know what needs to be done. Regards venkat
Subject: Re: [rt.cpan.org #94178] Error while using CPAN Thread::Queues::Any
Date: Tue, 25 Mar 2014 16:13:48 +0100
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
On 25 Mar 2014, at 12:45, rvkreddy . via RT <bug-Thread-Queue-Any@rt.cpan.org> wrote: Show quoted text
> Tue Mar 25 07:45:41 2014: Request 94178 was acted upon. > Transaction: Ticket created by rvkreddy@gmail.com > Queue: Thread-Queue-Any > Subject: Error while using CPAN Thread::Queues::Any > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: rvkreddy@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > > Am seeing this below error while using this CPAN > > undefined subroutine &main:: called at Any.pm line 52 > > Pls let me know what needs to be done.
Could you please give me a piece of code that shows this problem? And the output of perl -V that you’re using? Thank you! Liz
Subject: Re: [rt.cpan.org #94178] Error while using CPAN Thread::Queues::Any
Date: Wed, 26 Mar 2014 10:28:01 +0530
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: "rvkreddy ." <rvkreddy [...] gmail.com>
Thanks for the prompt response. My code is very simple.I have the below code use lib "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/"; require "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/Thread/Queue/Any.pm"; our $wt_to_mt_queue = Thread::Queue::Any->new(); $GuiTasksMainDlg::wt_to_mt_queue->enqueue($selfnew); Regards Venkat On Tue, Mar 25, 2014 at 8:44 PM, Elizabeth Mattijsen via RT < bug-Thread-Queue-Any@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > On 25 Mar 2014, at 12:45, rvkreddy . via RT < > bug-Thread-Queue-Any@rt.cpan.org> wrote:
> > Tue Mar 25 07:45:41 2014: Request 94178 was acted upon. > > Transaction: Ticket created by rvkreddy@gmail.com > > Queue: Thread-Queue-Any > > Subject: Error while using CPAN Thread::Queues::Any > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: rvkreddy@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > > > > > Am seeing this below error while using this CPAN > > > > undefined subroutine &main:: called at Any.pm line 52 > > > > Pls let me know what needs to be done.
> > Could you please give me a piece of code that shows this problem? > > > And the output of perl -V that you're using? > > > > Thank you! > > > > Liz >
Subject: Re: [rt.cpan.org #94178] Error while using CPAN Thread::Queues::Any
Date: Wed, 26 Mar 2014 10:32:33 +0530
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: "rvkreddy ." <rvkreddy [...] gmail.com>
Am using perl 5.10.1 version. Regards venkat On Wed, Mar 26, 2014 at 10:28 AM, rvkreddy . <rvkreddy@gmail.com> wrote: Show quoted text
> Thanks for the prompt response. > My code is very simple.I have the below code > > use lib "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/"; > require > "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/Thread/Queue/Any.pm"; > our $wt_to_mt_queue = Thread::Queue::Any->new(); > $GuiTasksMainDlg::wt_to_mt_queue->enqueue($selfnew); > > Regards > Venkat > > > On Tue, Mar 25, 2014 at 8:44 PM, Elizabeth Mattijsen via RT < > bug-Thread-Queue-Any@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > >> >> On 25 Mar 2014, at 12:45, rvkreddy . via RT < >> bug-Thread-Queue-Any@rt.cpan.org> wrote:
>> > Tue Mar 25 07:45:41 2014: Request 94178 was acted upon. >> > Transaction: Ticket created by rvkreddy@gmail.com >> > Queue: Thread-Queue-Any >> > Subject: Error while using CPAN Thread::Queues::Any >> > Broken in: (no value) >> > Severity: (no value) >> > Owner: Nobody >> > Requestors: rvkreddy@gmail.com >> > Status: new >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > >> > >> > >> > Am seeing this below error while using this CPAN >> > >> > undefined subroutine &main:: called at Any.pm line 52 >> > >> > Pls let me know what needs to be done.
>> >> Could you please give me a piece of code that shows this problem? >> >> >> And the output of perl -V that you're using? >> >> >> >> Thank you! >> >> >> >> Liz >>
> >
Subject: Re: [rt.cpan.org #94178] Error while using CPAN Thread::Queues::Any
Date: Wed, 26 Mar 2014 09:53:39 +0100
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Thank you. But what does “perl -V” say ??? Liz On 26 Mar 2014, at 06:02, rvkreddy . via RT <bug-Thread-Queue-Any@rt.cpan.org> wrote: Show quoted text
> Queue: Thread-Queue-Any > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > Am using perl 5.10.1 version. > Regards > venkat > > > On Wed, Mar 26, 2014 at 10:28 AM, rvkreddy . <rvkreddy@gmail.com> wrote: >
>> Thanks for the prompt response. >> My code is very simple.I have the below code >> >> use lib "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/"; >> require >> "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/Thread/Queue/Any.pm"; >> our $wt_to_mt_queue = Thread::Queue::Any->new(); >> $GuiTasksMainDlg::wt_to_mt_queue->enqueue($selfnew); >> >> Regards >> Venkat >> >> >> On Tue, Mar 25, 2014 at 8:44 PM, Elizabeth Mattijsen via RT < >> bug-Thread-Queue-Any@rt.cpan.org> wrote: >>
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > >>> >>> On 25 Mar 2014, at 12:45, rvkreddy . via RT < >>> bug-Thread-Queue-Any@rt.cpan.org> wrote:
>>>> Tue Mar 25 07:45:41 2014: Request 94178 was acted upon. >>>> Transaction: Ticket created by rvkreddy@gmail.com >>>> Queue: Thread-Queue-Any >>>> Subject: Error while using CPAN Thread::Queues::Any >>>> Broken in: (no value) >>>> Severity: (no value) >>>> Owner: Nobody >>>> Requestors: rvkreddy@gmail.com >>>> Status: new >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > >>>> >>>> >>>> Am seeing this below error while using this CPAN >>>> >>>> undefined subroutine &main:: called at Any.pm line 52 >>>> >>>> Pls let me know what needs to be done.
>>> >>> Could you please give me a piece of code that shows this problem? >>> >>> >>> And the output of perl -V that you're using? >>> >>> >>> >>> Thank you! >>> >>> >>> >>> Liz >>>
>> >>
>
Subject: Re: [rt.cpan.org #94178] Error while using CPAN Thread::Queues::Any
Date: Wed, 26 Mar 2014 14:50:04 +0530
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: "rvkreddy ." <rvkreddy [...] gmail.com>
Hi This is the output of perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.9-89.0.3.elsmp, archname=i686-linux-thread-multi uname='linux kiew013 2.6.9-89.0.3.elsmp #1 smp sat jun 13 07:05:54 edt 2009 i686 i686 i386 gnulinux ' config_args='-Dprefix=/opt/perl_5.10.1 -Dmydomain=.muc.infineon.com-Dcf_email= perl@muc.infineon.com -Uinstallusrbinperl -Dperlpath=/opt/perl_5.10.1/bin/perl -Dinstallman1dir=/opt/perl_5.10.1/man/man1 -Dman1dir=/opt/perl_5.10.1/man/man1 -Dinstallman3dir=/opt/perl_5.10.1/man/man3 -Dman3dir=/opt/perl_5.10.1/man/man3 -Dperladmin=perl@muc.infineon.com-Dprivlib=/opt/perl_5.10.1/lib -Darchlib=/opt/perl_5.10.1/lib -Dsitelib=/opt/perl_5.10.1/lib -Dsitearch=/opt/perl_5.10.1/lib -Dscriptdir=/opt/perl_5.10.1/bin -Dsitescript=/opt/perl_5.10.1/bin -Ubincompat5005 -Dlibperl=libperlifx.so -Dcc=gcc -m32 -Dld=gcc -m32 -Dldflags=-Wl,-rpath,/opt/perl_5.10.1/ext/lib -Dbin=/opt/perl_5.10.1/bin -Dbinexp=/opt/perl_5.10.1/bin -Dsitebin=/opt/perl_5.10.1/bin -Dlocincpth=/opt/perl_5.10.1/ext/include -Dloclibpth=/opt/perl_5.10.1/ext/lib -Dglibpth=/usr/lib /lib -Duseshrplib -Dusethreads -Dpager=/usr/bin/less -Dsed=/bin/sed -Doptimize=-O2 -march=pentium4 -Dlddlflags=-shared -Wl,-rpath,/opt/perl_5.10.1/ext/lib -Dyacc=bison -y -Dccflags=-DPERL_USE_SAFE_PUTENV -de' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc -m32', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/opt/perl_5.10.1/ext/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -march=pentium4', cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/opt/perl_5.10.1/ext/include' ccversion='', gccversion='4.3.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc -m32', ldflags ='-Wl,-rpath,/opt/perl_5.10.1/ext/lib -L/opt/perl_5.10.1/ext/lib' libpth=/opt/perl_5.10.1/ext/lib /usr/lib /lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperlifx.so gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/perl_5.10.1/lib/CORE' cccdlflags='-fPIC', lddlflags='-shared -Wl,-rpath,/opt/perl_5.10.1/ext/lib -L/opt/perl_5.10.1/ext/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Apr 26 2010 10:52:39 %ENV: PERL5LIB="/opt/lsf_7.0.6/share/exec/lib:/var/vob/relman/admin/vob/wotantool/admin/deploy/base/etc:/var/vob/relman/admin/vob/wotantool/admin/deploy/base/lib:/var/vob/relman/admin" @INC: /opt/lsf_7.0.6/share/exec/lib /var/vob/relman/admin/vob/wotantool/admin/deploy/base/etc /var/vob/relman/admin/vob/wotantool/admin/deploy/base/lib /var/vob/relman/admin /opt/perl_5.10.1/lib . kondared@vihlc634:~/wotan_performance/home/k On Wed, Mar 26, 2014 at 2:23 PM, Elizabeth Mattijsen via RT < bug-Thread-Queue-Any@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > Thank you. But what does "perl -V" say ??? > > > Liz > > On 26 Mar 2014, at 06:02, rvkreddy . via RT < > bug-Thread-Queue-Any@rt.cpan.org> wrote: >
> > Queue: Thread-Queue-Any > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > > > Am using perl 5.10.1 version. > > Regards > > venkat > > > > > > On Wed, Mar 26, 2014 at 10:28 AM, rvkreddy . <rvkreddy@gmail.com> wrote: > >
> >> Thanks for the prompt response. > >> My code is very simple.I have the below code > >> > >> use lib "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/"; > >> require > >>
> "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/Thread/Queue/Any.pm";
> >> our $wt_to_mt_queue = Thread::Queue::Any->new(); > >> $GuiTasksMainDlg::wt_to_mt_queue->enqueue($selfnew); > >> > >> Regards > >> Venkat > >> > >> > >> On Tue, Mar 25, 2014 at 8:44 PM, Elizabeth Mattijsen via RT < > >> bug-Thread-Queue-Any@rt.cpan.org> wrote: > >>
> >>> <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > >>> > >>> On 25 Mar 2014, at 12:45, rvkreddy . via RT < > >>> bug-Thread-Queue-Any@rt.cpan.org> wrote:
> >>>> Tue Mar 25 07:45:41 2014: Request 94178 was acted upon. > >>>> Transaction: Ticket created by rvkreddy@gmail.com > >>>> Queue: Thread-Queue-Any > >>>> Subject: Error while using CPAN Thread::Queues::Any > >>>> Broken in: (no value) > >>>> Severity: (no value) > >>>> Owner: Nobody > >>>> Requestors: rvkreddy@gmail.com > >>>> Status: new > >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > >>>> > >>>> > >>>> Am seeing this below error while using this CPAN > >>>> > >>>> undefined subroutine &main:: called at Any.pm line 52 > >>>> > >>>> Pls let me know what needs to be done.
> >>> > >>> Could you please give me a piece of code that shows this problem? > >>> > >>> > >>> And the output of perl -V that you're using? > >>> > >>> > >>> > >>> Thank you! > >>> > >>> > >>> > >>> Liz > >>>
> >> > >>
> >
> > >
Subject: Re: [rt.cpan.org #94178] Error while using CPAN Thread::Queues::Any
Date: Wed, 26 Mar 2014 14:21:19 +0100
To: bug-Thread-Queue-Any [...] rt.cpan.org
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Hi Venkat, On 26 Mar 2014, at 05:58, rvkreddy . via RT <bug-Thread-Queue-Any@rt.cpan.org> wrote: Show quoted text
> Queue: Thread-Queue-Any > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > > > Thanks for the prompt response. > My code is very simple.I have the below code > > use lib "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/"; > require > "/home/kondared/threadsmodule/Thread-Queue-Any-1.14/lib/Thread/Queue/Any.pm"; > our $wt_to_mt_queue = Thread::Queue::Any->new(); > $GuiTasksMainDlg::wt_to_mt_queue->enqueue($selfnew);
I’ve built 5.10.1-threaded and tried to reproduce the problem. Alas, I haven’t been able to. Also, the error message doesn’t make sense at all: at that line in the code, I only see a: sub dequeue_keep { Do you also see that in your copy of the code? Also, does this code work? our $wt_to_mt_queue = Thread::Queue->new(); $wt_to_mt_queue->enqueue(1); or does that bomb in a similar way? If it does, then I’m afraid the problem lies deeper. If it doesn’t, then I would suggest trying to upgrade the Thread::Queue (or more generally, the threads module) from CPAN. Kind regards, Liz ========================================= Show quoted text
> On Tue, Mar 25, 2014 at 8:44 PM, Elizabeth Mattijsen via RT < > bug-Thread-Queue-Any@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > >> >> On 25 Mar 2014, at 12:45, rvkreddy . via RT < >> bug-Thread-Queue-Any@rt.cpan.org> wrote:
>>> Tue Mar 25 07:45:41 2014: Request 94178 was acted upon. >>> Transaction: Ticket created by rvkreddy@gmail.com >>> Queue: Thread-Queue-Any >>> Subject: Error while using CPAN Thread::Queues::Any >>> Broken in: (no value) >>> Severity: (no value) >>> Owner: Nobody >>> Requestors: rvkreddy@gmail.com >>> Status: new >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94178 > >>> >>> >>> Am seeing this below error while using this CPAN >>> >>> undefined subroutine &main:: called at Any.pm line 52 >>> >>> Pls let me know what needs to be done.
>> >> Could you please give me a piece of code that shows this problem? >> >> >> And the output of perl -V that you're using? >> >> >> >> Thank you! >> >> >> >> Liz >>
>