# 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.

Two independent `LD_32_PRELOAD` shims restore ApplixWare functionality on a stock FreeBSD 15.1/amd64 `GENERIC` kernel. Testing whether `COMPAT_43` could replace the signal shim uncovered a separate defect: the obsolete signal trampoline's address was calculated relative to the stack rather than the mapped vDSO. Core-dump analysis reproduces the incorrect address, and a standalone i386 signal-delivery test fails on the original kernel but passes after a one-line kernel patch correcting the trampoline address calculation.

On the candidate kernel, ApplixWare Words also opens using only the account-lookup shim. These experiments show that 32-bit execution, historical library ABIs, syscall availability, and correct signal delivery are distinct compatibility requirements. Broader compatibility and production readiness of the kernel correction 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 still provides COMPAT_43, an optional kernel configuration feature supporting historical interfaces. While resurrecting the 1999 FreeBSD release of ApplixWare, we discovered that enabling this feature exposed a defect in FreeBSD's obsolete signal-delivery compatibility path.

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 [3], and tested the application on FreeBSD 15.1-RELEASE, the latest production release at the time of writing, and the 16.0-CURRENT development branch.

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 obsolete signal interfaces through a dedicated `LD_32_PRELOAD` shim. Third, it demonstrates compatibility with modern account databases through a separate account-lookup shim that delegates to modern libc. Fourth, it identifies a signal-trampoline address defect in FreeBSD 15.1's i386 `COMPAT_43` path and experimentally validates a single-expression kernel correction as an alternative to userspace signal translation.

## II. Experimental Setup and i386 Startup

### A. Test Environments

The initial investigation used a FreeBSD 15.1/amd64 jail with an Xvnc graphical environment to isolate ApplixWare from the host system. When the investigation expanded to kernel compatibility, we moved to virtual machines because FreeBSD jails share the host kernel. The kernel experiments used FreeBSD 15.1-RELEASE-p6 as their source baseline, allowing us to compare the original and modified COMPAT_43 kernels without risking the stability of the host.

### 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 error 8 (`ENOEXEC`) 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

Successive dynamic-linker errors, together with inspection of the ELF `DT_NEEDED` entries, revealed the required shared libraries and identified those that were missing. The dependencies spanned FreeBSD base-system libraries, X11 libraries, and additional libraries required by ApplixWare's helper programs. Table I summarizes the key dependencies.

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

| Shared object | Role | Source or context |
|---|---|---|
| `libX11.so.6` | X11 client library | `XFree86-libraries-4.0.tgz` |
| `libm.so.2` | FreeBSD 3.x math library | `bin` distribution set |
| `libc.so.3` | FreeBSD 3.x C library | `bin` distribution set |
| `libg++.so.4`, `libstdc++.so.2` | Legacy C++ runtime libraries | `bin` distribution set |
| `libgnuregex.so.2` | GNU regular-expression library | `bin` distribution set |
| ApplixWare objects | Application-specific shared libraries | ApplixWare CD-ROM |

*Note: distribution sets and packages were obtained from the FreeBSD 3.5.1/i386 release archive [3].*

We installed the required historical i386 libraries from the FreeBSD 3.5.1 archives and associated XFree86 package in a dedicated 32-bit compatibility directory. They were made available to the dynamic linker through `LD_32_LIBRARY_PATH` or the 32-bit linker hints file maintained by `ldconfig -32`. We retained the shared-library versions expected by ApplixWare rather than substituting potentially incompatible modern libraries.

After resolving the initial shared-library dependencies, ApplixWare progressed into its startup sequence but failed:

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

The process terminated with signal 12 (`SIGSYS`), corresponding to a bad system call. The reported return code of 140 reflected the conventional shell status of 128 plus the terminating signal number. This failure pointed to a new compatibility barrier involving kernel system calls, although the diagnostic alone did not identify the offending call.

### B. The Evolution of FreeBSD Compatibility Libraries

FreeBSD has provided compatibility libraries for applications built against earlier releases since at least FreeBSD 2.0 (1994), which included a `compat1x` distribution for FreeBSD 1.x applications [5]. This approach continued through subsequent releases, including `compat3x` in FreeBSD 4.0 [6], and survives in modern compatibility ports such as `misc/compat15x` [7].

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 [8]. Consequently, recovering the FreeBSD 3.x libraries required obtaining them from historical distributions rather than installing a contemporary compatibility port.

### 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. Obsolete Signal Interfaces and Userspace Compatibility

### A. Identifying the Obsolete Signal Calls

To identify the system call behind the `SIGSYS` failure, we traced ApplixWare 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
```

Error 78 (`ENOSYS`) identified an unavailable obsolete `sigaction` system call. FreeBSD's `nosys` handler returns this error and, when configured to do so, generates `SIGSYS`, explaining the subsequent termination. After intercepting the `sigaction` interface, a second failure exposed the obsolete `sigprocmask` syscall.

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

FreeBSD 7.0 removed `COMPAT_43` from the `GENERIC` kernel configuration, although the underlying compatibility code remained available [10]. The option remains absent from the modern amd64 `GENERIC` configuration, explaining why these obsolete system calls are unavailable without a custom kernel.

Thus, although the historical libc loaded successfully, it depended on kernel interfaces absent from the default configuration. Restoring these interfaces also requires preserving their ABI, because the historical FreeBSD 3.x and modern i386 signal structures have different layouts. Table II compares the relevant representations.

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

| Field | Legacy i386 ABI (12 bytes) | Modern i386 ABI (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 obsolete `sigprocmask` syscall similarly uses a 32-bit mask passed by value and returns the previous mask directly, whereas the modern syscall interface uses pointers to larger `sigset_t` objects. Passing a historical `sigaction` structure directly to modern libc would cause it to interpret the historical mask as flags and access memory beyond the 12-byte structure when reading the modern mask. Compatibility therefore requires translating the signal structures and preserving the obsolete calling conventions and return-value semantics.

### B. A Two-Function Userspace Signal Shim

FreeBSD's 32-bit runtime linker supports `LD_32_PRELOAD`, allowing a shared library to intercept dynamically linked function calls without modifying the original executable. We developed a compatibility shim exporting two functions (`sigaction()` and `sigprocmask()`) to translate calls using obsolete signal ABIs into calls using their modern equivalents.

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 obsolete single-word mask into the modern four-word representation and converts returned masks to the obsolete format.

To avoid recursive calls to the functions it intercepts, the shim opens modern libc.so.7 using dlopen() and resolves the underlying functions through dlsym() against that library's handle. The historical libc.so.3 remains loaded for other application operations.

The signal shim eliminated the observed `SIGSYS` failure, allowing ApplixWare to proceed further into its startup sequence. Execution then encountered an unrelated account-lookup failure, examined in Section V.

This userspace approach bypasses the obsolete signal system calls rather than exercising the kernel's compatibility implementations. Consequently, successful execution with the signal shim does not establish whether `COMPAT_43` handles these legacy interfaces correctly.

## V. Account Lookup and libc Compatibility

### A. Tracing the Failed Account Lookup

With the obsolete signal system calls bypassed by the userspace shim described in Section IV.B, 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 entries, arguments, and return values within shared libraries [11].

We first collected a broad function trace, then narrowed the investigation to 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 resolve UID 0 (root), opened `/etc/spwd.db` through `dbopen()`, and returned `NULL` from `getpwuid()`. The broader trace confirmed that `dbopen()` returned a valid database handle, narrowing the failure to the subsequent lookup or record-processing path. Meanwhile, the modern `getent passwd 0` successfully retrieved the root account.

FreeBSD's password-database format has evolved since the 3.x releases, including the introduction of architecture-independent v4 records in FreeBSD 5.1 [12]. The observations demonstrated that the historical account-lookup implementation could not retrieve an account available through the modern system's lookup interface. However, they did not identify the precise database lookup or record-interpretation failure.

The next step was to bypass the historical account reader by delegating lookups 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`. Compatibility depends on both the structure's binary layout and the lifetime of the returned data. Disassembly of ApplixWare's startup path showed that the returned pointer was dereferenced to obtain the first structure field, `pw_name`:

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

Both historical and modern 32-bit FreeBSD libc place the 32-bit `pw_name` pointer at offset zero. This allows the structure returned by modern `libc.so.7` to satisfy the observed application access without translation.

However, this establishes compatibility only for the observed startup path. It does not guarantee that other structure fields, storage-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

To address the account-lookup failure independently of signal compatibility, we developed a second preload shim exporting two functions, `getpwuid()` and `getpwnam()`. Rather than translating historical password-database formats, the wrappers delegate account lookup to modern 32-bit `libc.so.7`. As with the signal shim, `dlopen()` and `dlsym()` explicitly resolve the modern implementations, 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 in Section V.B.

Together, the independent shims allow ApplixWare to run on an unmodified FreeBSD kernel: the signal shim translates obsolete signal interfaces, while the account shim delegates user lookups to modern libc.

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

We therefore tested whether enabling `COMPAT_43` could eliminate the userspace signal shim. The kernel-side experiments retained the account-lookup shim from Section V, allowing ApplixWare to use the modern account database while its obsolete signal calls reached the kernel.

### A. When `COMPAT_43` Fails

We modified the stock GENERIC kernel configuration with `COMPAT_43` enabled to compile a custom kernel. With `COMPAT_43` enabled, an initial syscall test successfully set, queried, and restored a signal disposition. However, because the test used `SIG_IGN`, it did not verify delivery to a user-defined handler.

We expected `COMPAT_43` to eliminate the need for userspace signal translation, allowing ApplixWare to run as it did with the signal shim. Instead, testing on this kernel with only the account-lookup shim resulted in a `SIGBUS` (signal 10) crash before an ApplixWare Words window appeared.

The unexpected crash produced a core dump. Although the failure suggested a problem with obsolete signal delivery, it did not establish a kernel defect.

### B. Investigating the Core Dump
We examined the launcher's core dump using GDB and 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 code. Examining the surrounding memory revealed that it pointed into the `LD_LIBRARY_PATH` 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 environment variable did not cause the crash; its contents merely occupied the address to which execution had been redirected.

A signal frame recovered from the core identified `SIGUSR1` (signal 30) and ApplixWare's registered `GotUsr1` handler at `0x0804bb58`. The saved processor context showed that execution had been interrupted in `wait4` while the launcher waited for a helper process. Neither the handler nor the interrupted instruction matched the faulting address.

These findings pointed to a signal-delivery failure rather than a problem with the application's handler. 

### C. Tracing the Error to Kernel Source

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

The tested FreeBSD 15.1-RELEASE-p6 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 uses `PROC_PS_STRINGS(p)`, which identifies argument and environment metadata near the top of the stack, rather than the actual vDSO mapping. The core dump and corresponding kernel-build artifacts provided the 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 is the address within `LD_LIBRARY_PATH` identified in the core dump.

The core dump's ELF auxiliary vector independently identified the actual vDSO base through `AT_KPRELOAD` as `0xffffe780`. Adding the obsolete trampoline offset gives the expected address:

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

This address lies within the mapped vDSO, unlike the stack-derived address. FreeBSD's ordinary i386 signal-delivery path uses `PROC_SIGCODE(p)`, while the FreeBSD 4 compatibility path adjusts that address by the difference between their trampoline offsets.

The obsolete signal-delivery path instead uses a stack-relative calculation. Its exact match with the faulting instruction pointer identifies the kernel code responsible for the crash.

### D. Correcting the Trampoline Address

The experimental correction changes a single assignment in `ia32_osendsig()` to calculate the obsolete signal trampoline's address relative to the mapped vDSO:

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

`PROC_SIGCODE(p)` identifies the ordinary signal trampoline. Adjusting its address by the difference between the ordinary and obsolete trampoline offsets selects the correct entry point within the same vDSO mapping, following the approach used by neighboring signal-delivery paths.

We rebuilt the `COMPAT_43` kernel with only this change, preserving the FreeBSD 15.1-RELEASE-p6 source revision and kernel configuration. The original and modified kernels were tested against the same FreeBSD 15.1 userland. Both retained the `APPLIX_COMPAT43` identification string, but distinct binary hashes identified each build.

### E. Validating the Kernel Correction

To test signal delivery independently of ApplixWare, we developed a small, freestanding i386 program (`delivery.c`). It uses obsolete syscall 46 to install a `SIGUSR1` handler, sends the signal to itself, and verifies that the handler executes and returns. Unlike the earlier `SIG_IGN` test, this exercises the obsolete signal trampoline without requiring ApplixWare, historical libraries, or preload shims.

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

| Kernel | Result | Recorded outcome |
|---|---|---|
| Original `COMPAT_43` kernel | Failed | `SIGBUS`, exit 138 |
| Corrected `COMPAT_43` kernel | Passed | Exit 0 |

The original kernel failed with `SIGBUS`, while the corrected kernel completed successfully. Combined with the core-dump analysis and exact address calculation, these results establish that an incorrect trampoline address caused the signal-delivery failure in the tested FreeBSD 15.1-RELEASE-p6/amd64 kernel.

The test validates this specific signal-delivery and return path, not broader compatibility with other signals, architectures, or FreeBSD releases.

### F. Testing ApplixWare on the Modified Kernel

We tested ApplixWare on the corrected kernel using only the account-lookup shim, without userspace signal translation. The launcher exited with status zero, while the `axnet` and `axmain` helper processes remained running. The application log contained no messages, but inspection of the X window tree and a captured screenshot confirmed that an ApplixWare Words window had opened.

This result complements the standalone signal-delivery test, demonstrating that the kernel correction allows ApplixWare to reach its graphical interface without the signal shim. Complete application functionality remains unverified.

### G. Limitations of the Kernel Changes

The experimental correction has not been submitted upstream, reviewed by FreeBSD maintainers, or tested in production. Although validated for the observed signal-delivery failure, broader compatibility across other signals, signal-handling scenarios, architectures, and FreeBSD releases remains unverified. Long-term application stability has also not been established.

## VII. Comparative Results and Reproducibility

### A. Compatibility Configurations and Results

Successful startup required more than historical 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 required to save profile data; running from the read-only CD-ROM tree produced `EROFS`. The original bitmap fonts and a suitable Xvnc font path were also necessary for correct display.

Table IV summarizes the tested configurations, all using the recovered historical libraries and required runtime components.

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

| Kernel configuration | Preloaded shims | Result |
|---|---|---|
| Default kernel | None | `ENOSYS`, `SIGSYS` |
| Default kernel | Signal + account | Words opens; Presents functional tests pass |
| Unpatched `COMPAT_43` | Account only | `SIGBUS`; no Words window |
| Corrected `COMPAT_43` | Account only | Signal test passes; Words opens |
| Corrected `COMPAT_43`, legacy password database | None | Words opens; diagnostic control |

The two principal approaches preserve modern account databases. On the default kernel, the independent signal and account-lookup shims enabled Words to launch and Presents to save, load, and display slide shows. The corrected `COMPAT_43` kernel required only the account-lookup shim, but testing established signal delivery and graphical startup rather than equivalent application functionality.

### B. Testing a Historical Password Database

As a diagnostic control, we generated legacy v3-format password databases using account records from an isolated virtual machine. With the corrected kernel and neither preload shim, ApplixWare Words opened successfully. This strongly suggests a password-database format incompatibility, although the precise failure within the historical `getpwuid()` implementation remains unidentified.

Because replacing modern password databases could disrupt system utilities and authentication, we treated this experiment as a diagnostic control rather than a practical workaround. Both compatibility approaches therefore retain the modern account databases.

### C. Visual Verification and Experimental Artifacts

Two screenshots documented ApplixWare Words running under different configurations. The first showed the application with both userspace shims, including its menus, toolbar, document area, and status bar. The second confirmed graphical startup on the corrected `COMPAT_43` kernel using only the account-lookup shim.

<!-- Insert the recorded screenshot here when preparing the illustrated version of the paper. -->

**Fig. 1.** ApplixWare Words running on the corrected `COMPAT_43` kernel with the account-lookup shim. The screenshot confirms graphical startup, not comprehensive document-editing functionality.

SHA-256 hashes were recorded for the original and corrected kernels, the analyzed core dump, and the ApplixWare executable. Because both kernels retained the `APPLIX_COMPAT43` identification string, their hashes distinguished the builds and helped establish the provenance of the experimental evidence.


### D. Reproducibility and Limitations

Reproducing the complete ApplixWare environment requires the original application distribution, archived FreeBSD 3.x libraries, a modern 32-bit runtime, compatibility shims, and a working X11 environment. Kernel experiments additionally require a `COMPAT_43` kernel and the experimental correction.

The standalone i386 signal-delivery test offers a simpler reproduction path, exercising the defective kernel interface without ApplixWare, historical libraries, or preload shims.

Comprehensive office-suite functionality, long-term stability, and compatibility across FreeBSD releases remain unverified. The experimental kernel correction also requires broader regression testing and upstream review.

## VIII. Discussion and Conclusion

The kernel investigation uncovered a defect in obsolete i386 signal delivery. Core-dump analysis reproduced the faulting instruction pointer from the kernel's incorrect stack-relative trampoline calculation. A single-assignment correction allowed the standalone signal-delivery test to pass and ApplixWare Words to open without userspace signal translation. Broader testing and upstream review remain necessary.

Perhaps the most compelling result is that software released in 1999 remains functional more than 25 years later. With its historical runtime restored and compatibility issues addressed, ApplixWare lives again.  Preserving historical interfaces can keep otherwise abandoned software useful long after its original environment has disappeared.

Forty years after 4.3BSD, the investigation illustrates both the value and the challenge of maintaining backward compatibility. Preserving an interface is only part of the task; ensuring that it continues to work as the operating system evolves is equally important.

## 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*, product description, 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 Distribution and Package Archives,” 2000. [Online]. Available: https://archive.freebsd.org/old-releases/i386/3.5.1-RELEASE/. XFree86 packages: https://archive.freebsd.org/old-releases/i386/3.5.1-RELEASE/packages/x11/.

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

[5] The FreeBSD Project, *FreeBSD 2.0-RELEASE/i386 CD-ROM Distribution*, `compat1xdist/` directory, November 1994. Original official release media inspected for the `compat1x` distribution. [Online]. FreeBSD release archive: https://archive.freebsd.org/old-releases/i386/ISO-IMAGES/FreeBSD-2.0-RELEASE/.

[6] The FreeBSD Project, “FreeBSD 4.0-RELEASE/i386 `compat3x` Distribution,” March 2000. [Online]. Available: https://archive.freebsd.org/old-releases/i386/4.0-RELEASE/compat3x/.

[7] The FreeBSD Ports Collection, “misc/compat15x,” compatibility libraries for earlier FreeBSD binaries. [Online]. Available: https://www.freshports.org/misc/compat15x/.

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

[9] The FreeBSD Project, “freebsd32_sysent.c,” *FreeBSD 15.1-RELEASE-p6 Source Tree*, 32-bit system-call dispatch and obsolete compatibility entries. [Online]. Available: https://cgit.freebsd.org/src/tree/sys/compat/freebsd32/freebsd32_sysent.c?h=release%2F15.1.0-p6.

[10] 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/.

[11] The FreeBSD Project, “dtrace_pid(4),” *FreeBSD 15.1-RELEASE Manual Pages*, userspace function-entry and return tracing. [Online]. Available: https://man.freebsd.org/cgi/man.cgi?query=dtrace_pid&sektion=4&manpath=FreeBSD+15.1-RELEASE.

[12] E. Maste, “HEADS-UP: Deprecation of legacy (v3) password database support,” *FreeBSD-stable Mailing List*, April 2018. [Online]. Available: https://lists.freebsd.org/pipermail/freebsd-stable/2018-April/088782.html.

[13] The FreeBSD Project, “ia32_signal.c,” *FreeBSD 15.1-RELEASE-p6 Source Tree*, i386 signal delivery and signal-trampoline calculations. [Online]. Available: https://cgit.freebsd.org/src/tree/sys/amd64/ia32/ia32_signal.c?h=release%2F15.1.0-p6. Source snapshot: `release/15.1.0-p6` (commit prefix `95719d8a89`).


