# A Signal from 1986: Resurrecting ApplixWare


**Author:** Ken Wong

**Affiliation:** Independent Researcher

Winnipeg, Canada

ken.wong@ho.stna.me

## Abstract

Can 1999's closed-source ApplixWare still run on FreeBSD today? Our investigation uncovered compatibility problems reaching back to the signal-handling interfaces of 4.3BSD.

We examine the FreeBSD i386 release of ApplixWare, reconstruct its FreeBSD 3.x runtime, and investigate successive compatibility barriers involving 32-bit execution, historical shared libraries, obsolete signal interfaces, and incompatible password-database formats. 

A four-function `LD_32_PRELOAD` shim restores ApplixWare functionality on an stock amd64 FreeBSD 15.1 GENERIC kernel. Exploring a kernel-side alternative uncovered a separate defect: enabling `COMPAT_43` restores obsolete signal interfaces, but FreeBSD 15.1 calculates the historical signal trampoline's address relative to the stack rather than the shared vDSO. Core-dump analysis confirms the incorrect address, and a standalone i386 signal-delivery test fails on the original kernel but passes after a one-line experimental correction.

ApplixWare also runs on the candidate kernel using only the account-lookup shim. These experiments demonstrate that 32-bit execution, historical library ABIs, syscall availability, and correct signal delivery are distinct compatibility requirements. The experimental kernel fix passes a standalone signal-delivery test and allows ApplixWare to run, but its broader compatibility and production readiness remain unverified.

**Keywords—** FreeBSD, 4.3BSD, COMPAT_43, binary compatibility, i386, signal trampoline, vDSO, LD_32_PRELOAD, ApplixWare, software archaeology.

## I. Introduction 

In June 1986, the University of California, Berkeley released 4.3BSD [1]. Forty years later, FreeBSD retains an optional kernel configuration option named COMPAT_43, supporting historical interfaces. While resurrecting the 1999 FreeBSD release of ApplixWare, we discovered that enabling this feature exposed a defect in modern FreeBSD's legacy signal-delivery path. The title refers to the interface's 1986 lineage, not the origin of the defect.

Our case study is ApplixWare, a commercial UNIX office suite developed by Applix and distributed for FreeBSD on CD-ROM by Walnut Creek in 1999 [2]. Its dynamically linked i386 ELF launcher depends on FreeBSD 3.x-era shared libraries. Our goal was to run the original ApplixWare binaries unmodified on modern FreeBSD. We reconstructed the historical runtime using libraries from FreeBSD 3.5.1, the final 3.x release, and tested the application on FreeBSD 15.1, and 16-CURRENT.

Running ApplixWare on modern FreeBSD reveals that there is no single switch for “FreeBSD 3 compatibility.” A modern amd64 system may support i386 execution yet lack the required runtime loader or historical libraries. Old libc may load but invoke obsolete system calls no longer enabled by the kernel. Even when those calls are available, changes to underlying kernel subsystems may break their behavior. Historical libraries may also depend on system data formats that have since changed.

This paper makes four contributions. First, it documents a reproducible method for reconstructing a FreeBSD 3.x runtime on modern FreeBSD using archived shared libraries. Second, it demonstrates userspace translation of historical signal interfaces through `LD_32_PRELOAD`. Third, it demonstrates compatibility with modern account databases by interposing historical account-lookup functions and delegating them to modern libc. Fourth, it identifies a signal-trampoline address defect in FreeBSD 15.1's i386 `COMPAT_43` path and experimentally validates a one-line kernel correction as an alternative to userspace signal translation. 

## II. Experimental Setup and i386 Startup

### A. Historical Artifacts and Test Environments

Initial testing used a FreeBSD 15.1/amd64 jail with an Xvnc graphical environment. Subsequent kernel experiments used FreeBSD/amd64 virtual machines to compare the original and modified kernels.

### B. First failure: ELF Interpreter Mismatch

The file(1) utility identified applix as a 32-bit i386 ELF executable::

```text
file /applixware1999cdrom/applix
ELF 32-bit LSB executable, Intel i386, dynamically linked,
interpreter /usr/libexec/ld-elf.so.1, not stripped
```

The first launch failed because the 32-bit FreeBSD runtime was missing:

```text
/applixware1999cdrom/applix
ELF interpreter /usr/libexec/ld-elf.so.1 not found, error 8
Abort trap
```

The error message was misleading. For this legacy ELF32 executable, FreeBSD first attempted to load the 32-bit runtime linker (/libexec/ld-elf32.so.1). When that failed, the kernel fell back to the executable's embedded interpreter path (/usr/libexec/ld-elf.so.1), which existed but referred to an incompatible 64-bit runtime linker. The resulting ENOEXEC (error 8) reflected an executable-format mismatch when loading the interpreter, rather than an inability to execute i386 instructions.

```text
ldd /applixware1999cdrom/applix
ldd: /usr/bin/ldd32: No such file or directory
```

Similarly, ldd could not inspect the executable because its 32-bit helper, /usr/bin/ldd32, was missing. Installing FreeBSD-set-lib32 supplied the 32-bit runtime linker, ldd32, and the current 32-bit libc.so.7 [4].

With the 32-bit runtime installed, the dynamic linker progressed to an error in shared-library dependency resolution:

```text
ld-elf32.so.1: Shared object "libX11.so.6" not found,
required by "applix"
```

This progression illustrates a useful debugging principle: resolving one failure can expose the next, without establishing that all earlier compatibility concerns have been eliminated. The packaged 32-bit runtime supplies the components needed to execute i386 binaries on amd64, but does not include third-party libraries such as X11 or guarantee compatibility with the shared-library ABIs expected by FreeBSD 3.x applications.

## III. Recovering Historical Libraries

### A. Reassembling the FreeBSD 3.x Runtime

The executable's ELF DT_NEEDED entries and successive loader errors identified the missing shared libraries. These included historical FreeBSD base libraries, X11 libraries, and dependencies of ApplixWare's helper programs. Table I summarizes the key dependencies.

**TABLE I. Historical Shared-Library Dependencies**

| Shared object | Role | Source or context |
|---|---|---|
| `libc.so.3` | FreeBSD 3.x C library | FreeBSD 3.5.1/i386 base archive |
| `libm.so.2` | FreeBSD 3.x math library | FreeBSD 3.5.1/i386 base archive |
| `libX11.so.6` | X11 client library | FreeBSD 3.5.1 XFree86 4.0 package |
| `libg++.so.4`, `libstdc++.so.2` | Legacy C++ runtime libraries | Helper process dependencies |
| `libgnuregex.so.2` | GNU regular-expression library | Helper process dependency |
| ApplixWare `axshlib` objects | Application-specific shared libraries | Original ApplixWare CD-ROM |

The historical libraries were installed in a dedicated 32-bit compatibility directory and made available through LD_32_LIBRARY_PATH or the 32-bit runtime linker's cache. We recovered the required i386 libraries from FreeBSD 3.5.1 and its XFree86 package, preserving the historical ABIs expected by ApplixWare.

After satisfying the initial shared-library dependencies, ApplixWare progressed past dynamic linking but failed during startup:

```text
Bad system call
return code=140, signal=12
```

The process terminated with SIGSYS (signal 12), exposing a new compatibility barrier involving kernel system calls.

### B. What happened to `compat3x` and `compat4x`?

FreeBSD previously distributed compatibility libraries as separately installable release components. The FreeBSD 4.11 installation instructions list compat3x and compat4x alongside the base distributions [6]. These supplied historical userland shared libraries. The COMPAT3X and COMPAT4X build options, and later ports, provided additional ways to install these libraries.

The Ports Collection's MOVED history records the removal of misc/compat3x on November 8, 2010, because the Ports Collection supported only FreeBSD 6.4 and later [7]. misc/compat4x has survived longer [8]. Separately, FreeBSD 7.0 removed the COMPAT_43 kernel option from GENERIC, although the underlying compatibility code remained available [9].

Despite their similar names, these facilities serve different purposes. compat3x provides libraries for FreeBSD 3.x applications, whereas COMPAT_43 enables historical 4.3BSD kernel interfaces, dating to 1986 [1]. Installing historical libraries does not restore obsolete system calls, and enabling COMPAT_43 does not supply missing shared libraries.

### C. X11 Protocol Compatibility

Not every historical interface presented a compatibility problem. The recovered libX11.so.6 successfully communicated with a modern Xvnc server through the X11 wire protocol. Unlike in-process library interfaces, the protocol does not require the client and server to share identical C structures or library ABIs. This allowed the historical X11 client library to interoperate with a modern server, although ApplixWare still required its bundled bitmap fonts and a writable runtime directory.

## IV. Historical Signal ABI and Userspace Interposition

### A. Two Obsolete Signal System Calls

With the historical libraries restored, ApplixWare terminated with SIGSYS (signal 12), indicating an invalid or unimplemented system call. To identify the failing interface, we traced the application using FreeBSD's truss(1) utility. The trace revealed:

```text
compat.freebsd32_sigaction() ERR#78 'Function not implemented'
SIGNAL 12 (SIGSYS) code=SI_KERNEL
process killed, signal = 12
```

The error ENOSYS (78) identified an unavailable historical sigaction system call. After intercepting that interface, a second failure exposed the obsolete sigprocmask call.

The corresponding i386 syscall numbers are 46 (sigaction) and 48 (sigprocmask). FreeBSD's generated compatibility syscall table [10] conditionally enables these interfaces through the COMPAT_43 kernel option. Without this option, the entries dispatch to nosys.

Thus, although the historical libc loaded successfully, it depended on kernel interfaces absent from the default configuration. This failure is distinct from the signal-delivery defect discovered later when COMPAT_43 was enabled.

Restoring these interfaces also requires preserving their ABI. Historical FreeBSD 3.x libc and modern i386 libc use different signal structure layouts. Table II compares the relevant representations.

**Table II. Historical and Modern i386 `sigaction` Layouts**

| Field | Historical (12 bytes) | Modern (24 bytes) |
|---|---|---|
| Handler pointer | Offset 0, 4 bytes | Offset 0, 4 bytes |
| Flags | Offset 8, 4 bytes | Offset 4, 4 bytes |
| Signal mask | Offset 4, 4 bytes | Offset 8, 16 bytes |

The historical `sigprocmask` interface likewise uses a single 32-bit mask word. Passing an old `sigaction` structure directly to modern libc would cause it to interpret the historical mask as flags and read beyond the 12-byte structure when accessing the modern mask. Compatibility therefore requires translating both structures and converting returned values to the historical layout.

### B. A Four-Function Userspace Shim

FreeBSD's 32-bit runtime linker supports `LD_32_PRELOAD`, allowing a shared library to interpose symbols without modifying the original executable. Our compatibility shim exports four functions: `sigaction()` and `sigprocmask()` translate historical signal interfaces, while `getpwuid()` and `getpwnam()` delegate account lookup to modern 32-bit libc.

For `sigaction()`, the shim initializes a modern structure and copies the historical fields into their corresponding positions:

```c
memset(&modern, 0, sizeof(modern));
modern.handler = old->handler;
modern.flags   = old->flags;
modern.mask[0] = old->mask;
```

The wrapper also translates the previous signal disposition back into the historical layout when requested. Similarly, `sigprocmask()` expands the old single-word mask into the modern four-word representation and converts returned masks to the historical format.

To avoid recursive calls to its own interposed functions, the shim opens modern `libc.so.7` using `dlopen()` and resolves the required functions through `dlsym()`. The original `libc.so.3` remains loaded for other application operations.

The initial signal-only shim eliminated the observed `SIGSYS` failure but exposed a new error, `get user name`. Adding the account-lookup wrappers, discussed later, resolved this incompatibility. With the remaining runtime dependencies satisfied, ApplixWare ran on an unmodified FreeBSD kernel.

This userspace approach bypasses the historical signal system calls rather than repairing them. Consequently, successful execution with the shim does not establish whether the kernel's own `COMPAT_43` signal implementation works correctly.

## V. The `COMPAT_43` Signal-Delivery Defect

### A. Handler Installation Is Not Handler Delivery

Enabling `COMPAT_43` restores the historical signal-handler installation interface. An initial syscall test successfully set, queried, and restored a signal disposition, suggesting that the kernel option might eliminate the need for userspace signal translation. However, the test used an ignored disposition and never invoked a signal handler. It established syscall availability, not correct signal delivery.

We next tested a custom FreeBSD 15.1-RELEASE-p6/amd64 kernel with `COMPAT_43` enabled in an isolated virtual machine. The modern account database was retained, and ApplixWare ran with an account-only shim exporting `getpwuid()` and `getpwnam()`, but no signal wrappers, as confirmed by `nm -D`. The launcher reached its helper processes before terminating with `SIGBUS` (signal 10). No ApplixWare Words window appeared. Although enabling `COMPAT_43` resolved the initial `ENOSYS` failure, the application still crashed.

Because the account-only shim also loads modern `libc.so.7`, potentially affecting symbol resolution, the application crash alone could not establish a kernel defect. We therefore examined the core dump, traced the kernel's address calculation, and developed a standalone signal-delivery test to isolate the failure.

### B. Tracing the Faulting Instruction Pointer

We recovered the launcher's core dump from an isolated virtual machine and examined it with GDB using the original executable. The backtrace showed:

```text
Core was generated by `.../applix -wp'.
Program terminated with signal SIGBUS, Bus error.
#0  0xffffddbc in ?? ()
#1  0x0804f153 in AxRunProcess ()
#2  0x0804f31d in axRunProcess ()
#3  0x0804f3fc in AxCallAxmain ()
```

The instruction pointer (`EIP`) was `0xffffddbc`, an address within the process's stack rather than executable signal-handling code. Examining the surrounding memory revealed that this address fell inside an environment variable:

```text
0xffffdd9c: 4c 44 5f 4c 49 42 52 41   LD_LIBRA
0xffffdda4: 52 59 5f 50 41 54 48 3d   RY_PATH=
0xffffddac: 2f 74 65 73 74 2f 72 6f   /test/ro
0xffffddb4: 6f 74 2f 75 73 72 2f 6c   ot/usr/l
0xffffddbc: 6f 63 61 6c 2f 6c 69 62   ocal/lib
```

The processor had attempted to execute bytes from the `LD_LIBRARY_PATH` string. The environment variable itself was not the cause; execution had reached an address containing ordinary process data.

The core also contained a historical signal frame identifying `SIGUSR1` (signal 30) and ApplixWare's `GotUsr1` handler at `0x0804bb58`. The saved context showed execution interrupted in `wait4` while the launcher waited for a helper process. Neither the intended handler nor the interrupted instruction matched the faulting address.

These observations pointed toward a failure in the signal-delivery mechanism rather than in the application's handler. The next step was to determine how the kernel calculated the incorrect address.

### C. Reproducing the Incorrect Address from Kernel Source

A signal trampoline is kernel-supplied user-mode code that invokes a signal handler and arranges the return to interrupted execution. Modern FreeBSD provides this code through a 32-bit virtual dynamic shared object (vDSO) mapped into the process. The historical i386 signal-delivery path is implemented in `ia32_osendsig()` in `sys/amd64/ia32/ia32_signal.c` [11].

The tested FreeBSD 15.1 kernel calculated the trampoline address as:

```c
regs->tf_rip = PROC_PS_STRINGS(p) -
    (_binary_elf_vdso32_so_1_end - _binary_elf_vdso32_so_1_start) +
    VDSO_IA32_OSIGCODE_OFFSET;
```

This calculation derives the trampoline address from `PROC_PS_STRINGS(p)`, located near the top of the process's stack, rather than the actual vDSO mapping. The core dump and kernel-build artifacts supplied the following values:

```text
PROC_PS_STRINGS(p)           0xffffdff0
Embedded vDSO size                0x4ec
Old signal trampoline offset     0x2b8
```

Substituting these values reproduces the faulting instruction pointer exactly:

```text
0xffffdff0 - 0x4ec + 0x2b8 = 0xffffddbc
```

This matches the address observed in the core dump, where execution entered the `LD_LIBRARY_PATH` environment string.

The same core's auxiliary vector identified the actual vDSO base through `AT_KPRELOAD` as `0xffffe780`. The correct trampoline address was therefore:

```text
0xffffe780 + 0x2b8 = 0xffffea38
```

Unlike the stack-derived address, this location falls within the mapped vDSO. FreeBSD's ordinary i386 and FreeBSD 4 compatibility signal paths already use `PROC_SIGCODE(p)` with appropriate offset adjustments to locate their trampolines.

The defect lies in the historical path's stack-relative address calculation, which no longer matches the vDSO placement. Although the specific addresses depend on process layout, the calculation explains the observed crash and identifies the kernel code responsible.

### D. Experimental Kernel Correction

The candidate fix replaces the stack-relative calculation with the shared-page signal-code address:

```c
regs->tf_rip = PROC_SIGCODE(p) +
    VDSO_IA32_OSIGCODE_OFFSET - VDSO_IA32_SIGCODE_OFFSET;
```

`PROC_SIGCODE(p)` identifies the ordinary signal trampoline, while the offset adjustment selects the historical trampoline. This follows the approach already used by neighboring signal-delivery paths. The change is experimental and has not been submitted upstream.

To isolate its effect, we rebuilt the `COMPAT_43` kernel with only this expression changed. The original and modified kernels were tested in separate virtual machines using the same FreeBSD 15.1 userland and kernel configuration. Kernel hashes distinguished the builds, which otherwise reported the same `APPLIX_COMPAT43` configuration.

### E. Independent Signal-Delivery Test

To isolate the kernel defect from ApplixWare, we developed a small, freestanding i386 test program (`delivery.c`). It uses historical syscall 46 to install a `SIGUSR1` handler, sends the signal to itself, and verifies that the handler executes and returns. Unlike the earlier signal-disposition test, this exercises both the historical signal trampoline and its return path without requiring ApplixWare, historical libraries, or a preload shim.

**TABLE III. Independent Signal-Delivery Test**

| Kernel | Result | Recorded outcome |
|---|---|---|
| Original `COMPAT_43` kernel | Failed | `SIGBUS`, exit 138; `TEST_EXIT:1` |
| Candidate kernel | Passed | Exit 0; `TEST_EXIT:0` |

The original kernel terminated the test with `SIGBUS`, while the candidate kernel completed successfully. Both used the same FreeBSD 15.1 userland and kernel configuration, differing only in the experimental trampoline-address correction.

Combined with the core-dump analysis and exact address calculation, these results establish that the historical i386 signal-delivery path used an incorrect trampoline address in the tested FreeBSD 15.1-RELEASE-p6/amd64 kernel.

The test validates signal delivery and return for this specific case, not comprehensive compatibility with historical signal interfaces, other architectures, or FreeBSD releases.

### F. Returning to ApplixWare

We tested the candidate kernel with ApplixWare in an isolated virtual machine, retaining the modern FreeBSD account database and using only the account-lookup shim. The launcher exited with status zero, the `axnet` and `axmain` helper processes were present, and the application log was empty. The X window tree contained an ApplixWare Words window, confirmed by visual inspection of a captured screenshot.

This application-level result complements the standalone signal-delivery test, demonstrating that the experimental kernel correction allows ApplixWare to run without userspace signal translation.

### G. Limitations of the Kernel Fix

The experimental patch has not been submitted upstream, reviewed by FreeBSD maintainers, or deployed on a production system. Testing confirmed the incorrect trampoline-address calculation, successful signal delivery and return in a standalone reproducer, and ApplixWare Words startup on the modified kernel. These results do not establish comprehensive signal compatibility, long-term application stability, or production readiness.

## VI. Account Lookup and libc Compatibility

### A. Tracing the Failed Account Lookup

After resolving the initial signal failures, ApplixWare progressed to a new error:

```text
get user name: Invalid argument
```

The message suggested an account-lookup problem but did not identify the failing function. Unlike `truss`, which traces system calls, DTrace's `pid` provider can trace function calls and returns within shared libraries [12].

We first collected a broad function trace, then narrowed the investigation to the functions associated with the failure. The focused DTrace output showed:

```text
libc.so.3`getpwuid(0)
libc.so.3`dbopen("/etc/spwd.db")
libc.so.3`getpwuid returned 0x0
libc.so.3`perror("get user name")
libc.so.3`strerror(22)
```

