Opened 4 years ago

Closed 3 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 Jiri Svoboda)

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 Jiri Svoboda, 4 years ago

Description: modified (diff)

comment:2 by Jiri Svoboda, 4 years ago

See also: #830, #833

comment:3 by Jiri Svoboda, 3 years ago

Milestone: 0.11.20.12.1

comment:4 by Jiri Svoboda, 3 years ago

See also: #830, #833#830, #833, #829

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

comment:5 by Jiri Svoboda, 3 years ago

Resolution: fixed
Status: newclosed

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.