Older blog entries for jefft (starting at number 3)

12 May 2001 (updated 12 May 2001 at 12:50 UTC) »

As sometimes happens, I got up this morning and found apache regression test failures from one machine or another. Today it is AIX. The threaded MPM won't compile anymore with xlc. It has to do with the non-AP_DEBUG flavor of cmd_func. I don't see that any code changed. Maybe --enable-maintainer-mode used to get AP_DEBUG defined even with xlc but not anymore because of configuration changes. Maybe this is goodness since we shouldn't require AP_DEBUG to be defined in order for it to compile with xlc. At least the coffee tastes good. [Update: We're using the AP_DEBUG flavor unexpectedly. The AP_DEBUG flavor of the cmd_func declarations is not portable. Last night Roy removed the check for gcc before turning on AP_DEBUG. Interestingly (or not :) ) the AP_DEBUG flavor of cmd_func compiles cleanly on gcc but the non-AP_DEBUG flavor doesn't. The non-AP_DEBUG flavor compiles cleanly with Tru64 cc and AIX xlc but the AP_DEBUG flavor doesn't. (On Tru64 we get a bunch of warnings with the AP_DEBUG flavor but at least it compiles; the same cannot be said of AIX xlc.)]

Instead of spending most of my spare time hacking on Apache lately I've been messing around at a house we just bought. I've been working on cleaning up the yard and fixing some drainage problems around the house. Next comes reworking the electrical line to the workstop. Other projects on the short list include putting GFCI sockets in the bathrooms, adding an exhaust fan in the master bath, replacing some light fixtures, upgrading the phone lines to support 2 lines + 100Mbps LAN, etc. The biggest problem for me with all this is overcoming the paralysis associated with the risk of making things worse. When I screw up badly I can't simply remove a damaged wall and let "cvs update" get me back to where I started.

The guys doing the painting and refinishing the floors still have a couple of weeks to go, after which we can move in and it will be easier to work on these projects.

Time to shut up and get to work... Liam will wake up any minute now and I need to look at the AIX+xlc problem before that happens. Also, I've got some updates to look at from David Reid for the libtool emulator we have for BeOS and OS/390.

(Trying again after hitting the wrong key in netscape and losing it all! I'll try to remember the gist of it.)

I like reading diary entries, but it would be nice to have a view of diary entries just from folks associated with specified projects. It can be fun to read random diary entries, but it is truly useful to read entries from other folks working on Apache. I don't know of an effecient way to get to such entries.

We communicate all the time on mailing lists, but these diary entries give a different angle on the person and what they are doing. We don't exactly clutter up the mailing list with drivel like this.

At the moment I'm working on replacing the BO_BYTECT usage... It is trivial to improve on the current situation (BO_BYTECT usage is broken since we use buff for so little of our data transfer now), but it is non-trivial to match the same semantics of BO_BYTECT in 1.3. With 2.0, output data can be held at any filter... With 1.3, output data is either held in buff or has already been sent, so it was trivial to account for it either way.

(Uninteresting details, huh?)

I've been trying to assist David in his efforts to add IPv6 and UDP support to APR by reviewing patches. I hope I haven't held him up too much. I realize that I've been a pest :)

Okay, time to press the button and go get Sonya ready for school (stealing some hot coffee along the way)...

I'm letting the caffiene sink in and wondering what to work on this a.m. and I log into my BSD box to make sure Apache 2.0 regression tests are still humming and I notice that the configure script started failing at 2:18 a.m. EDT. I wonder if that would have anything to do with some commits last night :) There was a commit right before the previous successful BSD regression build/run and a commit right afterwards. It looks like there is autoconf/m4 debugging to do this a.m. because the configure script bails out. (I would guess initially that it wasn't broken by rbb's commit last night. It seems that APRVARS stopped getting built at the right time at some point in the last few days.) But first to get Sonya to school...

Apache 2.0 thoughts of the moment:

Nagging question of the week: why doesn't 2.0 run smoothly on FreeBSD 3.4 for me?

Old observations from a couple of weeks back: mpmt_pthread and prefork seem to run fine; dexter hangs intermittently in select(), which never pops even though one or both conditions (readability, timeout) have been met; I imagined that there was some sick interaction between Apache and the FreeBSD user-land thread implementation

New observation: various flavors seem to hang intermittently in unknown code; truss refuses to attach to any of the children; more data required

Other issues to work on before too long:

  • ab needs to do the connect() in non-blocking mode
  • Commit fix to ap_sendfile() for when no header/trailer structure is provided.
  • Get ap_sendfile() working with APR_SO_TIMEOUT.
  • Test a few MPM flavors on Solaris x86 and OS/390; I haven't played there since returning from the beach.

Other silly stuff:

  • Advagato: How do I add myself to list of developers associated with the Apache project?
  • Real life: Figure out why Liam doesn't want to go to sleep at night; this is spoiling my favorite coding time :)

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!