Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20201 - Remove x11-misc/bbapm from portage
Summary: Remove x11-misc/bbapm from portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-30 01:29 UTC by Gregory P. Smith
Modified: 2006-04-01 09:32 UTC (History)
3 users (show)

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


Attachments
strace output for "bbapm" when it fails (bbapm-0.0.1-r3-segfault-strace.txt,12.22 KB, text/plain)
2003-04-30 01:30 UTC, Gregory P. Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory P. Smith 2003-04-30 01:29:07 UTC
sometime recently bbapm has started failing to run, instead giving a
segmentation fault.  i re-emerged it just in case and got the same result.

notable upgrades that i can think of recently include switching from a
2.4.18-xfs kernel to 2.4.20-xfs-r3 as well as xfree being updated from 4.2 to
4.3 but it could easily have been something else as i don't know exactly when it
started failing.

this is a minor bug; there are zillions of X11 apm monitors.

i will attach an strace of bbapm.  next time i reboot this system i'll try the
old kernel and see if that makes a difference.
Comment 1 Gregory P. Smith 2003-04-30 01:30:31 UTC
Created attachment 11318 [details]
strace output for "bbapm" when it fails
Comment 2 Gregory P. Smith 2003-04-30 02:25:06 UTC
I tried it with my old kernel and the same thing happens.  it appears to be something else.
Comment 3 Gregory P. Smith 2003-04-30 02:31:39 UTC
(gdb) run
Starting program: /usr/bin/bbapm
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x4bf9c0a0 in free () from /lib/libc.so.6
(gdb) bt
#0  0x4bf9c0a0 in free () from /lib/libc.so.6
#1  0x4bef06a4 in __builtin_vec_delete () from /usr/lib/libstdc++-libc6.2-2.so.3
#2  0x0804f760 in XInstallColormap ()
#3  0x0804f2b7 in XInstallColormap ()
#4  0x0804eec7 in XInstallColormap ()
#5  0x0804adc6 in XInstallColormap ()
#6  0x4bf43571 in __libc_start_main () from /lib/libc.so.6
Comment 4 Matt Keadle 2003-06-19 06:22:58 UTC
i've just made a quick change to the -r3 ebuild that makes it more friendly with gcc3.x systems. can you try emerging it again and see what happens?
Comment 5 Matt Keadle 2003-06-19 18:30:02 UTC
scratch that. i just got around to trying -r3 on my lappy and i'm in segfault land too. my strace shows i'm getting a little further then you. looks like yours stops right after trying to read your ~/.blackboxrc file. mine gets past that, reads my current style file, and then segs with about as much explaination as yours does. i don't have gdm on this machine atm, but i suspect that it's output would be about as helpful as your as well. i notice the end of your ends on mentions of libc.so.6, which is part of glibc, which could be a larger problem.

*shrug*
Comment 6 Stefan Behte (RETIRED) gentoo-dev Security 2004-02-11 02:58:26 UTC
Oh the Problem is not solved yet :(
...if I start bbapm, it segfaults immediately.

[root@lato]# bbapm &
Segmentation fault

strace shows it crashes, when /usr/share/bbtools/bbapm.conf is accessed:
Look here: http://www.osnanet.de/craig/gentoo/log.txt

So I think it somehow might depend on the configuration file...
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-12-10 06:05:03 UTC
This thing has not seen a new release for 6 years and is broken, remove it from
portage.
Comment 9 Ciaran McCreesh 2005-12-10 06:13:03 UTC
Did you fail to notice the lynching I got when I tried that?
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-12-10 06:42:21 UTC
(In reply to comment #9)
> Did you fail to notice the lynching I got when I tried that?

Indeed I did fail, some link except for the above? Why do we need six years
unmaintained, dead and segfaulting crap in portage?
Comment 11 Ciaran McCreesh 2005-12-10 06:55:38 UTC
Okay, your job is to mail -dev and say "we're having a tidy-up of bb* apps. The
following will be purged unless someone steps up and fixes them:".
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-12-10 07:24:13 UTC
(In reply to comment #11)
> Okay, your job is to mail -dev and say "we're having a tidy-up of bb* apps. The
> following will be purged unless someone steps up and fixes them:".

That's a good idea, but not the right person to do the job:

$ herdstat --metadata bbapm
Package:          x11-misc/bbapm
Herds(1):         commonbox

$ herdstat commonbox

Herd:            commonbox
Email:           commonbox@gentoo.org
Description:     Blackbox and derivative works
Developers(4):   ciaranm ka0ttic pyrania superlag
Comment 13 Ciaran McCreesh 2005-12-10 07:28:41 UTC
The only reason there's a commonbox herd is that no-one has split it up yet...
It doesn't make sense now that there's no shared code or data between Fluxbox,
Blackbox and Openbox.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-12-10 07:45:18 UTC
This debate starts to go around. Either commonbox maintains this and then I
can't see any reason why maintainer cannot punt a broken package from portage;
or commonbox does not maintain it and then it's pretty easy to change
metadata.xml to maintainer-needed so that someone else can remove the broken
thing from portage.

TIA.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 05:54:39 UTC
Two weeks from last rites email on -dev ml gone, please p.mask/remove.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-02-16 15:51:35 UTC
@x86 - this crap is marked stable on your arch, yet it doesn't work at all. Please, remove the keyword since maintainer refuses to package.mask and remove this stuff.
Comment 17 Mark Loeser (RETIRED) gentoo-dev 2006-02-16 16:05:39 UTC
Please don't CC archs to remove a keyword.  This should be gone about properly and be p.masked.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-02-27 02:34:06 UTC
(In reply to comment #17)
> Please don't CC archs to remove a keyword.  This should be gone about properly
> and be p.masked.

OK, so arches don't care about keywords beyond the point when keywords are being added/things being marked stable? Hmmm, strange. Well, CCing QA then, maybe they could care about obviously broken stuff.
Comment 19 Ciaran McCreesh 2006-02-27 08:23:17 UTC
Jakub, quit wasting everyone's time. If you're not going to handle the issue properly, don't handle it at all.
Comment 20 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-02-27 09:15:34 UTC
Pmasked, Removal scheduled for 30 days from today.
Comment 21 Ciaran McCreesh 2006-02-27 09:24:08 UTC
Do this properly or not at all. bbapm is not the most h0rked of the blackbox applets by a long shot. If you're going to do a cleanup, do a proper one.
Comment 22 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-04-01 09:32:45 UTC
And it was punted today.