Opened 5 years ago
Closed 4 years ago
#832 closed defect (fixed)
Editor displays corrupt text with user-space -march 486
| Reported by: | Jiri Svoboda | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.12.1 |
| Component: | helenos/unspecified | Version: | mainline |
| Keywords: | Cc: | ||
| Blocker for: | Depends on: | ||
| See also: | #830, #833, #829 |
Description (last modified by )
Steps to reproduce:
- Uncomment # _march in meson/arch/ia32/meson.build:45
- Build ia32 with CPU set to 486
- # devctl | to /x
- # edit /x
- Editor shows corrupt text
Note that tester malloc tests pass.
Change History (5)
comment:1 by , 5 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 5 years ago
| See also: | → #830, #833 |
|---|
comment:3 by , 4 years ago
| Milestone: | 0.11.2 → 0.12.1 |
|---|
comment:4 by , 4 years ago
| See also: | #830, #833 → #830, #833, #829 |
|---|
comment:5 by , 4 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
The problem was caused by the editor using memcpy() on overlapping memory blocks in file_insert().
Fixed in changeset 50c8e72f239c9c7f3e60c846594d095051bbd29f.
Note:
See TracTickets
for help on using tickets.

Note that even though the fix for #829 also fixed #833, this bug is still reproducible.