From: Yohan Pereira <yohan.pereira@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Amarok segfault
Date: Mon, 24 Oct 2011 11:27:11 +0530 [thread overview]
Message-ID: <3461572.A3OUmxttAa@powerslave> (raw)
In-Reply-To: <4EA48FDD.6070900@wonkology.org>
[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]
On Monday 24 Oct 2011 00:06:21 Alex Schuster wrote:
> András Csányi writes:
> > I'm an average Amarok user and experiencing a random segfault I
> > decided that I would like to report it. I know I have to recompile
> > Amarok with debug flag but I'm not sure it is enough. Can you tell me
> > what is needed more?
>
> No, I think the debug USE flag has another purpose.
> You need to add '-gddb' to you CFLAGS in make.conf, and make sure that
> 'nostrip' or better 'splitdebug' is in your FEATURES list (the debug
> code added by -gddb would be stripped away if not). This will get you a
> useful backtrace in DrKonqui, if you are using KDE.
>
> > By the way, these reports should be send for the
> > Amarok developers not gentoo guys, shouldn't they?
>
> I would say so, but I'm not entirely sure. It's easier this way, but
> there's a slight chance that the problem is Gentoo-specific.
>
> Wonko
Also if you dont want to do thos globbaly for all your packages you can make
use of /etc/portage/env/.
For example this is what i have for amarok in
/etc/portage/env/media-sound/amarok
CFLAGS="-march=core2 -O1 -g"
CXXFLAGS="${CFLAGS}"
FEATURES="splitdebug"
also note when doing it this way, you will also have to do this for a few
dependencies that amarok uses. The way i did it was, When dr konqi pops up
after amarok crashes, it displays a list of files needed for a more usefull
backtrace (in the developer information tab).Use equery to find out which
packages those files belong to and add an entry in /etc/portage/env for them.
After thats done rebuild those pacakges.
--
- Yohan Pereira
"A man can do as he will, but not will as he will" - Schopenhauer
[-- Attachment #2: Type: text/html, Size: 7624 bytes --]
next prev parent reply other threads:[~2011-10-24 5:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-23 19:09 [gentoo-user] Amarok segfault András Csányi
2011-10-23 19:30 ` Andrey Moshbear
2011-10-23 22:06 ` Alex Schuster
2011-10-24 5:57 ` Yohan Pereira [this message]
2011-10-24 6:36 ` András Csányi
2011-10-24 6:54 ` Yohan Pereira
2011-10-24 7:27 ` András Csányi
2011-10-24 7:46 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3461572.A3OUmxttAa@powerslave \
--to=yohan.pereira@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox