20-year-old fixes a 21-year-old Linux bug

It wasn't a bug in the Linux kernel, but one that had existed in the Enlightenment window manager E16 since 2006, when Kamila Szewczyk was just one year old.

Kamila, now a 21-year-old graduate student at Saarland University in Germany, uses the Enlightenment window manager every day.

Discover more articles in search results.

What is Enlightenment E16?

For those who don't know, Enlightenment is a window manager for Linux, the software responsible for designing and managing windows on your screen.
It first appeared in 1997, making it the oldest Linux window manager. E16, the version Kamila uses, was released in 1999. It quickly gained a reputation for its high customization and impressive appearance, at a time when most Linux desktops were not very user-friendly.

Enlightenment isn't as well-known as KDE or GNOME, but there are still many who choose it. It has a dedicated following and can be found in niche distributions like Pentoo or Bodhi Linux. Bodhi actually uses Moksha, a fork of Enlightenment, as its default desktop.

Over time, the Enlightenment team began a complete rewrite of the project using a new modular framework called EFL (Enlightenment Foundation Libraries). This rewrite lasted over a decade and eventually became version E17, released in December 2012. Version E17 evolved from a simple window manager to a full desktop shell with modern composition and improved hardware support.

But not everyone followed. A part of the community remained on version E16, continuing to maintain and develop it independently. The latest version is version 1.0.30.

Kamila is part of this community.

She wasn't looking for errors. She was doing something ordinary: preparing lecture slides for a course as a graduate student. She had created some PDFs in LaTeX, opened one of them in Atril, a document viewer, and the entire desktop froze.

It wasn't a bug that "happened." The freeze was reproducible, frustrating, but for a programmer, very exciting.
After digging through the code base, Kamila identified the freeze in the way the E16 version handled very long filenames.

When a window title was too large and needed to be truncated, the algorithm responsible for it didn't. So it would hang indefinitely, completely locking up the desktop. The bug had been there, dormant, since 2006, waiting for the right conditions to arise.

The correction also fixed it. is available on her blog.

Why does this story matter?

On the surface, it's a niche story about an obscure window manager that most Linux users have never seen. But it's more than that.

Kamila was born in 2004. The bug she fixed was already two years old by then. She grew up, went to university, became a graduate student, and the bug was there, in a codebase maintained by a handful of developers. It took someone who actually uses E16 to finally discover it and fix it.

That's the spirit of open source. It doesn't take a big company, a bug bounty program, or even a CVE. It takes one person, one computer, one frozen desktop, and their curiosity to figure out why.

There are people who have been maintaining this code for decades. There are also those who use it. Every now and then, one of these users spots something that no one else has been able to find, and silently improves the software before going about their day.

That's the whole point.

itsfoss.com

follow us

Google preferences

Leave a Comment

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).