Claws Mail’s IMAP implementation…

…rocks.

A user told us on the mailing list that he got a crash. It was SIGXFSZ, File size limit exceeded… Due to the protocol log file growing too much, probably 2 or 4 gigabytes…

The end of his log reads:

IMAP4< 8918737 OK Status completed.

The number at the left is the transaction id of the IMAP protocol, incremented by 1 on every command. That means almost 9 millions commands :-) Our user started Claws Mail on March 10, it crashed on April 17 only due to the log file.

Comforting to read that :-)

iPod back up :-)

A few days ago I was annoyed at hard disks, after the little one in my iPod died. I considered buying a brand new iPod, but I didn’t really want to spend 250 euros on a shiny new mp3 player that has a color screen, whereas my scratched old mp3 player with its black and white screen… plays music just as well, and that’s all I want.

So I ordered just the hard disk from an Ebay seller (which I recommend if you need the same…) for only 40 dollars. I received it today, swapped the disks, and reformated the iPod following a nice howto which spared me the shame of begging a colleague for a Windows machine with iTunes installed. (Yes, it’s a geeky howto involving fdisk and dd, but I’m not scared at all by the shell, and I don’t care about whether it’s user friendly or not. It’s Colin friendly, and that’s all I want).

And now it works again just fine, and gained 10GB of capacity in the process :-)

Ads

I’m experimenting with ads on the blog; they should be FOSS-oriented and not too intrusive… I’ll see in a few weeks whether that’s interesting to keep or not.

Damn moving parts!

Hard disks are fragile. I know it since a while, and I’m prepared: I have good, up to date backups made automatically every night or week, depending on the data’s importance. OK, I know it! but I’m getting tired of it: Saturday, smartd reports read errors on my server’s /dev/hdc. I order two IDE disks (in order to have a spare available next time). Sunday, my mother calls me for help: her iBook’s hard disk has failed utterly just before she did a migration to her new laptop. 4 years of data lost; doing backups was on her to-do list since a year, but the old saying is verified again: no one does backup properly until they experience a loss of important, unique data (like digital pictures or emails). And today, I get on my train back from work, power on the ipod, but no music for me:

I ordered an 1.8″ disk (for about eight times less than a new iPod, but still, it’s annoying.)

Saine paranoia, partie IV : pourquoi les laisse-t’on faire ?

En français - Saine paranoia, partie IV : pourquoi les laisse-t’on faire ?

“Mais que fait la police”, vous demandez-vous… Il paraît surprenant que ce genre d’activités reste impunies. En effet ! Les responsables et bénéficiaires de ce genre d’arnaques sont en général recherchés, et parfois arrêtés. Cela reste, hélas, rare, car ils sont souvent suffisamment prudents pour éviter de laisser des traces directes les incriminant. Certains, en général les Veuves du Regretté Général Machin, utilisent des comptes emails jetables (sur hotmail, yahoo, etc) étant donné qu’ils ont besoin de correspondre ensuite avec leurs victimes pour transformer l’essai. Ils ne se connectent sur ces comptes que par des cybercafés, des proxys anonymisants, etc : jamais de leur accès internet chez eux.

Les autres, les arnaqueurs à large spectre ainsi que les spammeurs, utilisent des réseaux de machines piratées (appelés Botnets). Ces machines peuvent être des serveurs mal sécurisés, ou encore de simples ordinateurs de particuliers qui ont attrapé un virus - car maintenant, les méchants virus destructeurs de données, programmés par de petits génies de l’optimisation et de la discrétion, sont chose rare. La plupart des virus actuels se contentent de se cacher sur votre ordinateur, ne causent aucun dégât afin d’éviter d’être repérés, et transforment votre ordinateur en plaque tournante d’arnaques - c’est beaucoup plus rémunérateur à long terme. Dans votre dos, votre PC enverra donc de nombreux spams, un serveur Web y sera installé qui contiendra une copie du site de Paypal ou autre, etc.

Le mode de propagation principal de ces virus est, là aussi, l’email - provenant d’un autre PC infecté. Lorsque vous recevez un mail avec des photos d’une quelconque célébrité à poil, une vidéo marrante à regarder, ou encore un faux retour d’email avec une pièce jointe, la plupart du temps, un virus dans la pièce jointe attend sagement que votre curiosité vous pousse à l’ouvrir. Le fait que l’email en question provienne d’un inconnu ou d’un contact connu (ami, etc) n’y change rien : l’adresse d’expéditeur est fausse et trafiquée. Soyez sûr d’avoir un bon antivirus à jour.

Le moyen le plus efficace de se débarasser de ces nuisibles, puisque les arrêter est difficile, serait de rendre l’activité moins rémunatrice et plus compliquée. Certains (rares) fournisseurs d’accès Internet coupent l’accès à leurs abonnés chez lesquels ils détectent un trafic suspect (milliers d’emails envoyés, etc) jusqu’à désinfection, mais la plupart ne le fait pas, étant donné que lesdits abonnés râlent quand cela leur arrive.

In english - Sane paranoia, part IV : Why aren’t they stopped?

It sounds surprising that this kind of activities aren’t punished. Indeed! The individuals responsible for (and who benefit from) such scams are generally actively wanted by the authorities, and sometimes arrested. This is, unfortunately, rare, because they’re often cautious enough to avoid leaving directly incriminating trails. Some of them, generally the Widows of the Regretted Late General Blahblah, use throw-away email accounts (on hotmail, yahoo, …), as they’ll need to correspond with their victims in order to cash in on their scam. They only connect to these accounts from cybercafes, anonymous proxies, and so on; never from their own internet account at their place.

The others, the large spectrum scammers and the spammers, use networks of pirated computers (called Botnets). These computers can be badly securised servers, or simply private computers who got infected by a virus - these days, rare are the mean, destructive viruses that we were used to. The majority of modern viruses just hide in your computer, cause no visible harm in order to avoid being detected, and turn your computer into a so-called zombie, spewing out hundreds and thousands spams every hour, getting a web server serving a copy of Paypal’s site, and so on.

The main propagation mode of these viruses is, as usual, email - often coming from another infected computer. When you receive a message with pictures of a random celebrity naked, a funny video to watch, or sometimes, a fake email bounce with an attachment… most of the time, there’s a virus in the attachment waiting for your curiosity to make you open it. The fact that said email comes from a random stranger or a known contact (best friend, wife, boss, …) is irrelevant: the sender’s address is faked and doesn’t mean anything. Make sure you have a good, up-to-date antivirus.

The best way to get rid of these parasites, as arresting them is difficult, would be to render their activities less financially rewarding and more complicated. Some rare Internet service providers cut their subscribers’ access when they detect suspect traffic (thousands of sent emails over a short period of time, for example); but most don’t, as this process is rarely well-received by the affected people.

Saine paranoia, partie III : les arnaques ciblées

En français - Saine paranoia, partie III : les arnaques ciblées

Les précédents comptaient bien vous avoir. Leur technique, qui fonctionne, requiert tout de même du courage. Il en faut, pour correspondre avec une centaine de pigeons en parallèle, leur extorquer le maximum par la persuasion, continuer avec la dizaine restante, les presser jusqu’à la moëlle, avant de recommencer avec de nouvelles victimes potentielles.

Ce serait quand même vachement plus pratique de n’avoir rien à faire pour arnaquer les gens, n’est ce pas. C’est la catégorie des arnaqueurs paresseux, qui a monté un autre type d’email piégé… L’email de phishing. Comme son nom l’indique, il s’agit là d’aller à la pêche, mais à la pêche à la nasse, pas question de s’enquiquiner à attendre que ça morde. (la faute d’orthographe dans phishing n’en est pas une. Elle indique la nature cybercrime de la chose).

Les emails de phishing se présentent généralement sous la forme d’alertes de sécurité, de la part de grands sites très connus où l’on peut manipuler de l’argent - Paypal, Ebay, votre banque…

Ces emails seront inquiétants :

Cher Membre PayPal,
En raison des mesures de securité que vous offre PayPal, vous êtes prié de suivre les étapes fournies et de confirmer vos informations en ligne pour la sûreté de vos comptes. Cependant, la non-comfirmation de vos informations peut avoir comme conséquence la suspension provisoire de compte.

(Fautes de français laissées intactes).Suivra un bla-bla habituel sur les procédures de sécurité :

Veillez à ne jamais communiquer votre mot de passe à des sites frauduleux. Pour accéder de manière sécurisée au site PayPal, saisissez l’URL PayPal (https://www.paypal.com/fr/) pour accéder au site authentique de PayPal.

Rassurantes, ces procédures de sécurité ! S’ils me disent tout ça, ça devrait être un vrai mail, n’est ce pas ? Un pirate ne se couperait pas l’herbe sous le pied ainsi ?

Ben si. Ça marche mieux comme ça, car, malgré les lignes précédentes, la plupart des gens cliqueront quand même là :

Vous êtes prié de suivre les étapes fournies et de confirmer vos informations en ligne pour la sûreté de vos comptes. Cliquez ici pour commencer la procedure.

Vous avez cliqué ? Ici j’ai modifié le lien pour pointer sur un site totalement différent et inoffensif ; mais le mail en question vous aurait renvoyé sur un site qui n’est pas celui de Paypal, mais qui y ressemble à s’y méprendre. Sur celui-ci, on vous aurait demandé de remplir toutes les informations demandées par Paypal (dont votre mot de passe, numéro de carte bancaire, et même parfois, code secret de carte banquaire). La page d’aide de Paypal à ce sujet détaille bien la chose.

J’ai pris Paypal comme exemple ici, mais ne vous en faites pas, vous recevrez de faux emails du même genre “de la part” de votre banque, Ebay, votre fournisseur d’accès Internet (souvent “nous avons détecté des activités illégales sur votre compte”, mais pas seulement), etc.

Ne cliquez jamais sur aucun lien, d’aucun email provenant d’un site qui gère pour vous des choses importantes, comme votre argent. En cas de doute, connectez-vous via votre raccourci enregistré, ou en tapant l’adresse à la main. Si le site avait quelque chose à vous signaler, ce sera via le site lui-même, pas via email.

Partie IV - Pourquoi les laisse-t’on faire ?

In english - Sane paranoia, part III: targeted scams

The previously mentioned scammers hoped to get you, but their method, although it works, still requires a certain amount of motivation. One needs motivation to manage corresponding with a hundred of possible targets at once, squeeze the most out of them using persuasion, continue with the remaining dozen, go as far as possible, and restart the whole process with new potential victims.

Wouldn’t it be much more practical to be able to scam large numbers of people almost automatically? It’s exactly what lazy scammers thought, and implemented in another kind of trap email: the Phishing email. As its name implies, it’s about going to fish, but using a net - no bothering and waiting for bites!

Phishing emails generally look like security alerts from big, known and trusted e-commerce websites that manipulate money - Paypal, Ebay, your bank…

These emails will be scary:

Dear PayPal customer,We recently reviewed your account, and we suspect an unauthorized transaction on your account. Protecting your account is our primary concern. As a preventive measure we have temporary limited your access to sensitive information.

These emails will usually have a few paragraph about the importance of security procedures:

Make sure you never provide your password to fraudulent websites: To safely and securely access the PayPal website or your account, be sure to verify the link found in the address bar. This must be https://www.paypal.com/.

These security procedures really are reassuring, aren’t they? If they warn me about security, that must be a real email, isn’t it? A mean bad guy wouldn’t screw himself up this way?

Well, yes, he would, because its works better like that. Just write these security procedures, and be sure that most people would still click on the link just after:

We require you to complete an account verification procedure as part of our security measure. You must click the link below to securely login and complete the process. Click here to activate your account.

Did you click? Here, I changed the link to point to a totally different and inoffensive website; but the quoted email would have sent you to a website that isn’t Paypal’s, but that looks exactly the same. On this fake website copy, you would have been asked about a lot of information (including your password, credit card number, and even, sometimes, credit card’s PIN code). Paypal’s help page about the subject explains this really well.

I used Paypal as an example here. But don’t worry! You’ll also get fake mails “from” your bank, “from” Ebay, “from” your Internet Service Provider (usually along the lines of “we detected illegal activity from your account” - but not only), and much more.

Never click any link on any email from any site handling important things like your money. If in doubt, log in via your bookmark, or type the address yourself. If the website has something to warn you about, it’ll do so via the site itself, not via email.

Part IV - Why aren’t they stopped?

Saine paranoia, partie II : les arnaqueurs à large spectre

En français - Saine paranoia, partie II : les arnaqueurs à large spectre

Les spammeurs sont agaçants, certes, mais pas bien dangereux. Nous allons voir que l’on peut trouver bien pire qu’eux : des arnaqueurs qui en veulent à :

  • votre porte-monnaie
  • votre identité

Parmi ceux-ci, il y a deux types ; les arnaqueurs à large spectre sont ceux qui espèrent récupérer des informations intéressantes de vous, ainsi que de l’argent (le vôtre, hein), d’où que cela puisse provenir.

En VO, ils sont aussi appelés 419 scammers, ou encore Nigerian scammers, bien qu’ils n’aient pas souvent de relation avec le Niger.

Ils vous contacteront dans un long mail alambiqué de formules de politesses et de fautes de français (ou bien, en anglais, tout simplement) et vous expliqueront leurs malheurs…

Cher ami,

Je suis Allen Anthony, l’avocat personel de Monsieur Hughson Taylor. Le 21 avril 2007, mon client, sa femme et ses trois enfants ont été impliqués dans un accident de voiture. Hélas, tous les occupants ont été tués.

Comme c’est triste. (Vous pourrez aussi tomber sur la veuve du Regretté Général Machin, la soeur du Regretté Président Truc, etc). Vous découvrirez ensuite pourquoi vous avez été contacté, car votre aide précieuse est nécessaire !

Je vous ai contacté car j’ai besoin d’aide pour rapatrier le patrimoine de Monsieur Taylor avant qu’il ne soit confisqué par les services fiscaux, et qui sont de US $7.500.000 (sept millions cinq cent mille dollars américains). Je n’ai pu retrouver aucun héritier, je voudrais donc donner cet argent à des oeuvres de charité.

Oh là là, tout cet argent qui va être confisqué par le fisc au lieu d’être donné aux oeuvres de charité ! Mais que puis-je donc faire pour aider ce pauvre homme ! Ne vous en faites pas, vous allez le savoir très vite.

J’ai besoin de votre aide : il faut vous désigner comme son héritier, de manière à pouvoir sortir cet argent de la banque. En remerciement de votre aide, je me propose de vous laisser 10% de cet argent, soit US $ 750.000 (sept cent cinquante mille dollars).

Tout ça pour moi ! Où-est-ce que je signe !?

OK, sauf que non. Répondez à cet email, et vous mettrez le doigt dans un engrenage dangereux. Tout d’abord il faudra fournir un certain nombre de renseignements à Monsieur Allen Anthony, afin qu’il puisse préparer les papiers nécessaires : nom, prénom, date de naissance, lieu de naissance, photo récente, photocopie de carte d’identité.

Et voilà, ça, c’est fait, votre identité peut maintenant être utilisée par n’importe quel escroc à travers la planète.

Ensuite, bien sûr, pour récupérer cet argent, il faudra avancer quelques frais, rien de bien important en comparaison de ces sept cent cinquante mille dollars qui vous attendent: 50 euros par ci pour que la banque fasse le nécessaire, 100 euros par là, etc. Une comptable US a un jour coulé la PME pour laquelle elle travaillait, à force d’avances. En théorie, la plupart des êtres humains ont de plus en plus de mal à arrêter les frais lorsqu’ils ont l’impression que la récompense est proche.

Enfin, à un moment ou un autre, il faudra communiquer votre numéro de compte en banque, bien sûr, pour pouvoir recevoir cet argent. Et là, …

En résumé : Non, vous n’avez pas une chance monstre d’avoir été choisi pour cette mission. Vous êtes en train de contempler un hameçon jeté sous vos yeux par un escroc.

Le même processus existe avec des variantes :

The WEST CLIFF CASINO BOARD International promotion UNITED KINGDOM program is proud to inform you that you have just won Two Million British Pounds (£2.000, 000, 00).

Non plus. Ici aussi, râtissage de compte bancaire doublé d’un vol d’identité en vue.

NOTICE…Winner Of £1,000,000.00 Pounds ! We wish to congratulate and inform you on the selection of your email coupon number [...]

VERIFICATION AND FUNDS RELEASE FORM
1.FULL NAMES:_________________________________
2.ADDRESS:__________________________________________
3.SEX:___________
4.AGE:_______
5.MARITAL STATUS:__________________
6.OCCUPATION:___________________
7.E-MAIL ADDRESS:_____________________________
8.TELEPHONE NUMBER:_____________________
9.AMOUNTWON:____________________________
10.STATE:__________________________________
11. COUNTRY________________________________
12. NEXT OFKIN:_____________________________
13. ZIP CODE:_______________
14:NATIONALITY:___________________________

Ben tiens !

(Tous les exemples sont tirés de mon dossier Courrier Indésirable, que j’avais vidé il y a moins de 48 heures. Depuis, j’ai gagné six millions à la loterie (en quatre mails), et suis en mesure d’aider trois personnes proches d’un riche décédé).

Partie III - les arnaques ciblées

In english - Sane paranoia, part II : large spectrum scammers

Spammers are annoying, but not very dangerous. We’ll see that we can find much worse than them: scammers, that have evil plans concerning:

  • your wallet
  • your identity

Among them are two types ; the large spectrum scammers are those that hope to get interesting informations out of you, as well as your money, wherever it is.

They’re also called 419 scammers, or Nigerian scammers, although they don’t often are in relation with Nigeria.

They’ll contact you in a long mail full of polite formulas and typographic errors, and will explain the awful difficulties they face…

Dear Friend,

I am Barrister. Allen Anthony, a personal Attorney to Mr. Hughson Taylor. On the 21st of April 2006, my client, his wife and their three children were involved in a car accident along Udonthani express Way. All occupants of the vehicle unfortunately lost their lives.

How sad. I’m deeply moved. (You’ll probably also get emails from the widow of the Regretted Late General Blah, or the sister of the Regretted Deceased President Blahblah, and so on). You’ll then find out why you’ve been contacted, because your precious help is necessary!

I contacted you to assist in repatriating the money and properties left behind by my client before they get confiscated or declared Unserviceable by the bank where he has deposits particularly the Citizens Bank where the deceased had an account valued at about US$7.500.000 dollars. (Seven million and five hundred thousand dollars).

Oh, all of that money going to be confiscated! But what can I do to help this poor fellow!? Don’t worry, you’ll know that real quick.

Since I have been unsuccessful in locating the relatives for over 2 years now, I seek your consent to present you as the next of kin of the deceased since you have the same last name so that the proceeds of this account valued at US$7.500,000 dollars can be paid to you and then you and we can decide what to do with the money and others vital asset of his.

All of this money for me! Yeah! Where do I sign up!

Well, yes, but no. Reply to this email, and you’ll put the finger in a dangerous place. First you’ll have to provide Mr Allen Anthony with a number of informative items about you to Mister Allen Anthony, so that he can prepare the necessary paperwork: name, surname, date of birth, place of birth, recent photograph, photocopy of your ID card or driver’s license.

Voilà, that’s done, your identity can now be used by any crook in the world.

Then, of course, in order to get all these millions back from the bank, you’ll have to advance certains fees, fifty dollars there, hundred here, and so on. An american accountant once led his business file for bankruptcy due to all these fees. In theory, most of the human beings we are have a really hard time realizing they’re being abused and stop before it’s too late, when each time it seems the reward is closer.

Finally, at some point, you’ll have to communicate your bank account information, of course, in order to be able to get all this money. And then…

To make the long story short: No, you’re not really lucky to have been chosen for this mission. Rather, you’re contemplating a big hook dropped under your eyes by a crook.

The same process exists with some variants:

The WEST CLIFF CASINO BOARD International promotion UNITED KINGDOM program is proud to inform you that you have just won Two Million British Pounds (£2.000, 000, 00).

Not so. Exactly the same things will happen.

NOTICE…Winner Of £1,000,000.00 Pounds ! We wish to congratulate and inform you on the selection of your email coupon number [...]
VERIFICATION AND FUNDS RELEASE FORM
1.FULL NAMES:_________________________________
2.ADDRESS:__________________________________________
3.SEX:___________
4.AGE:_______
5.MARITAL STATUS:__________________
6.OCCUPATION:___________________
7.E-MAIL ADDRESS:_____________________________
8.TELEPHONE NUMBER:_____________________
9.AMOUNTWON:____________________________
10.STATE:__________________________________
11. COUNTRY________________________________
12. NEXT OFKIN:_____________________________
13. ZIP CODE:_______________
14:NATIONALITY:___________________________

Sure!

(All of the examples there are from my Spam folder, which I had emptied less than 48 hours ago. Since then, I won six millions at the lottery (in four emails), and am able to help three persons looking for a recipient to a rich deceased’s millions).

Part III - targeted scams

Saine paranoia, partie I : les spammeurs

En français - Saine paranoia, partie I : les spammeurs

Je le répète à beaucoup de gens, spécifiquement les nouveaux internautes autour de moi : Internet, c’est sympa, plein de ressources intéressantes, on y découvre des communautés de gens sympathiques, etc. Mais très vite, on y découvre des tas de pièges, placés là par des gens mal intentionnés. Il suffit de le savoir, et d’y prêter attention, mais hélas il suffit de baisser sa garde une fois pour que des désagréments fâcheux commencent à arriver.

La plupart de ces dangers arrivent sous formes d’emails.

Peu de temps après avoir commencé à utiliser une adresse email, pas mal de monde va commencer à essayer de vous vendre diverses choses - les respectables magasins en ligne, d’une part, dont on peut assez facilement se débarrasser, et les spammeurs, d’autre part. Ceux-ci ne respectent pas les lois en vigueur et l’on ne peut pas s’en débarrasser. Vous pourrez leur acheter très facilement diverses choses:

  • des pilules magiques telles que Viagra, Cialys, etc
  • des herbes magiques qui vous feront une bite de Rocco Sifredi en un mois
  • des fausses Rolex, et autres articles luxueux du genre
  • des faux diplômes, papiers, etc

Dans chacune de ces catégories, vous vous feriez arnaquer. Quoi que vous achetiez, vous recevrez au mieux, des placebos, ou simplement rien. Pensez-vous vraiment pouvoir confier votre numéro de carte bleue en ligne à ce genre de vendeurs?

Au final, cette catégorie d’indélicats est assez facile à ignorer ; avec les filtres anti-spams actuels, dits adaptatifs ou encore bayésiens, il suffira d’en marquer quelques uns comme spam pour ne (presque) plus en voir.

Partie II - Les arnaqueurs à large spectre

In english - Sane paranoia, part I: spammers

I keep repeating it to a lot of people, specifically new Internet users around me : Internet is nice, fun, big, full of interesting resources, one can discover lots of communities about various subjects, and so on. But quite soon, a lot of traps surface, placed there by malicious people. Avoiding them isn’t too difficult, once you know about them and pay attention; but one time is enough to get some serious annoyances.

Most of these dangers come to you via email.

Not long after starting to use an email address, a lot of people will start trying to sell you various things - normal e-commerce website, on one hand, which you can easily get rid of, and spammers, on the other hand. Spammers don’t abide by the laws, and you can’t get rid of them. You’ll be able to buy a lot from them:

  • magical pills, like Viagra, Cialys, and so on
  • magical herbs that’ll miraculously provide you with a penis bigger than Rocco Sifredi’s
  • fake Rolex watches, and other fake “big brands” stuff
  • fake diplomas, papers, and so on

In each of these categories, you’d get owned. Whatever you’d buy, you’d get at best placebos, or just nothing. Do you really think you can trust such senders with your credit card number?

In the end, this category of scumbags is quite easy to ignore ; with the current anti-spam filtering techniques, bayesian filtering, you’ll only have to mark a few of these emails as Spam and (almost) never see one again.

Part II - Large spectrum scammers

Clo has a blog!

As the title says… Clo (my wife) has a blog! There’s some cool stuff on it, you should give a look :-)

