I tried to compile it from the svn. I manage to build the pd_linux (removing the -Werror flag) but the object is still crashing pd when connecting to the server... here is the log of the compilation, does anyone got an idea? thanks in advance:
aof@aof-ubuntu:~/pure-data/trunk/externals/unauthorized/mp3cast~$ make -f Makefile.linux cc -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o mp3cast~.o -c mp3cast~.c mp3cast~.c: In function 'mp3cast_encode': mp3cast~.c:194: warning: pointer targets in passing argument 4 of 'lame_encode_buffer_interleaved' differ in signedness /usr/include/lame/lame.h:722: note: expected 'unsigned char *' but argument is of type 'char *' mp3cast~.c: In function 'mp3cast_tilde_lame_init': mp3cast~.c:367: warning: implicit declaration of function 'lame_set_padding_type' mp3cast~.c: In function 'mp3cast_disconnect': mp3cast~.c:738: warning: pointer targets in passing argument 2 of 'lame_encode_flush' differ in signedness /usr/include/lame/lame.h:813: note: expected 'unsigned char *' but argument is of type 'char *' ld --export-dynamic -shared -o mp3cast~.pd_linux mp3cast~.o -lc -lm -L/usr/lib -lmp3lame strip --strip-unneeded mp3cast~.pd_linux rm -f mp3cast~.o ../mp3cast~.pd_linux ln -s mp3cast~/mp3cast~.pd_linux ..
n
Le 16/03/10 12:54, Nicolas Montgermont a écrit :
Hello all,
I have a problem here using mp3cast~ on Ubuntu Karmic. Connecting to an icecast server makes pd crash. There is no problem with mp3amp~ This is the last autobuild ( Pd-0.42.5-extended-20100315 ) installed using the Karmic-i386 package Do you have an idea of the origin of this problem? or a workaround? or did I simply miss something? Here is the log:
aof@aof-ubuntu:~/Bureau$ pd -stderr mp3cast~-test.pd tk scaling is 0.3884348864994026 libdir loader $Revision: 1.8 $ compiled on Mar 15 2010 at 09:54:11 compiled against Pd version 0.42.5.extended-20100315 <init> : Avifile RELEASE-0.7.47-080115-14:47-4.2.3 <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx smx <init> : 3000.00 MHz Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz processor detected GEM: Graphics Environment for Multimedia GEM: ver: 0.92.2 GEM: compiled: Mar 15 2010 GEM: maintained by IOhannes m zmoelnig GEM: Authors : Mark Danks (original version) GEM: Chris Clepper GEM: Cyrille Henry GEM: IOhannes m zmoelnig GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, Hans-Christop Steiner, et al. GEM: found a bug? miss a feature? please report it: GEM: homepage http://gem.iem.at/ GEM: bug-tracker http://sourceforge.net/projects/pd-gem/ GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/ GEM: compiled for SIMD architecture: MMX GEM: using MMX optimization libdir_loader: added 'cyclone' to the global objectclass path libdir_loader: added 'zexy' to the global objectclass path libdir_loader: added 'creb' to the global objectclass path libdir_loader: added 'cxc' to the global objectclass path libdir_loader: added 'iemlib' to the global objectclass path libdir_loader: added 'list-abs' to the global objectclass path libdir_loader: added 'mapping' to the global objectclass path libdir_loader: added 'markex' to the global objectclass path libdir_loader: added 'maxlib' to the global objectclass path libdir_loader: added 'memento' to the global objectclass path libdir_loader: added 'mjlib' to the global objectclass path libdir_loader: added 'motex' to the global objectclass path libdir_loader: added 'oscx' to the global objectclass path libdir_loader: added 'pddp' to the global objectclass path libdir_loader: added 'pdogg' to the global objectclass path libdir_loader: added 'pixeltango' to the global objectclass path libdir_loader: added 'pmpd' to the global objectclass path libdir_loader: added 'rradical' to the global objectclass path libdir_loader: added 'sigpack' to the global objectclass path libdir_loader: added 'smlib' to the global objectclass path libdir_loader: added 'toxy' to the global objectclass path libdir_loader: added 'unauthorized' to the global objectclass path vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006 (Pd port by HCS) libdir_loader: added 'pan' to the global objectclass path libdir_loader: added 'hcs' to the global objectclass path libdir_loader: added 'jmmmp' to the global objectclass path libdir_loader: added 'ext13' to the global objectclass path libdir_loader: added 'ggee' to the global objectclass path libdir_loader: added 'flib' to the global objectclass path libdir_loader: added 'ekext' to the global objectclass path libdir_loader: added 'flatspace' to the global objectclass path PDP: pure data packet version 0.12.5-darcs PiDiP : additional video processing objects for PDP version 0.12.24 ( ydegoyon@free.fr ) error: [pdp_text] error: could not load default font, no text rendering! install Bitstream Vera, it's free! (http://www.gnome.org/fonts/) error: [pdp_qtext] error: could not load default font, no text rendering! install Bitstream Vera, it's free! (http://www.gnome.org/fonts/) pdp_colorgrid: version 0.4 by Yves Degoyon (ydegoyon@free.fr) & Lluis Gomez i Bigorda (lluis@artefacte.org) pdp_ieee1394 : linux dv interface by Lluis Gomez i Bigorda (lluisgomez@hangar.org) mp3cast~: mp3 streamer version 0.5, written by Yves Degoyon mp3cast~: setting mp3 stream to 44100Hz, 192kbit/s, mode 3, quality 1 mp3cast~: mountpoint set to laps10.mp3 mp3cast~: set server type to IceCast 2 mp3cast~ : setting password to XXXXXXX mp3cast~: connecting to port 9001 *** buffer overflow detected ***: pd terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xa99ed8] /lib/tls/i686/cmov/libc.so.6[0xa98f10] /lib/tls/i686/cmov/libc.so.6[0xa98648] /lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0x9e)[0xa2259e] /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x384c)[0x9f938c] /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xad)[0xa986fd] /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xa9863d] /usr/lib/pd/extra/unauthorized/mp3cast~.pd_linux[0x9b4034] pd(pd_typedmess+0x5df)[0x80b651f] ======= Memory map: ======== 00110000-0012b000 r-xp 00000000 08:05 3503 /usr/lib/libdv.so.4.0.3 0012b000-0012c000 r--p 0001b000 08:05 3503 /usr/lib/libdv.so.4.0.3 0012c000-0012e000 rw-p 0001c000 08:05 3503 /usr/lib/libdv.so.4.0.3 0012e000-0013a000 rw-p 00000000 00:00 0 0013a000-0014e000 r-xp 00000000 08:05 687 /lib/libz.so.1.2.3.3 0014e000-0014f000 r--p 00013000 08:05 687 /lib/libz.so.1.2.3.3 0014f000-00150000 rw-p 00014000 08:05 687 /lib/libz.so.1.2.3.3 00150000-00156000 r-xp 00000000 08:05 4248 /usr/lib/libv4l2.so.0 00156000-00157000 r--p 00005000 08:05 4248 /usr/lib/libv4l2.so.0 00157000-0015a000 rw-p 00006000 08:05 4248 /usr/lib/libv4l2.so.0 0015a000-0015e000 r-xp 00000000 08:05 4247 /usr/lib/libv4l1.so.0 0015e000-0015f000 r--p 00003000 08:05 4247 /usr/lib/libv4l1.so.0 0015f000-00160000 rw-p 00004000 08:05 4247 /usr/lib/libv4l1.so.0 00160000-0017c000 r-xp 00000000 08:05 2974 /lib/libgcc_s.so.1 0017c000-0017d000 r--p 0001b000 08:05 2974 /lib/libgcc_s.so.1 0017d000-0017e000 rw-p 0001c000 08:05 2974 /lib/libgcc_s.so.1 0017e000-00180000 r-xp 00000000 08:05 3285
/usr/lib/libXinerama.so.1.0.0 00180000-00181000 rw-p 00001000 08:05 3285
/usr/lib/libXinerama.so.1.0.0 00181000-00188000 r-xp 00000000 08:05 134467
/lib/tls/i686/cmov/librt-2.10.1.so 00188000-00189000 r--p 00006000 08:05 134467
/lib/tls/i686/cmov/librt-2.10.1.so 00189000-0018a000 rw-p 00007000 08:05 134467
/lib/tls/i686/cmov/librt-2.10.1.so 0018a000-001f8000 r-xp 00000000 08:05 3214
/usr/lib/libGLU.so.1.3.070600 001f8000-001f9000 r--p 0006e000 08:05 3214
/usr/lib/libGLU.so.1.3.070600 001f9000-001fa000 rw-p 0006f000 08:05 3214
/usr/lib/libGLU.so.1.3.070600 001fa000-00203000 r-xp 00000000 08:05 4700 /usr/lib/liba52-0.7.4.so 00203000-00204000 rw-p 00008000 08:05 4700 /usr/lib/liba52-0.7.4.so 00204000-00205000 rw-p 00000000 00:00 0 00205000-00207000 r-xp 00000000 08:05 3262 /usr/lib/libXau.so.6.0.0 00207000-00208000 r--p 00001000 08:05 3262 /usr/lib/libXau.so.6.0.0 00208000-00209000 rw-p 00002000 08:05 3262 /usr/lib/libXau.so.6.0.0 00209000-00211000 r-xp 00000000 08:05 9121
/usr/lib/libaviplayavutil-0.7.so.0.0.47 00211000-00212000 rw-p 00007000 08:05 9121
/usr/lib/libaviplayavutil-0.7.so.0.0.47 00212000-00214000 rw-p 00000000 00:00 0 00214000-0022f000 r-xp 00000000 08:05 64 /lib/ld-2.10.1.so 0022f000-00230000 r--p 0001a000 08:05 64 /lib/ld-2.10.1.so 00230000-00231000 rw-p 0001b000 08:05 64 /lib/ld-2.10.1.so 00231000-00317000 r-xp 00000000 08:05 1874
/usr/lib/libstdc++.so.6.0.13 00317000-0031b000 r--p 000e6000 08:05 1874
/usr/lib/libstdc++.so.6.0.13 0031b000-0031c000 rw-p 000ea000 08:05 1874
/usr/lib/libstdc++.so.6.0.13 0031c000-00323000 rw-p 00000000 00:00 0 00323000-003a8000 r-xp 00000000 08:05 32996 /usr/lib/libGL.so.1.2 003a8000-003af000 rwxp 00084000 08:05 32996 /usr/lib/libGL.so.1.2 003af000-003b4000 rwxp 00000000 00:00 0 003b4000-003cc000 r-xp 00000000 08:05 9125
/usr/lib/libaviplayswscale-0.7.so.0.0.47 003cc000-003cd000 rw-p 00018000 08:05 9125
/usr/lib/libaviplayswscale-0.7.so.0.0.47 003cd000-003cf000 r-xp 00000000 08:05 134454
/lib/tls/i686/cmov/libdl-2.10.1.so 003cf000-003d0000 r--p 00001000 08:05 134454
/lib/tls/i686/cmov/libdl-2.10.1.so 003d0000-003d1000 rw-p 00002000 08:05 134454
/lib/tls/i686/cmov/libdl-2.10.1.so 003d1000-003d8000 r-xp 00000000 08:05 3254 /usr/lib/libSM.so.6.0.0 003d8000-003d9000 r--p 00006000 08:05 3254 /usr/lib/libSM.so.6.0.0 003d9000-003da000 rw-p 00007000 08:05 3254 /usr/lib/libSM.so.6.0.0 003da000-003f1000 r-xp 00000000 08:05 3225 /usr/lib/libICE.so.6.3.0 003f1000-003f2000 r--p 00016000 08:05 3225 /usr/lib/libICE.so.6.3.0 003f2000-003f3000 rw-p 00017000 08:05 3225 /usr/lib/libICE.so.6.3.0 003f3000-003f5000 rw-p 00000000 00:00 0 003f5000-003f6000 r-xp 00000000 08:05 535914
/usr/lib/pd/extra/iemlib/iem_anything.pd_linux 003f6000-003f7000 r--p 00001000 08:05 535914
/usr/lib/pd/extra/iemlib/iem_anything.pd_linux 003f7000-003f8000 rw-p 00002000 08:05 535914
/usr/lib/pd/extra/iemlib/iem_anything.pd_linux 003f9000-0040e000 r-xp 00000000 08:05 134465
/lib/tls/i686/cmov/libpthread-2.10.1.so 0040e000-0040f000 r--p 00014000 08:05 134465
/lib/tls/i686/cmov/libpthread-2.10.1.so 0040f000-00410000 rw-p 00015000 08:05 134465
/lib/tls/i686/cmov/libpthread-2.10.1.so 00410000-00412000 rw-p 00000000 00:00 0 00412000-0053c000 r-xp 00000000 08:05 3256 /usr/lib/libX11.so.6.2.0 0053c000-0053d000 ---p 0012a000 08:05 3256 /usr/lib/libX11.so.6.2.0 0053d000-0053e000 r--p 0012a000 08:05 3256 /usr/lib/libX11.so.6.2.0 0053e000-00540000 rw-p 0012b000 08:05 3256 /usr/lib/libX11.so.6.2.0 00540000-00541000 rw-p 00000000 00:00 0 00541000-00553000 r-xp 00000000 08:05 3281
/usr/lib/libXft.so.2.1.13 00553000-00554000 r--p 00011000 08:05 3281
/usr/lib/libXft.so.2.1.13 00554000-00555000 rw-p 00012000 08:05 3281
/usr/lib/libXft.so.2.1.13 00555000-00558000 r-xp 00000000 08:05 9139
/usr/lib/libaviplayvidix-0.7.so.0.0.47 00558000-00559000 rw-p 00002000 08:05 9139
/usr/lib/libaviplayvidix-0.7.so.0.0.47 00559000-0055a000 rw-p 00000000 00:00 0 0055a000-00562000 r-xp 00000000 08:05 3925
/usr/lib/libltdl.so.7.2.0 00562000-00563000 r--p 00007000 08:05 3925
/usr/lib/libltdl.so.7.2.0 00563000-00564000 rw-p 00008000 08:05 3925
/usr/lib/libltdl.so.7.2.0 00564000-00566000 r-xp 00000000 08:05 620
/lib/libnss_mdns4_minimal.so.2 00566000-00567000 r--p 00001000 08:05 620
/lib/libnss_mdns4_minimal.so.2 00567000-00568000 rw-p 00002000 08:05 620
/lib/libnss_mdns4_minimal.so.2 00568000-00576000 r-xp 00000000 08:05 3275
/usr/lib/libXext.so.6.4.0 00576000-00577000 r--p 0000d000 08:05 3275
/usr/lib/libXext.so.6.4.0Pd: signal 6 socket receive error: Connection reset by peer (104)Thanks in advance n