Opening particular folders in the file explorer causes a page fault
Created by: skylerberg
Reproduction:
- Start orbital
- Open the file explorer
- Navigate to a directory that crashes it (see misc below for a list of directories that cause this issue)
Expected behavior: See the contents of the folder.
Actual behavior:
System hangs. This is written to the console:
17: file:/bin/orbital
BRK: End segment not writeable or allocated
17: file:/bin/orbital
BRK: End segment not writeable or allocated
PID 17: file:/bin/orbital
INT 6: Invalid opcode exception
CS: 0000001B IP: 0807C4F0 FLG: 00010296
SS: 00000023 SP: B00FEAC0 BP: B00FEB18
AX: 0807C4F0 BX: 000001A0 CX: 080A1888 DX: FFFFFFFF
DI: B00FEB88 SI: B00FEB88
CR0: 80010033 CR2: 00000000 CR3: 00200000 CR4: 00000600
FSW: 00000000 FCW: 0000037F
-480: 00000000 080A4158 00000000 080A4160 B00FECA8 00000002 080A4158 B00FEC98
-448: 00000000 B00FEC9C 080A4158 000A4158 080A4158 0004C1DD 080A4158 00000000
-416: 080A40DC B00FEE38 00000002 080A4158 00000001 B00FECC8 00000640 000001A0
-384: 00000014 00000014 B00FED10 08050F00 B00FECC8 00000640 3D0FED10 00000014
-352: 00000014 000001A0 00000640 010001E0 00000640 000001A0 B00FED1C 080547D2
-320: B00FEE48 B00FED10 B00FECC8 B00FED10 00000014 000001F2 000001A0 00000640
-288: FF000000 FF000000 B00FED10 FF000000 00000640 000001A0 B00FED1C 08048EE1
-256: B00FEC00 000001A0 00000640 B00FED1C 0000017C 00000002 3D0001F4 000001A0
-224: 00000640 0849B8B8 FF000000 00000168 00040000 00040000 08293C18 08048814
-192: 00040000 B00FEBE0 000001F4 01000001 000A2800 00000002 00000168 000001F2
-160: B00FEB7C FF000000 B00FEB88 0806B800 B00FEBC0 B00FED1C 08067B9E B00FEB88
-128: B00FEB88 FF000000 08393C14 08293C18 0849B8A8 0003FFFF 00040000 FF000000
-96: B00FEB88 08067E5B B00FEB50 00040000 00000004 08067E70 B00FEB88 00000004
-64: 00000004 00000000 00080001 00080000 00000000 00000000 08293C18 00000004
-32: 00200000 00100000 00000000 08067FEE 0807C4F0 0807C4F0 00000004 080A1888
0: 0807C4E5 080A1888 04200000 0807C4F0 080A1888 00000004 080A1888 0807C534
32: 0807C4F0 080A1888 04000004 00200000 08293C18 0806DD08 B00FEB88 00000000
64: 000001A0 080A4160 00200000 08293C18 080A1460 08076CB0 B00FEB18 B00FEB88
96: 08293C18 000001A0 080A415C 00051FF3 B00FEA78 0005F010 08976C18 08293C10
128: 00200008 0005F011 00100008 00200000 000A415C 080A40DC 00001004 00200000
160: 080A1460 08076F34 0015F018 080A1460 00200008 08293C18 B00FEA80 0804C530
192: B00FEA30 080A1418 00000080 00201000 080A1460 08077AB3 B00FEA20 B00FE9F0
224: 080A415C 080A415C B00FEA20 00201000 080A1460 0807696A B00FEA80 0804C59D
256: B00FEA00 00000002 B00FEA20 080A415C 00201000 080772A9 080A1460 00200008
288: B00FE9E0 00000002 080A4184 08B7D000 0000002D 0807743D 0897C000 0804BB1B
320: B00FE9C0 B00FE990 B00FE990 B00FE9C0 0804BB4C B00FE9A8 B00FE9C0 0808F72C
352: B00FE990 00000002 080A4158 B00FEAA8 B00FE958 0804BB80 0808F700 00000000
384: B00FEC00 00000000 0808F72C 00000000 0808F72C 00000000 00000000 00000000
416: 00000000 B00FE928 0808F734 B00FEBD0 B00FEAA8 08082B97 00000005 0897B018
448: B00FEB80 0807EB5B B00FE998 000FE928 B00FEB00 B00FEB80 000FE920 00000005
480: 0897B018 00000000 00000005 0897B018 B00FEC00 080535F8 B00FE8F8 B00FE928
Build information: Qemu, latest rust nightly.
Misc:
Folders that kill the system: /bin /ui/actions /ui/apps /ui/devices /ui/mimetypes /ui/places /ui/status