Skip Menu |

This queue is for tickets about the Device-Cdio CPAN distribution.

Report information
The Basics
Id: 42779
Status: resolved
Priority: 0/
Queue: Device-Cdio

People
Owner: Rocky Bernstein (no email address)
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: v0.2.4
Fixed in: v0.3.0



Subject: Test suite hangs
The test suite hangs for vast majority of tests: [guillomovitch@n2 Device-Cdio-v0.2.4]$ prove -b t/02.default.t t/02.default....v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Util.pm line 2. v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio.pm line 2. v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Track.pm line 2. v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Device.pm line 2. Name "swig_runtime_data::type_pointer1" used only once: possible typo at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. It finally aborts after some kind of time-out. strace show the hangs occurs on a select call: read(5, "package TAP::Formatter::Console::"..., 4096) = 4096 brk(0x8510000) = 0x8510000 read(5, " \"Bailout called. Further test"..., 4096) = 4096 read(5, "->_failure_output(\" Dubious, test"..., 4096) = 896 read(5, ""..., 4096) = 0 close(5) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 write(1, "t/02.default...."..., 16t/02.default....) = 16 gettimeofday({1232891462, 233888}, NULL) = 0 select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) brk(0x8535000) = 0x8535000 read(6, "v-string in use/require non-porta"..., 65536) = 151 write(2, "v-string in use/require non-porta"..., 151v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Util.pm line 2. ) = 151 select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) read(6, "v-string in use/require non-porta"..., 65536) = 146 write(2, "v-string in use/require non-porta"..., 146v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio.pm line 2. ) = 146 select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) read(6, "v-string in use/require non-porta"..., 65536) = 152 write(2, "v-string in use/require non-porta"..., 152v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Track.pm line 2. ) = 152 select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) read(6, "v-string in use/require non-porta"..., 65536) = 153 write(2, "v-string in use/require non-porta"..., 153v-string in use/require non-portable at /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Device.pm line 2. ) = 153 select(8, [4 6], NULL, NULL, NULL) = 1 (in [4]) read(4, "1..3\n"..., 65536) = 5 select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) read(6, "Name \"swig_runtime_data::type_poi"..., 65536) = 143 write(2, "Name \"swig_runtime_data::type_poi"..., 143Name "swig_runtime_data::type_pointer1" used only once: possible typo at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. ) = 143 select(8, [4 6], NULL, NULL, NULL <unfinished ...> This happens on Mandrica linux, with perl 5.10, gcc 4.3 and swig 1.3.36.
Please try with v0.3.0 just released and let me know if this still happens. On Sun Jan 25 08:53:57 2009, GROUSSE wrote: Show quoted text
> The test suite hangs for vast majority of tests: > [guillomovitch@n2 Device-Cdio-v0.2.4]$ prove -b t/02.default.t > t/02.default....v-string in use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio/Util.pm > line 2. > v-string in use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio.pm > line 2. > v-string in use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio/Track.pm > line 2. > v-string in use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio/Device.pm > line 2. > Name "swig_runtime_data::type_pointer1" used only once: possible typo > at > /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. > > It finally aborts after some kind of time-out. > > strace show the hangs occurs on a select call: > read(5, "package TAP::Formatter::Console::"..., 4096) = 4096 > brk(0x8510000) = 0x8510000 > read(5, " \"Bailout called. Further test"..., 4096) = 4096 > read(5, "->_failure_output(\" Dubious, test"..., 4096) = 896 > read(5, ""..., 4096) = 0 > close(5) = 0 > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo > ...}) = 0 > write(1, "t/02.default...."..., 16t/02.default....) = 16 > gettimeofday({1232891462, 233888}, NULL) = 0 > select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) > brk(0x8535000) = 0x8535000 > read(6, "v-string in use/require non-porta"..., 65536) = 151 > write(2, "v-string in use/require non-porta"..., 151v-string in > use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio/Util.pm > line 2. > ) = 151 > select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) > read(6, "v-string in use/require non-porta"..., 65536) = 146 > write(2, "v-string in use/require non-porta"..., 146v-string in > use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio.pm > line 2. > ) = 146 > select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) > read(6, "v-string in use/require non-porta"..., 65536) = 152 > write(2, "v-string in use/require non-porta"..., 152v-string in > use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio/Track.pm > line 2. > ) = 152 > select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) > read(6, "v-string in use/require non-porta"..., 65536) = 153 > write(2, "v-string in use/require non-porta"..., 153v-string in > use/require non-portable at > /home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio- > v0.2.4/t/../blib/lib/Device/Cdio/Device.pm > line 2. > ) = 153 > select(8, [4 6], NULL, NULL, NULL) = 1 (in [4]) > read(4, "1..3\n"..., 65536) = 5 > select(8, [4 6], NULL, NULL, NULL) = 1 (in [6]) > read(6, "Name \"swig_runtime_data::type_poi"..., 65536) = 143 > write(2, "Name \"swig_runtime_data::type_poi"..., 143Name > "swig_runtime_data::type_pointer1" used only once: possible typo at > /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. > ) = 143 > select(8, [4 6], NULL, NULL, NULL <unfinished ...> > > This happens on Mandrica linux, with perl 5.10, gcc 4.3 and swig > 1.3.36.
I'm going to assume this works with Device::Cdio version 0.3.0. If not please re-open the ticket.