Bug#687405: audiofile: FTBFS: test failed

2012-09-15 Thread Giovanni Mascellani
Hi.

Il 12/09/2012 15:06, Lucas Nussbaum ha scritto:
 During a rebuild of all packages in *wheezy*, your package failed to
 build on amd64.

I can't reproduce it. I tried with a testing cowbuilder (managed via
debomatic) on amd64. Tests are just fine and the binary package is
produced correctly.

 [==] Running 4 tests from 1 test case.
 [--] Global test environment set-up.
 [--] 4 tests from Miscellaneous
 [ RUN  ] Miscellaneous.AIFF
 Audio File Library: could not open file '/tmp/test' [error 3]
 miscellaneous.cpp:72: Failure
 Value of: file
   Actual: false
 Expected: true
 Audio File Library: '/tmp/test': unrecognized audio file format [error 0]
 miscellaneous.cpp:91: Failure
 Value of: file
   Actual: false
 Expected: true
 [  FAILED  ] Miscellaneous.AIFF (1 ms)
 [ RUN  ] Miscellaneous.AIFFC
 Audio File Library: could not open file '/tmp/test' [error 3]
 miscellaneous.cpp:72: Failure
 Value of: file
   Actual: false
 Expected: true
 Audio File Library: '/tmp/test': unrecognized audio file format [error 0]
 miscellaneous.cpp:91: Failure
 Value of: file
   Actual: false
 Expected: true

All the failures appear related to the /tmp/test file with unrecognized
audio file format. Lucas, could it be some strange configuration in your
build environment (for example, /tmp not really available, or with
limited space)?

Thanks, Giovanni.
-- 
Giovanni Mascellani mascell...@poisson.phc.unipi.it
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org



signature.asc
Description: OpenPGP digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#687405: audiofile: FTBFS: test failed

2012-09-15 Thread Lucas Nussbaum
On 15/09/12 at 10:53 +0200, Giovanni Mascellani wrote:
 Hi.
 
 Il 12/09/2012 15:06, Lucas Nussbaum ha scritto:
  During a rebuild of all packages in *wheezy*, your package failed to
  build on amd64.
 
 I can't reproduce it. I tried with a testing cowbuilder (managed via
 debomatic) on amd64. Tests are just fine and the binary package is
 produced correctly.
 
  [==] Running 4 tests from 1 test case.
  [--] Global test environment set-up.
  [--] 4 tests from Miscellaneous
  [ RUN  ] Miscellaneous.AIFF
  Audio File Library: could not open file '/tmp/test' [error 3]
  miscellaneous.cpp:72: Failure
  Value of: file
Actual: false
  Expected: true
  Audio File Library: '/tmp/test': unrecognized audio file format [error 0]
  miscellaneous.cpp:91: Failure
  Value of: file
Actual: false
  Expected: true
  [  FAILED  ] Miscellaneous.AIFF (1 ms)
  [ RUN  ] Miscellaneous.AIFFC
  Audio File Library: could not open file '/tmp/test' [error 3]
  miscellaneous.cpp:72: Failure
  Value of: file
Actual: false
  Expected: true
  Audio File Library: '/tmp/test': unrecognized audio file format [error 0]
  miscellaneous.cpp:91: Failure
  Value of: file
Actual: false
  Expected: true
 
 All the failures appear related to the /tmp/test file with unrecognized
 audio file format. Lucas, could it be some strange configuration in your
 build environment (for example, /tmp not really available, or with
 limited space)?

It shouldn't be the case. However, using '/tmp/test' is a bit fragile,
isn't it?

Lucas

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#687735: VLC crashes when playing back TS-over-RTP and transport stream changes

2012-09-15 Thread Johann Klammer

Package: vlc
Version: 2.0.3-2

Hello,

I recently upgraded vlc from 1.1.13-1+b1 to 2.0.3-2.
I am using it to play back rtp:// streams forwarded by this software: 
https://github.com/klammerj/dvb-vulture


AFAIK The stream contains a valid PCR...
When the stream composition changes (by tuning to different service..) 
the vlc segfaults. It did not happen with previously installed version.

The vlc log and a gdb backtrace are attached.

