* [gentoo-user] Amarok segfault
@ 2011-10-23 19:09 András Csányi
2011-10-23 19:30 ` Andrey Moshbear
2011-10-23 22:06 ` Alex Schuster
0 siblings, 2 replies; 8+ messages in thread
From: András Csányi @ 2011-10-23 19:09 UTC (permalink / raw
To: gentoo-user
Dear All,
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? By the way, these reports should be send for the
Amarok developers not gentoo guys, shouldn't they?
Thanks any advice in advance!
András
--
- -
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
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
1 sibling, 0 replies; 8+ messages in thread
From: Andrey Moshbear @ 2011-10-23 19:30 UTC (permalink / raw
To: gentoo-user
On Sun, Oct 23, 2011 at 15:09, András Csányi <sayusi.ando@gmail.com> wrote:
> Dear All,
>
> 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? By the way, these reports should be send for the
> Amarok developers not gentoo guys, shouldn't they?
>
Backtrace! Backtrace, backtrace, backtrace, backtrace, backtrace!
Also, core file, if possible.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
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
1 sibling, 1 reply; 8+ messages in thread
From: Alex Schuster @ 2011-10-23 22:06 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
2011-10-23 22:06 ` Alex Schuster
@ 2011-10-24 5:57 ` Yohan Pereira
2011-10-24 6:36 ` András Csányi
0 siblings, 1 reply; 8+ messages in thread
From: Yohan Pereira @ 2011-10-24 5:57 UTC (permalink / raw
To: gentoo-user
[-- 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 --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
2011-10-24 5:57 ` Yohan Pereira
@ 2011-10-24 6:36 ` András Csányi
2011-10-24 6:54 ` Yohan Pereira
0 siblings, 1 reply; 8+ messages in thread
From: András Csányi @ 2011-10-24 6:36 UTC (permalink / raw
To: gentoo-user
On 24 October 2011 07:57, Yohan Pereira <yohan.pereira@gmail.com> wrote:
> 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.
Thank you very much! I'm going to do this way.
If I make a file under /etc/portage/env/ directory, for example Amarok
than in this file I can redefine the compile options and features for
a particular package? Do I understand correctly?
--
- -
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
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
0 siblings, 2 replies; 8+ messages in thread
From: Yohan Pereira @ 2011-10-24 6:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
On Monday 24 Oct 2011 08:36:07 András Csányi wrote:
> Thank you very much! I'm going to do this way.
> If I make a file under /etc/portage/env/ directory, for example Amarok
> than in this file
Under /etc/portage/env/ you need to make a directory with the category name
and in that directory a file with the same name as the package that contains
your custom stuff.ie /etc/portage/<cat>/<pkg>
So for amarok(media-sound/amarok) your file would be /etc/portage/env/media-
sound/amarok
for kde-base/kdelibs it would be /etc/portage/env/kde-base/kdelibs
>I can redefine the compile options and features for
> a particular package?
yes just put your custom stuff in the appropriate file.
ps.
Also note theres another(probably more) way to do this, remeber seeing it
mentioned in an old thread here.
--
- Yohan Pereira
"A man can do as he will, but not will as he will" - Schopenhauer
[-- Attachment #2: Type: text/html, Size: 5259 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
2011-10-24 6:54 ` Yohan Pereira
@ 2011-10-24 7:27 ` András Csányi
2011-10-24 7:46 ` Neil Bothwick
1 sibling, 0 replies; 8+ messages in thread
From: András Csányi @ 2011-10-24 7:27 UTC (permalink / raw
To: gentoo-user
On 24 October 2011 08:54, Yohan Pereira <yohan.pereira@gmail.com> wrote:
> ps.
>
> Also note theres another(probably more) way to do this, remeber seeing it
> mentioned in an old thread here.
Thanks again! By the way, I haven't realized that how configurable gentoo is. :)
--
- -
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Amarok segfault
2011-10-24 6:54 ` Yohan Pereira
2011-10-24 7:27 ` András Csányi
@ 2011-10-24 7:46 ` Neil Bothwick
1 sibling, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2011-10-24 7:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
On Mon, 24 Oct 2011 12:24:20 +0530, Yohan Pereira wrote:
> Also note theres another(probably more) way to do this, remeber seeing
> it mentioned in an old thread here.
There is, you put your options in a .conf file in /etc/portage/env,
say /etc/portage/env/debug.conf. Then you can you can enable these
settings for any package in /etc/portage/package.env,
e.g. /etc/portage/package.env/amarok would contain
media-sound/amarok debug.conf
with similar lines for the other packages you need to enable this for. As
the options are only kept in one place, it makes editing or reusing them
much easier.
--
Neil Bothwick
Better to understand a little than to misunderstand a lot.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-10-24 7:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox