#18656 closed bug (fixed)

Kernel panic when starting to debug a program that triggered a floating-point trap

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

Description

When trying to debug a program that just triggered an FE_INVALID floating-point trap, a kernel panic occurs.

How to reproduce:

$ gcc foo.c -D__BSD_VISIBLE
$ ./a.out

A dialog ("Terminate / Debug / Save report / Write core file") appears. Choose "Debug".

This is with Haiku hrev57370 x86_64 (downloaded today).

Attachments (2)

foo.c (406 bytes ) - added by bhaible 14 months ago.
test case foo.c
crash.png (57.3 KB ) - added by bhaible 14 months ago.
screenshot of kernel panic

Download all attachments as: .zip

Change History (5)

by bhaible, 14 months ago

Attachment: foo.c added

test case foo.c

by bhaible, 14 months ago

Attachment: crash.png added

screenshot of kernel panic

comment:1 by waddlesplash, 14 months ago

Component: SystemSystem/Kernel

comment:3 by waddlesplash, 14 months ago

Milestone: UnscheduledR1/beta5
Resolution: fixed
Status: newclosed

Fix merged in hrev57381.

Note: See TracTickets for help on using tickets.