Echo

Picture from CloBlog ;-)

EDIT: because most of my readers don’t read french fluently, yes, that means I’ll be a dad in about 6 months ! (and Clo will be a mother, too ;)

Debugging: easier than it used to be!

I just realised that, since I started doing free software development, debugging has become much easier than it used to be.

At first, I didn’t even knew gdb, and debugged with printf()s. Totally impractical, slow, prone to error (as it moves corruptions to other places or even completely hide them), requires recompilation and a new run each time one needs more info.

Then I learnt about gdb and how to use it. Once I could reproduce a bug, finding its root cause became much easier. Mid-2002, a crash handler was added to Claws Mail, which automatically attached gdb to a crashed process and got a backtrace. That increased the quality of our crasher bug reports, when Claws Mail was compiled with debug symbols. Distributions were more and more shipping with bug-buddy or equivalents, that did the same thing. It was still rather useless without debug symbols, but better than nothing…

Then Valgrind came around, and that gem made tracking down corruptions, double-frees, unitialized pointers, dangling pointers, etc, much easier. I remember tracking one of these in IMAP code for days, and Valgrind would have made it clear in a matter of minutes. Valgrind is the debugging tool that gives me the most “oh damn, how did I not notice!” moments.

As if it wasn’t enough, the glibc developers started integrating basic handling of memory allocations errors, basically making the program dump core right on such an error, instead of silently corrupting things and continuing to run for a few seconds/minutes. And now, the glibc itself is able to produce crude stacktraces when crashing on these conditions!

Finally, distributions developers start to get tired of crash dumps with no debug symbols, and some services appear that automatically re-trace crashes with debug symbols: Launchpad.net, for example, gets bugreports with stacktraces from Ubuntu’s apport. Then a bot automatically retraces with debug symbols, and we get a really nice report.

All of these really help, and kids these days have it easy!

news for few, stuff no-one cares about