Posts Tagged ‘Signals’

BD-shell 1.0.0 RC2 is out! Processes in background are dangerous

Saturday, September 13th, 2008

Release Candidate 2 for my C shell is out. This is a real release candidate, code is frozen and hopefully this one does not have serious bugs like RC1. As you may know, RC1 has been retired because of a bug causing a segmentation fault when launching short commands in background. Let's see why this happened. The following schema summarizes what happens when a program in background is launched:

Schema for BD-shell, anatomy of process handling

Schema for BD-shell, anatomy of process handling


As you see, there is a non-synchronous function that is called when the child exits, the SIGCHLD handler.
What if the background command is very short, like ls? It may happen that SIGCHLD is thrown before the job object creation. Bdsh RC1 did not manage this case, and crashed. RC2 fixes this and does not have relevant bugs according to my definition of 1.0.0 release.

Finally, go and grab the code!

  • Share/Save/Bookmark

BD-shell 1.0.0 RC1 is out!

Friday, September 12th, 2008

UPDATE: due to a very serious bug, the rc1 has been retired and replaced by rc2
UPDATE: the release has been delayed for two days

I've just released the release candidate for the final version of the Unix shell written in C language. Now with a very cleaner code and a lot of bugs fixed!

Download it!

  • Share/Save/Bookmark

Installare XGL con schede ATI

Friday, August 4th, 2006

Dopo settimane di tentativi, e di forum spulciati, sono finalmente riuscito a far funzionare Xgl sul mio portatile con una scheda video ati mobility x300.

Questa guida dovrebbe funzionare per tutte le schede video ATI, in particolare, per le schede serie x****, leggere bene anche la fine dell'how-to
Le informazioni per questo how-to sono state tratte da più siti, che cito ora per correttezza:

Per motivi di spazio, è necessario clickare qui sotto per continuare a leggere l'articolo su una pagina estesa.

(more...)

  • Share/Save/Bookmark