Having rebuild joe-2.9.8.ebuild with (amongst other things) -Os in my CFLAGS,
I discovered that it would seg fault whenever I did a search and replace (^KF,
search string, (R)eplace, string, return).
Rebuilding joe with -O2 (or I suspect, -O3) fixed the problem.
Ebuild needs to be rebuilt to replace -Os with -O2 (or 3)
Reproduced this on two machines - an i686 and an i586.
Reproducible: Always
Steps to Reproduce:
1. Build joe with -Os
2. Open a file for editing with joe
3. Enter "^KF", search string, "R" for replace, replace string then return
Actual Results:
Seg fault
Expected Results:
Not seg faulted
Full CFLAGS for the build were:
CFLAGS="-O2 -pipe -march=i686
-fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4