I hate Heisenbugs

I noticed some odd behavior with mod_blog [1] today. When I make editing changes to entries (mostly spelling corrections) I usually regenerate the static pages (the main page, the various feeds) by hand with the following command:

>
```
% ./boston.cgi --config boston.cnf --regen
```

But today I kept getting the dreaded “Segmentation fault (core dumped)” error. It's always worked before, and the timestamp on the executable was March 13^th, so it's not like I made any recent changes to the program.

But, even odder, if I run:

>
```
% ./boston.cgi --config ./boston.cnf --regen
```

it runs without a hitch. Specify the config file without the leading “./” and the program crashes.

And now, fifteen minutes later, I can't reproduce the issue.

Aaaaaaaaaaaaaaaaaaaarg!

[1] https://boston.conman.org/about/

Gemini Mention this post

Contact the author