Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70164 - sound-juicer-0.5.14 segfaults while ripping .flac-files
Summary: sound-juicer-0.5.14 segfaults while ripping .flac-files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://www.burtonini.com/blog/compute...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-05 06:58 UTC by Lars Strojny
Modified: 2005-03-09 08:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of "strace -o ~/sj.out sound-juicer" (sj.out,717.74 KB, text/plain)
2004-11-05 07:02 UTC, Lars Strojny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Strojny 2004-11-05 06:58:55 UTC
Recompiling of flac and/or sound-juicer takes no effect. It seems to be a problem of sound-juicer, ripping with media-sound/grip works quite well. strace-output follows


$ emerge -pv flac
(...)
[ebuild   R   ] media-libs/flac-1.1.1  -debug +sse -xmms 0 kB
(...)

$ emerge -pv sound-juicer
(...)
[ebuild   R   ] media-sound/sound-juicer-0.5.14  -debug +encode +flac +hal +oggvorbis 0 kB
(...)

$ emerge info
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-mabuse i686)
=================================================================
System uname: 2.6.9-mabuse i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.6.5
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fstack-protector -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fstack-protector -mmmx -msse -m3dnow"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/overlay-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi alsa avi bitmap-fonts bonobo caca cdr crypt dri dvd encode esd ethereal evo flac font-server glx gnome gnomedb gphoto2 gpm gstreamer gtk2 gtkhtml hal howl imagemagick imlib2 ipv6 javascript jpeg ldap mad maildir mikmod mmap mmx mng mozilla moznocompose moznoirc moznomail mozsvg mpeg mpeg4 ncurses nls no_wxgtk1 nodrm nogcj nptl oggvorbis opengl openssh pam pic png python samba spell sse ssl svg threads tiff transcode truetype truetype-fonts type1-fonts unicode usb videos wxwindows xface xfs xml xml2 xprint xrandr xv"
Comment 1 Lars Strojny 2004-11-05 07:02:31 UTC
Created attachment 43342 [details]
Output of "strace -o ~/sj.out sound-juicer"

Maybe it brings some effort to have the strace-output
Comment 2 foser (RETIRED) gentoo-dev 2004-11-05 09:38:54 UTC
get a real backtrace and first lower your CFLAGS .
Comment 3 Lars Strojny 2004-11-05 10:28:20 UTC
Lowering my CFLAGS brings no effect (User flags: -O2 -march=athlon-xp -fomit-frame-pointer -fstack-protector).

You mean a gdb-backtrace with "real backtrace"?
Comment 4 Joe McCann (RETIRED) gentoo-dev 2004-11-05 17:03:14 UTC
compiling all revevant packages with USE=debug would also be good. Won't get any decent backtrace with -fomit-frame-pointer
Comment 5 Lars Strojny 2004-11-05 18:16:05 UTC
This seems to be the relevant part of the gdb-output. I am really a beginner in using gdb, I've used "exec-file" and "run". Any tips to make the ouput more verbose?

[Switching to Thread -1214675264 (LWP 23250)]
0xb7515d48 in FLAC__stream_encoder_process_interleaved () from /usr/lib/libFLAC.so.6
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2004-11-05 18:26:03 UTC
1.) run 'gdb /usr/bin/sound-juicer'
2.) in gdb) run
3.) wait for a crash
4.) in gdb) bt

That'll get you a backtrace
Comment 7 Lars Strojny 2004-11-05 18:30:10 UTC
obz, thanks very much. Here is the result:
#0  0xb7515d48 in FLAC__stream_encoder_process_interleaved () from /usr/lib/libFLAC.so.6
#1  0xb7507f7d in FLAC__seekable_stream_encoder_process_interleaved () from /usr/lib/libFLAC.so.6
#2  0xb7537411 in gst_flacenc_quality_get_type () from /usr/lib/gstreamer-0.8/libgstflac.so
#3  0x0824d558 in ?? ()
#4  0x082e2e48 in ?? ()
#5  0x0000024c in ?? ()
#6  0x46c67450 in g_free () from /usr/lib/libglib-2.0.so.0
#7  0x060929e5 in ?? ()
#8  0x00000000 in ?? ()
#9  0x47f0ec8a in ?? () from /usr/lib/libgstreamer-0.8.so.1
#10 0x46c67450 in g_free () from /usr/lib/libglib-2.0.so.0
#11 0x060929e5 in ?? ()
#12 0x00009c30 in ?? ()
#13 0x47ec2feb in gst_debug_log_valist () from /usr/lib/libgstreamer-0.8.so.1
Comment 8 foser (RETIRED) gentoo-dev 2004-11-08 17:01:26 UTC
I cannot reproduce this, i'm assuming you have all of gstreamer at the latest version in portage ?

Also you should recompile more with safe CFLAGS to get a more useful backtrace : sound-juicer, flac, gst-plugins, gst-plugins-flac, gstreamer.
Comment 9 Lars Strojny 2004-11-21 11:44:59 UTC
Bug is "fixed". My Desktop CPU is now trash and so I have no chance to reproduce it. Sorry for steeling your time without a result
Comment 10 Lars Strojny 2005-02-08 06:48:49 UTC
I reopen this bug because of http://bugs.gentoo.org/show_bug.cgi?id=53542
Comment 11 Lars Strojny 2005-02-08 07:00:57 UTC
Same solution as in http://bugs.gentoo.org/show_bug.cgi?id=53542. Use the x86-version of media-sound/flac instead of ~x86 and it works fine. Maybe flac-1.1.1 should be masked?!
Comment 12 foser (RETIRED) gentoo-dev 2005-03-08 14:55:45 UTC
ABI/API breakage without versioning changes..

fixed up the gst-plugins-flac deps to reflect this.
Comment 13 Lars Strojny 2005-03-09 08:17:47 UTC
Are you sure, you'd checked in the modified gst-plugins-flac-ebuild? I was syncing just now, the mask was ok but the ebuild seems to be unmodified.