regards,
JK


[0x9b8b908] main libvlc debug: translation test: code is C
[0x9b8b908] main libvlc debug: CPU has capabilities MMX 3DNow! MMXEXT SSE FPU 
[0x9b8b908] main libvlc debug: looking for memcpy module: 4 candidates
[0x9b8b908] main libvlc debug: using memcpy module memcpymmxext
[0x9d0ddf8] main input debug: Creating an input for 'Media Library'
[0x9d0ddf8] main input debug: Input is a meta file: disabling unneeded options
[0x9d0ddf8] main input debug: using timeshift granularity of 50 MiB, in path 
'/tmp'
[0x9d0ddf8] main input debug: 
`file/xspf-open:///home/klammerj/.local/share/vlc/ml.xspf' gives access `file' 
demux `xspf-open' path `/home/klammerj/.local/share/vlc/ml.xspf'
[0x9d0ddf8] main input debug: creating demux: access='file' demux='xspf-open' 
location='/home/klammerj/.local/share/vlc/ml.xspf' 
file='/home/klammerj/.local/share/vlc/ml.xspf'
[0x9bad378] main demux debug: looking for access_demux module: 3 candidates
[0x9bad378] main demux debug: no access_demux module matching file could be 
loaded
[0x9bad378] main demux debug: TIMER module_need() : 6.822 ms - Total 6.822 ms / 
1 intvls (Avg 6.822 ms)
[0x9d0ddf8] main input debug: creating access 'file' 
location='/home/klammerj/.local/share/vlc/ml.xspf', 
path='/home/klammerj/.local/share/vlc/ml.xspf'
[0x9b9d510] main access debug: looking for access module: 2 candidates
[0x9b9d510] filesystem access debug: opening file 
`/home/klammerj/.local/share/vlc/ml.xspf'
[0x9b9d510] main access debug: using access module filesystem
[0x9b9d510] main access debug: TIMER module_need() : 2.632 ms - Total 2.632 ms 
/ 1 intvls (Avg 2.632 ms)
[0x9b9e468] main stream debug: Using stream method for AStream*
[0x9b9e468] main stream debug: starting pre-buffering
[0x9b9e468] main stream debug: received first data after 0 ms
[0x9b9e468] main stream debug: pre-buffering done 296 bytes in 0s - 9967 KiB/s
[0x9b9dce0] main stream debug: looking for stream_filter module: 7 candidates
[0x9b9dce0] main stream debug: no stream_filter module matching any could be 
loaded
[0x9b9dce0] main stream debug: TIMER module_need() : 6.646 ms - Total 6.646 ms 
/ 1 intvls (Avg 6.646 ms)
[0x9b9dce0] main stream debug: looking for stream_filter module: 1 candidate
[0x9b9dce0] main stream debug: using stream_filter module stream_filter_record
[0x9b9dce0] main stream debug: TIMER module_need() : 1.141 ms - Total 1.141 ms 
/ 1 intvls (Avg 1.141 ms)
[0x9d0ddf8] main input debug: creating demux: access='file' demux='xspf-open' 
location='/home/klammerj/.local/share/vlc/ml.xspf' 
file='/home/klammerj/.local/share/vlc/ml.xspf'
[0x9b9c680] main demux debug: looking for demux module: 1 candidate
[0x9b9c680] playlist demux debug: using XSPF playlist reader
[0x9b9c680] main demux debug: using demux module playlist
[0x9b9c680] main demux debug: TIMER module_need() : 1.697 ms - Total 1.697 ms / 
1 intvls (Avg 1.697 ms)
[0x9b9e528] main demux meta debug: looking for meta reader module: 2 candidates
[0x9b9e528] lua demux meta debug: Trying Lua scripts in 
/home/klammerj/.local/share/vlc/lua/meta/reader
[0x9b9e528] lua demux meta debug: Trying Lua scripts in 
/usr/lib/vlc/lua/meta/reader
[0x9b9e528] lua demux meta debug: Trying Lua playlist script 
/usr/lib/vlc/lua/meta/reader/filename.luac
[0x9b9e528] lua demux meta debug: Trying Lua scripts in 
/usr/share/vlc/lua/meta/reader
[0x9b9e528] main demux meta debug: no meta reader module matching any could 
be loaded
[0x9b9e528] main demux meta debug: TIMER module_need() : 11.190 ms - Total 
11.190 ms / 1 intvls (Avg 11.190 ms)
[0x9d0ddf8] main input debug: 
`file/xspf-open:///home/klammerj/.local/share/vlc/ml.xspf' successfully opened
[0x9cf4368] main xml reader debug: looking for xml reader module: 1 candidate
[0x9cf4368] main xml reader debug: using xml reader module xml
[0x9cf4368] main xml reader debug: TIMER module_need() : 5.141 ms - Total 5.141 
ms / 1 intvls (Avg 5.141 ms)
[0x9b9c680] playlist demux debug: parsed 0 tracks successfully
[0x9d0ddf8] main input debug: EOF reached
[0x9b9c680] main demux debug: removing module playlist
[0x9b9dce0] main stream debug: removing module stream_filter_record
[0x9b9d510] main access debug: removing module filesystem
[0x9d0ddf8] main input debug: TIMER input launching for 'Media Library' : 
32.272 ms - Total 32.272 ms / 1 intvls (Avg 32.272 ms)
[0x9c15778] main playlist debug: adding services_discovery sap...
[0x9b9dc00] main services discovery debug: looking for services_discovery 
module: 1 candidate
[0x9b9dc00] main services discovery debug: using services_discovery 

