Hello all,
I am using mp3amp~ on a server and I have a segfault everytime very shortly (2-3 sec). This problem never occurred to me...
pdextended is installed from the available package (without a few dependencies)
my system is: stream_test$ cat /etc/motd Linux vps-1006620-2877.cp.tsukaeru.ne.jp 2.6.18-028stab069.6 #1 SMP Wed May 26 18:10:06 MSD 2010 x86_64 GNU/Linux Ubuntu 10.04.1 LTS
You can find the log and backtrace of gdb down in this mail. It seems to be a libmp3lame error. The last error is always the same but i find nearly nothing about it on the web. Does someone has any clue on a way of solving that? thanks in advance,
n
(gdb) run Starting program: /usr/bin/pdextended -nogui stream_test_w_recep.pd [Thread debugging using libthread_db enabled] libdir loader $Revision: 1.8 $ compiled on Sep 22 2010 at 16:04:27 compiled against Pd version 0.42.5.extended <init> : Avifile RELEASE-0.7.48-100119-23:57-../src/configure <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx e <init> : 247.30 MHz Intel(R) Xeon(R) CPU L5520 @ 2.27GHz processor detected GEM: Graphics Environment for Multimedia GEM: ver: 0.92.3 GEM: compiled: Sep 22 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: SSE2 MMX GEM: using SSE2 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 /usr/lib/pd-extended/extra/pdp/pdp.pd_linux: libgslcblas.so.0: cannot open shared object file: No such file or directory pdp: can't load library /usr/lib/pd-extended/extra/pidip/pidip.pd_linux: libImlib2.so.1: cannot open shared object file: No such file or directory pidip: can't load library mp3cast~: mp3 streamer version 0.5, written by Yves Degoyon mp3amp~: getting canvas mp3amp~: initializing decoder... mp3amp~: mp3 streaming client v0.12, written by Yves Degoyon mp3cast~: setting mp3 stream to 44100Hz, 128kbit/s, mode 3, quality 1 mp3cast~: mountpoint set to laps_stream_test_r.mp3 mp3cast~: set server type to IceCast 2 mp3cast~ : setting password to xxxxxx mp3cast~: connecting to port 9001 mp3cast~: logged in to locus.creacast.com mp3cast~ : using lame version : 3.98.2 mp3cast~ : lame initialization done. (1) mp3cast~: initialising buffers [New Thread 0x2aaab7070700 (LWP 18272)] mp3amp~: connecting to http:/locus.creacast.com:9001/laps_stream_test_r.mp3 mp3amp~: connected : socket opened mp3amp~: select done mp3amp~: send done mp3amp~ : received 240 bytes at 0 mp3amp~: IceCast server detected mp3amp~: connected to http://locus.creacast.com:9001/laps_stream_test_r.mp3 [Thread 0x2aaab7070700 (LWP 18272) exited] mp3amp~: bitrate has changed, reinitialize decoder mp3amp~: retry lame decoding (more data needed). bitstream problem: resyncing... mp3streamin~ : too much input...resetting bitstream problem: resyncing... big_values too large! 311 bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... mp3amp~: decoding done (totlength=0). bitstream problem: resyncing... mp3amp~: retry lame decoding (more data needed). big_values too large! 341 mp3amp~: retry lame decoding (more data needed). bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... mp3amp~: decoding done (totlength=0). bitstream problem: resyncing... mp3amp~: retry lame decoding (more data needed). big_values too large! 341 bitstream problem: resyncing... mp3amp~: decoding done (totlength=0). bitstream problem: resyncing... big_values too large! 341 big_values too large! 311 mpg123: Bogus region length (-79)
Program received signal SIGSEGV, Segmentation fault. 0x00002aaab5b80fc8 in ?? () from /usr/lib/libmp3lame.so.0 (gdb) bt #0 0x00002aaab5b80fc8 in ?? () from /usr/lib/libmp3lame.so.0 #1 0x00002aaab5b82ee6 in do_layer3 () from /usr/lib/libmp3lame.so.0 #2 0x00002aaab5b7e54e in ?? () from /usr/lib/libmp3lame.so.0 #3 0x00002aaab5b7e74a in decodeMP3 () from /usr/lib/libmp3lame.so.0 #4 0x00002aaab5dea3b6 in ?? () from /usr/lib/pd-extended/extra/unauthorized/mp3amp~.pd_linux #5 0x000000000048db65 in dsp_tick () at d_ugen.c:341 #6 0x000000000047e74b in sched_tick (next_sys_time=3.9655539396655983e-315) at m_sched.c:384 #7 0x000000000047eb7b in m_pollingscheduler () at m_sched.c:487 #8 m_mainloop () at m_sched.c:563 #9 0x0000000000481675 in sys_main (argc=3, argv=<value optimized out>) at s_main.c:304 #10 0x00002aaaaba96c4d in __libc_start_main () from /lib/libc.so.6 #11 0x00000000004131d9 in _start ()
If you want to play mp3s, I highly recommend using readanysf~. Its a separate package, but its in Debian so it should be easy to install. I think Roman has Ubuntu packages for older releases too.
.hc
On Tue, 2011-09-13 at 16:34 +0200, Nicolas Montgermont wrote:
Hello all,
I am using mp3amp~ on a server and I have a segfault everytime very shortly (2-3 sec). This problem never occurred to me...
pdextended is installed from the available package (without a few dependencies)
my system is: stream_test$ cat /etc/motd Linux vps-1006620-2877.cp.tsukaeru.ne.jp 2.6.18-028stab069.6 #1 SMP Wed May 26 18:10:06 MSD 2010 x86_64 GNU/Linux Ubuntu 10.04.1 LTS
You can find the log and backtrace of gdb down in this mail. It seems to be a libmp3lame error. The last error is always the same but i find nearly nothing about it on the web. Does someone has any clue on a way of solving that? thanks in advance,
n
(gdb) run Starting program: /usr/bin/pdextended -nogui stream_test_w_recep.pd [Thread debugging using libthread_db enabled] libdir loader $Revision: 1.8 $ compiled on Sep 22 2010 at 16:04:27 compiled against Pd version 0.42.5.extended <init> : Avifile RELEASE-0.7.48-100119-23:57-../src/configure <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx e <init> : 247.30 MHz Intel(R) Xeon(R) CPU L5520 @ 2.27GHz processor detected GEM: Graphics Environment for Multimedia GEM: ver: 0.92.3 GEM: compiled: Sep 22 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: SSE2 MMX GEM: using SSE2 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 /usr/lib/pd-extended/extra/pdp/pdp.pd_linux: libgslcblas.so.0: cannot open shared object file: No such file or directory pdp: can't load library /usr/lib/pd-extended/extra/pidip/pidip.pd_linux: libImlib2.so.1: cannot open shared object file: No such file or directory pidip: can't load library mp3cast~: mp3 streamer version 0.5, written by Yves Degoyon mp3amp~: getting canvas mp3amp~: initializing decoder... mp3amp~: mp3 streaming client v0.12, written by Yves Degoyon mp3cast~: setting mp3 stream to 44100Hz, 128kbit/s, mode 3, quality 1 mp3cast~: mountpoint set to laps_stream_test_r.mp3 mp3cast~: set server type to IceCast 2 mp3cast~ : setting password to xxxxxx mp3cast~: connecting to port 9001 mp3cast~: logged in to locus.creacast.com mp3cast~ : using lame version : 3.98.2 mp3cast~ : lame initialization done. (1) mp3cast~: initialising buffers [New Thread 0x2aaab7070700 (LWP 18272)] mp3amp~: connecting to http:/locus.creacast.com:9001/laps_stream_test_r.mp3 mp3amp~: connected : socket opened mp3amp~: select done mp3amp~: send done mp3amp~ : received 240 bytes at 0 mp3amp~: IceCast server detected mp3amp~: connected to http://locus.creacast.com:9001/laps_stream_test_r.mp3 [Thread 0x2aaab7070700 (LWP 18272) exited] mp3amp~: bitrate has changed, reinitialize decoder mp3amp~: retry lame decoding (more data needed). bitstream problem: resyncing... mp3streamin~ : too much input...resetting bitstream problem: resyncing... big_values too large! 311 bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... mp3amp~: decoding done (totlength=0). bitstream problem: resyncing... mp3amp~: retry lame decoding (more data needed). big_values too large! 341 mp3amp~: retry lame decoding (more data needed). bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... bitstream problem: resyncing... mp3amp~: decoding done (totlength=0). bitstream problem: resyncing... mp3amp~: retry lame decoding (more data needed). big_values too large! 341 bitstream problem: resyncing... mp3amp~: decoding done (totlength=0). bitstream problem: resyncing... big_values too large! 341 big_values too large! 311 mpg123: Bogus region length (-79)
Program received signal SIGSEGV, Segmentation fault. 0x00002aaab5b80fc8 in ?? () from /usr/lib/libmp3lame.so.0 (gdb) bt #0 0x00002aaab5b80fc8 in ?? () from /usr/lib/libmp3lame.so.0 #1 0x00002aaab5b82ee6 in do_layer3 () from /usr/lib/libmp3lame.so.0 #2 0x00002aaab5b7e54e in ?? () from /usr/lib/libmp3lame.so.0 #3 0x00002aaab5b7e74a in decodeMP3 () from /usr/lib/libmp3lame.so.0 #4 0x00002aaab5dea3b6 in ?? () from /usr/lib/pd-extended/extra/unauthorized/mp3amp~.pd_linux #5 0x000000000048db65 in dsp_tick () at d_ugen.c:341 #6 0x000000000047e74b in sched_tick (next_sys_time=3.9655539396655983e-315) at m_sched.c:384 #7 0x000000000047eb7b in m_pollingscheduler () at m_sched.c:487 #8 m_mainloop () at m_sched.c:563 #9 0x0000000000481675 in sys_main (argc=3, argv=<value optimized out>) at s_main.c:304 #10 0x00002aaaaba96c4d in __libc_start_main () from /lib/libc.so.6 #11 0x00000000004131d9 in _start ()