! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Stephan has a headache
Status:
RESOLVED: INVALID
Severity:
critical

Comments

Description Stephan Arts editbugs 2008-02-21 22:36:50 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080213 BonEcho/2.0.0.12
Build Identifier: 

Stephan has a headache. This shouldn't be.

Reproducible: Always

Steps to Reproduce:
Wake up
Actual Results:  
Stephan has a headache

Expected Results:  
Stephan does not have a headache
Comment 1 Yves-Alexis Perez editbugs 2008-02-21 22:39:54 CET
Here is a link wich may help fix the bug:

http://www.vidal.fr/Medicament/aspirine_du_rhone-1537.htm

Cheers,
Comment 2 Brian J. Tarricone (not reading bugmail) 2008-02-21 23:15:47 CET
This bug looks more complicated than I expected. My first patch (which I liked to call "aspirin") had some really bad side-effects.  We're gonna need some help on this one.
Comment 3 Brian J. Tarricone (not reading bugmail) 2008-02-21 23:27:56 CET
Created attachment 1520 
tylenol with codeine

One possible remedy.  Has the added benefit of making you nice and sleepy and a little funny in the head.
Comment 4 Ori Bernstein 2008-02-21 23:41:22 CET
Perhaps we could simply remove this head. After all, there is only one user, and therefore the impact would be minimal.
Comment 5 Stefan Stuhr 2008-02-22 09:54:04 CET
(In reply to comment #4)
> Perhaps we could simply remove this head. After all, there is only one user,
> and therefore the impact would be minimal.

You are right. I propose the following method:
$ head Stephan_Arts >/dev/null
Comment 6 Stefan Stuhr 2008-02-22 10:00:57 CET
(In reply to comment #5)
> $ head Stephan_Arts >/dev/null

I forgot to remove stderr, use this instead:
$ head Stephan_Arts >/dev/null 2>/dev/null
Comment 7 Stephan Arts editbugs 2008-02-22 13:01:03 CET
(In reply to comment #6)
> (In reply to comment #5)
> > $ head Stephan_Arts >/dev/null
> I forgot to remove stderr, use this instead:
> $ head Stephan_Arts >/dev/null 2>/dev/null

Either proves to be ineffective, the head remains in place and a mere copy is tossed away.
Comment 8 Harold Aling 2008-02-22 13:45:09 CET
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > $ head Stephan_Arts >/dev/null
> > I forgot to remove stderr, use this instead:
> > $ head Stephan_Arts >/dev/null 2>/dev/null
> 
> Either proves to be ineffective, the head remains in place and a mere copy is
> tossed away.
> 

I can confirm this bug, but it is only reproducible under great stress and tends to appear and disappear at random times...

The proposed solution doesn't seem to work here: "head: cannot open `Harold_Aling' for reading: No such file or directory"

Am I missing something?
Comment 9 Mike Massonnet editbugs 2008-02-22 13:58:01 CET
I can reproduce the bug from time to time.  Who wanna go with me and talk to _god_ (even kick him a bit in the nuts btw), and fix the problem at the source?

Does someone know the key or the passphrase to open the right door?
Comment 10 Stefan Stuhr 2008-02-22 14:25:56 CET
(In reply to comment #8)
> The proposed solution doesn't seem to work here: "head: cannot open
> `Harold_Aling' for reading: No such file or directory"
> 
> Am I missing something?

Yes, this part of the command:
 2>/dev/null

(In reply to comment #9)
> I can reproduce the bug from time to time.  Who wanna go with me and talk to
> _god_ (even kick him a bit in the nuts btw), and fix the problem at the source?
> 
> Does someone know the key or the passphrase to open the right door?

Maybe if you look at the manual[1] long enough, the password will apear. It may be hidden as some kind of Easter Egg.

[1]: http://www.kingjamesbibleonline.org/
Comment 11 Colin Leroy 2008-02-22 17:06:22 CET
Candidate patch:

  go_to_bed();
- sleep(3*60*60);
+ sleep(9*60*60);
  wake_up();

Usually solves it for me.
Comment 12 Erik Harrison 2008-02-22 19:24:38 CET
All of these solutions are really just workarounds. But if you take a look at the internals, the whole thing is spaghetti code. We've got legacy organs, multiple limbs, and a lumbar spine that's simply not designed to last as long as this hardware is actually sticking around in the wild.

To speak directly to the head (the source of this complaint), EVERY neuron essentially GOTOs the next neuron when executing instructions. There is no abstraction, and modularity is crude at best (Why do we have separate Wernicke's and Broca's aphasias? Because some asshole decided to split up the language center).

So I propose rewriting Stephan from scratch. We'll use a high level language, a Big Up Front design, and lots of buzzword technologies. The planned effort will likely take years, while old Stephan continues to have a growing number of known bugs, but no updates. We'll switch revision control systems every time we change maintainers, which will happen every six months as a burnt out no-talent realizes he's on a dead end project that can never fulfill it's ambitious design goals.

Around the time that we get Stephan able to compile on a minimum number of architectures (Look! He sends mail!) the competition will have proceeded to improve the old design in various hacky, but functional ways - such as the sleep() patch suggested here.

I'll start this process rolling by suggesting we close this bug WONTFIX, dive into the rewrite, and not bother to check if the new code has the same bug (it will, but due to a slightly different cause. The future maintainer, a 19 year old college student who hacks between exams and doesn't know the original author's name will describe this state of affairs as a "Feature").

It may be messy, but we're Open Source devs! It's the only strategy we know.
Comment 13 Alexander Toresson 2008-02-22 19:38:46 CET
(In reply to comment #8)
> The proposed solution doesn't seem to work here: "head: cannot open
> `Harold_Aling' for reading: No such file or directory"
> 
> Am I missing something?
> 

You're missing the harold-aling-dev package.
Comment 14 jesseblehman 2008-02-24 20:24:13 CET
Created attachment 1522 
advil

Take an Advil!
Comment 15 trondsg 2008-03-12 16:54:27 CET
> Steps to Reproduce:
> Wake up
I can reproduce this, sometimes even without waking up.

Second patch doesn't work. First patch will damage my computer when used constantly.

Comment 16 Stephan Arts editbugs 2008-03-25 13:58:22 CET
Problem persists, how is the rewrite doing?

Is it in a state where we can migrate the data to it yet?
Comment 17 Enrico Tröger editbugs 2008-04-02 14:28:25 CEST
Maybe there is a do_vacation() routine missing in Stephan, or at least something like relax()?

if (week_day > Friday && week_day <= Monday)
   force_relax(2days)

if (working_days > 180)
   do_vacation(14days)
Comment 18 trondsg 2008-05-30 10:51:24 CEST
Have you tried:
- Instant coffee with 1/3 milk (yes, the instant and milk part are important)
- Diclofenac/Naproxen
- Eletriptan
?
Comment 19 Yves-Alexis Perez editbugs 2009-01-12 23:01:54 CET
And now Stephan is tired and it stops release processing:

[23:19:58] (sarts): JPohlmann: sorry, but it was a long weekend... have massive 
                    shortage of sleep... (over the course of the last couple of 
                    weeks)

What should we do about that?
Comment 20 Nick Schermer editbugs 2009-07-15 09:28:00 CEST
Moving invalid bugs to the /dev/null product.

Bug #3864

Reported by:
Stephan Arts
Reported on: 2008-02-21
Last modified on: 2009-07-15

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
unspecified

Attachments

tylenol with codeine (47 bytes, text/plain)
2008-02-21 23:27 CET , Brian J. Tarricone (not reading bugmail)
no flags
advil (21 bytes, text/plain)
2008-02-24 20:24 CET , jesseblehman
no flags

Additional information