Processed: Re: Bug#687405: audiofile: FTBFS: test failed

2012-09-15 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tag 687405 + patch
Bug #687405 [src:audiofile] audiofile: FTBFS: test failed
Added tag(s) patch.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
687405: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687405
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#687405: audiofile: FTBFS: test failed

2012-09-15 Thread Giovanni Mascellani
tag 687405 + patch
thanks

Il 15/09/2012 11:08, Lucas Nussbaum ha scritto:
 All the failures appear related to the /tmp/test file with unrecognized
 audio file format. Lucas, could it be some strange configuration in your
 build environment (for example, /tmp not really available, or with
 limited space)?
 
 It shouldn't be the case. However, using '/tmp/test' is a bit fragile,
 isn't it?

Ok, the attached patch should fix the problem. However, it is quite a
complicated and hard to maintain patch for a rather minor thing (it is a
FTBFS, but it happens only under certain conditions and it just a small
technical issue in the testing platform). I don't feel comfortable with
uploading it without hearing back from the maintainer.

Giovanni.
-- 
Giovanni Mascellani mascell...@poisson.phc.unipi.it
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org
Index: audiofile/test/miscellaneous.cpp
===
--- audiofile.orig/test/miscellaneous.cpp   2012-09-15 18:47:55.747463233 
+0200
+++ audiofile/test/miscellaneous.cpp2012-09-15 19:42:52.563324587 +0200
@@ -50,7 +50,7 @@
 
 const int kNumMiscellaneous = sizeof (kMiscellaneous) / sizeof (Miscellaneous);
 
