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-free...
Content suppressed by ://URLFAN, for full article visit source
Stuff that happens to sysadminsFrom: colino.net
Post Date: 2008-03-05 02:32:19
Buy one 1U server from $supplier, specifically ask for a pair of rails, learn that “Of course it comes with rails!”.
Two weeks later. Buy a 42U rack, and eight 1U servers, all of these from the same $supplier, and at the same time. Receive your rack and 8 servers, without rails. Inquire by email: “No, servers don’t come automatically with rails, you didn’t ask for them”.
Thanks, Dell. It’s always a pleasure....
more Nine Inch Nails rocksFrom: colino.net
Post Date: 2008-03-03 23:40:48
Nine Inch Nails rocks: they just released their new Ghosts album on bittorrent sites, complete with a Creative Commons Attribution Non-Commercial Share Alike license.
-----------------------------------------------------------------
| file: Nine Inch Nails - Ghosts I (2008)
| size: 67,342,352 (64.2 M)
| dest: /home/colin/Nine Inch Nails - Ghosts I (2008)
| progress: #####################################################
| status: download succeeded!
| speed...
more