Using streamtuner-0.99.99-r4, I will randomly get a segmentation fault and a full program crash when trying to tune to any radio station. Sometimes I will be able to tune into 10 different stations before it crashes, while other times it will crash with the very first station I tune to. The only command line output is "Segmentation Fault". The station doesn't even start playing in my player, so the crash occurs before anything gets sent to the player. I have set smplayer as the audio player in my streamtuner options, however I have tested it with Xine and get the same results as well. Reproducible: Sometimes Steps to Reproduce: 1. Start Streamtuner 2. Double click on any station(s) to tune to (may have to tune into more than one) 3. Segmentation Fault Actual Results: Streamtuner crashes with 'Segmentation Fault' on the command line as the only output. Expected Results: Tuning to a station without any crashes My emerge --info: Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.1 Timestamp of tree: Sat, 13 Jun 2009 15:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64-sse3 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://aragorn ftp://xavier" LDFLAGS="-L/usr/lib/Xm" LINGUAS="en en_US" MAKEOPTS="-j 4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://xavier/gentoo-portage" USE="16bit 3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alac alsa amd64 amd64codecs amr amrnb amrwb ares asf aspell atlas avahi bdf berkdb bidi bitmap-fonts bzip2 bzlib c++ caca ccache cdb cdda cddb cdio cdparanoia chroot cli clisp cracklib crypt css ctype cups cvsgraph dbus dga dirac dri dts dv dvb dvd dvdr dvdread emboss emul-linux-x86 enca encode enscript escreen faad faad2 fame fat festival ffmpeg fftw fits flac flash foomaticdb fortran freetype gb gdbm gif gimp gimpprint gkrellm glade gnomedb gnuplot gnutls gpm gps graphviz gs gsl gtk gtk2 guile gutenprint gzip httpd iconv id3 idn ieee1394 imlib imlib2 isdnlog ithreads jbig jpeg jpeg2k ladspa lame lcms libg++ libsamplerate libssh2 libvisual lirc live lm_sensors lzo lzw lzw-tiff m4a mad midi mime mjpeg mmap mmx mmxext mng mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mudflap multilib multiprocess multislot musepack musicbrainz ncurses nemesi network nfs nls nptl nptlonly nsplugin nv nvidia ogg oggvorbis openal opengl openmp openntpd oss pam pango pascal pcre pdf perl pic player pls png posix ppds pppd print python qt3 qt4 quicktime radio readline reflection rrdtool ruby sblive screen sdl sensord session shared silc smp sndfile sox speex spell spl sse sse2 sse3 ssl ssse3 stream subtitles svg svgz sysfs tcpd tga theora threads tiff timidity tk tls truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vim vim-pager vim-with-x visualization vlm vorbis vorbis-psy wavpack wma wmf wxwindows x264 xanim xine xinerama xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="emu10k1 emu10k1-fpga emu1212" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses hd44780" LINGUAS="en en_US" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Upon further investigation, I decided to try and see what I could find out if I ran streamtuner through gdb, and it seems to be segfaulting with something relating to pixman. My gdb output is: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f0afd7ab910 (LWP 497)] 0x00007f0b060bb819 in ?? () from /usr/lib/libpixman-1.so.0 Unfortunately I think this getting a little beyond my knowledge at this point. I have tried backing off pixman to an older version but got the same thing. Hmm, any ideas?
Please try to provide some more information. Have a look at http://www.gentoo.org/proj/en/qa/backtraces.xml and try to give us a full backtrace of the problem. Thanks in advance.
Created attachment 195028 [details] Backtrace of streamtuner segfaulting Here is a backtrace from gdb of streamtuner crashing. I'm still going through the backtrace documentation to see what else I can get to help, but this is a start at least. Is there anything else specifically that could post to be of help with this?
We almost removed streamtuner about an year ago, but managed to save it because a user collected patches from all kinds of different distributions and put them together. Upstream has stopped developing this program years ago, so I guess next logical step is to simply remove it.
Created attachment 195390 [details, diff] Patch to increase the stack size Well the problem has been solved, with the help of my father of course. It turns out that the stack was too small when streamtuner would pop up an error saying that the stream that you are trying to connect to is empty. (Admittedly this is a bit above my head when it comes to programming so I'm probably using those words incorrectly) Whatever the case, I'm not sure if streamtuner will stay in portage or not, but here is a patch that will fix it. Figured I might as well submit it anyways.
(In reply to comment #5) > Created an attachment (id=195390) [edit] > Patch to increase the stack size > > Well the problem has been solved, with the help of my father of course. > > It turns out that the stack was too small when streamtuner would pop up an > error saying that the stream that you are trying to connect to is empty. > (Admittedly this is a bit above my head when it comes to programming so I'm > probably using those words incorrectly) > > Whatever the case, I'm not sure if streamtuner will stay in portage or not, but > here is a patch that will fix it. Figured I might as well submit it anyways. > Don't get me wrong, it's appericiated & applied in -r5 now :-) It's just annoying to carry the patchset, I wish someone would take over this pkg upstream wise :-)