-const char kTestFileName[] = /tmp/test;
+char kTestFileName[] = /tmp/testXX;
 
 void writeMiscellaneous(int fileFormat)
 {
@@ -143,6 +143,7 @@
 
 int main(int argc, char **argv)
 {
+   int tmp = mkstemp(kTestFileName);
::testing::InitGoogleTest(argc, argv);
return RUN_ALL_TESTS();
 }
Index: audiofile/test/aes.cpp
===
--- audiofile.orig/test/aes.cpp 2012-09-15 18:26:18.783517776 +0200
+++ audiofile/test/aes.cpp  2012-09-15 19:42:52.555324584 +0200
@@ -34,7 +34,7 @@
 #include string.h
 #include unistd.h
 
-static const char *kTestFileName = /tmp/test.aiff;
+static char kTestFileName[] = /tmp/test.aiffXX;
 
 TEST(AES, AIFF)
 {
@@ -68,6 +68,7 @@
 
 int main(int argc, char **argv)
 {
+   int tmp = mkstemp(kTestFileName);
::testing::InitGoogleTest(argc, argv);
return RUN_ALL_TESTS();
 }
Index: audiofile/test/channelmatrix.cpp
===
--- audiofile.orig/test/channelmatrix.cpp   2012-09-15 18:26:18.783517776 
+0200
+++ audiofile/test/channelmatrix.cpp2012-09-15 19:42:52.559324586 +0200
@@ -30,7 +30,7 @@
 #include audiofile.h
 #include gtest/gtest.h
 
-const char *kTestFileName = /tmp/test.aiff;
+char kTestFileName[] = /tmp/test.aiffXX;
 
 template typename T
 void testChannelMatrixReading(int sampleFormat, int sampleWidth)
@@ -213,6 +213,7 @@
 
 int main(int argc, char **argv)
 {
+   int tmp = mkstemp(kTestFileName);
::testing::InitGoogleTest(argc, argv);
return RUN_ALL_TESTS();
 }
Index: audiofile/test/floattoint.cpp
===
--- audiofile.orig/test/floattoint.cpp  2012-09-15 18:26:18.783517776 +0200
+++ audiofile/test/floattoint.cpp   2012-09-15 19:42:52.559324586 +0200
@@ -40,13 +40,14 @@
 protected:
virtual void SetUp()
{
+   int tmp = mkstemp(FloatToIntTest::kTestFileName);
}
virtual void TearDown()
{
::unlink(kTestFileName);
}
 
-   static const char *kTestFileName;
+   static char kTestFileName[];
 
static AFfilehandle createTestFile(int sampleWidth)
{
@@ -67,7 +68,7 @@
}
 };
 
-const char *FloatToIntTest::kTestFileName = /tmp/test.aiff;
+char FloatToIntTest::kTestFileName[] = /tmp/test.aiffXX;
 
 static const int8_t kMinInt8 = std::numeric_limitsint8_t::min();
 static const int8_t kMaxInt8 = std::numeric_limitsint8_t::max();
Index: audiofile/test/inttofloat.cpp
===
--- audiofile.orig/test/inttofloat.cpp  2012-09-15 18:26:18.787517776 +0200
+++ audiofile/test/inttofloat.cpp   2012-09-15 19:42:52.563324587 +0200
@@ -40,13 +40,14 @@
 protected:
virtual void SetUp()
{
+   int tmp = mkstemp(IntToFloatTest::kTestFileName);
}
virtual void TearDown()
{
::unlink(kTestFileName);
}
 
-   static const char *kTestFileName;
+   static char kTestFileName[];
 
static AFfilehandle createTestFile(int sampleWidth)
{
@@ -66,7 +67,7 @@
}
 };
 
-const char *IntToFloatTest::kTestFileName = /tmp/test.aiff;
+char IntToFloatTest::kTestFileName[] = /tmp/test.aiffXX;
 
 static const int8_t kMinInt8 = std::numeric_limitsint8_t::min();
 static const int8_t kMaxInt8 = std::numeric_limitsint8_t::max();
Index: audiofile/test/large.cpp
===
--- audiofile.orig/test/large.cpp   2012-09-15 18:26:18.787517776 +0200
+++ audiofile/test/large.cpp

Bug#687405: audiofile: FTBFS: test failed

2012-09-15 Thread Giovanni Mascellani
Il 15/09/2012 22:58, Giovanni Mascellani ha scritto:
 Il 15/09/2012 11:08, Lucas Nussbaum ha scritto:
 All the failures appear related to the /tmp/test file with unrecognized
 audio file format. Lucas, could it be some strange configuration in your
 build environment (for example, /tmp not really available, or with
 limited space)?

 It shouldn't be the case. However, using '/tmp/test' is a bit fragile,
 isn't it?
 
 Ok, the attached patch should fix the problem. However, it is quite a
 complicated and hard to maintain patch for a rather minor thing (it is a
 FTBFS, but it happens only under certain conditions and it just a small
 technical issue in the testing platform). I don't feel comfortable with
 uploading it without hearing back from the maintainer.

I also sent the patch upstream:

https://github.com/mpruett/audiofile/pull/11

Giovanni.
-- 
Giovanni Mascellani mascell...@poisson.phc.unipi.it
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org



signature.asc
Description: OpenPGP digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers