Opened 2 weeks ago

Last modified 2 weeks ago

#19063 closed bug

Kernel panic when a program triggers a floating-point trap — at Initial Version

Reported by: bhaible Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

Find attached a program that triggers a floating-point exception (not C++ exception). It triggers a kernel panic.

How to reproduce:

  • Open a Terminal.
    gcc -Wall foo2.c
    sync
    ./a.out
    

Expected outcome: The program crashes with some signal (most likely SIGFPE).

Actual outcome: Kernel panic; screenshot attached.

Change History (2)

by bhaible, 2 weeks ago

Attachment: foo2.c added

test case foo2.c

by bhaible, 2 weeks ago

Attachment: foo2.png added

screenshot after kernel panic

Note: See TracTickets for help on using tickets.