The historical `libc.so.3` attempted to look up UID 0 (root), accessed `/etc/spwd.db`, and returned `NULL`. The broader trace also confirmed that `dbopen()` returned a valid database handle. Meanwhile, the modern `getent passwd 0` successfully retrieved the root account.

These observations establish an incompatibility between the historical account-lookup implementation and the modern system's account database. They do not identify the precise database parsing or record-format failure.

The next step was to bypass the historical account reader by delegating the lookup to modern 32-bit libc.

### B. The `struct passwd` ABI Boundary

Replacing account lookup involves more than returning a username. `getpwuid()` returns a pointer to a libc-managed `struct passwd`, whose layout and lifetime are part of the interface. Disassembly of ApplixWare's startup path showed an access to the first field of the returned structure:

```asm
movl (%eax), %edx    # read the first field (pw_name)
```

Both historical and modern 32-bit FreeBSD libc use a 32-bit pointer to `pw_name` as the first field. This allows the modern `libc.so.7` record to satisfy the observed application access.

However, this establishes compatibility only for the observed startup path. It does not guarantee that other structure fields, memory-lifetime assumptions, or additional account-lookup operations are compatible. Broader application testing would be needed to establish those properties.

### C. Delegating Account Lookup to Modern libc

The second stage of the preload shim added `getpwuid()` and `getpwnam()` to the two signal wrappers. Rather than translating historical password-database formats, these functions delegate account lookup to modern 32-bit `libc.so.7`. As with the signal wrappers, `dlopen()` and `dlsym()` resolve the modern implementations explicitly, avoiding recursive interception.

The `getpwuid()` wrapper is straightforward:

```c
struct passwd *
getpwuid(uid_t uid)
{
    if (!libc7_h)
        libc7_init();
    if (rl_getpwuid)
        return rl_getpwuid(uid);
    errno = ENOENT;
    return NULL;
}
```

`getpwnam()` follows the same pattern. Modern libc handles the account database and returns its `struct passwd` record directly to the historical application, subject to the ABI limitations discussed above.

With the experimental `COMPAT_43` kernel, only the account-lookup functions are interposed. This allows ApplixWare to use the kernel's historical signal interfaces while retaining the modern account database.

### D. Historical Password Database as a Diagnostic Control

In a separate experiment, we generated FreeBSD 3-format password databases from an isolated virtual machine's account records. With the experimental kernel and no preload shim, ApplixWare Words opened successfully. This supports a historical password-database incompatibility but does not establish the precise cause of the failed `getpwuid()` lookup.

Replacing modern account databases could disrupt other system utilities and authentication mechanisms. We therefore treated this experiment as a diagnostic control, not a practical workaround. Both compatibility approaches retain modern account databases: the unmodified kernel with the four-function shim, and the experimental kernel with only the account-lookup shim.

## VII. Comparative Results and Reproducibility

### A. Experimental Results

Successful startup required more than resolving shared libraries. ApplixWare also needed compatible signal and account-lookup interfaces, its `axnet` and `axmain` helper processes, additional C++ and regular-expression libraries, and a working X11 environment. A writable application directory was necessary because ApplixWare attempted to save profile data; using a read-only CD-ROM tree produced `EROFS`. The original bitmap fonts and a suitable Xvnc font path were also required for correct display.

These dependencies illustrate why process survival alone is insufficient evidence of application compatibility. Verification progressed from successful loading and execution to helper-process startup, window creation, and functional application tests.

**TABLE IV. Compatibility Configurations and Observed Results**

| Configuration | Signal handling | Account lookup | Result |
|---|---|---|---|
| Default kernel, no shim | Obsolete syscall unavailable | Historical libc | `ENOSYS`, `SIGSYS` |
| Default kernel, four-function shim | Modern libc translation | Modern libc | ApplixWare runs |
| Unmodified `COMPAT_43` kernel, account-only shim | Historical syscall available; delivery defective | Modern libc | `SIGBUS`; no Words window |
| Patched `COMPAT_43` kernel, account-only shim | Corrected historical delivery | Modern libc | Signal test passes; Words opens |
| Patched kernel, historical password database, no shim | Corrected historical delivery | Historical libc | Words opens; diagnostic control only |

The two principal approaches retain modern account databases. The unmodified kernel uses userspace translation for both signal handling and account lookup, whereas the experimental kernel handles historical signals directly and retains only the account-lookup shim.

The full userspace-shim configuration also supported functional testing of ApplixWare Presents, including saving, loading, and displaying slide shows, as well as launching Words. Testing of the experimental kernel established successful signal delivery and application startup, but did not establish equivalent application functionality.

The userspace experiments were initially conducted in a FreeBSD jail, while the kernel comparisons used isolated virtual machines. Both environments provided useful evidence, but their results should not be interpreted as identical test configurations.

### B. Visual Verification and Artifact Provenance

Two graphical captures were recorded. The original four-function shim produced an ApplixWare Words window with menus, toolbar, document area, and status bar. A second capture confirmed that Words also opened on the experimental `COMPAT_43` kernel using only the account-lookup shim and the unchanged modern account database.

**Fig. 1.** ApplixWare Words running on the experimental `COMPAT_43` kernel with the account-lookup shim. The captured window demonstrates successful graphical startup, not comprehensive document-editing functionality.

To preserve experimental provenance, SHA-256 hashes were recorded for the original and patched kernels, the analyzed core dump, and the corresponding ApplixWare executable. Both kernels reported the same `APPLIX_COMPAT43` configuration name, so the hashes distinguish the actual builds. Matching the core dump to the tested executable and kernel is particularly important when validating the faulting instruction pointer against the kernel's trampoline-address calculation.

### C. Reproducibility and Limitations

The investigation notes document the experimental procedures [13–15]. Reproduction requires the original ApplixWare distribution, archived FreeBSD 3.x libraries, a modern 32-bit runtime, and the compatibility shim. Kernel experiments additionally require a `COMPAT_43` kernel, the standalone signal-delivery test, and the experimental patch. The original and modified kernels were tested in isolated virtual machines using the same FreeBSD 15.1 userland.

The preserved test sources, kernel patch, execution traces, and recorded results support independent verification of the findings. SHA-256 hashes identify the kernel builds, executable, and analyzed core dump. Some original artifacts were stored in temporary directories and may no longer be available.

The userspace shim enabled ApplixWare Presents to save, load, and display slide shows, and Words to launch. However, comprehensive office-suite functionality, long-term stability, and compatibility across FreeBSD releases remain unverified. The standalone signal test validates one historical handler-delivery-and-return path. The experimental kernel correction has not undergone upstream review or broader regression testing.

## VIII. Discussion and Conclusion

This case study demonstrates that binary compatibility is a collection of distinct contracts, not a single system-wide capability. Support for i386 execution does not supply historical shared libraries, and restoring those libraries does not make obsolete system calls available. Even when old system calls are enabled, changes to underlying kernel subsystems may break their behavior. Historical libraries may also be incompatible with modern system data formats.

Two approaches restored ApplixWare operation while preserving modern account databases. On an unmodified kernel, a four-function `LD_32_PRELOAD` shim translated historical signal interfaces and delegated account lookup to modern libc. This enabled ApplixWare Words to launch and Presents to save, load, and display slide shows. An experimental `COMPAT_43` kernel eliminated the need for userspace signal translation, allowing Words to open with only the account-lookup shim.

The principal kernel finding is a reproducible defect in historical i386 signal delivery. The faulting instruction pointer matched exactly the address calculated by the kernel's obsolete stack-relative trampoline logic. An independent signal-delivery test failed on the original kernel and passed after a one-line correction. Broader signal testing, upstream review, investigation of the historical account-database incompatibility, and further application testing remain necessary. Forty years after 4.3BSD, its legacy interfaces continue to reveal important challenges in maintaining FreeBSD's backward compatibility.

## References

[1] The FreeBSD Project, BSD Family Tree, entry “4.3BSD 1986-06.” [Online]. Available: https://cgit.freebsd.org/src/tree/share/misc/bsd-family-tree. See also University of California, Berkeley, Berkeley Software Distribution Records. [Online]. Available: https://oac.cdlib.org/findaid/ark:/13030/hb2b69n7b5.

[2] Walnut Creek CDROM, ApplixWare Office for FreeBSD, CD-ROM, December 1999. [Online]. Archived product page: https://web.archive.org/web/20000303000735/http://www.cdrom.com/titles/freebsd/applix.phtml.

[3] The FreeBSD Project, FreeBSD 3.5.1-RELEASE/i386 Archive, historical base distribution and shared libraries, 2000. [Online]. Available: https://archive.freebsd.org/old-releases/i386/3.5.1-RELEASE/.

[4] The FreeBSD Project, freebsd-base(7), FreeBSD 15.1-RELEASE Manual Pages, base-system packages and 32-bit compatibility runtime. [Online]. Available: https://man.freebsd.org/cgi/man.cgi?query=freebsd-base&sektion=7&manpath=FreeBSD+15.1-RELEASE.

[6] The FreeBSD Project, FreeBSD/i386 4.11-RELEASE Installation Instructions, compatibility distributions compat3x and compat4x, 2005. [Online]. Available: https://www.freebsd.org/releases/4.11R/installation-i386/.

[7] The FreeBSD Project, FreeBSD Ports MOVED History, misc/compat3x removal entry dated Nov. 8, 2010. [Online]. Available: https://cgit.freebsd.org/ports/tree/MOVED?id=974e13b50148c5c8e7b33a1cb7e9dbaa9aedbc70.

[8] The FreeBSD Project, misc/compat4x, FreeBSD Ports Collection, historical FreeBSD 4.x shared-library compatibility package. [Online]. Available: https://cgit.freebsd.org/ports/tree/misc/compat4x.

[9] The FreeBSD Project, FreeBSD 7.0-RELEASE Release Notes, removal of COMPAT_43 from GENERIC kernel configurations, 2008. [Online]. Available: https://www.freebsd.org/releases/7.0R/relnotes/.

[10] The FreeBSD Project, freebsd32_sysent.c, FreeBSD 15.1 source tree, 32-bit system-call dispatch and historical compatibility entries. [Online]. Available: https://cgit.freebsd.org/src/tree/sys/compat/freebsd32/freebsd32_sysent.c?h=releng/15.1.

[11] The FreeBSD Project, BSD Family Tree, entry “4.3BSD 1986-06.” [Online]. Available: https://cgit.freebsd.org/src/tree/share/misc/bsd-family-tree. See also University of California, Berkeley, Berkeley Software Distribution Records. [Online]. Available: https://oac.cdlib.org/findaid/ark:/13030/hb2b69n7b5.

---

*Draft preparation note: Before conference submission, replace the author placeholders, embed the saved ApplixWare screenshot, check the complete experimental artifacts against the retained build hashes, and convert to the conference's IEEE A4 proceedings format. The candidate kernel change remains experimental and has not been submitted upstream.*
