Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CPU Page Fault from TCP packet #1

@rmstoi

Description

@rmstoi

echo with TCP2 crashes from page fault when receiving TCP packets.

cmake command:

cmake -DBOARD=qemu_x86 -DOVERLAY_CONFIG="overlay-e1000.conf;overlay-tcp2.conf;overlay-log.conf;overlay-max-stacks.conf;overlay-debug.conf" -DEXTRA_CFLAGS="-Wfatal-errors" ..

[00:00:34.020,000] <err> net_tcp: net_context_get(): -2
[00:00:34.020,000] <err> os: ***** CPU Page Fault (error code 0x00000000)
[00:00:34.020,000] <err> os: Supervisor thread read address 0x00000004
[00:00:34.020,000] <err> os: PDE: 0x0127 Present, Writable, User, Execute Enabled
[00:00:34.020,000] <err> os: PTE: 0x00 Non-present, Read-only, Supervisor, Execute Enabled
[00:00:34.020,000] <err> os: eax: 0x00000000, ebx: 0x0014c380, ecx: 0x00000000, edx: 0x0014bdc0
[00:00:34.030,000] <err> os: esi: 0x0014bdc0, edi: 0x00000015, ebp: 0x00159bf8, esp: 0x00159bb0
[00:00:34.030,000] <err> os: eflags: 0x00000202 cs: 0x0008 cr3: 0x0014bc20
[00:00:34.030,000] <err> os: call trace:
[00:00:34.030,000] <err> os: eip: 0x00129fb1
[00:00:34.030,000] <err> os:      0x001262c5 (0x14c260)
[00:00:34.030,000] <err> os:      0x0012431c (0x155ad4)
[00:00:34.030,000] <err> os:      0x001154f7 (0x155ad4)
[00:00:34.030,000] <err> os:      0x00115630 (0x155ad4)
[00:00:34.030,000] <err> os:      0x00115dad (0x155ad4)
[00:00:34.030,000] <err> os:      0x00115df9 (0x1635e0)
[00:00:34.030,000] <err> os:      0x001056b2 (0x155ad4)
[00:00:34.030,000] <err> os:      0x00105503 (0x14c1a0)
[00:00:34.030,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception
[00:00:34.030,000] <err> os: Current thread: 0x0014c1b8 (unknown)
[00:00:34.030,000] <err> os: Halting system

tcp.pcap.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions